@aws-sdk/client-acm 3.934.0 → 3.936.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ACMServiceException as __BaseException } from "./ACMServiceException";
3
- /**
4
- * <p>You do not have access required to perform this action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- Message?: string | undefined;
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
1
+ import { CertificateExport, CertificateManagedBy, CertificateStatus, CertificateTransparencyLoggingPreference, CertificateType, DomainStatus, ExtendedKeyUsageName, FailureReason, KeyAlgorithm, KeyUsageName, RecordType, RenewalEligibility, RenewalStatus, RevocationReason, SortBy, SortOrder, ValidationMethod } from "./enums";
16
2
  /**
17
3
  * <p>A key-value pair that identifies or specifies metadata about an ACM resource.</p>
18
4
  * @public
@@ -44,90 +30,6 @@ export interface AddTagsToCertificateRequest {
44
30
  */
45
31
  Tags: Tag[] | undefined;
46
32
  }
47
- /**
48
- * <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
49
- * @public
50
- */
51
- export declare class InvalidArnException extends __BaseException {
52
- readonly name: "InvalidArnException";
53
- readonly $fault: "client";
54
- /**
55
- * @internal
56
- */
57
- constructor(opts: __ExceptionOptionType<InvalidArnException, __BaseException>);
58
- }
59
- /**
60
- * <p>An input parameter was invalid.</p>
61
- * @public
62
- */
63
- export declare class InvalidParameterException extends __BaseException {
64
- readonly name: "InvalidParameterException";
65
- readonly $fault: "client";
66
- /**
67
- * @internal
68
- */
69
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
70
- }
71
- /**
72
- * <p>One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with <code>aws:</code>.</p>
73
- * @public
74
- */
75
- export declare class InvalidTagException extends __BaseException {
76
- readonly name: "InvalidTagException";
77
- readonly $fault: "client";
78
- /**
79
- * @internal
80
- */
81
- constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
82
- }
83
- /**
84
- * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
85
- * @public
86
- */
87
- export declare class ResourceNotFoundException extends __BaseException {
88
- readonly name: "ResourceNotFoundException";
89
- readonly $fault: "client";
90
- /**
91
- * @internal
92
- */
93
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
94
- }
95
- /**
96
- * <p>A specified tag did not comply with an existing tag policy and was rejected.</p>
97
- * @public
98
- */
99
- export declare class TagPolicyException extends __BaseException {
100
- readonly name: "TagPolicyException";
101
- readonly $fault: "client";
102
- /**
103
- * @internal
104
- */
105
- constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
106
- }
107
- /**
108
- * <p>The request was denied because it exceeded a quota.</p>
109
- * @public
110
- */
111
- export declare class ThrottlingException extends __BaseException {
112
- readonly name: "ThrottlingException";
113
- readonly $fault: "client";
114
- /**
115
- * @internal
116
- */
117
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
118
- }
119
- /**
120
- * <p>The request contains too many tags. Try the request again with fewer tags.</p>
121
- * @public
122
- */
123
- export declare class TooManyTagsException extends __BaseException {
124
- readonly name: "TooManyTagsException";
125
- readonly $fault: "client";
126
- /**
127
- * @internal
128
- */
129
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
130
- }
131
33
  /**
132
34
  * <p>Contains information for HTTP-based domain validation of certificates requested through Amazon CloudFront and issued by ACM. This field exists only when the certificate type is <code>AMAZON_ISSUED</code> and the validation method is <code>HTTP</code>.</p>
133
35
  * @public
@@ -144,17 +46,6 @@ export interface HttpRedirect {
144
46
  */
145
47
  RedirectTo?: string | undefined;
146
48
  }
147
- /**
148
- * @public
149
- * @enum
150
- */
151
- export declare const RecordType: {
152
- readonly CNAME: "CNAME";
153
- };
154
- /**
155
- * @public
156
- */
157
- export type RecordType = (typeof RecordType)[keyof typeof RecordType];
158
49
  /**
159
50
  * <p>Contains a DNS record value that you can use to validate ownership or control of a domain. This is used by the <a>DescribeCertificate</a> action. </p>
160
51
  * @public
@@ -176,32 +67,6 @@ export interface ResourceRecord {
176
67
  */
177
68
  Value: string | undefined;
178
69
  }
