Source file io.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *)
open Awso_connectcampaignsv2
open Awso_sync
module Io = Http.Io
let eval ?endpoint_url ?cfg endpoint input =
  Io.bind (Io.resolve_cfg cfg)
    (fun cfg ->
       let meth = Endpoints.method_of_endpoint endpoint in
       let uri = Endpoints.uri_of_endpoint endpoint input in
       Io.map
         (Io.call ?endpoint_url ~cfg ~service:Values.service meth
            (Endpoints.to_request endpoint input) uri)
         (fun resp_result -> Endpoints.of_response endpoint resp_result))
let create_campaign ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateCampaign input
let delete_campaign ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteCampaign input
let delete_campaign_channel_subtype_config ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteCampaignChannelSubtypeConfig input
let delete_campaign_communication_limits ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteCampaignCommunicationLimits input
let delete_campaign_communication_time ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteCampaignCommunicationTime input
let delete_campaign_entry_limits ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteCampaignEntryLimits input
let delete_connect_instance_config ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConnectInstanceConfig input
let delete_connect_instance_integration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConnectInstanceIntegration input
let delete_instance_onboarding_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteInstanceOnboardingJob input
let describe_campaign ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeCampaign input
let get_campaign_state ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCampaignState input
let get_campaign_state_batch ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCampaignStateBatch input
let get_connect_instance_config ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetConnectInstanceConfig input
let get_instance_communication_limits ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetInstanceCommunicationLimits input
let get_instance_onboarding_job_status ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetInstanceOnboardingJobStatus input
let list_campaigns ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCampaigns input
let list_connect_instance_integrations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListConnectInstanceIntegrations input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let pause_campaign ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PauseCampaign input
let put_connect_instance_integration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutConnectInstanceIntegration input
let put_instance_communication_limits ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutInstanceCommunicationLimits input
let put_outbound_request_batch ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutOutboundRequestBatch input
let put_profile_outbound_request_batch ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutProfileOutboundRequestBatch input
let resume_campaign ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ResumeCampaign input
let start_campaign ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartCampaign input
let start_instance_onboarding_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartInstanceOnboardingJob input
let stop_campaign ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopCampaign input
let tag_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.TagResource input
let untag_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_campaign_channel_subtype_config ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCampaignChannelSubtypeConfig input
let update_campaign_communication_limits ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCampaignCommunicationLimits input
let update_campaign_communication_time ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCampaignCommunicationTime input
let update_campaign_entry_limits ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCampaignEntryLimits input
let update_campaign_flow_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCampaignFlowAssociation input
let update_campaign_name ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCampaignName input
let update_campaign_schedule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCampaignSchedule input
let update_campaign_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCampaignSource input