Module Values.CreateRetrieverRequestSource

Adds a retriever to your Amazon Q Business application.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The identifier of your Amazon Q Business application.

    *)
  2. type_ : RetrieverType.t;
    (*

    The type of retriever you are using.

    *)
  3. displayName : RetrieverName.t;
    (*

    The name of your retriever.

    *)
  4. configuration : RetrieverConfiguration.t;
  5. roleArn : RoleArn.t option;
    (*

    The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.

    *)
  6. clientToken : ClientToken.t option;
    (*

    A token that you provide to identify the request to create your Amazon Q Business application retriever.

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

    A list of key-value pairs that identify or categorize the retriever. You can also use tags to help control access to the retriever. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.

    *)
}
Sourceval context_ : string
Sourceval make : ?roleArn:??? -> ?clientToken:??? -> ?tags:??? -> applicationId:ApplicationId.t -> type_:RetrieverType.t -> displayName:RetrieverName.t -> configuration:RetrieverConfiguration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ApplicationId.t | `Structure of (string * [> `Structure of (string * [> `Long of Long.t | `Map of ([> `String of DocumentAttributeKey.t ] * [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Long of BoostingDurationInSeconds.t | `Map of ([> `String of String_.t ] * [> `Enum of string ]) list ]) list ]) list ]) list | `String of IndexId.t ]) list ]) 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