delete_environment(**kwargs)¶Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
See also: AWS API Documentation
Request Syntax
response = client.delete_environment(
environmentId='string'
)
[REQUIRED]
The ID of the environment to delete.
{}
Response Structure
Exceptions
Cloud9.Client.exceptions.BadRequestExceptionCloud9.Client.exceptions.ConflictExceptionCloud9.Client.exceptions.NotFoundExceptionCloud9.Client.exceptions.ForbiddenExceptionCloud9.Client.exceptions.TooManyRequestsExceptionCloud9.Client.exceptions.LimitExceededExceptionCloud9.Client.exceptions.InternalServerErrorExceptionExamples
response = client.delete_environment(
environmentId='8d9967e2f0624182b74e7690ad69ebEX',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}