CodeCatalyst.Client.
start_dev_environment_session
(**kwargs)¶Starts a session for a specified Dev Environment.
See also: AWS API Documentation
Request Syntax
response = client.start_dev_environment_session(
spaceName='string',
projectName='string',
id='string',
sessionConfiguration={
'sessionType': 'SSM'|'SSH',
'executeCommandSessionConfiguration': {
'command': 'string',
'arguments': [
'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.
[REQUIRED]
Information about the configuration of a Dev Environment session.
The type of the session.
Information about optional commands that will be run on the Dev Environment when the SSH session begins.
The command used at the beginning of the SSH session to a Dev Environment.
An array of arguments containing arguments and members.
dict
Response Syntax
{
'accessDetails': {
'streamUrl': 'string',
'tokenValue': 'string'
},
'sessionId': 'string',
'spaceName': 'string',
'projectName': 'string',
'id': 'string'
}
Response Structure
(dict) --
accessDetails (dict) --
Information about connection details for a Dev Environment.
streamUrl (string) --
The URL used to send commands to and from the Dev Environment.
tokenValue (string) --
An encrypted token value that contains session and caller information used to authenticate the connection.
sessionId (string) --
The system-generated unique ID of the Dev Environment session.
spaceName (string) --
The name of the space.
projectName (string) --
The name of the project in the space.
id (string) --
The system-generated unique ID of the Dev Environment.
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