Module Values.CreateAssistantRequestSource

Creates an Amazon Connect Wisdom assistant.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t option;
    (*

    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.

    *)
  2. description : Description.t option;
    (*

    The description of the assistant.

    *)
  3. name : Name.t;
    (*

    The name of the assistant.

    *)
  4. serverSideEncryptionConfiguration : ServerSideEncryptionConfiguration.t option;
    (*

    The configuration information for the customer managed key used for encryption. The customer managed key must have a policy that allows kms:CreateGrant, kms:DescribeKey, and kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and kms:DescribeKey permissions to the connect.amazonaws.com service principal. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.

    *)
  5. tags : Tags.t option;
    (*

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

    *)
  6. type_ : AssistantType.t;
    (*

    The type of assistant.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?description:??? -> ?serverSideEncryptionConfiguration:??? -> ?tags:??? -> name:Name.t -> type_:AssistantType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ClientToken.t | `Structure of (string * [> `String of NonEmptyString.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t