Skip to content

Create Session

connectwisdomservice_create_session R Documentation

Creates a session

Description

Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.

Usage

connectwisdomservice_create_session(assistantId, clientToken,
  description, name, tags)

Arguments

assistantId

[required] The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

clientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

description

The description.

name

[required] The name of the session.

tags

The tags used to organize, track, or control access for this resource.

Value

A list with the following syntax:

list(
  session = list(
    description = "string",
    integrationConfiguration = list(
      topicIntegrationArn = "string"
    ),
    name = "string",
    sessionArn = "string",
    sessionId = "string",
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$create_session(
  assistantId = "string",
  clientToken = "string",
  description = "string",
  name = "string",
  tags = list(
    "string"
  )
)