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.UnauthorizedExceptionAPIGateway.Client.exceptions.NotFoundExceptionAPIGateway.Client.exceptions.BadRequestExceptionAPIGateway.Client.exceptions.ConflictExceptionAPIGateway.Client.exceptions.TooManyRequestsException