Module Values.CreateCampaignRequestSource

The request for Create Campaign API.

Sourcetype nonrec t = {
  1. name : CampaignName.t;
  2. connectInstanceId : InstanceId.t;
  3. dialerConfig : DialerConfig.t;
  4. outboundCallConfig : OutboundCallConfig.t;
  5. tags : TagMap.t option;
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> name:CampaignName.t -> connectInstanceId:InstanceId.t -> dialerConfig:DialerConfig.t -> outboundCallConfig:OutboundCallConfig.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of CampaignName.t | `Structure of (string * [> `String of ContactFlowId.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of BandwidthAllocation.t ]) 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