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(* 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_connectcases 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 batch_get_case_rule ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetCaseRule input let batch_get_field ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetField input let batch_put_field_options ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchPutFieldOptions input let create_case ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateCase input let create_case_rule ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateCaseRule input let create_domain ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateDomain input let create_field ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateField input let create_layout ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLayout input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateRelatedItem input let create_template ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateTemplate input let delete_case ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteCase input let delete_case_rule ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteCaseRule input let delete_domain ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteDomain input let delete_field ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteField input let delete_layout ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteLayout input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteRelatedItem input let delete_template ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteTemplate input let get_case ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCase input let get_case_audit_events ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCaseAuditEvents input let get_case_event_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCaseEventConfiguration input let get_domain ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDomain input let get_layout ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetLayout input let get_template ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetTemplate input let list_case_rules ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCaseRules input let list_cases_for_contact ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCasesForContact input let list_domains ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListDomains input let list_field_options ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFieldOptions input let list_fields ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFields input let list_layouts ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListLayouts input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let list_templates ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTemplates input let put_case_event_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutCaseEventConfiguration input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SearchAllRelatedItems input let search_cases ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SearchCases input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SearchRelatedItems 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_case ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateCase input let update_case_rule ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateCaseRule input let update_field ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateField input let update_layout ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLayout input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateRelatedItem input let update_template ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateTemplate input