AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ConnectWisdomService::Types::CreateSessionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb

Overview

Note:

When making an API call, you may pass CreateSessionRequest data as a hash:

{
  assistant_id: "UuidOrArn", # required
  client_token: "ClientToken",
  description: "Description",
  name: "Name", # required
  tags: {
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assistant_idString

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

Returns:

  • (String)


872
873
874
875
876
877
878
879
880
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 872

class CreateSessionRequest < Struct.new(
  :assistant_id,
  :client_token,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


872
873
874
875
876
877
878
879
880
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 872

class CreateSessionRequest < Struct.new(
  :assistant_id,
  :client_token,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description.

Returns:

  • (String)


872
873
874
875
876
877
878
879
880
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 872

class CreateSessionRequest < Struct.new(
  :assistant_id,
  :client_token,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the session.

Returns:

  • (String)


872
873
874
875
876
877
878
879
880
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 872

class CreateSessionRequest < Struct.new(
  :assistant_id,
  :client_token,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


872
873
874
875
876
877
878
879
880
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 872

class CreateSessionRequest < Struct.new(
  :assistant_id,
  :client_token,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end