Module Values.GetMessageTemplateResponseSource

Retrieves the Amazon Q in Connect message template. The message template identifier can contain an optional qualifier, for example, <message-template-id>:<qualifier>, which is either an actual version number or an Amazon Q Connect managed qualifier $ACTIVE_VERSION | $LATEST. If it is not supplied, then $LATEST is assumed implicitly.

Sourcetype nonrec t = {
  1. messageTemplate : ExtendedMessageTemplateData.t option;
    (*

    The message template.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ThrottlingException of ThrottlingException.t
  4. | `UnauthorizedException of UnauthorizedException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?messageTemplate:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Enum of string | `Structure of (string * [> `Enum of string | `String of AttachmentFileName.t | `Timestamp of SyntheticTimestamp_date_time.t ]) list ] list | `Long of Version.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ArnWithQualifier.t | `Structure of (string * [> `List of [> `String of GroupingValue.t ] list | `Map of ([> `String of MessageTemplateAttributeKey.t ] * [> `String of MessageTemplateAttributeValue.t ]) list | `String of GroupingCriteria.t | `Structure of (string * [> `Enum of string | `List of [> `String of WhatsAppMessageTemplateComponent.t | `Structure of (string * [> `String of EmailHeaderKey.t ]) list ] list | `Map of ([> `String of MessageTemplateAttributeKey.t ] * [> `String of MessageTemplateAttributeValue.t ]) list | `String of NonEmptyUnlimitedString.t | `Structure of (string * [> `Enum of string | `String of NonEmptyUnlimitedString.t | `Structure of (string * [> `String of NonEmptyUnlimitedString.t ]) list ]) list ]) list ]) list | `Timestamp of SyntheticTimestamp_date_time.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