update_environment(**kwargs)¶Changes the settings of an existing Cloud9 development environment.
See also: AWS API Documentation
Request Syntax
response = client.update_environment(
environmentId='string',
name='string',
description='string',
managedCredentialsAction='ENABLE'|'DISABLE'
)
[REQUIRED]
The ID of the environment to change settings.
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
ENABLEDISABLENote
Only the environment owner can change the status of managed temporary credentials. An AccessDeniedException is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.
dict
Response Syntax
{}
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.update_environment(
name='my-changed-demo-environment',
description='This is my changed demonstration environment.',
environmentId='8d9967e2f0624182b74e7690ad69ebEX',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}