delete_usage_plan

delete_usage_plan(**kwargs)

Deletes a usage plan of a given plan Id.

See also: AWS API Documentation

Request Syntax

response = client.delete_usage_plan(
    usagePlanId='string'
)
Parameters
usagePlanId (string) --

[REQUIRED]

The Id of the to-be-deleted usage plan.

Returns
None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException
  • APIGateway.Client.exceptions.ConflictException
  • APIGateway.Client.exceptions.NotFoundException
  • APIGateway.Client.exceptions.UnauthorizedException
  • APIGateway.Client.exceptions.TooManyRequestsException