delete_route

ApiGatewayV2.Client.delete_route(**kwargs)

Deletes a Route.

See also: AWS API Documentation

Request Syntax

response = client.delete_route(
    ApiId='string',
    RouteId='string'
)
Parameters
  • ApiId (string) --

    [REQUIRED]

    The API identifier.

  • RouteId (string) --

    [REQUIRED]

    The route ID.

Returns

None

Exceptions

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