Module Values.GetIntentsRequestSource

Returns intent information as follows: If you specify the nameContains field, returns the $LATEST version of all intents that contain the specified string. If you don't specify the nameContains field, returns information about the $LATEST version of all intents. The operation requires permission for the lex:GetIntents action.

Sourcetype nonrec t = {
  1. nextToken : NextToken.t option;
    (*

    A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request.

    *)
  2. maxResults : MaxResults.t option;
    (*

    The maximum number of intents to return in the response. The default is 10.

    *)
  3. nameContains : IntentName.t option;
    (*

    Substring to match in intent names. An intent will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

    *)
}
Sourceval make : ?nextToken:??? -> ?maxResults:??? -> ?nameContains:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxResults.t | `String of NextToken.t ]) 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