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.ValidationException

  • DevOpsAgentService.Client.exceptions.ContentSizeExceededException

  • DevOpsAgentService.Client.exceptions.ServiceQuotaExceededException

  • DevOpsAgentService.Client.exceptions.ConflictException

  • DevOpsAgentService.Client.exceptions.InternalServerException

  • DevOpsAgentService.Client.exceptions.AccessDeniedException

  • DevOpsAgentService.Client.exceptions.ResourceNotFoundException

  • DevOpsAgentService.Client.exceptions.ThrottlingException

  • DevOpsAgentService.Client.exceptions.InvalidParameterException