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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
(* 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_fsx
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 associate_file_system_aliases ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateFileSystemAliases input
let cancel_data_repository_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelDataRepositoryTask input
let copy_backup ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CopyBackup input
let copy_snapshot_and_update_volume ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CopySnapshotAndUpdateVolume input
let create_and_attach_s3_access_point ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateAndAttachS3AccessPoint input
let create_backup ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateBackup input
let create_data_repository_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateDataRepositoryAssociation input
let create_data_repository_task ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateDataRepositoryTask input
let create_file_cache ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateFileCache input
let create_file_system ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateFileSystem input
let create_file_system_from_backup ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateFileSystemFromBackup input
let create_snapshot ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSnapshot input
let create_storage_virtual_machine ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateStorageVirtualMachine input
let create_volume ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateVolume input
let create_volume_from_backup ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateVolumeFromBackup input
let delete_backup ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteBackup input
let delete_data_repository_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteDataRepositoryAssociation input
let delete_file_cache ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteFileCache input
let delete_file_system ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteFileSystem input
let delete_snapshot ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSnapshot input
let delete_storage_virtual_machine ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteStorageVirtualMachine input
let delete_volume ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteVolume input
let describe_backups ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeBackups input
let describe_data_repository_associations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeDataRepositoryAssociations input
let describe_data_repository_tasks ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeDataRepositoryTasks input
let describe_file_caches ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeFileCaches input
let describe_file_system_aliases ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeFileSystemAliases input
let describe_file_systems ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeFileSystems input
let describe_s3_access_point_attachments ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeS3AccessPointAttachments input
let describe_shared_vpc_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSharedVpcConfiguration input
let describe_snapshots ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSnapshots input
let describe_storage_virtual_machines ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeStorageVirtualMachines input
let describe_volumes ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeVolumes input
let detach_and_delete_s3_access_point ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DetachAndDeleteS3AccessPoint input
let disassociate_file_system_aliases ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateFileSystemAliases input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let release_file_system_nfs_v3_locks ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ReleaseFileSystemNfsV3Locks input
let restore_volume_from_snapshot ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RestoreVolumeFromSnapshot input
let start_misconfigured_state_recovery ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartMisconfiguredStateRecovery 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_data_repository_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateDataRepositoryAssociation input
let update_file_cache ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateFileCache input
let update_file_system ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateFileSystem input
let update_shared_vpc_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSharedVpcConfiguration input
let update_snapshot ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSnapshot input
let update_storage_virtual_machine ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateStorageVirtualMachine input
let update_volume ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateVolume input