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
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
open Smaws_Lib
let service =
  Service.{
    namespace = "acm";
    endpointPrefix = "acm";
    version = "2015-12-08";
    protocol = AwsJson_1_1
  };
type validation_method = | DNS
  | EMAIL

type validation_exception = {
  message: string option
}

type certificate_transparency_logging_preference = | DISABLED
  | ENABLED

type certificate_options = {
  certificate_transparency_logging_preference: certificate_transparency_logging_preference option
}

type update_certificate_options_request = {
  options: certificate_options;
  certificate_arn: string
}

type resource_not_found_exception = {
  message: string option
}

type limit_exceeded_exception = {
  message: string option
}

type invalid_state_exception = {
  message: string option
}

type invalid_arn_exception = {
  message: string option
}

type too_many_tags_exception = {
  message: string option
}

type throttling_exception = {
  message: string option
}

type tag_policy_exception = {
  message: string option
}

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

type sort_order = | DESCENDING
  | ASCENDING

type sort_by = | CREATED_AT

type revocation_reason = | A_A_COMPROMISE
  | PRIVILEGE_WITHDRAWN
  | REMOVE_FROM_CRL
  | CERTIFICATE_HOLD
  | CESSATION_OF_OPERATION
  | SUPERCEDED
  | AFFILIATION_CHANGED
  | CA_COMPROMISE
  | KEY_COMPROMISE
  | UNSPECIFIED

type record_type = | CNAME

type resource_record = {
  value: string;
  type_: record_type;
  name: string
}

type resource_in_use_exception = {
  message: string option
}

type resend_validation_email_request = {
  validation_domain: string;
  domain: string;
  certificate_arn: string
}

type invalid_domain_validation_options_exception = {
  message: string option
}

type request_in_progress_exception = {
  message: string option
}

type request_certificate_response = {
  certificate_arn: string option
}

type domain_validation_option = {
  validation_domain: string;
  domain_name: string
}

type key_algorithm = | EC_secp521r1
  | EC_secp384r1
  | EC_prime256v1
  | RSA_4096
  | RSA_3072
  | RSA_2048
  | RSA_1024

type request_certificate_request = {
  key_algorithm: key_algorithm option;
  tags: tag list option;
  certificate_authority_arn: string option;
  options: certificate_options option;
  domain_validation_options: domain_validation_option list option;
  idempotency_token: string option;
  subject_alternative_names: string list option;
  validation_method: validation_method option;
  domain_name: string
}

type invalid_tag_exception = {
  message: string option
}

type invalid_parameter_exception = {
  message: string option
}

type renewal_status = | FAILED
  | SUCCESS
  | PENDING_VALIDATION
  | PENDING_AUTO_RENEWAL

type domain_status = | FAILED
  | SUCCESS
  | PENDING_VALIDATION

type domain_validation = {
  validation_method: validation_method option;
  resource_record: resource_record option;
  validation_status: domain_status option;
  validation_domain: string option;
  validation_emails: string list option;
  domain_name: string
}

type failure_reason = | OTHER
  | SLR_NOT_FOUND
  | PCA_ACCESS_DENIED
  | PCA_INVALID_DURATION
  | PCA_INVALID_ARGS
  | PCA_RESOURCE_NOT_FOUND
  | PCA_NAME_CONSTRAINTS_VALIDATION
  | PCA_REQUEST_FAILED
  | PCA_INVALID_STATE
  | PCA_INVALID_ARN
  | PCA_LIMIT_EXCEEDED
  | CAA_ERROR
  | DOMAIN_VALIDATION_DENIED
  | INVALID_PUBLIC_DOMAIN
  | DOMAIN_NOT_ALLOWED
  | ADDITIONAL_VERIFICATION_REQUIRED
  | NO_AVAILABLE_CONTACTS

type renewal_summary = {
  updated_at: float;
  renewal_status_reason: failure_reason option;
  domain_validation_options: domain_validation list;
  renewal_status: renewal_status
}

type renewal_eligibility = | INELIGIBLE
  | ELIGIBLE

type renew_certificate_request = {
  certificate_arn: string
}

type remove_tags_from_certificate_request = {
  tags: tag list;
  certificate_arn: string
}

type expiry_events_configuration = {
  days_before_expiry: int option
}

type put_account_configuration_request = {
  idempotency_token: string;
  expiry_events: expiry_events_configuration option
}

type conflict_exception = {
  message: string option
}

type access_denied_exception = {
  message: string option
}

