Cloud9 / Client / delete_environment
delete_environment#
- Cloud9.Client.delete_environment(**kwargs)#
Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
Warning
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more”
See also: AWS API Documentation
Request Syntax
response = client.delete_environment( environmentId='string' )
- Parameters:
environmentId (string) –
[REQUIRED]
The ID of the environment to delete.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Cloud9.Client.exceptions.BadRequestException
Cloud9.Client.exceptions.ConflictException
Cloud9.Client.exceptions.NotFoundException
Cloud9.Client.exceptions.ForbiddenException
Cloud9.Client.exceptions.TooManyRequestsException
Cloud9.Client.exceptions.LimitExceededException
Cloud9.Client.exceptions.InternalServerErrorException
Examples
response = client.delete_environment( environmentId='8d9967e2f0624182b74e7690ad69ebEX', ) print(response)
Expected Output:
{ 'ResponseMetadata': { '...': '...', }, }