delete_deployment
(**kwargs)¶Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
See also: AWS API Documentation
Request Syntax
response = client.delete_deployment(
restApiId='string',
deploymentId='string'
)
[REQUIRED]
The string identifier of the associated RestApi.
[REQUIRED]
The identifier of the Deployment resource to delete.
None
Exceptions
APIGateway.Client.exceptions.BadRequestException
APIGateway.Client.exceptions.ConflictException
APIGateway.Client.exceptions.LimitExceededException
APIGateway.Client.exceptions.NotFoundException
APIGateway.Client.exceptions.UnauthorizedException
APIGateway.Client.exceptions.TooManyRequestsException