type list_tags_for_certificate_response = {
  tags: tag list option
}

type list_tags_for_certificate_request = {
  certificate_arn: string
}

type certificate_status = | FAILED
  | REVOKED
  | VALIDATION_TIMED_OUT
  | EXPIRED
  | INACTIVE
  | ISSUED
  | PENDING_VALIDATION

type certificate_type = | PRIVATE
  | AMAZON_ISSUED
  | IMPORTED

type key_usage_name = | CUSTOM
  | ANY
  | DECIPHER_ONLY
  | ENCHIPER_ONLY
  | CRL_SIGNING
  | CERTIFICATE_SIGNING
  | KEY_AGREEMENT
  | DATA_ENCIPHERMENT
  | KEY_ENCIPHERMENT
  | NON_REPUDATION
  | DIGITAL_SIGNATURE

type extended_key_usage_name = | CUSTOM
  | NONE
  | ANY
  | IPSEC_USER
  | IPSEC_TUNNEL
  | IPSEC_END_SYSTEM
  | OCSP_SIGNING
  | TIME_STAMPING
  | EMAIL_PROTECTION
  | CODE_SIGNING
  | TLS_WEB_CLIENT_AUTHENTICATION
  | TLS_WEB_SERVER_AUTHENTICATION

type certificate_summary = {
  revoked_at: float option;
  imported_at: float option;
  issued_at: float option;
  created_at: float option;
  not_after: float option;
  not_before: float option;
  renewal_eligibility: renewal_eligibility option;
  exported: bool option;
  in_use: bool option;
  extended_key_usages: extended_key_usage_name list option;
  key_usages: key_usage_name list option;
  key_algorithm: key_algorithm option;
  type_: certificate_type option;
  status: certificate_status option;
  has_additional_subject_alternative_names: bool option;
  subject_alternative_name_summaries: string list option;
  domain_name: string option;
  certificate_arn: string option
}

type list_certificates_response = {
  certificate_summary_list: certificate_summary list option;
  next_token: string option
}

type filters = {
  key_types: key_algorithm list option;
  key_usage: key_usage_name list option;
  extended_key_usage: extended_key_usage_name list option
}

type list_certificates_request = {
  sort_order: sort_order option;
  sort_by: sort_by option;
  max_items: int option;
  next_token: string option;
  includes: filters option;
  certificate_statuses: certificate_status list option
}

type invalid_args_exception = {
  message: string option
}

type key_usage = {
  name: key_usage_name option
}

type import_certificate_response = {
  certificate_arn: string option
}

type import_certificate_request = {
  tags: tag list option;
  certificate_chain: bytes option;
  private_key: bytes;
  certificate: bytes;
  certificate_arn: string option
}

type get_certificate_response = {
  certificate_chain: string option;
  certificate: string option
}

type get_certificate_request = {
  certificate_arn: string
}

type get_account_configuration_response = {
  expiry_events: expiry_events_configuration option
}

type extended_key_usage = {
  oi_d: string option;
  name: extended_key_usage_name option
}

type export_certificate_response = {
  private_key: string option;
  certificate_chain: string option;
  certificate: string option
}

type export_certificate_request = {
  passphrase: bytes;
  certificate_arn: string
}

type certificate_detail = {
  options: certificate_options option;
  renewal_eligibility: renewal_eligibility option;
  certificate_authority_arn: string option;
  extended_key_usages: extended_key_usage list option;
  key_usages: key_usage list option;
  renewal_summary: renewal_summary option;
  type_: certificate_type option;
  failure_reason: failure_reason option;
  in_use_by: string list option;
  signature_algorithm: string option;
  key_algorithm: key_algorithm option;
  not_after: float option;
  not_before: float option;
  revocation_reason: revocation_reason option;
  revoked_at: float option;
  status: certificate_status option;
  imported_at: float option;
  issued_at: float option;
  created_at: float option;
  issuer: string option;
  subject: string option;
  serial: string option;
  domain_validation_options: domain_validation list option;
  subject_alternative_names: string list option;
  domain_name: string option;
  certificate_arn: string option
}

type describe_certificate_response = {
  certificate: certificate_detail option
}

type describe_certificate_request = {
  certificate_arn: string
}

type delete_certificate_request = {
  certificate_arn: string
}

type add_tags_to_certificate_request = {
  tags: tag list;
  certificate_arn: string
}



type base_document = Json.t

OCaml

Innovation. Community. Security.