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
(* 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_application_signals
open Awso_lwt
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_service_level_objective_budget_report ?endpoint_url ?cfg input
  =
  eval ?endpoint_url ?cfg Endpoints.BatchGetServiceLevelObjectiveBudgetReport
    input
let batch_update_exclusion_windows ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchUpdateExclusionWindows input
let create_service_level_objective ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateServiceLevelObjective input
let delete_grouping_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteGroupingConfiguration input
let delete_service_level_objective ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteServiceLevelObjective input
let get_service ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetService input
let get_service_level_objective ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetServiceLevelObjective input
let list_audit_findings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAuditFindings input
let list_entity_events ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListEntityEvents input
let list_grouping_attribute_definitions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListGroupingAttributeDefinitions input
let list_service_dependencies ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListServiceDependencies input
let list_service_dependents ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListServiceDependents input
let list_service_level_objective_exclusion_windows ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListServiceLevelObjectiveExclusionWindows
    input
let list_service_level_objectives ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListServiceLevelObjectives input
let list_service_operations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListServiceOperations input
let list_service_states ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListServiceStates input
let list_services ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListServices input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_grouping_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutGroupingConfiguration input
let start_discovery ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartDiscovery 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_service_level_objective ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateServiceLevelObjective input