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
(* 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_mgh
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 associate_created_artifact ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateCreatedArtifact input
let associate_discovered_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateDiscoveredResource input
let associate_source_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateSourceResource input
let create_progress_update_stream ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateProgressUpdateStream input
let delete_progress_update_stream ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteProgressUpdateStream input
let describe_application_state ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeApplicationState input
let describe_migration_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeMigrationTask input
let disassociate_created_artifact ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateCreatedArtifact input
let disassociate_discovered_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateDiscoveredResource input
let disassociate_source_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateSourceResource input
let import_migration_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ImportMigrationTask input
let list_application_states ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListApplicationStates input
let list_created_artifacts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCreatedArtifacts input
let list_discovered_resources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListDiscoveredResources input
let list_migration_task_updates ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListMigrationTaskUpdates input
let list_migration_tasks ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListMigrationTasks input
let list_progress_update_streams ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListProgressUpdateStreams input
let list_source_resources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListSourceResources input
let notify_application_state ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.NotifyApplicationState input
let notify_migration_task_state ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.NotifyMigrationTaskState input
let put_resource_attributes ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutResourceAttributes input