AmazonApiGatewayV2

2019/02/28 - AmazonApiGatewayV2 - 1 updated api methods

Changes  Marking certain properties as explicitly required and fixing an issue with the GetApiMappings operation for ApiMapping resources.

GetApiMappings (updated) Link ΒΆ
Changes (response)
{'Items': [{'ApiId': 'string',
            'ApiMappingId': 'string',
            'ApiMappingKey': 'string',
            'Stage': 'string'}],
 'NextToken': 'string'}

The API mappings.

See also: AWS API Documentation

Request Syntax

client.get_api_mappings(
    DomainName='string',
    MaxResults='string',
    NextToken='string'
)
type DomainName

string

param DomainName

[REQUIRED]

The domain name.

type MaxResults

string

param MaxResults

The maximum number of elements to be returned for this resource.

type NextToken

string

param NextToken

The next page of elements from this collection. Not valid for the last element of the collection.

rtype

dict

returns

Response Syntax

{
    'Items': [
        {
            'ApiId': 'string',
            'ApiMappingId': 'string',
            'ApiMappingKey': 'string',
            'Stage': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    Success

    • Items (list) --

      The elements from this collection.

      • (dict) --

        Represents an API mapping.

        • ApiId (string) --

          The API identifier.

        • ApiMappingId (string) --

          The API mapping identifier.

        • ApiMappingKey (string) --

          The API mapping key.

        • Stage (string) --

          The API stage.

    • NextToken (string) --

      The next page of elements from this collection. Not valid for the last element of the collection.