Module Values_2.StartOutboundEmailContactRequestSource

Initiates a flow to send an agent reply or outbound email contact (created from the CreateContact API) to a customer.

Sourcetype nonrec t = {
  1. instanceId : Values_0.InstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    *)
  2. contactId : Values_0.ContactId.t;
    (*

    The identifier of the contact in this instance of Amazon Connect.

    *)
  3. fromEmailAddress : Values_1.EmailAddressInfo.t option;
    (*

    The email address associated with the Amazon Connect instance.

    *)
  4. destinationEmailAddress : Values_1.EmailAddressInfo.t;
    (*

    The email address of the customer.

    *)
  5. additionalRecipients : OutboundAdditionalRecipients.t option;
    (*

    The additional recipients address of email in CC.

    *)
  6. emailMessage : OutboundEmailContent.t;
    (*

    The email message body to be sent to the newly created email.

    *)
  7. clientToken : Values_0.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.

    *)
}
Sourceval context_ : string
Sourceval make : ?fromEmailAddress:??? -> ?additionalRecipients:??? -> ?clientToken:??? -> instanceId:Values_0.InstanceId.t -> contactId:Values_0.ContactId.t -> destinationEmailAddress:Values_1.EmailAddressInfo.t -> emailMessage:OutboundEmailContent.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.InstanceId.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of Values_0.EmailAddress.t ]) list ] list | `String of Values_0.EmailAddress.t | `Structure of (string * [> `String of MessageTemplateKnowledgeBaseId.t | `Structure of (string * [> `Map of ([> `String of string ] * [> `String of string ]) list | `String of Values_1.CustomerProfileAttributesSerialized.t ]) list ]) 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