APIGateway.Client.
delete_method_response
(**kwargs)¶Deletes an existing MethodResponse resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_method_response(
restApiId='string',
resourceId='string',
httpMethod='string',
statusCode='string'
)
[REQUIRED]
The string identifier of the associated RestApi.
[REQUIRED]
The Resource identifier for the MethodResponse resource.
[REQUIRED]
The HTTP verb of the Method resource.
[REQUIRED]
The status code identifier for the MethodResponse resource.
None
Exceptions
APIGateway.Client.exceptions.UnauthorizedException
APIGateway.Client.exceptions.NotFoundException
APIGateway.Client.exceptions.TooManyRequestsException
APIGateway.Client.exceptions.BadRequestException
APIGateway.Client.exceptions.ConflictException