179
- /**
180
- * @public
181
- * @enum
182
- */
183
- export declare const ValidationMethod: {
184
- readonly DNS: "DNS";
185
- readonly EMAIL: "EMAIL";
186
- readonly HTTP: "HTTP";
187
- };
188
- /**
189
- * @public
190
- */
191
- export type ValidationMethod = (typeof ValidationMethod)[keyof typeof ValidationMethod];
192
- /**
193
- * @public
194
- * @enum
195
- */
196
- export declare const DomainStatus: {
197
- readonly FAILED: "FAILED";
198
- readonly PENDING_VALIDATION: "PENDING_VALIDATION";
199
- readonly SUCCESS: "SUCCESS";
200
- };
201
- /**
202
- * @public
203
- */
204
- export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
205
70
  /**
206
71
  * <p>Contains information about the validation of each domain name in the certificate.</p>
207
72
  * @public
@@ -243,28 +108,6 @@ export interface DomainValidation {
243
108
  */
244
109
  ValidationMethod?: ValidationMethod | undefined;
245
110
  }
246
- /**
247
- * @public
248
- * @enum
249
- */
250
- export declare const ExtendedKeyUsageName: {
251
- readonly ANY: "ANY";
252
- readonly CODE_SIGNING: "CODE_SIGNING";
253
- readonly CUSTOM: "CUSTOM";
254
- readonly EMAIL_PROTECTION: "EMAIL_PROTECTION";
255
- readonly IPSEC_END_SYSTEM: "IPSEC_END_SYSTEM";
256
- readonly IPSEC_TUNNEL: "IPSEC_TUNNEL";
257
- readonly IPSEC_USER: "IPSEC_USER";
258
- readonly NONE: "NONE";
259
- readonly OCSP_SIGNING: "OCSP_SIGNING";
260
- readonly TIME_STAMPING: "TIME_STAMPING";
261
- readonly TLS_WEB_CLIENT_AUTHENTICATION: "TLS_WEB_CLIENT_AUTHENTICATION";
262
- readonly TLS_WEB_SERVER_AUTHENTICATION: "TLS_WEB_SERVER_AUTHENTICATION";
263
- };
264
- /**
265
- * @public
266
- */
267
- export type ExtendedKeyUsageName = (typeof ExtendedKeyUsageName)[keyof typeof ExtendedKeyUsageName];
268
111
  /**
269
112
  * <p>The Extended Key Usage X.509 v3 extension defines one or more purposes for which the public key can be used. This is in addition to or in place of the basic purposes specified by the Key Usage extension. </p>
270
113
  * @public
@@ -281,71 +124,6 @@ export interface ExtendedKeyUsage {
281
124
  */
282
125
  OID?: string | undefined;
283
126
  }
284
- /**
285
- * @public
286
- * @enum
287
- */
288
- export declare const FailureReason: {
289
- readonly ADDITIONAL_VERIFICATION_REQUIRED: "ADDITIONAL_VERIFICATION_REQUIRED";
290
- readonly CAA_ERROR: "CAA_ERROR";
291
- readonly DOMAIN_NOT_ALLOWED: "DOMAIN_NOT_ALLOWED";
292
- readonly DOMAIN_VALIDATION_DENIED: "DOMAIN_VALIDATION_DENIED";
293
- readonly INVALID_PUBLIC_DOMAIN: "INVALID_PUBLIC_DOMAIN";
294
- readonly NO_AVAILABLE_CONTACTS: "NO_AVAILABLE_CONTACTS";
295
- readonly OTHER: "OTHER";
296
- readonly PCA_ACCESS_DENIED: "PCA_ACCESS_DENIED";
297
- readonly PCA_INVALID_ARGS: "PCA_INVALID_ARGS";
298
- readonly PCA_INVALID_ARN: "PCA_INVALID_ARN";
299
- readonly PCA_INVALID_DURATION: "PCA_INVALID_DURATION";
300
- readonly PCA_INVALID_STATE: "PCA_INVALID_STATE";
301
- readonly PCA_LIMIT_EXCEEDED: "PCA_LIMIT_EXCEEDED";
302
- readonly PCA_NAME_CONSTRAINTS_VALIDATION: "PCA_NAME_CONSTRAINTS_VALIDATION";
303
- readonly PCA_REQUEST_FAILED: "PCA_REQUEST_FAILED";
304
- readonly PCA_RESOURCE_NOT_FOUND: "PCA_RESOURCE_NOT_FOUND";
305
- readonly SLR_NOT_FOUND: "SLR_NOT_FOUND";
306
- };
307
- /**
308
- * @public
309
- */
310
- export type FailureReason = (typeof FailureReason)[keyof typeof FailureReason];
311
- /**
312
- * @public
313
- * @enum
314
- */
315
- export declare const KeyAlgorithm: {
316
- readonly EC_prime256v1: "EC_prime256v1";
317
- readonly EC_secp384r1: "EC_secp384r1";
318
- readonly EC_secp521r1: "EC_secp521r1";
319
- readonly RSA_1024: "RSA_1024";
320
- readonly RSA_2048: "RSA_2048";
321
- readonly RSA_3072: "RSA_3072";
322
- readonly RSA_4096: "RSA_4096";
323
- };
324
- /**
325
- * @public
326
- */
327
- export type KeyAlgorithm = (typeof KeyAlgorithm)[keyof typeof KeyAlgorithm];
328
- /**
329
- * @public
330
- * @enum
331
- */
332
- export declare const KeyUsageName: {
333
- readonly ANY: "ANY";
334
- readonly CERTIFICATE_SIGNING: "CERTIFICATE_SIGNING";
335
- readonly CRL_SIGNING: "CRL_SIGNING";
336
- readonly CUSTOM: "CUSTOM";
337
- readonly DATA_ENCIPHERMENT: "DATA_ENCIPHERMENT";
338
- readonly DECIPHER_ONLY: "DECIPHER_ONLY";
339
- readonly DIGITAL_SIGNATURE: "DIGITAL_SIGNATURE";
340
- readonly ENCHIPER_ONLY: "ENCIPHER_ONLY";
341
- readonly KEY_AGREEMENT: "KEY_AGREEMENT";
342
- readonly KEY_ENCIPHERMENT: "KEY_ENCIPHERMENT";
343
- readonly NON_REPUDATION: "NON_REPUDIATION";
344
- };
345
- /**
346
- * @public
347
- */
348
- export type KeyUsageName = (typeof KeyUsageName)[keyof typeof KeyUsageName];
349
127
  /**
350
128
  * <p>The Key Usage X.509 v3 extension defines the purpose of the public key contained in the certificate.</p>
351
129
  * @public
@@ -357,41 +135,6 @@ export interface KeyUsage {
357
135
  */
358
136
  Name?: KeyUsageName | undefined;
359
137
  }
360
- /**
361
- * @public
362
- * @enum
363
- */
364
- export declare const CertificateManagedBy: {
365
- readonly CLOUDFRONT: "CLOUDFRONT";
366
- };
367
- /**
368
- * @public
369
- */
370
- export type CertificateManagedBy = (typeof CertificateManagedBy)[keyof typeof CertificateManagedBy];
371
- /**
372
- * @public
373
- * @enum
374
- */
375
- export declare const CertificateTransparencyLoggingPreference: {
376
- readonly DISABLED: "DISABLED";
377
- readonly ENABLED: "ENABLED";
378
- };
379
- /**
380
- * @public
381
- */
382
- export type CertificateTransparencyLoggingPreference = (typeof CertificateTransparencyLoggingPreference)[keyof typeof CertificateTransparencyLoggingPreference];
383
- /**
384
- * @public
385
- * @enum
386
- */
387
- export declare const CertificateExport: {
388
- readonly DISABLED: "DISABLED";
389
- readonly ENABLED: "ENABLED";
390
- };
391
- /**
392
- * @public
393
- */
394
- export type CertificateExport = (typeof CertificateExport)[keyof typeof CertificateExport];
395
138
  /**
396
139
  * <p>Structure that contains options for your certificate. You can use this structure to specify whether to opt in to or out of certificate transparency logging and export your certificate. </p> <p>Some browsers require that public certificates issued for your domain be recorded in a log. Certificates that are not logged typically generate a browser error. Transparency makes it possible for you to detect SSL/TLS certificates that have been mistakenly or maliciously issued for your domain. For general information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency">Certificate Transparency Logging</a>.</p> <p>You can export public ACM certificates to use with Amazon Web Services services as well as outside Amazon Web Services Cloud. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-exportable-certificates.html">Certificate Manager exportable public certificate</a>.</p>
397
140
  * @public
@@ -408,32 +151,6 @@ export interface CertificateOptions {
408
151
  */
409
152
  Export?: CertificateExport | undefined;
410
153
  }
