APIGateway.Client.
delete_resource
(**kwargs)¶Deletes a Resource resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource(
restApiId='string',
resourceId='string'
)
[REQUIRED]
The string identifier of the associated RestApi.
[REQUIRED]
The identifier of the Resource resource.
None
Exceptions
APIGateway.Client.exceptions.UnauthorizedException
APIGateway.Client.exceptions.NotFoundException
APIGateway.Client.exceptions.BadRequestException
APIGateway.Client.exceptions.ConflictException
APIGateway.Client.exceptions.TooManyRequestsException