NovaActService / Client / create_session
create_session¶
- NovaActService.Client.create_session(**kwargs)¶
Creates a new session context within a workflow run to manage conversation state and acts.
See also: AWS API Documentation
Request Syntax
response = client.create_session( workflowDefinitionName='string', workflowRunId='string', clientToken='string' )
- Parameters:
workflowDefinitionName (string) –
[REQUIRED]
The name of the workflow definition containing the workflow run.
workflowRunId (string) –
[REQUIRED]
The unique identifier of the workflow run to create the session in.
clientToken (string) –
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'sessionId': 'string' }
Response Structure
(dict) –
sessionId (string) –
The unique identifier for the created session.
Exceptions
NovaActService.Client.exceptions.ServiceQuotaExceededExceptionNovaActService.Client.exceptions.AccessDeniedExceptionNovaActService.Client.exceptions.ConflictExceptionNovaActService.Client.exceptions.ThrottlingExceptionNovaActService.Client.exceptions.ResourceNotFoundExceptionNovaActService.Client.exceptions.InternalServerExceptionNovaActService.Client.exceptions.ValidationException