update_dev_environment
(**kwargs)¶Changes one or more values for a Dev Environment. Updating certain values of the Dev Environment will cause a restart.
See also: AWS API Documentation
Request Syntax
response = client.update_dev_environment(
spaceName='string',
projectName='string',
id='string',
alias='string',
ides=[
{
'runtime': 'string',
'name': 'string'
},
],
instanceType='dev.standard1.small'|'dev.standard1.medium'|'dev.standard1.large'|'dev.standard1.xlarge',
inactivityTimeoutMinutes=123,
clientToken='string'
)
[REQUIRED]
The name of the space.
[REQUIRED]
The name of the project in the space.
[REQUIRED]
The system-generated unique ID of the Dev Environment.
Information about the integrated development environment (IDE) configured for a Dev Environment.
Information about the configuration of an integrated development environment (IDE) for a Dev Environment.
A link to the IDE runtime image.
Note
This parameter is not required for VSCode
.
The name of the IDE. Valid values include Cloud9
, IntelliJ
, PyCharm
, GoLand
, and VSCode
.
The Amazon EC2 instace type to use for the Dev Environment.
Note
Changing this value will cause a restart of the Dev Environment if it is running.
The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
Note
Changing this value will cause a restart of the Dev Environment if it is running.
dict
Response Syntax
{
'id': 'string',
'spaceName': 'string',
'projectName': 'string',
'alias': 'string',
'ides': [
{
'runtime': 'string',
'name': 'string'
},
],
'instanceType': 'dev.standard1.small'|'dev.standard1.medium'|'dev.standard1.large'|'dev.standard1.xlarge',
'inactivityTimeoutMinutes': 123,
'clientToken': 'string'
}
Response Structure
(dict) --
id (string) --
The system-generated unique ID of the Dev Environment.
spaceName (string) --
The name of the space.
projectName (string) --
The name of the project in the space.
alias (string) --
The user-specified alias for the Dev Environment.
ides (list) --
Information about the integrated development environment (IDE) configured for the Dev Environment.
(dict) --
Information about the configuration of an integrated development environment (IDE) for a Dev Environment.
runtime (string) --
A link to the IDE runtime image.
Note
This parameter is not required for VSCode
.
name (string) --
The name of the IDE. Valid values include Cloud9
, IntelliJ
, PyCharm
, GoLand
, and VSCode
.
instanceType (string) --
The Amazon EC2 instace type to use for the Dev Environment.
inactivityTimeoutMinutes (integer) --
The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.
clientToken (string) --
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
Exceptions
CodeCatalyst.Client.exceptions.ThrottlingException
CodeCatalyst.Client.exceptions.ConflictException
CodeCatalyst.Client.exceptions.ValidationException
CodeCatalyst.Client.exceptions.ServiceQuotaExceededException
CodeCatalyst.Client.exceptions.ResourceNotFoundException
CodeCatalyst.Client.exceptions.AccessDeniedException