package awso-async
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 109 110 111 112 113 114 115 116 117 118(* 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_datasync 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 cancel_task_execution ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CancelTaskExecution input let create_agent ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAgent input let create_location_azure_blob ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationAzureBlob input let create_location_efs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationEfs input let create_location_fsx_lustre ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationFsxLustre input let create_location_fsx_ontap ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationFsxOntap input let create_location_fsx_open_zfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationFsxOpenZfs input let create_location_fsx_windows ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationFsxWindows input let create_location_hdfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationHdfs input let create_location_nfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationNfs input let create_location_object_storage ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationObjectStorage input let create_location_s3 ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationS3 input let create_location_smb ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLocationSmb input let create_task ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateTask input let delete_agent ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteAgent input let delete_location ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteLocation input let delete_task ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteTask input let describe_agent ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeAgent input let describe_location_azure_blob ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationAzureBlob input let describe_location_efs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationEfs input let describe_location_fsx_lustre ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationFsxLustre input let describe_location_fsx_ontap ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationFsxOntap input let describe_location_fsx_open_zfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationFsxOpenZfs input let describe_location_fsx_windows ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationFsxWindows input let describe_location_hdfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationHdfs input let describe_location_nfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationNfs input let describe_location_object_storage ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationObjectStorage input let describe_location_s3 ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationS3 input let describe_location_smb ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLocationSmb input let describe_task ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeTask input let describe_task_execution ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeTaskExecution input let list_agents ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListAgents input let list_locations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListLocations input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let list_task_executions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTaskExecutions input let list_tasks ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTasks input let start_task_execution ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StartTaskExecution 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_agent ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateAgent input let update_location_azure_blob ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationAzureBlob input let update_location_efs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationEfs input let update_location_fsx_lustre ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationFsxLustre input let update_location_fsx_ontap ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationFsxOntap input let update_location_fsx_open_zfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationFsxOpenZfs input let update_location_fsx_windows ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationFsxWindows input let update_location_hdfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationHdfs input let update_location_nfs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationNfs input let update_location_object_storage ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationObjectStorage input let update_location_s3 ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationS3 input let update_location_smb ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLocationSmb input let update_task ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateTask input let update_task_execution ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateTaskExecution input