delete_method

delete_method(**kwargs)

Deletes an existing Method resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_method(
    restApiId='string',
    resourceId='string',
    httpMethod='string'
)
Parameters
  • restApiId (string) --

    [REQUIRED]

    The string identifier of the associated RestApi.

  • resourceId (string) --

    [REQUIRED]

    The Resource identifier for the Method resource.

  • httpMethod (string) --

    [REQUIRED]

    The HTTP verb of the Method resource.

Returns

None

Exceptions

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