Module Values.CreateCampaignRequestSource

The request for CreateCampaign API.

Sourcetype nonrec t = {
  1. name : CampaignName.t;
  2. connectInstanceId : InstanceId.t;
  3. channelSubtypeConfig : ChannelSubtypeConfig.t option;
  4. type_ : ExternalCampaignType.t option;
  5. source : Source.t option;
  6. connectCampaignFlowArn : Arn.t option;
  7. schedule : Schedule.t option;
  8. entryLimitsConfig : EntryLimitsConfig.t option;
  9. communicationTimeConfig : CommunicationTimeConfig.t option;
  10. communicationLimitsOverride : CommunicationLimitsConfig.t option;
  11. tags : TagMap.t option;
}
Sourceval context_ : string
Sourceval make : ?channelSubtypeConfig:??? -> ?type_:??? -> ?source:??? -> ?connectCampaignFlowArn:??? -> ?schedule:??? -> ?entryLimitsConfig:??? -> ?communicationTimeConfig:??? -> ?communicationLimitsOverride:??? -> ?tags:??? -> name:CampaignName.t -> connectInstanceId:InstanceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of CampaignName.t | `Structure of (string * [> `Enum of string | `Integer of EntryLimitsConfigMaxEntryCountInteger.t | `String of Arn.t | `Structure of (string * [> `Double of Capacity.t | `Enum of string | `List of [> `Enum of string | `Structure of (string * [> `Enum of string | `Integer of CommunicationLimitMaxCountPerRecipientInteger.t ]) list ] list | `String of QueueId.t | `Structure of (string * [> `Integer of RingTimeout.t | `List of [> `Structure of (string * [> `String of RestrictedPeriodName.t ]) list ] list | `Map of ([> `Enum of string ] * [> `List of [> `Structure of (string * [> `String of Iso8601Time.t ]) list ] list ]) list | `String of ContactFlowId.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of BandwidthAllocation.t | `List of [> `Enum of string ] list | `Structure of (string * [> `Integer of TimeoutDuration.t ]) list ]) list ]) list ]) list | `Timestamp of TimeStamp.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