411
- /**
412
- * @public
413
- * @enum
414
- */
415
- export declare const RenewalEligibility: {
416
- readonly ELIGIBLE: "ELIGIBLE";
417
- readonly INELIGIBLE: "INELIGIBLE";
418
- };
419
- /**
420
- * @public
421
- */
422
- export type RenewalEligibility = (typeof RenewalEligibility)[keyof typeof RenewalEligibility];
423
- /**
424
- * @public
425
- * @enum
426
- */
427
- export declare const RenewalStatus: {
428
- readonly FAILED: "FAILED";
429
- readonly PENDING_AUTO_RENEWAL: "PENDING_AUTO_RENEWAL";
430
- readonly PENDING_VALIDATION: "PENDING_VALIDATION";
431
- readonly SUCCESS: "SUCCESS";
432
- };
433
- /**
434
- * @public
435
- */
436
- export type RenewalStatus = (typeof RenewalStatus)[keyof typeof RenewalStatus];
437
154
  /**
438
155
  * <p>Contains information about the status of ACM's <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for the certificate. This structure exists only when the certificate type is <code>AMAZON_ISSUED</code>.</p>
439
156
  * @public
@@ -460,57 +177,6 @@ export interface RenewalSummary {
460
177
  */
461
178
  UpdatedAt: Date | undefined;
462
179
  }
463
- /**
464
- * @public
465
- * @enum
466
- */
467
- export declare const RevocationReason: {
468
- readonly AFFILIATION_CHANGED: "AFFILIATION_CHANGED";
469
- readonly A_A_COMPROMISE: "A_A_COMPROMISE";
470
- readonly CA_COMPROMISE: "CA_COMPROMISE";
471
- readonly CERTIFICATE_HOLD: "CERTIFICATE_HOLD";
472
- readonly CESSATION_OF_OPERATION: "CESSATION_OF_OPERATION";
473
- readonly KEY_COMPROMISE: "KEY_COMPROMISE";
474
- readonly PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN";
475
- readonly REMOVE_FROM_CRL: "REMOVE_FROM_CRL";
476
- readonly SUPERCEDED: "SUPERCEDED";
477
- readonly SUPERSEDED: "SUPERSEDED";
478
- readonly UNSPECIFIED: "UNSPECIFIED";
479
- };
480
- /**
481
- * @public
482
- */
483
- export type RevocationReason = (typeof RevocationReason)[keyof typeof RevocationReason];
484
- /**
485
- * @public
486
- * @enum
487
- */
488
- export declare const CertificateStatus: {
489
- readonly EXPIRED: "EXPIRED";
490
- readonly FAILED: "FAILED";
491
- readonly INACTIVE: "INACTIVE";
492
- readonly ISSUED: "ISSUED";
493
- readonly PENDING_VALIDATION: "PENDING_VALIDATION";
494
- readonly REVOKED: "REVOKED";
495
- readonly VALIDATION_TIMED_OUT: "VALIDATION_TIMED_OUT";
496
- };
497
- /**
498
- * @public
499
- */
500
- export type CertificateStatus = (typeof CertificateStatus)[keyof typeof CertificateStatus];
501
- /**
502
- * @public
503
- * @enum
504
- */
505
- export declare const CertificateType: {
506
- readonly AMAZON_ISSUED: "AMAZON_ISSUED";
507
- readonly IMPORTED: "IMPORTED";
508
- readonly PRIVATE: "PRIVATE";
509
- };
510
- /**
511
- * @public
512
- */
513
- export type CertificateType = (typeof CertificateType)[keyof typeof CertificateType];
514
180
  /**
515
181
  * <p>Contains metadata about an ACM certificate. This structure is returned in the response to a <a>DescribeCertificate</a> request. </p>
516
182
  * @public
@@ -652,18 +318,6 @@ export interface CertificateDetail {
652
318
  */
653
319
  Options?: CertificateOptions | undefined;
654
320
  }
655
- /**
656
- * <p>You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.</p>
657
- * @public
658
- */
659
- export declare class ConflictException extends __BaseException {
660
- readonly name: "ConflictException";
661
- readonly $fault: "client";
662
- /**
663
- * @internal
664
- */
665
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
666
- }
667
321
  /**
668
322
  * @public
669
323
  */
@@ -674,18 +328,6 @@ export interface DeleteCertificateRequest {
674
328
  */
675
329
  CertificateArn: string | undefined;
676
330
  }
677
- /**
678
- * <p>The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.</p>
679
- * @public
680
- */
681
- export declare class ResourceInUseException extends __BaseException {
682
- readonly name: "ResourceInUseException";
683
- readonly $fault: "client";
684
- /**
685
- * @internal
686
- */
687
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
688
- }
689
331
  /**
690
332
  * @public
691
333
  */
@@ -741,18 +383,6 @@ export interface ExportCertificateResponse {
741
383
  */
742
384
  PrivateKey?: string | undefined;
743
385
  }
