Module Values_2.SendOutboundEmailRequestSource

Send outbound email for outbound campaigns. For more information about outbound campaigns, see Set up Amazon Connect outbound campaigns. Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call this API.

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. fromEmailAddress : Values_1.EmailAddressInfo.t;
    (*

    The email address to be used for sending email.

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

    The email address to send the email to.

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

    The additional recipients address of the email in CC.

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

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

    *)
  6. trafficType : TrafficType.t;
    (*

    Denotes the class of traffic. Only the CAMPAIGN traffic type is supported.

    *)
  7. sourceCampaign : SourceCampaign.t option;
    (*

    A Campaign object need for Campaign traffic type.

    *)
  8. 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 : ?additionalRecipients:??? -> ?sourceCampaign:??? -> ?clientToken:??? -> instanceId:Values_0.InstanceId.t -> fromEmailAddress:Values_1.EmailAddressInfo.t -> destinationEmailAddress:Values_1.EmailAddressInfo.t -> emailMessage:OutboundEmailContent.t -> trafficType:TrafficType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum 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