@aws-sdk/client-acm-pca 3.50.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ACMPCAServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +250 -2
  5. package/dist-cjs/protocols/Aws_json1_1.js +271 -990
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/ACMPCAServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +230 -1
  9. package/dist-es/protocols/Aws_json1_1.js +566 -1045
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/ACMPCAServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +135 -77
  13. package/dist-types/ts3.4/ACMPCA.d.ts +120 -0
  14. package/dist-types/ts3.4/ACMPCAClient.d.ts +96 -0
  15. package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  39. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  40. package/dist-types/ts3.4/index.d.ts +7 -0
  41. package/dist-types/ts3.4/models/ACMPCAServiceException.d.ts +6 -0
  42. package/dist-types/ts3.4/models/index.d.ts +1 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +937 -0
  44. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  45. package/dist-types/ts3.4/pagination/ListCertificateAuthoritiesPaginator.d.ts +4 -0
  46. package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +4 -0
  47. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +4 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  49. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +71 -0
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  53. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  54. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  55. package/dist-types/ts3.4/waiters/waitForAuditReportCreated.d.ts +7 -0
  56. package/dist-types/ts3.4/waiters/waitForCertificateAuthorityCSRCreated.d.ts +7 -0
  57. package/dist-types/ts3.4/waiters/waitForCertificateIssued.d.ts +7 -0
  58. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
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
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-acm-pca
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-acm-pca
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-acm-pca
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ACMPCAServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./ACMPCA"), exports);
5
6
  tslib_1.__exportStar(require("./ACMPCAClient"), 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 ACMPCAServiceException_1 = require("./models/ACMPCAServiceException");
12
+ Object.defineProperty(exports, "ACMPCAServiceException", { enumerable: true, get: function () { return ACMPCAServiceException_1.ACMPCAServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ACMPCAServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ACMPCAServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ACMPCAServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ACMPCAServiceException = ACMPCAServiceException;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PolicyInformation = exports.PolicyQualifierInfo = exports.Qualifier = exports.PolicyQualifierId = exports.ImportCertificateAuthorityCertificateRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetCertificateAuthorityCsrResponse = exports.GetCertificateAuthorityCsrRequest = exports.GetCertificateAuthorityCertificateResponse = exports.GetCertificateAuthorityCertificateRequest = exports.GetCertificateResponse = exports.GetCertificateRequest = exports.DescribeCertificateAuthorityAuditReportResponse = exports.AuditReportStatus = exports.DescribeCertificateAuthorityAuditReportRequest = exports.DescribeCertificateAuthorityResponse = exports.CertificateAuthority = exports.CertificateAuthorityStatus = exports.FailureReason = exports.DescribeCertificateAuthorityRequest = exports.DeletePolicyRequest = exports.DeletePermissionRequest = exports.DeleteCertificateAuthorityRequest = exports.CreatePermissionRequest = exports.ActionType = exports.CreateCertificateAuthorityAuditReportResponse = exports.CreateCertificateAuthorityAuditReportRequest = exports.AuditReportResponseFormat = exports.CreateCertificateAuthorityResponse = exports.CreateCertificateAuthorityRequest = exports.Tag = exports.RevocationConfiguration = exports.OcspConfiguration = exports.CrlConfiguration = exports.S3ObjectAcl = exports.KeyStorageSecurityStandard = exports.CertificateAuthorityType = exports.CertificateAuthorityConfiguration = exports.SigningAlgorithm = exports.KeyAlgorithm = exports.CsrExtensions = exports.KeyUsage = exports.AccessDescription = exports.AccessMethod = exports.AccessMethodType = exports.GeneralName = exports.OtherName = exports.EdiPartyName = exports.ASN1Subject = void 0;
4
- exports.UpdateCertificateAuthorityRequest = exports.UntagCertificateAuthorityRequest = exports.TagCertificateAuthorityRequest = exports.RevokeCertificateRequest = exports.RevocationReason = exports.RestoreCertificateAuthorityRequest = exports.PutPolicyRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListPermissionsResponse = exports.Permission = exports.ListPermissionsRequest = exports.ListCertificateAuthoritiesResponse = exports.ListCertificateAuthoritiesRequest = exports.ResourceOwner = exports.IssueCertificateResponse = exports.IssueCertificateRequest = exports.Validity = exports.ValidityPeriodType = exports.ApiPassthrough = exports.Extensions = exports.ExtendedKeyUsage = exports.ExtendedKeyUsageType = void 0;
3
+ exports.GetCertificateRequest = exports.DescribeCertificateAuthorityAuditReportResponse = exports.AuditReportStatus = exports.DescribeCertificateAuthorityAuditReportRequest = exports.DescribeCertificateAuthorityResponse = exports.CertificateAuthority = exports.CertificateAuthorityStatus = exports.FailureReason = exports.DescribeCertificateAuthorityRequest = exports.LockoutPreventedException = exports.DeletePolicyRequest = exports.DeletePermissionRequest = exports.DeleteCertificateAuthorityRequest = exports.ConcurrentModificationException = exports.PermissionAlreadyExistsException = exports.CreatePermissionRequest = exports.ActionType = exports.ResourceNotFoundException = exports.RequestInProgressException = exports.RequestFailedException = exports.InvalidStateException = exports.InvalidArnException = exports.CreateCertificateAuthorityAuditReportResponse = exports.CreateCertificateAuthorityAuditReportRequest = exports.AuditReportResponseFormat = exports.LimitExceededException = exports.InvalidTagException = exports.InvalidPolicyException = exports.InvalidArgsException = exports.CreateCertificateAuthorityResponse = exports.CreateCertificateAuthorityRequest = exports.Tag = exports.RevocationConfiguration = exports.OcspConfiguration = exports.CrlConfiguration = exports.S3ObjectAcl = exports.KeyStorageSecurityStandard = exports.CertificateAuthorityType = exports.CertificateAuthorityConfiguration = exports.SigningAlgorithm = exports.KeyAlgorithm = exports.CsrExtensions = exports.KeyUsage = exports.AccessDescription = exports.AccessMethod = exports.AccessMethodType = exports.GeneralName = exports.OtherName = exports.EdiPartyName = exports.ASN1Subject = void 0;
4
+ exports.UpdateCertificateAuthorityRequest = exports.UntagCertificateAuthorityRequest = exports.TooManyTagsException = exports.TagCertificateAuthorityRequest = exports.RevokeCertificateRequest = exports.RevocationReason = exports.RequestAlreadyProcessedException = exports.RestoreCertificateAuthorityRequest = exports.PutPolicyRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListPermissionsResponse = exports.Permission = exports.ListPermissionsRequest = exports.ListCertificateAuthoritiesResponse = exports.ListCertificateAuthoritiesRequest = exports.ResourceOwner = exports.InvalidNextTokenException = exports.MalformedCSRException = exports.IssueCertificateResponse = exports.IssueCertificateRequest = exports.Validity = exports.ValidityPeriodType = exports.ApiPassthrough = exports.Extensions = exports.ExtendedKeyUsage = exports.ExtendedKeyUsageType = exports.PolicyInformation = exports.PolicyQualifierInfo = exports.Qualifier = exports.PolicyQualifierId = exports.MalformedCertificateException = exports.InvalidRequestException = exports.ImportCertificateAuthorityCertificateRequest = exports.CertificateMismatchException = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetCertificateAuthorityCsrResponse = exports.GetCertificateAuthorityCsrRequest = exports.GetCertificateAuthorityCertificateResponse = exports.GetCertificateAuthorityCertificateRequest = exports.GetCertificateResponse = void 0;
5
+ const ACMPCAServiceException_1 = require("./ACMPCAServiceException");
5
6
  var ASN1Subject;
6
7
  (function (ASN1Subject) {
7
8
  ASN1Subject.filterSensitiveLog = (obj) => ({
@@ -129,6 +130,58 @@ var CreateCertificateAuthorityResponse;
129
130
  ...obj,
130
131
  });
131
132
  })(CreateCertificateAuthorityResponse = exports.CreateCertificateAuthorityResponse || (exports.CreateCertificateAuthorityResponse = {}));
133
+ class InvalidArgsException extends ACMPCAServiceException_1.ACMPCAServiceException {
134
+ constructor(opts) {
135
+ super({
136
+ name: "InvalidArgsException",
137
+ $fault: "client",
138
+ ...opts,
139
+ });
140
+ this.name = "InvalidArgsException";
141
+ this.$fault = "client";
142
+ Object.setPrototypeOf(this, InvalidArgsException.prototype);
143
+ }
144
+ }
145
+ exports.InvalidArgsException = InvalidArgsException;
146
+ class InvalidPolicyException extends ACMPCAServiceException_1.ACMPCAServiceException {
147
+ constructor(opts) {
148
+ super({
149
+ name: "InvalidPolicyException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ this.name = "InvalidPolicyException";
154
+ this.$fault = "client";
155
+ Object.setPrototypeOf(this, InvalidPolicyException.prototype);
156
+ }
157
+ }
158
+ exports.InvalidPolicyException = InvalidPolicyException;
159
+ class InvalidTagException extends ACMPCAServiceException_1.ACMPCAServiceException {
160
+ constructor(opts) {
161
+ super({
162
+ name: "InvalidTagException",
163
+ $fault: "client",
164
+ ...opts,
165
+ });
166
+ this.name = "InvalidTagException";
167
+ this.$fault = "client";
168
+ Object.setPrototypeOf(this, InvalidTagException.prototype);
169
+ }
170
+ }
171
+ exports.InvalidTagException = InvalidTagException;
172
+ class LimitExceededException extends ACMPCAServiceException_1.ACMPCAServiceException {
173
+ constructor(opts) {
174
+ super({
175
+ name: "LimitExceededException",
176
+ $fault: "client",
177
+ ...opts,
178
+ });
179
+ this.name = "LimitExceededException";
180
+ this.$fault = "client";
181
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
182
+ }
183
+ }
184
+ exports.LimitExceededException = LimitExceededException;
132
185
  var AuditReportResponseFormat;
133
186
  (function (AuditReportResponseFormat) {
134
187
  AuditReportResponseFormat["CSV"] = "CSV";
@@ -146,6 +199,71 @@ var CreateCertificateAuthorityAuditReportResponse;
146
199
  ...obj,
147
200
  });
148
201
  })(CreateCertificateAuthorityAuditReportResponse = exports.CreateCertificateAuthorityAuditReportResponse || (exports.CreateCertificateAuthorityAuditReportResponse = {}));
202
+ class InvalidArnException extends ACMPCAServiceException_1.ACMPCAServiceException {
203
+ constructor(opts) {
204
+ super({
205
+ name: "InvalidArnException",
206
+ $fault: "client",
207
+ ...opts,
208
+ });
209
+ this.name = "InvalidArnException";
210
+ this.$fault = "client";
211
+ Object.setPrototypeOf(this, InvalidArnException.prototype);
212
+ }
213
+ }
214
+ exports.InvalidArnException = InvalidArnException;
215
+ class InvalidStateException extends ACMPCAServiceException_1.ACMPCAServiceException {
216
+ constructor(opts) {
217
+ super({
218
+ name: "InvalidStateException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ this.name = "InvalidStateException";
223
+ this.$fault = "client";
224
+ Object.setPrototypeOf(this, InvalidStateException.prototype);
225
+ }
226
+ }
227
+ exports.InvalidStateException = InvalidStateException;
228
+ class RequestFailedException extends ACMPCAServiceException_1.ACMPCAServiceException {
229
+ constructor(opts) {
230
+ super({
231
+ name: "RequestFailedException",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ this.name = "RequestFailedException";
236
+ this.$fault = "client";
237
+ Object.setPrototypeOf(this, RequestFailedException.prototype);
238
+ }
239
+ }
240
+ exports.RequestFailedException = RequestFailedException;
241
+ class RequestInProgressException extends ACMPCAServiceException_1.ACMPCAServiceException {
242
+ constructor(opts) {
243
+ super({
244
+ name: "RequestInProgressException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ this.name = "RequestInProgressException";
249
+ this.$fault = "client";
250
+ Object.setPrototypeOf(this, RequestInProgressException.prototype);
251
+ }
252
+ }
253
+ exports.RequestInProgressException = RequestInProgressException;
254
+ class ResourceNotFoundException extends ACMPCAServiceException_1.ACMPCAServiceException {
255
+ constructor(opts) {
256
+ super({
257
+ name: "ResourceNotFoundException",
258
+ $fault: "client",
259
+ ...opts,
260
+ });
261
+ this.name = "ResourceNotFoundException";
262
+ this.$fault = "client";
263
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
264
+ }
265
+ }
266
+ exports.ResourceNotFoundException = ResourceNotFoundException;
149
267
  var ActionType;
150
268
  (function (ActionType) {
151
269
  ActionType["GetCertificate"] = "GetCertificate";
@@ -158,6 +276,32 @@ var CreatePermissionRequest;
158
276
  ...obj,
159
277
  });
160
278
  })(CreatePermissionRequest = exports.CreatePermissionRequest || (exports.CreatePermissionRequest = {}));
279
+ class PermissionAlreadyExistsException extends ACMPCAServiceException_1.ACMPCAServiceException {
280
+ constructor(opts) {
281
+ super({
282
+ name: "PermissionAlreadyExistsException",
283
+ $fault: "client",
284
+ ...opts,
285
+ });
286
+ this.name = "PermissionAlreadyExistsException";
287
+ this.$fault = "client";
288
+ Object.setPrototypeOf(this, PermissionAlreadyExistsException.prototype);
289
+ }
290
+ }
291
+ exports.PermissionAlreadyExistsException = PermissionAlreadyExistsException;
292
+ class ConcurrentModificationException extends ACMPCAServiceException_1.ACMPCAServiceException {
293
+ constructor(opts) {
294
+ super({
295
+ name: "ConcurrentModificationException",
296
+ $fault: "client",
297
+ ...opts,
298
+ });
299
+ this.name = "ConcurrentModificationException";
300
+ this.$fault = "client";
301
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
302
+ }
303
+ }
304
+ exports.ConcurrentModificationException = ConcurrentModificationException;
161
305
  var DeleteCertificateAuthorityRequest;
162
306
  (function (DeleteCertificateAuthorityRequest) {
163
307
  DeleteCertificateAuthorityRequest.filterSensitiveLog = (obj) => ({
@@ -176,6 +320,19 @@ var DeletePolicyRequest;
176
320
  ...obj,
177
321
  });
178
322
  })(DeletePolicyRequest = exports.DeletePolicyRequest || (exports.DeletePolicyRequest = {}));
323
+ class LockoutPreventedException extends ACMPCAServiceException_1.ACMPCAServiceException {
324
+ constructor(opts) {
325
+ super({
326
+ name: "LockoutPreventedException",
327
+ $fault: "client",
328
+ ...opts,
329
+ });
330
+ this.name = "LockoutPreventedException";
331
+ this.$fault = "client";
332
+ Object.setPrototypeOf(this, LockoutPreventedException.prototype);
333
+ }
334
+ }
335
+ exports.LockoutPreventedException = LockoutPreventedException;
179
336
  var DescribeCertificateAuthorityRequest;
180
337
  (function (DescribeCertificateAuthorityRequest) {
181
338
  DescribeCertificateAuthorityRequest.filterSensitiveLog = (obj) => ({
@@ -276,12 +433,51 @@ var GetPolicyResponse;
276
433
  ...obj,
277
434
  });
278
435
  })(GetPolicyResponse = exports.GetPolicyResponse || (exports.GetPolicyResponse = {}));
436
+ class CertificateMismatchException extends ACMPCAServiceException_1.ACMPCAServiceException {
437
+ constructor(opts) {
438
+ super({
439
+ name: "CertificateMismatchException",
440
+ $fault: "client",
441
+ ...opts,
442
+ });
443
+ this.name = "CertificateMismatchException";
444
+ this.$fault = "client";
445
+ Object.setPrototypeOf(this, CertificateMismatchException.prototype);
446
+ }
447
+ }
448
+ exports.CertificateMismatchException = CertificateMismatchException;
279
449
  var ImportCertificateAuthorityCertificateRequest;
280
450
  (function (ImportCertificateAuthorityCertificateRequest) {
281
451
  ImportCertificateAuthorityCertificateRequest.filterSensitiveLog = (obj) => ({
282
452
  ...obj,
283
453
  });
284
454
  })(ImportCertificateAuthorityCertificateRequest = exports.ImportCertificateAuthorityCertificateRequest || (exports.ImportCertificateAuthorityCertificateRequest = {}));
455
+ class InvalidRequestException extends ACMPCAServiceException_1.ACMPCAServiceException {
456
+ constructor(opts) {
457
+ super({
458
+ name: "InvalidRequestException",
459
+ $fault: "client",
460
+ ...opts,
461
+ });
462
+ this.name = "InvalidRequestException";
463
+ this.$fault = "client";
464
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
465
+ }
466
+ }
467
+ exports.InvalidRequestException = InvalidRequestException;
468
+ class MalformedCertificateException extends ACMPCAServiceException_1.ACMPCAServiceException {
469
+ constructor(opts) {
470
+ super({
471
+ name: "MalformedCertificateException",
472
+ $fault: "client",
473
+ ...opts,
474
+ });
475
+ this.name = "MalformedCertificateException";
476
+ this.$fault = "client";
477
+ Object.setPrototypeOf(this, MalformedCertificateException.prototype);
478
+ }
479
+ }
480
+ exports.MalformedCertificateException = MalformedCertificateException;
285
481
  var PolicyQualifierId;
286
482
  (function (PolicyQualifierId) {
287
483
  PolicyQualifierId["CPS"] = "CPS";
@@ -360,6 +556,32 @@ var IssueCertificateResponse;
360
556
  ...obj,
361
557
  });
362
558
  })(IssueCertificateResponse = exports.IssueCertificateResponse || (exports.IssueCertificateResponse = {}));
559
+ class MalformedCSRException extends ACMPCAServiceException_1.ACMPCAServiceException {
560
+ constructor(opts) {
561
+ super({
562
+ name: "MalformedCSRException",
563
+ $fault: "client",
564
+ ...opts,
565
+ });
566
+ this.name = "MalformedCSRException";
567
+ this.$fault = "client";
568
+ Object.setPrototypeOf(this, MalformedCSRException.prototype);
569
+ }
570
+ }
571
+ exports.MalformedCSRException = MalformedCSRException;
572
+ class InvalidNextTokenException extends ACMPCAServiceException_1.ACMPCAServiceException {
573
+ constructor(opts) {
574
+ super({
575
+ name: "InvalidNextTokenException",
576
+ $fault: "client",
577
+ ...opts,
578
+ });
579
+ this.name = "InvalidNextTokenException";
580
+ this.$fault = "client";
581
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
582
+ }
583
+ }
584
+ exports.InvalidNextTokenException = InvalidNextTokenException;
363
585
  var ResourceOwner;
364
586
  (function (ResourceOwner) {
365
587
  ResourceOwner["OTHER_ACCOUNTS"] = "OTHER_ACCOUNTS";
@@ -419,6 +641,19 @@ var RestoreCertificateAuthorityRequest;
419
641
  ...obj,
420
642
  });
421
643
  })(RestoreCertificateAuthorityRequest = exports.RestoreCertificateAuthorityRequest || (exports.RestoreCertificateAuthorityRequest = {}));
644
+ class RequestAlreadyProcessedException extends ACMPCAServiceException_1.ACMPCAServiceException {
645
+ constructor(opts) {
646
+ super({
647
+ name: "RequestAlreadyProcessedException",
648
+ $fault: "client",
649
+ ...opts,
650
+ });
651
+ this.name = "RequestAlreadyProcessedException";
652
+ this.$fault = "client";
653
+ Object.setPrototypeOf(this, RequestAlreadyProcessedException.prototype);
654
+ }
655
+ }
656
+ exports.RequestAlreadyProcessedException = RequestAlreadyProcessedException;
422
657
  var RevocationReason;
423
658
  (function (RevocationReason) {
424
659
  RevocationReason["AFFILIATION_CHANGED"] = "AFFILIATION_CHANGED";
@@ -442,6 +677,19 @@ var TagCertificateAuthorityRequest;
442
677
  ...obj,
443
678
  });
444
679
  })(TagCertificateAuthorityRequest = exports.TagCertificateAuthorityRequest || (exports.TagCertificateAuthorityRequest = {}));
680
+ class TooManyTagsException extends ACMPCAServiceException_1.ACMPCAServiceException {
681
+ constructor(opts) {
682
+ super({
683
+ name: "TooManyTagsException",
684
+ $fault: "client",
685
+ ...opts,
686
+ });
687
+ this.name = "TooManyTagsException";
688
+ this.$fault = "client";
689
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
690
+ }
691
+ }
692
+ exports.TooManyTagsException = TooManyTagsException;
445
693
  var UntagCertificateAuthorityRequest;
446
694
  (function (UntagCertificateAuthorityRequest) {
447
695
  UntagCertificateAuthorityRequest.filterSensitiveLog = (obj) => ({