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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
open Smaws_Lib
let service =
  Service.{
    namespace = "cognito-identity";
    endpointPrefix = "cognito-identity";
    version = "2014-06-30";
    protocol = AwsJson_1_1
  };
type too_many_requests_exception = {
  message: string option
}

type resource_not_found_exception = {
  message: string option
}

type resource_conflict_exception = {
  message: string option
}

type not_authorized_exception = {
  message: string option
}

type limit_exceeded_exception = {
  message: string option
}

type invalid_parameter_exception = {
  message: string option
}

type internal_error_exception = {
  message: string option
}

type concurrent_modification_exception = {
  message: string option
}

type cognito_identity_provider = {
  server_side_token_check: bool option;
  client_id: string option;
  provider_name: string option
}

type identity_pool = {
  identity_pool_tags: (string * string) list option;
  saml_provider_ar_ns: string list option;
  cognito_identity_providers: cognito_identity_provider list option;
  open_id_connect_provider_ar_ns: string list option;
  developer_provider_name: string option;
  supported_login_providers: (string * string) list option;
  allow_classic_flow: bool option;
  allow_unauthenticated_identities: bool;
  identity_pool_name: string;
  identity_pool_id: string
}

type untag_resource_response = unit

type untag_resource_input = {
  tag_keys: string list;
  resource_arn: string
}

type error_code = | INTERNAL_SERVER_ERROR
  | ACCESS_DENIED

type unprocessed_identity_id = {
  error_code: error_code option;
  identity_id: string option
}

type unlink_identity_input = {
  logins_to_remove: string list;
  logins: (string * string) list;
  identity_id: string
}

type external_service_exception = {
  message: string option
}

type unlink_developer_identity_input = {
  developer_user_identifier: string;
  developer_provider_name: string;
  identity_pool_id: string;
  identity_id: string
}

type tag_resource_response = unit

type tag_resource_input = {
  tags: (string * string) list;
  resource_arn: string
}

type set_principal_tag_attribute_map_response = {
  principal_tags: (string * string) list option;
  use_defaults: bool option;
  identity_provider_name: string option;
  identity_pool_id: string option
}

type set_principal_tag_attribute_map_input = {
  principal_tags: (string * string) list option;
  use_defaults: bool option;
  identity_provider_name: string;
  identity_pool_id: string
}

type role_mapping_type = | RULES
  | TOKEN

type ambiguous_role_resolution_type = | DENY
  | AUTHENTICATED_ROLE

type mapping_rule_match_type = | NOT_EQUAL
  | STARTS_WITH
  | CONTAINS
  | EQUALS

type mapping_rule = {
  role_ar_n: string;
  value: string;
  match_type: mapping_rule_match_type;
  claim: string
}

type rules_configuration_type = {
  rules: mapping_rule list
}

type role_mapping = {
  rules_configuration: rules_configuration_type option;
  ambiguous_role_resolution: ambiguous_role_resolution_type option;
  type_: role_mapping_type
}

type set_identity_pool_roles_input = {
  role_mappings: (string * role_mapping) list option;
  roles: (string * string) list;
  identity_pool_id: string
}

type merge_developer_identities_response = {
  identity_id: string option
}

type merge_developer_identities_input = {
  identity_pool_id: string;
  developer_provider_name: string;
  destination_user_identifier: string;
  source_user_identifier: string
}

type lookup_developer_identity_response = {
  next_token: string option;
  developer_user_identifier_list: string list option;
  identity_id: string option
}

type lookup_developer_identity_input = {
  next_token: string option;
  max_results: int option;
  developer_user_identifier: string option;
  identity_id: string option;
  identity_pool_id: string
}

type list_tags_for_resource_response = {
  tags: (string * string) list option
}

type list_tags_for_resource_input = {
  resource_arn: string
}

type identity_pool_short_description = {
  identity_pool_name: string option;
  identity_pool_id: string option
}

type list_identity_pools_response = {
  next_token: string option;
  identity_pools: identity_pool_short_description list option
}

type list_identity_pools_input = {
  next_token: string option;
  max_results: int
}

type identity_description = {
  last_modified_date: float option;
  creation_date: float option;
  logins: string list option;
  identity_id: string option
}

type list_identities_response = {
  next_token: string option;
  identities: identity_description list option;
  identity_pool_id: string option
}

type list_identities_input = {
  hide_disabled: bool option;
  next_token: string option;
  max_results: int;
  identity_pool_id: string
}

type invalid_identity_pool_configuration_exception = {
  message: string option
}

type get_principal_tag_attribute_map_response = {
  principal_tags: (string * string) list option;
  use_defaults: bool option;
  identity_provider_name: string option;
  identity_pool_id: string option
}

type get_principal_tag_attribute_map_input = {
  identity_provider_name: string;
  identity_pool_id: string
}

type get_open_id_token_response = {
  token: string option;
  identity_id: string option
}

type get_open_id_token_input = {
  logins: (string * string) list option;
  identity_id: string
}

type get_open_id_token_for_developer_identity_response = {
  token: string option;
  identity_id: string option
}

type get_open_id_token_for_developer_identity_input = {
  token_duration: int option;
  principal_tags: (string * string) list option;
  logins: (string * string) list;
  identity_id: string option;
  identity_pool_id: string
}

type developer_user_already_registered_exception = {
  message: string option
}

type get_identity_pool_roles_response = {
  role_mappings: (string * role_mapping) list option;
  roles: (string * string) list option;
  identity_pool_id: string option
}

type get_identity_pool_roles_input = {
  identity_pool_id: string
}

type get_id_response = {
  identity_id: string option
}

type get_id_input = {
  logins: (string * string) list option;
  identity_pool_id: string;
  account_id: string option
}

type credentials = {
  expiration: float option;
  session_token: string option;
  secret_key: string option;
  access_key_id: string option
}

type get_credentials_for_identity_response = {
  credentials: credentials option;
  identity_id: string option
}

type get_credentials_for_identity_input = {
  custom_role_arn: string option;
  logins: (string * string) list option;
  identity_id: string
}

type describe_identity_pool_input = {
  identity_pool_id: string
}

type describe_identity_input = {
  identity_id: string
}

type delete_identity_pool_input = {
  identity_pool_id: string
}

type delete_identities_response = {
  unprocessed_identity_ids: unprocessed_identity_id list option
}

type delete_identities_input = {
  identity_ids_to_delete: string list
}

type create_identity_pool_input = {
  identity_pool_tags: (string * string) list option;
  saml_provider_ar_ns: string list option;
  cognito_identity_providers: cognito_identity_provider list option;
  open_id_connect_provider_ar_ns: string list option;
  developer_provider_name: string option;
  supported_login_providers: (string * string) list option;
  allow_classic_flow: bool option;
  allow_unauthenticated_identities: bool;
  identity_pool_name: string
}



type base_document = Json.t

OCaml

Innovation. Community. Security.