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
open Awso_payment_cryptography
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_key_replication_regions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AddKeyReplicationRegions input
let associate_mpa_team ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateMpaTeam input
let create_alias ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateAlias input
let create_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateKey input
let delete_alias ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteAlias input
let delete_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteKey input
let delete_resource_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteResourcePolicy input
let disable_default_key_replication_regions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisableDefaultKeyReplicationRegions input
let disassociate_mpa_team ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociateMpaTeam input
let enable_default_key_replication_regions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.EnableDefaultKeyReplicationRegions input
let export_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ExportKey input
let get_alias ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAlias input
let get_certificate_signing_request ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetCertificateSigningRequest input
let get_default_key_replication_regions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDefaultKeyReplicationRegions input
let get_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetKey input
let get_mpa_team_association ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetMpaTeamAssociation input
let get_parameters_for_export ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetParametersForExport input
let get_parameters_for_import ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetParametersForImport input
let get_public_key_certificate ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPublicKeyCertificate input
let get_resource_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourcePolicy input
let import_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ImportKey input
let list_aliases ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAliases input
let list_keys ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListKeys input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_resource_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutResourcePolicy input
let remove_key_replication_regions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RemoveKeyReplicationRegions input
let restore_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RestoreKey input
let start_key_usage ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartKeyUsage input
let stop_key_usage ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopKeyUsage 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_alias ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAlias input