RetrieveResourceNames¶
This section documents the RetrieveResourceNamesApi client from openapi_client.api.retrieve_resource_names_api. The content is generated automatically and updates when new methods are added.
Client¶
To use this API client:
import certifi
import boto3
from openapi_client.amorphic_api_client import AmorphicApiClient
from openapi_client.api.retrieve_resource_names_api import RetrieveResourceNamesApi
ssm = boto3.client('ssm')
api_gw_url = ssm.get_parameter(Name='adp/amorphic/config/apigwurl', WithDecryption=False)['Parameter']['Value'] # String type; use WithDecryption=True for SecureString
role_id = ssm.get_parameter(Name='adp/amorphic/config/roleid', WithDecryption=False)['Parameter']['Value'] # String type; use WithDecryption=True for SecureString
client = AmorphicApiClient.create_with_auth(
host=api_gw_url,
role_id=role_id,
ssl_ca_cert=certifi.where(),
ssm_parameter='adp/amorphic/config/pattoken'
)
api = RetrieveResourceNamesApi(client)