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(* 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_greengrassv2 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_service_role_to_account ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.AssociateServiceRoleToAccount input let batch_associate_client_device_with_core_device ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchAssociateClientDeviceWithCoreDevice input let batch_disassociate_client_device_from_core_device ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchDisassociateClientDeviceFromCoreDevice input let cancel_deployment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CancelDeployment input let create_component_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateComponentVersion input let create_deployment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateDeployment input let delete_component ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteComponent input let delete_core_device ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteCoreDevice input let delete_deployment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteDeployment input let describe_component ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeComponent input let disassociate_service_role_from_account ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DisassociateServiceRoleFromAccount input let get_component ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetComponent input let get_component_version_artifact ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetComponentVersionArtifact input let get_connectivity_info ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetConnectivityInfo input let get_core_device ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCoreDevice input let get_deployment ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDeployment input let get_service_role_for_account ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetServiceRoleForAccount input let list_client_devices_associated_with_core_device ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListClientDevicesAssociatedWithCoreDevice input let list_component_versions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListComponentVersions input let list_components ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListComponents input let list_core_devices ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCoreDevices input let list_deployments ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListDeployments input let list_effective_deployments ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListEffectiveDeployments input let list_installed_components ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListInstalledComponents input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let resolve_component_candidates ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ResolveComponentCandidates 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_connectivity_info ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateConnectivityInfo input