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_stepfunctions
open Awso_async
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_activity ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateActivity input
let create_state_machine ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateStateMachine input
let create_state_machine_alias ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateStateMachineAlias input
let delete_activity ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteActivity input
let delete_state_machine ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteStateMachine input
let delete_state_machine_alias ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteStateMachineAlias input
let delete_state_machine_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteStateMachineVersion input
let describe_activity ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeActivity input
let describe_execution ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeExecution input
let describe_map_run ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeMapRun input
let describe_state_machine ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeStateMachine input
let describe_state_machine_alias ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeStateMachineAlias input
let describe_state_machine_for_execution ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeStateMachineForExecution input
let get_activity_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetActivityTask input
let get_execution_history ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetExecutionHistory input
let list_activities ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListActivities input
let list_executions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListExecutions input
let list_map_runs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListMapRuns input
let list_state_machine_aliases ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListStateMachineAliases input
let list_state_machine_versions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListStateMachineVersions input
let list_state_machines ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListStateMachines input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let publish_state_machine_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PublishStateMachineVersion input
let redrive_execution ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RedriveExecution input
let send_task_failure ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SendTaskFailure input
let send_task_heartbeat ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SendTaskHeartbeat input
let send_task_success ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SendTaskSuccess input
let start_execution ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartExecution input
let start_sync_execution ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartSyncExecution input
let stop_execution ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopExecution input
let tag_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.TagResource input
let test_state ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.TestState input
let untag_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_map_run ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateMapRun input
let update_state_machine ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateStateMachine input
let update_state_machine_alias ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateStateMachineAlias input
let validate_state_machine_definition ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ValidateStateMachineDefinition input