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
open Awso_support
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 add_attachments_to_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AddAttachmentsToSet input
let add_communication_to_case ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AddCommunicationToCase input
let create_case ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateCase input
let describe_attachment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeAttachment input
let describe_cases ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeCases input
let describe_communications ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeCommunications input
let describe_create_case_options ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeCreateCaseOptions input
let describe_services ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeServices input
let describe_severity_levels ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeSeverityLevels input
let describe_supported_languages ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeSupportedLanguages input
let describe_trusted_advisor_check_refresh_statuses ?endpoint_url ?cfg input
=
eval ?endpoint_url ?cfg
Endpoints.DescribeTrustedAdvisorCheckRefreshStatuses input
let describe_trusted_advisor_check_result ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeTrustedAdvisorCheckResult input
let describe_trusted_advisor_check_summaries ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeTrustedAdvisorCheckSummaries
input
let describe_trusted_advisor_checks ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeTrustedAdvisorChecks input
let refresh_trusted_advisor_check ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RefreshTrustedAdvisorCheck input
let resolve_case ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ResolveCase input