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
(* 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_shield
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 associate_d_r_t_log_bucket ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateDRTLogBucket input
let associate_d_r_t_role ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateDRTRole input
let associate_health_check ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateHealthCheck input
let associate_proactive_engagement_details ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateProactiveEngagementDetails input
let create_protection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateProtection input
let create_protection_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateProtectionGroup input
let create_subscription ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSubscription input
let delete_protection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteProtection input
let delete_protection_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteProtectionGroup input
let delete_subscription ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSubscription input
let describe_attack ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeAttack input
let describe_attack_statistics ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeAttackStatistics input
let describe_d_r_t_access ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeDRTAccess input
let describe_emergency_contact_settings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEmergencyContactSettings input
let describe_protection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeProtection input
let describe_protection_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeProtectionGroup input
let describe_subscription ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSubscription input
let disable_application_layer_automatic_response ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisableApplicationLayerAutomaticResponse
    input
let disable_proactive_engagement ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisableProactiveEngagement input
let disassociate_d_r_t_log_bucket ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateDRTLogBucket input
let disassociate_d_r_t_role ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateDRTRole input
let disassociate_health_check ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateHealthCheck input
let enable_application_layer_automatic_response ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.EnableApplicationLayerAutomaticResponse
    input
let enable_proactive_engagement ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.EnableProactiveEngagement input
let get_subscription_state ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetSubscriptionState input
let list_attacks ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAttacks input
let list_protection_groups ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListProtectionGroups input
let list_protections ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListProtections input
let list_resources_in_protection_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListResourcesInProtectionGroup input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource 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_application_layer_automatic_response ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateApplicationLayerAutomaticResponse
    input
let update_emergency_contact_settings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateEmergencyContactSettings input
let update_protection_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateProtectionGroup input
let update_subscription ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSubscription input