@aws-sdk/client-acm 3.52.0 → 3.53.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.
- package/CHANGELOG.md +12 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ACMServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +212 -1
- package/dist-cjs/protocols/Aws_json1_1.js +183 -580
- package/dist-es/endpoints.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/ACMServiceException.js +12 -0
- package/dist-es/models/models_0.js +195 -1
- package/dist-es/protocols/Aws_json1_1.js +361 -609
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ACMServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +114 -64
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/ACMServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -64
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
* **clients:** update clients as of 2022/02/23 ([#3356](https://github.com/aws/aws-sdk-js-v3/issues/3356)) ([b6b2e25](https://github.com/aws/aws-sdk-js-v3/commit/b6b2e258add12c73d807483ca078401a6d84a12b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @aws-sdk/client-acm
|
package/dist-cjs/endpoints.js
CHANGED
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ACMServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./ACM"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ACMClient"), exports);
|
|
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
|
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./waiters"), exports);
|
|
11
|
+
var ACMServiceException_1 = require("./models/ACMServiceException");
|
|
12
|
+
Object.defineProperty(exports, "ACMServiceException", { enumerable: true, get: function () { return ACMServiceException_1.ACMServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ACMServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class ACMServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, ACMServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.ACMServiceException = ACMServiceException;
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ListTagsForCertificateRequest = exports.ListCertificatesResponse = exports.CertificateSummary = exports.ListCertificatesRequest = exports.Filters = exports.InvalidArgsException = exports.LimitExceededException = exports.ImportCertificateResponse = exports.ImportCertificateRequest = exports.GetCertificateResponse = exports.GetCertificateRequest = exports.GetAccountConfigurationResponse = exports.ExpiryEventsConfiguration = exports.RequestInProgressException = exports.ExportCertificateResponse = exports.ExportCertificateRequest = exports.DescribeCertificateResponse = exports.DescribeCertificateRequest = exports.ResourceInUseException = exports.DeleteCertificateRequest = exports.CertificateDetail = exports.CertificateType = exports.CertificateStatus = exports.RevocationReason = exports.RenewalSummary = exports.RenewalStatus = exports.RenewalEligibility = exports.CertificateOptions = exports.CertificateTransparencyLoggingPreference = exports.KeyUsage = exports.KeyUsageName = exports.KeyAlgorithm = exports.FailureReason = exports.ExtendedKeyUsage = exports.ExtendedKeyUsageName = exports.DomainValidation = exports.DomainStatus = exports.ValidationMethod = exports.ResourceRecord = exports.RecordType = exports.TooManyTagsException = exports.ThrottlingException = exports.TagPolicyException = exports.ResourceNotFoundException = exports.InvalidTagException = exports.InvalidParameterException = exports.InvalidArnException = exports.AddTagsToCertificateRequest = exports.Tag = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateCertificateOptionsRequest = exports.ResendValidationEmailRequest = exports.InvalidStateException = exports.RequestCertificateResponse = exports.RequestCertificateRequest = exports.DomainValidationOption = exports.InvalidDomainValidationOptionsException = exports.RenewCertificateRequest = exports.RemoveTagsFromCertificateRequest = exports.ValidationException = exports.PutAccountConfigurationRequest = exports.ConflictException = exports.ListTagsForCertificateResponse = void 0;
|
|
4
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const ACMServiceException_1 = require("./ACMServiceException");
|
|
7
|
+
class AccessDeniedException extends ACMServiceException_1.ACMServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
this.Message = opts.Message;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
5
21
|
var Tag;
|
|
6
22
|
(function (Tag) {
|
|
7
23
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -14,6 +30,97 @@ var AddTagsToCertificateRequest;
|
|
|
14
30
|
...obj,
|
|
15
31
|
});
|
|
16
32
|
})(AddTagsToCertificateRequest = exports.AddTagsToCertificateRequest || (exports.AddTagsToCertificateRequest = {}));
|
|
33
|
+
class InvalidArnException extends ACMServiceException_1.ACMServiceException {
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InvalidArnException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
this.name = "InvalidArnException";
|
|
41
|
+
this.$fault = "client";
|
|
42
|
+
Object.setPrototypeOf(this, InvalidArnException.prototype);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.InvalidArnException = InvalidArnException;
|
|
46
|
+
class InvalidParameterException extends ACMServiceException_1.ACMServiceException {
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "InvalidParameterException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
this.name = "InvalidParameterException";
|
|
54
|
+
this.$fault = "client";
|
|
55
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
59
|
+
class InvalidTagException extends ACMServiceException_1.ACMServiceException {
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "InvalidTagException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
this.name = "InvalidTagException";
|
|
67
|
+
this.$fault = "client";
|
|
68
|
+
Object.setPrototypeOf(this, InvalidTagException.prototype);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.InvalidTagException = InvalidTagException;
|
|
72
|
+
class ResourceNotFoundException extends ACMServiceException_1.ACMServiceException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "ResourceNotFoundException";
|
|
80
|
+
this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
85
|
+
class TagPolicyException extends ACMServiceException_1.ACMServiceException {
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "TagPolicyException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
this.name = "TagPolicyException";
|
|
93
|
+
this.$fault = "client";
|
|
94
|
+
Object.setPrototypeOf(this, TagPolicyException.prototype);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.TagPolicyException = TagPolicyException;
|
|
98
|
+
class ThrottlingException extends ACMServiceException_1.ACMServiceException {
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ThrottlingException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
this.name = "ThrottlingException";
|
|
106
|
+
this.$fault = "client";
|
|
107
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.ThrottlingException = ThrottlingException;
|
|
111
|
+
class TooManyTagsException extends ACMServiceException_1.ACMServiceException {
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "TooManyTagsException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
this.name = "TooManyTagsException";
|
|
119
|
+
this.$fault = "client";
|
|
120
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
17
124
|
var RecordType;
|
|
18
125
|
(function (RecordType) {
|
|
19
126
|
RecordType["CNAME"] = "CNAME";
|
|
@@ -182,6 +289,19 @@ var DeleteCertificateRequest;
|
|
|
182
289
|
...obj,
|
|
183
290
|
});
|
|
184
291
|
})(DeleteCertificateRequest = exports.DeleteCertificateRequest || (exports.DeleteCertificateRequest = {}));
|
|
292
|
+
class ResourceInUseException extends ACMServiceException_1.ACMServiceException {
|
|
293
|
+
constructor(opts) {
|
|
294
|
+
super({
|
|
295
|
+
name: "ResourceInUseException",
|
|
296
|
+
$fault: "client",
|
|
297
|
+
...opts,
|
|
298
|
+
});
|
|
299
|
+
this.name = "ResourceInUseException";
|
|
300
|
+
this.$fault = "client";
|
|
301
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
185
305
|
var DescribeCertificateRequest;
|
|
186
306
|
(function (DescribeCertificateRequest) {
|
|
187
307
|
DescribeCertificateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -208,6 +328,19 @@ var ExportCertificateResponse;
|
|
|
208
328
|
...(obj.PrivateKey && { PrivateKey: smithy_client_1.SENSITIVE_STRING }),
|
|
209
329
|
});
|
|
210
330
|
})(ExportCertificateResponse = exports.ExportCertificateResponse || (exports.ExportCertificateResponse = {}));
|
|
331
|
+
class RequestInProgressException extends ACMServiceException_1.ACMServiceException {
|
|
332
|
+
constructor(opts) {
|
|
333
|
+
super({
|
|
334
|
+
name: "RequestInProgressException",
|
|
335
|
+
$fault: "client",
|
|
336
|
+
...opts,
|
|
337
|
+
});
|
|
338
|
+
this.name = "RequestInProgressException";
|
|
339
|
+
this.$fault = "client";
|
|
340
|
+
Object.setPrototypeOf(this, RequestInProgressException.prototype);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
exports.RequestInProgressException = RequestInProgressException;
|
|
211
344
|
var ExpiryEventsConfiguration;
|
|
212
345
|
(function (ExpiryEventsConfiguration) {
|
|
213
346
|
ExpiryEventsConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -245,6 +378,32 @@ var ImportCertificateResponse;
|
|
|
245
378
|
...obj,
|
|
246
379
|
});
|
|
247
380
|
})(ImportCertificateResponse = exports.ImportCertificateResponse || (exports.ImportCertificateResponse = {}));
|
|
381
|
+
class LimitExceededException extends ACMServiceException_1.ACMServiceException {
|
|
382
|
+
constructor(opts) {
|
|
383
|
+
super({
|
|
384
|
+
name: "LimitExceededException",
|
|
385
|
+
$fault: "client",
|
|
386
|
+
...opts,
|
|
387
|
+
});
|
|
388
|
+
this.name = "LimitExceededException";
|
|
389
|
+
this.$fault = "client";
|
|
390
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
exports.LimitExceededException = LimitExceededException;
|
|
394
|
+
class InvalidArgsException extends ACMServiceException_1.ACMServiceException {
|
|
395
|
+
constructor(opts) {
|
|
396
|
+
super({
|
|
397
|
+
name: "InvalidArgsException",
|
|
398
|
+
$fault: "client",
|
|
399
|
+
...opts,
|
|
400
|
+
});
|
|
401
|
+
this.name = "InvalidArgsException";
|
|
402
|
+
this.$fault = "client";
|
|
403
|
+
Object.setPrototypeOf(this, InvalidArgsException.prototype);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
exports.InvalidArgsException = InvalidArgsException;
|
|
248
407
|
var Filters;
|
|
249
408
|
(function (Filters) {
|
|
250
409
|
Filters.filterSensitiveLog = (obj) => ({
|
|
@@ -281,12 +440,38 @@ var ListTagsForCertificateResponse;
|
|
|
281
440
|
...obj,
|
|
282
441
|
});
|
|
283
442
|
})(ListTagsForCertificateResponse = exports.ListTagsForCertificateResponse || (exports.ListTagsForCertificateResponse = {}));
|
|
443
|
+
class ConflictException extends ACMServiceException_1.ACMServiceException {
|
|
444
|
+
constructor(opts) {
|
|
445
|
+
super({
|
|
446
|
+
name: "ConflictException",
|
|
447
|
+
$fault: "client",
|
|
448
|
+
...opts,
|
|
449
|
+
});
|
|
450
|
+
this.name = "ConflictException";
|
|
451
|
+
this.$fault = "client";
|
|
452
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
exports.ConflictException = ConflictException;
|
|
284
456
|
var PutAccountConfigurationRequest;
|
|
285
457
|
(function (PutAccountConfigurationRequest) {
|
|
286
458
|
PutAccountConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
287
459
|
...obj,
|
|
288
460
|
});
|
|
289
461
|
})(PutAccountConfigurationRequest = exports.PutAccountConfigurationRequest || (exports.PutAccountConfigurationRequest = {}));
|
|
462
|
+
class ValidationException extends ACMServiceException_1.ACMServiceException {
|
|
463
|
+
constructor(opts) {
|
|
464
|
+
super({
|
|
465
|
+
name: "ValidationException",
|
|
466
|
+
$fault: "client",
|
|
467
|
+
...opts,
|
|
468
|
+
});
|
|
469
|
+
this.name = "ValidationException";
|
|
470
|
+
this.$fault = "client";
|
|
471
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
exports.ValidationException = ValidationException;
|
|
290
475
|
var RemoveTagsFromCertificateRequest;
|
|
291
476
|
(function (RemoveTagsFromCertificateRequest) {
|
|
292
477
|
RemoveTagsFromCertificateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -299,6 +484,19 @@ var RenewCertificateRequest;
|
|
|
299
484
|
...obj,
|
|
300
485
|
});
|
|
301
486
|
})(RenewCertificateRequest = exports.RenewCertificateRequest || (exports.RenewCertificateRequest = {}));
|
|
487
|
+
class InvalidDomainValidationOptionsException extends ACMServiceException_1.ACMServiceException {
|
|
488
|
+
constructor(opts) {
|
|
489
|
+
super({
|
|
490
|
+
name: "InvalidDomainValidationOptionsException",
|
|
491
|
+
$fault: "client",
|
|
492
|
+
...opts,
|
|
493
|
+
});
|
|
494
|
+
this.name = "InvalidDomainValidationOptionsException";
|
|
495
|
+
this.$fault = "client";
|
|
496
|
+
Object.setPrototypeOf(this, InvalidDomainValidationOptionsException.prototype);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
exports.InvalidDomainValidationOptionsException = InvalidDomainValidationOptionsException;
|
|
302
500
|
var DomainValidationOption;
|
|
303
501
|
(function (DomainValidationOption) {
|
|
304
502
|
DomainValidationOption.filterSensitiveLog = (obj) => ({
|
|
@@ -317,6 +515,19 @@ var RequestCertificateResponse;
|
|
|
317
515
|
...obj,
|
|
318
516
|
});
|
|
319
517
|
})(RequestCertificateResponse = exports.RequestCertificateResponse || (exports.RequestCertificateResponse = {}));
|
|
518
|
+
class InvalidStateException extends ACMServiceException_1.ACMServiceException {
|
|
519
|
+
constructor(opts) {
|
|
520
|
+
super({
|
|
521
|
+
name: "InvalidStateException",
|
|
522
|
+
$fault: "client",
|
|
523
|
+
...opts,
|
|
524
|
+
});
|
|
525
|
+
this.name = "InvalidStateException";
|
|
526
|
+
this.$fault = "client";
|
|
527
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
exports.InvalidStateException = InvalidStateException;
|
|
320
531
|
var ResendValidationEmailRequest;
|
|
321
532
|
(function (ResendValidationEmailRequest) {
|
|
322
533
|
ResendValidationEmailRequest.filterSensitiveLog = (obj) => ({
|