DevOpsAgentService / Client / create_chat
create_chat¶
- DevOpsAgentService.Client.create_chat(**kwargs)¶
Creates a new chat execution in the specified agent space
See also: AWS API Documentation
Request Syntax
response = client.create_chat( agentSpaceId='string', userId='string', userType='IAM'|'IDC'|'IDP' )
- Parameters:
agentSpaceId (string) –
[REQUIRED]
Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)
userId (string) –
[REQUIRED]
The user identifier for the chat
userType (string) – The authentication type of the user
- Return type:
dict
- Returns:
Response Syntax
{ 'executionId': 'string', 'createdAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
Response structure for creating a new chat
executionId (string) –
The unique identifier for the created execution
createdAt (datetime) –
Timestamp when the chat was created
Exceptions
DevOpsAgentService.Client.exceptions.ValidationExceptionDevOpsAgentService.Client.exceptions.ContentSizeExceededExceptionDevOpsAgentService.Client.exceptions.ServiceQuotaExceededExceptionDevOpsAgentService.Client.exceptions.ConflictExceptionDevOpsAgentService.Client.exceptions.InternalServerExceptionDevOpsAgentService.Client.exceptions.AccessDeniedExceptionDevOpsAgentService.Client.exceptions.ResourceNotFoundExceptionDevOpsAgentService.Client.exceptions.ThrottlingExceptionDevOpsAgentService.Client.exceptions.InvalidParameterException