AppSync / Client / get_graphql_api_environment_variables

get_graphql_api_environment_variables#

AppSync.Client.get_graphql_api_environment_variables(**kwargs)#

Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.

See also: AWS API Documentation

Request Syntax

response = client.get_graphql_api_environment_variables(
    apiId='string'
)
Parameters:

apiId (string) –

[REQUIRED]

The ID of the API from which the environmental variable list will be retrieved.

Return type:

dict

Returns:

Response Syntax

{
    'environmentVariables': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • environmentVariables (dict) –

      The payload containing each environmental variable in the "key" : "value" format.

      • (string) –

        • (string) –

Exceptions

  • AppSync.Client.exceptions.BadRequestException

  • AppSync.Client.exceptions.NotFoundException

  • AppSync.Client.exceptions.UnauthorizedException

  • AppSync.Client.exceptions.InternalFailureException

  • AppSync.Client.exceptions.AccessDeniedException