delete_route_settings

delete_route_settings(**kwargs)

Deletes the RouteSettings for a stage.

See also: AWS API Documentation

Request Syntax

response = client.delete_route_settings(
    ApiId='string',
    RouteKey='string',
    StageName='string'
)
Parameters
  • ApiId (string) --

    [REQUIRED]

    The API identifier.

  • RouteKey (string) --

    [REQUIRED]

    The route key.

  • StageName (string) --

    [REQUIRED]

    The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

Returns

None

Exceptions

  • ApiGatewayV2.Client.exceptions.NotFoundException
  • ApiGatewayV2.Client.exceptions.TooManyRequestsException