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(* 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_amplifyuibuilder 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 create_component ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateComponent input let create_form ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateForm input let create_theme ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateTheme input let delete_component ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteComponent input let delete_form ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteForm input let delete_theme ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteTheme input let exchange_code_for_token ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ExchangeCodeForToken input let export_components ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ExportComponents input let export_forms ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ExportForms input let export_themes ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ExportThemes input let get_codegen_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCodegenJob input let get_component ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetComponent input let get_form ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetForm input let get_metadata ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetMetadata input let get_theme ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetTheme input let list_codegen_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCodegenJobs input let list_components ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListComponents input let list_forms ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListForms input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let list_themes ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListThemes input let put_metadata_flag ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutMetadataFlag input let refresh_token ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.RefreshToken input let start_codegen_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StartCodegenJob 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_component ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateComponent input let update_form ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateForm input let update_theme ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateTheme input