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(* 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_snowball 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_cluster ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CancelCluster input let cancel_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CancelJob input let create_address ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAddress input let create_cluster ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateCluster input let create_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateJob input let create_long_term_pricing ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLongTermPricing input let create_return_shipping_label ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateReturnShippingLabel input let describe_address ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeAddress input let describe_addresses ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeAddresses input let describe_cluster ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeCluster input let describe_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeJob input let describe_return_shipping_label ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeReturnShippingLabel input let get_job_manifest ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetJobManifest input let get_job_unlock_code ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetJobUnlockCode input let get_snowball_usage ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetSnowballUsage input let get_software_updates ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetSoftwareUpdates input let list_cluster_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListClusterJobs input let list_clusters ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListClusters input let list_compatible_images ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCompatibleImages input let list_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListJobs input let list_long_term_pricing ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListLongTermPricing input let list_pickup_locations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListPickupLocations input let list_service_versions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListServiceVersions input let update_cluster ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateCluster input let update_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateJob input let update_job_shipment_state ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateJobShipmentState input let update_long_term_pricing ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLongTermPricing input