Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_api_mapping

update_api_mapping(**kwargs)

The API mapping.

See also: AWS API Documentation

Request Syntax

response = client.update_api_mapping(
    ApiId='string',
    ApiMappingId='string',
    ApiMappingKey='string',
    DomainName='string',
    Stage='string'
)
Parameters
  • ApiId (string) --

    [REQUIRED]

    The API identifier.

  • ApiMappingId (string) --

    [REQUIRED]

    The API mapping identifier.

  • ApiMappingKey (string) -- The API mapping key.
  • DomainName (string) --

    [REQUIRED]

    The domain name.

  • Stage (string) -- The API stage.
Return type

dict

Returns

Response Syntax

{
    'ApiId': 'string',
    'ApiMappingId': 'string',
    'ApiMappingKey': 'string',
    'Stage': 'string'
}

Response Structure

  • (dict) --

    Success

    • ApiId (string) --

      The API identifier.

    • ApiMappingId (string) --

      The API mapping identifier.

    • ApiMappingKey (string) --

      The API mapping key.

    • Stage (string) --

      The API stage.

Exceptions

  • ApiGatewayV2.Client.exceptions.NotFoundException
  • ApiGatewayV2.Client.exceptions.TooManyRequestsException
  • ApiGatewayV2.Client.exceptions.BadRequestException
  • ApiGatewayV2.Client.exceptions.ConflictException