package smaws-clients

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file types.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
open Smaws_Lib
let service =
  Service.{
    namespace = "tagging";
    endpointPrefix = "tagging";
    version = "2017-01-26";
    protocol = AwsJson_1_1
  };
type error_code = | INVALID_PARAMETER_EXCEPTION
  | INTERNAL_SERVICE_EXCEPTION

type failure_info = {
  error_message: string option;
  error_code: error_code option;
  status_code: int option
}

type untag_resources_output = {
  failed_resources_map: (string * failure_info) list option
}

type untag_resources_input = {
  tag_keys: string list;
  resource_arn_list: string list
}

type throttled_exception = {
  message: string option
}

type invalid_parameter_exception = {
  message: string option
}

type internal_service_exception = {
  message: string option
}

type target_id_type = | ROOT
  | OU
  | ACCOUNT

type tag_resources_output = {
  failed_resources_map: (string * failure_info) list option
}

type tag_resources_input = {
  tags: (string * string) list;
  resource_arn_list: string list
}

type tag = {
  value: string;
  key: string
}

type tag_filter = {
  values: string list option;
  key: string option
}

type summary = {
  non_compliant_resources: int option;
  resource_type: string option;
  region: string option;
  target_id_type: target_id_type option;
  target_id: string option;
  last_updated: string option
}

type start_report_creation_output = unit

type start_report_creation_input = {
  s3_bucket: string
}

type constraint_violation_exception = {
  message: string option
}

type concurrent_modification_exception = {
  message: string option
}

type compliance_details = {
  compliance_status: bool option;
  keys_with_noncompliant_values: string list option;
  noncompliant_keys: string list option
}

type resource_tag_mapping = {
  compliance_details: compliance_details option;
  tags: tag list option;
  resource_ar_n: string option
}

type pagination_token_expired_exception = {
  message: string option
}

type get_tag_values_output = {
  tag_values: string list option;
  pagination_token: string option
}

type get_tag_values_input = {
  key: string;
  pagination_token: string option
}

type get_tag_keys_output = {
  tag_keys: string list option;
  pagination_token: string option
}

type get_tag_keys_input = {
  pagination_token: string option
}

type get_resources_output = {
  resource_tag_mapping_list: resource_tag_mapping list option;
  pagination_token: string option
}

type get_resources_input = {
  resource_arn_list: string list option;
  exclude_compliant_resources: bool option;
  include_compliance_details: bool option;
  resource_type_filters: string list option;
  tags_per_page: int option;
  resources_per_page: int option;
  tag_filters: tag_filter list option;
  pagination_token: string option
}

type get_compliance_summary_output = {
  pagination_token: string option;
  summary_list: summary list option
}

type group_by_attribute = | RESOURCE_TYPE
  | REGION
  | TARGET_ID

type get_compliance_summary_input = {
  pagination_token: string option;
  max_results: int option;
  group_by: group_by_attribute list option;
  tag_key_filters: string list option;
  resource_type_filters: string list option;
  region_filters: string list option;
  target_id_filters: string list option
}

type describe_report_creation_output = {
  error_message: string option;
  start_date: string option;
  s3_location: string option;
  status: string option
}

type describe_report_creation_input = unit



type base_document = Json.t

OCaml

Innovation. Community. Security.