744
- /**
745
- * <p>The certificate request is in process and the certificate in your account has not yet been issued.</p>
746
- * @public
747
- */
748
- export declare class RequestInProgressException extends __BaseException {
749
- readonly name: "RequestInProgressException";
750
- readonly $fault: "client";
751
- /**
752
- * @internal
753
- */
754
- constructor(opts: __ExceptionOptionType<RequestInProgressException, __BaseException>);
755
- }
756
386
  /**
757
387
  * <p>Object containing expiration events options associated with an Amazon Web Services account.</p>
758
388
  * @public
@@ -839,30 +469,6 @@ export interface ImportCertificateResponse {
839
469
  */
840
470
  CertificateArn?: string | undefined;
841
471
  }
842
- /**
843
- * <p>An ACM quota has been exceeded.</p>
844
- * @public
845
- */
846
- export declare class LimitExceededException extends __BaseException {
847
- readonly name: "LimitExceededException";
848
- readonly $fault: "client";
849
- /**
850
- * @internal
851
- */
852
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
853
- }
854
- /**
855
- * <p>One or more of request parameters specified is not valid.</p>
856
- * @public
857
- */
858
- export declare class InvalidArgsException extends __BaseException {
859
- readonly name: "InvalidArgsException";
860
- readonly $fault: "client";
861
- /**
862
- * @internal
863
- */
864
- constructor(opts: __ExceptionOptionType<InvalidArgsException, __BaseException>);
865
- }
866
472
  /**
867
473
  * <p>This structure can be used in the <a>ListCertificates</a> action to filter the output of the certificate list. </p>
868
474
  * @public
@@ -894,29 +500,6 @@ export interface Filters {
894
500
  */
895
501
  managedBy?: CertificateManagedBy | undefined;
896
502
  }
897
- /**
898
- * @public
899
- * @enum
900
- */
901
- export declare const SortBy: {
902
- readonly CREATED_AT: "CREATED_AT";
903
- };
904
- /**
905
- * @public
906
- */
907
- export type SortBy = (typeof SortBy)[keyof typeof SortBy];
908
- /**
909
- * @public
910
- * @enum
911
- */
912
- export declare const SortOrder: {
913
- readonly ASCENDING: "ASCENDING";
914
- readonly DESCENDING: "DESCENDING";
915
- };
916
- /**
917
- * @public
918
- */
919
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
920
503
  /**
921
504
  * @public
922
505
  */
@@ -1073,18 +656,6 @@ export interface ListCertificatesResponse {
1073
656
  */
1074
657
  CertificateSummaryList?: CertificateSummary[] | undefined;
1075
658
  }
1076
- /**
1077
- * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
1078
- * @public
1079
- */
1080
- export declare class ValidationException extends __BaseException {
1081
- readonly name: "ValidationException";
1082
- readonly $fault: "client";
1083
- /**
1084
- * @internal
1085
- */
1086
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
1087
- }
1088
659
  /**
1089
660
  * @public
1090
661
  */
@@ -1145,18 +716,6 @@ export interface RenewCertificateRequest {
1145
716
  */
1146
717
  CertificateArn: string | undefined;
1147
718
  }
1148
- /**
1149
- * <p>One or more values in the <a>DomainValidationOption</a> structure is incorrect.</p>
1150
- * @public
1151
- */
1152
- export declare class InvalidDomainValidationOptionsException extends __BaseException {
1153
- readonly name: "InvalidDomainValidationOptionsException";
1154
- readonly $fault: "client";
1155
- /**
1156
- * @internal
1157
- */
1158
- constructor(opts: __ExceptionOptionType<InvalidDomainValidationOptionsException, __BaseException>);
1159
- }
1160
719
  /**
1161
720
  * <p>Contains information about the domain names that you want ACM to use to send you emails that enable you to validate domain ownership.</p>
1162
721
  * @public
@@ -1238,18 +797,6 @@ export interface RequestCertificateResponse {
1238
797
  */
1239
798
  CertificateArn?: string | undefined;
1240
799
  }
1241
- /**
1242
- * <p>Processing has reached an invalid state.</p>
1243
- * @public
1244
- */
1245
- export declare class InvalidStateException extends __BaseException {
1246
- readonly name: "InvalidStateException";
1247
- readonly $fault: "client";
1248
- /**
1249
- * @internal
1250
- */
1251
- constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
1252
- }
1253
800
  /**
1254
801
  * @public
1255
802
  */
@@ -6,5 +6,7 @@ export { ACMExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
- export * from "./models";
9
+ export * from "./models/enums";
10
+ export * from "./models/errors";
11
+ export * from "./models/models_0";
10
12
  export { ACMServiceException } from "./models/ACMServiceException";