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
(* 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_xray
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_traces ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchGetTraces input
let cancel_trace_retrieval ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelTraceRetrieval input
let create_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateGroup input
let create_sampling_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSamplingRule input
let delete_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteGroup input
let delete_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteResourcePolicy input
let delete_sampling_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSamplingRule input
let get_encryption_config ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetEncryptionConfig input
let get_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetGroup input
let get_groups ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetGroups input
let get_indexing_rules ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetIndexingRules input
let get_insight ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetInsight input
let get_insight_events ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetInsightEvents input
let get_insight_impact_graph ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetInsightImpactGraph input
let get_insight_summaries ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetInsightSummaries input
let get_retrieved_traces_graph ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRetrievedTracesGraph input
let get_sampling_rules ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetSamplingRules input
let get_sampling_statistic_summaries ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetSamplingStatisticSummaries input
let get_sampling_targets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetSamplingTargets input
let get_service_graph ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetServiceGraph input
let get_time_series_service_statistics ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTimeSeriesServiceStatistics input
let get_trace_graph ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTraceGraph input
let get_trace_segment_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTraceSegmentDestination input
let get_trace_summaries ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetTraceSummaries input
let list_resource_policies ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListResourcePolicies input
let list_retrieved_traces ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRetrievedTraces input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_encryption_config ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutEncryptionConfig input
let put_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutResourcePolicy input
let put_telemetry_records ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutTelemetryRecords input
let put_trace_segments ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutTraceSegments input
let start_trace_retrieval ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartTraceRetrieval 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_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateGroup input
let update_indexing_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateIndexingRule input
let update_sampling_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSamplingRule input
let update_trace_segment_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateTraceSegmentDestination input