package smaws-clients

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

Source file builders.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
332
333
334
335
336
[@@@warning "-39"]
open Types
let make_cognito_identity_provider 
  ?(server_side_token_check : bool option)
  ?(client_id : string option)
  ?(provider_name : string option)
  () : cognito_identity_provider = {
  server_side_token_check; client_id; provider_name; 
}

let make_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)
  () : identity_pool = {
  identity_pool_tags;
  saml_provider_ar_ns;
  cognito_identity_providers;
  open_id_connect_provider_ar_ns;
  developer_provider_name;
  supported_login_providers;
  allow_classic_flow;
  allow_unauthenticated_identities;
  identity_pool_name;
  identity_pool_id;
   }

let make_untag_resource_response  () : untag_resource_response =
()

let make_untag_resource_input 
  ~(tag_keys : string list) ~(resource_arn : string) ()
: untag_resource_input = { tag_keys; resource_arn; 
}

let make_unprocessed_identity_id 
  ?(error_code : error_code option) ?(identity_id : string option) ()
: unprocessed_identity_id = { error_code; identity_id; 
}

let make_unlink_identity_input 
  ~(logins_to_remove : string list)
  ~(logins : (string * string) list)
  ~(identity_id : string)
  () : unlink_identity_input = { logins_to_remove; logins; identity_id; 
}

let make_unlink_developer_identity_input 
  ~(developer_user_identifier : string)
  ~(developer_provider_name : string)
  ~(identity_pool_id : string)
  ~(identity_id : string)
  () : unlink_developer_identity_input = {
  developer_user_identifier;
  developer_provider_name;
  identity_pool_id;
  identity_id;
   }

let make_tag_resource_response  () : tag_resource_response =
()

let make_tag_resource_input 
  ~(tags : (string * string) list) ~(resource_arn : string) ()
: tag_resource_input = { tags; resource_arn; 
}

let make_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)
  () : set_principal_tag_attribute_map_response = {
  principal_tags; use_defaults; identity_provider_name; identity_pool_id; 
}

let make_set_principal_tag_attribute_map_input 
  ?(principal_tags : (string * string) list option)
  ?(use_defaults : bool option)
  ~(identity_provider_name : string)
  ~(identity_pool_id : string)
  () : set_principal_tag_attribute_map_input = {
  principal_tags; use_defaults; identity_provider_name; identity_pool_id; 
}

let make_mapping_rule 
  ~(role_ar_n : string)
  ~(value : string)
  ~(match_type : mapping_rule_match_type)
  ~(claim : string)
  () : mapping_rule = { role_ar_n; value; match_type; claim; 
}

let make_rules_configuration_type  ~(rules : mapping_rule list) ()
: rules_configuration_type = { rules;  }

let make_role_mapping 
  ?(rules_configuration : rules_configuration_type option)
  ?(ambiguous_role_resolution : ambiguous_role_resolution_type option)
  ~(type_ : role_mapping_type)
  () : role_mapping = {
  rules_configuration; ambiguous_role_resolution; type_; 
}

let make_set_identity_pool_roles_input 
  ?(role_mappings : (string * role_mapping) list option)
  ~(roles : (string * string) list)
  ~(identity_pool_id : string)
  () : set_identity_pool_roles_input = {
  role_mappings; roles; identity_pool_id; 
}

let make_merge_developer_identities_response 
  ?(identity_id : string option) () : merge_developer_identities_response = {
  identity_id;  }

let make_merge_developer_identities_input 
  ~(identity_pool_id : string)
  ~(developer_provider_name : string)
  ~(destination_user_identifier : string)
  ~(source_user_identifier : string)
  () : merge_developer_identities_input = {
  identity_pool_id;
  developer_provider_name;
  destination_user_identifier;
  source_user_identifier;
   }

let make_lookup_developer_identity_response 
  ?(next_token : string option)
  ?(developer_user_identifier_list : string list option)
  ?(identity_id : string option)
  () : lookup_developer_identity_response = {
  next_token; developer_user_identifier_list; identity_id; 
}

let make_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)
  () : lookup_developer_identity_input = {
  next_token;
  max_results;
  developer_user_identifier;
  identity_id;
  identity_pool_id;
   }

let make_list_tags_for_resource_response 
  ?(tags : (string * string) list option) ()
: list_tags_for_resource_response = { tags; 
}

let make_list_tags_for_resource_input  ~(resource_arn : string) ()
: list_tags_for_resource_input = { resource_arn; 
}

let make_identity_pool_short_description 
  ?(identity_pool_name : string option)
  ?(identity_pool_id : string option)
  () : identity_pool_short_description = {
  identity_pool_name; identity_pool_id; 
}

let make_list_identity_pools_response 
  ?(next_token : string option)
  ?(identity_pools : identity_pool_short_description list option)
  () : list_identity_pools_response = { next_token; identity_pools; 
}

let make_list_identity_pools_input 
  ?(next_token : string option) ~(max_results : int) ()
: list_identity_pools_input = { next_token; max_results; 
}

let make_identity_description 
  ?(last_modified_date : float option)
  ?(creation_date : float option)
  ?(logins : string list option)
  ?(identity_id : string option)
  () : identity_description = {
  last_modified_date; creation_date; logins; identity_id; 
}

let make_list_identities_response 
  ?(next_token : string option)
  ?(identities : identity_description list option)
  ?(identity_pool_id : string option)
  () : list_identities_response = {
  next_token; identities; identity_pool_id;  }

let make_list_identities_input 
  ?(hide_disabled : bool option)
  ?(next_token : string option)
  ~(max_results : int)
  ~(identity_pool_id : string)
  () : list_identities_input = {
  hide_disabled; next_token; max_results; identity_pool_id; 
}

let make_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)
  () : get_principal_tag_attribute_map_response = {
  principal_tags; use_defaults; identity_provider_name; identity_pool_id; 
}

let make_get_principal_tag_attribute_map_input 
  ~(identity_provider_name : string) ~(identity_pool_id : string) ()
: get_principal_tag_attribute_map_input = {
  identity_provider_name; identity_pool_id; 
}

let make_get_open_id_token_response 
  ?(token : string option) ?(identity_id : string option) ()
: get_open_id_token_response = { token; identity_id; 
}

let make_get_open_id_token_input 
  ?(logins : (string * string) list option) ~(identity_id : string) ()
: get_open_id_token_input = { logins; identity_id; 
}

let make_get_open_id_token_for_developer_identity_response 
  ?(token : string option) ?(identity_id : string option) ()
: get_open_id_token_for_developer_identity_response = { token; identity_id; 
}

let make_get_open_id_token_for_developer_identity_input 
  ?(token_duration : int option)
  ?(principal_tags : (string * string) list option)
  ?(identity_id : string option)
  ~(logins : (string * string) list)
  ~(identity_pool_id : string)
  () : get_open_id_token_for_developer_identity_input = {
  token_duration; principal_tags; logins; identity_id; identity_pool_id; 
}

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

let make_get_identity_pool_roles_input  ~(identity_pool_id : string) ()
: get_identity_pool_roles_input = { identity_pool_id; 
}

let make_get_id_response  ?(identity_id : string option) () : get_id_response
= { identity_id;  }

let make_get_id_input 
  ?(logins : (string * string) list option)
  ?(account_id : string option)
  ~(identity_pool_id : string)
  () : get_id_input = { logins; identity_pool_id; account_id; 
}

let make_credentials 
  ?(expiration : float option)
  ?(session_token : string option)
  ?(secret_key : string option)
  ?(access_key_id : string option)
  () : credentials = { expiration; session_token; secret_key; access_key_id; 
}

let make_get_credentials_for_identity_response 
  ?(credentials : credentials option) ?(identity_id : string option) ()
: get_credentials_for_identity_response = { credentials; identity_id; 
}

let make_get_credentials_for_identity_input 
  ?(custom_role_arn : string option)
  ?(logins : (string * string) list option)
  ~(identity_id : string)
  () : get_credentials_for_identity_input = {
  custom_role_arn; logins; identity_id; 
}

let make_describe_identity_pool_input  ~(identity_pool_id : string) ()
: describe_identity_pool_input = { identity_pool_id; 
}

let make_describe_identity_input  ~(identity_id : string) ()
: describe_identity_input = { identity_id; 
}

let make_delete_identity_pool_input  ~(identity_pool_id : string) ()
: delete_identity_pool_input = { identity_pool_id; 
}

let make_delete_identities_response 
  ?(unprocessed_identity_ids : unprocessed_identity_id list option) ()
: delete_identities_response = { unprocessed_identity_ids; 
}

let make_delete_identities_input  ~(identity_ids_to_delete : string list) ()
: delete_identities_input = { identity_ids_to_delete; 
}

let make_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)
  () : create_identity_pool_input = {
  identity_pool_tags;
  saml_provider_ar_ns;
  cognito_identity_providers;
  open_id_connect_provider_ar_ns;
  developer_provider_name;
  supported_login_providers;
  allow_classic_flow;
  allow_unauthenticated_identities;
  identity_pool_name;
  
}

OCaml

Innovation. Community. Security.