@aws-sdk/client-acm-pca 3.927.0 → 3.929.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 (51) hide show
  1. package/dist-cjs/index.js +902 -988
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ACMPCAClient.js +2 -0
  4. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +3 -9
  5. package/dist-es/commands/CreateCertificateAuthorityCommand.js +3 -9
  6. package/dist-es/commands/CreatePermissionCommand.js +3 -9
  7. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +3 -9
  8. package/dist-es/commands/DeletePermissionCommand.js +3 -9
  9. package/dist-es/commands/DeletePolicyCommand.js +3 -9
  10. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +3 -9
  11. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +3 -9
  12. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +3 -9
  13. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +3 -9
  14. package/dist-es/commands/GetCertificateCommand.js +3 -9
  15. package/dist-es/commands/GetPolicyCommand.js +3 -9
  16. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +3 -9
  17. package/dist-es/commands/IssueCertificateCommand.js +3 -9
  18. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +3 -9
  19. package/dist-es/commands/ListPermissionsCommand.js +3 -9
  20. package/dist-es/commands/ListTagsCommand.js +3 -9
  21. package/dist-es/commands/PutPolicyCommand.js +3 -9
  22. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +3 -9
  23. package/dist-es/commands/RevokeCertificateCommand.js +3 -9
  24. package/dist-es/commands/TagCertificateAuthorityCommand.js +3 -9
  25. package/dist-es/commands/UntagCertificateAuthorityCommand.js +3 -9
  26. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +3 -9
  27. package/dist-es/models/models_0.js +6 -0
  28. package/dist-es/runtimeConfig.shared.js +7 -0
  29. package/dist-es/schemas/schemas_0.js +792 -0
  30. package/dist-types/ACMPCAClient.d.ts +10 -1
  31. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +2 -2
  32. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +2 -2
  33. package/dist-types/commands/IssueCertificateCommand.d.ts +1 -1
  34. package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +2 -2
  35. package/dist-types/models/models_0.d.ts +6 -0
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +116 -0
  41. package/dist-types/ts3.4/ACMPCAClient.d.ts +4 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +6 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +121 -0
  48. package/package.json +5 -5
  49. package/dist-es/protocols/Aws_json1_1.js +0 -774
  50. package/dist-types/protocols/Aws_json1_1.d.ts +0 -209
  51. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -281
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
  var utilWaiter = require('@smithy/util-waiter');
20
19
 
21
20
  const resolveClientEndpointParameters = (options) => {
@@ -92,6 +91,7 @@ class ACMPCAClient extends smithyClient.Client {
92
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,12 +111,12 @@ class ACMPCAClient extends smithyClient.Client {
111
111
  }
112
112
  }
113
113
 
114
- class ACMPCAServiceException extends smithyClient.ServiceException {
114
+ let ACMPCAServiceException$1 = class ACMPCAServiceException extends smithyClient.ServiceException {
115
115
  constructor(options) {
116
116
  super(options);
117
117
  Object.setPrototypeOf(this, ACMPCAServiceException.prototype);
118
118
  }
119
- }
119
+ };
120
120
 
121
121
  const AccessMethodType = {
122
122
  CA_REPOSITORY: "CA_REPOSITORY",
@@ -127,12 +127,18 @@ const KeyAlgorithm = {
127
127
  EC_prime256v1: "EC_prime256v1",
128
128
  EC_secp384r1: "EC_secp384r1",
129
129
  EC_secp521r1: "EC_secp521r1",
130
+ ML_DSA_44: "ML_DSA_44",
131
+ ML_DSA_65: "ML_DSA_65",
132
+ ML_DSA_87: "ML_DSA_87",
130
133
  RSA_2048: "RSA_2048",
131
134
  RSA_3072: "RSA_3072",
132
135
  RSA_4096: "RSA_4096",
133
136
  SM2: "SM2",
134
137
  };
135
138
  const SigningAlgorithm = {
139
+ ML_DSA_44: "ML_DSA_44",
140
+ ML_DSA_65: "ML_DSA_65",
141
+ ML_DSA_87: "ML_DSA_87",
136
142
  SHA256WITHECDSA: "SHA256WITHECDSA",
137
143
  SHA256WITHRSA: "SHA256WITHRSA",
138
144
  SHA384WITHECDSA: "SHA384WITHECDSA",
@@ -162,7 +168,7 @@ const CertificateAuthorityUsageMode = {
162
168
  GENERAL_PURPOSE: "GENERAL_PURPOSE",
163
169
  SHORT_LIVED_CERTIFICATE: "SHORT_LIVED_CERTIFICATE",
164
170
  };
165
- class InvalidArgsException extends ACMPCAServiceException {
171
+ let InvalidArgsException$1 = class InvalidArgsException extends ACMPCAServiceException$1 {
166
172
  name = "InvalidArgsException";
167
173
  $fault = "client";
168
174
  constructor(opts) {
@@ -173,8 +179,8 @@ class InvalidArgsException extends ACMPCAServiceException {
173
179
  });
174
180
  Object.setPrototypeOf(this, InvalidArgsException.prototype);
175
181
  }
176
- }
177
- class InvalidPolicyException extends ACMPCAServiceException {
182
+ };
183
+ let InvalidPolicyException$1 = class InvalidPolicyException extends ACMPCAServiceException$1 {
178
184
  name = "InvalidPolicyException";
179
185
  $fault = "client";
180
186
  constructor(opts) {
@@ -185,8 +191,8 @@ class InvalidPolicyException extends ACMPCAServiceException {
185
191
  });
186
192
  Object.setPrototypeOf(this, InvalidPolicyException.prototype);
187
193
  }
188
- }
189
- class InvalidTagException extends ACMPCAServiceException {
194
+ };
195
+ let InvalidTagException$1 = class InvalidTagException extends ACMPCAServiceException$1 {
190
196
  name = "InvalidTagException";
191
197
  $fault = "client";
192
198
  constructor(opts) {
@@ -197,8 +203,8 @@ class InvalidTagException extends ACMPCAServiceException {
197
203
  });
198
204
  Object.setPrototypeOf(this, InvalidTagException.prototype);
199
205
  }
200
- }
201
- class LimitExceededException extends ACMPCAServiceException {
206
+ };
207
+ let LimitExceededException$1 = class LimitExceededException extends ACMPCAServiceException$1 {
202
208
  name = "LimitExceededException";
203
209
  $fault = "client";
204
210
  constructor(opts) {
@@ -209,12 +215,12 @@ class LimitExceededException extends ACMPCAServiceException {
209
215
  });
210
216
  Object.setPrototypeOf(this, LimitExceededException.prototype);
211
217
  }
212
- }
218
+ };
213
219
  const AuditReportResponseFormat = {
214
220
  CSV: "CSV",
215
221
  JSON: "JSON",
216
222
  };
217
- class InvalidArnException extends ACMPCAServiceException {
223
+ let InvalidArnException$1 = class InvalidArnException extends ACMPCAServiceException$1 {
218
224
  name = "InvalidArnException";
219
225
  $fault = "client";
220
226
  constructor(opts) {
@@ -225,8 +231,8 @@ class InvalidArnException extends ACMPCAServiceException {
225
231
  });
226
232
  Object.setPrototypeOf(this, InvalidArnException.prototype);
227
233
  }
228
- }
229
- class InvalidStateException extends ACMPCAServiceException {
234
+ };
235
+ let InvalidStateException$1 = class InvalidStateException extends ACMPCAServiceException$1 {
230
236
  name = "InvalidStateException";
231
237
  $fault = "client";
232
238
  constructor(opts) {
@@ -237,8 +243,8 @@ class InvalidStateException extends ACMPCAServiceException {
237
243
  });
238
244
  Object.setPrototypeOf(this, InvalidStateException.prototype);
239
245
  }
240
- }
241
- class RequestFailedException extends ACMPCAServiceException {
246
+ };
247
+ let RequestFailedException$1 = class RequestFailedException extends ACMPCAServiceException$1 {
242
248
  name = "RequestFailedException";
243
249
  $fault = "client";
244
250
  constructor(opts) {
@@ -249,8 +255,8 @@ class RequestFailedException extends ACMPCAServiceException {
249
255
  });
250
256
  Object.setPrototypeOf(this, RequestFailedException.prototype);
251
257
  }
252
- }
253
- class RequestInProgressException extends ACMPCAServiceException {
258
+ };
259
+ let RequestInProgressException$1 = class RequestInProgressException extends ACMPCAServiceException$1 {
254
260
  name = "RequestInProgressException";
255
261
  $fault = "client";
256
262
  constructor(opts) {
@@ -261,8 +267,8 @@ class RequestInProgressException extends ACMPCAServiceException {
261
267
  });
262
268
  Object.setPrototypeOf(this, RequestInProgressException.prototype);
263
269
  }
264
- }
265
- class ResourceNotFoundException extends ACMPCAServiceException {
270
+ };
271
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ACMPCAServiceException$1 {
266
272
  name = "ResourceNotFoundException";
267
273
  $fault = "client";
268
274
  constructor(opts) {
@@ -273,13 +279,13 @@ class ResourceNotFoundException extends ACMPCAServiceException {
273
279
  });
274
280
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
275
281
  }
276
- }
282
+ };
277
283
  const ActionType = {
278
284
  GetCertificate: "GetCertificate",
279
285
  IssueCertificate: "IssueCertificate",
280
286
  ListPermissions: "ListPermissions",
281
287
  };
282
- class PermissionAlreadyExistsException extends ACMPCAServiceException {
288
+ let PermissionAlreadyExistsException$1 = class PermissionAlreadyExistsException extends ACMPCAServiceException$1 {
283
289
  name = "PermissionAlreadyExistsException";
284
290
  $fault = "client";
285
291
  constructor(opts) {
@@ -290,8 +296,8 @@ class PermissionAlreadyExistsException extends ACMPCAServiceException {
290
296
  });
291
297
  Object.setPrototypeOf(this, PermissionAlreadyExistsException.prototype);
292
298
  }
293
- }
294
- class ConcurrentModificationException extends ACMPCAServiceException {
299
+ };
300
+ let ConcurrentModificationException$1 = class ConcurrentModificationException extends ACMPCAServiceException$1 {
295
301
  name = "ConcurrentModificationException";
296
302
  $fault = "client";
297
303
  constructor(opts) {
@@ -302,8 +308,8 @@ class ConcurrentModificationException extends ACMPCAServiceException {
302
308
  });
303
309
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
304
310
  }
305
- }
306
- class LockoutPreventedException extends ACMPCAServiceException {
311
+ };
312
+ let LockoutPreventedException$1 = class LockoutPreventedException extends ACMPCAServiceException$1 {
307
313
  name = "LockoutPreventedException";
308
314
  $fault = "client";
309
315
  constructor(opts) {
@@ -314,7 +320,7 @@ class LockoutPreventedException extends ACMPCAServiceException {
314
320
  });
315
321
  Object.setPrototypeOf(this, LockoutPreventedException.prototype);
316
322
  }
317
- }
323
+ };
318
324
  const FailureReason = {
319
325
  OTHER: "OTHER",
320
326
  REQUEST_TIMED_OUT: "REQUEST_TIMED_OUT",
@@ -334,7 +340,7 @@ const AuditReportStatus = {
334
340
  FAILED: "FAILED",
335
341
  SUCCESS: "SUCCESS",
336
342
  };
337
- class CertificateMismatchException extends ACMPCAServiceException {
343
+ let CertificateMismatchException$1 = class CertificateMismatchException extends ACMPCAServiceException$1 {
338
344
  name = "CertificateMismatchException";
339
345
  $fault = "client";
340
346
  constructor(opts) {
@@ -345,8 +351,8 @@ class CertificateMismatchException extends ACMPCAServiceException {
345
351
  });
346
352
  Object.setPrototypeOf(this, CertificateMismatchException.prototype);
347
353
  }
348
- }
349
- class InvalidRequestException extends ACMPCAServiceException {
354
+ };
355
+ let InvalidRequestException$1 = class InvalidRequestException extends ACMPCAServiceException$1 {
350
356
  name = "InvalidRequestException";
351
357
  $fault = "client";
352
358
  constructor(opts) {
@@ -357,8 +363,8 @@ class InvalidRequestException extends ACMPCAServiceException {
357
363
  });
358
364
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
359
365
  }
360
- }
361
- class MalformedCertificateException extends ACMPCAServiceException {
366
+ };
367
+ let MalformedCertificateException$1 = class MalformedCertificateException extends ACMPCAServiceException$1 {
362
368
  name = "MalformedCertificateException";
363
369
  $fault = "client";
364
370
  constructor(opts) {
@@ -369,7 +375,7 @@ class MalformedCertificateException extends ACMPCAServiceException {
369
375
  });
370
376
  Object.setPrototypeOf(this, MalformedCertificateException.prototype);
371
377
  }
372
- }
378
+ };
373
379
  const PolicyQualifierId = {
374
380
  CPS: "CPS",
375
381
  };
@@ -391,7 +397,7 @@ const ValidityPeriodType = {
391
397
  MONTHS: "MONTHS",
392
398
  YEARS: "YEARS",
393
399
  };
394
- class MalformedCSRException extends ACMPCAServiceException {
400
+ let MalformedCSRException$1 = class MalformedCSRException extends ACMPCAServiceException$1 {
395
401
  name = "MalformedCSRException";
396
402
  $fault = "client";
397
403
  constructor(opts) {
@@ -402,8 +408,8 @@ class MalformedCSRException extends ACMPCAServiceException {
402
408
  });
403
409
  Object.setPrototypeOf(this, MalformedCSRException.prototype);
404
410
  }
405
- }
406
- class InvalidNextTokenException extends ACMPCAServiceException {
411
+ };
412
+ let InvalidNextTokenException$1 = class InvalidNextTokenException extends ACMPCAServiceException$1 {
407
413
  name = "InvalidNextTokenException";
408
414
  $fault = "client";
409
415
  constructor(opts) {
@@ -414,12 +420,12 @@ class InvalidNextTokenException extends ACMPCAServiceException {
414
420
  });
415
421
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
416
422
  }
417
- }
423
+ };
418
424
  const ResourceOwner = {
419
425
  OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
420
426
  SELF: "SELF",
421
427
  };
422
- class RequestAlreadyProcessedException extends ACMPCAServiceException {
428
+ let RequestAlreadyProcessedException$1 = class RequestAlreadyProcessedException extends ACMPCAServiceException$1 {
423
429
  name = "RequestAlreadyProcessedException";
424
430
  $fault = "client";
425
431
  constructor(opts) {
@@ -430,7 +436,7 @@ class RequestAlreadyProcessedException extends ACMPCAServiceException {
430
436
  });
431
437
  Object.setPrototypeOf(this, RequestAlreadyProcessedException.prototype);
432
438
  }
433
- }
439
+ };
434
440
  const RevocationReason = {
435
441
  AFFILIATION_CHANGED: "AFFILIATION_CHANGED",
436
442
  A_A_COMPROMISE: "A_A_COMPROMISE",
@@ -441,7 +447,7 @@ const RevocationReason = {
441
447
  SUPERSEDED: "SUPERSEDED",
442
448
  UNSPECIFIED: "UNSPECIFIED",
443
449
  };
444
- class TooManyTagsException extends ACMPCAServiceException {
450
+ let TooManyTagsException$1 = class TooManyTagsException extends ACMPCAServiceException$1 {
445
451
  name = "TooManyTagsException";
446
452
  $fault = "client";
447
453
  constructor(opts) {
@@ -452,788 +458,806 @@ class TooManyTagsException extends ACMPCAServiceException {
452
458
  });
453
459
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
454
460
  }
455
- }
456
-
457
- const se_CreateCertificateAuthorityCommand = async (input, context) => {
458
- const headers = sharedHeaders("CreateCertificateAuthority");
459
- let body;
460
- body = JSON.stringify(smithyClient._json(input));
461
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
- };
463
- const se_CreateCertificateAuthorityAuditReportCommand = async (input, context) => {
464
- const headers = sharedHeaders("CreateCertificateAuthorityAuditReport");
465
- let body;
466
- body = JSON.stringify(smithyClient._json(input));
467
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
468
- };
469
- const se_CreatePermissionCommand = async (input, context) => {
470
- const headers = sharedHeaders("CreatePermission");
471
- let body;
472
- body = JSON.stringify(smithyClient._json(input));
473
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
474
- };
475
- const se_DeleteCertificateAuthorityCommand = async (input, context) => {
476
- const headers = sharedHeaders("DeleteCertificateAuthority");
477
- let body;
478
- body = JSON.stringify(smithyClient._json(input));
479
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
480
- };
481
- const se_DeletePermissionCommand = async (input, context) => {
482
- const headers = sharedHeaders("DeletePermission");
483
- let body;
484
- body = JSON.stringify(smithyClient._json(input));
485
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
486
- };
487
- const se_DeletePolicyCommand = async (input, context) => {
488
- const headers = sharedHeaders("DeletePolicy");
489
- let body;
490
- body = JSON.stringify(smithyClient._json(input));
491
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
492
- };
493
- const se_DescribeCertificateAuthorityCommand = async (input, context) => {
494
- const headers = sharedHeaders("DescribeCertificateAuthority");
495
- let body;
496
- body = JSON.stringify(smithyClient._json(input));
497
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
498
- };
499
- const se_DescribeCertificateAuthorityAuditReportCommand = async (input, context) => {
500
- const headers = sharedHeaders("DescribeCertificateAuthorityAuditReport");
501
- let body;
502
- body = JSON.stringify(smithyClient._json(input));
503
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
504
- };
505
- const se_GetCertificateCommand = async (input, context) => {
506
- const headers = sharedHeaders("GetCertificate");
507
- let body;
508
- body = JSON.stringify(smithyClient._json(input));
509
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
510
- };
511
- const se_GetCertificateAuthorityCertificateCommand = async (input, context) => {
512
- const headers = sharedHeaders("GetCertificateAuthorityCertificate");
513
- let body;
514
- body = JSON.stringify(smithyClient._json(input));
515
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
516
- };
517
- const se_GetCertificateAuthorityCsrCommand = async (input, context) => {
518
- const headers = sharedHeaders("GetCertificateAuthorityCsr");
519
- let body;
520
- body = JSON.stringify(smithyClient._json(input));
521
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
522
- };
523
- const se_GetPolicyCommand = async (input, context) => {
524
- const headers = sharedHeaders("GetPolicy");
525
- let body;
526
- body = JSON.stringify(smithyClient._json(input));
527
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
528
- };
529
- const se_ImportCertificateAuthorityCertificateCommand = async (input, context) => {
530
- const headers = sharedHeaders("ImportCertificateAuthorityCertificate");
531
- let body;
532
- body = JSON.stringify(se_ImportCertificateAuthorityCertificateRequest(input, context));
533
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
534
- };
535
- const se_IssueCertificateCommand = async (input, context) => {
536
- const headers = sharedHeaders("IssueCertificate");
537
- let body;
538
- body = JSON.stringify(se_IssueCertificateRequest(input, context));
539
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
540
- };
541
- const se_ListCertificateAuthoritiesCommand = async (input, context) => {
542
- const headers = sharedHeaders("ListCertificateAuthorities");
543
- let body;
544
- body = JSON.stringify(smithyClient._json(input));
545
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
546
- };
547
- const se_ListPermissionsCommand = async (input, context) => {
548
- const headers = sharedHeaders("ListPermissions");
549
- let body;
550
- body = JSON.stringify(smithyClient._json(input));
551
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
552
- };
553
- const se_ListTagsCommand = async (input, context) => {
554
- const headers = sharedHeaders("ListTags");
555
- let body;
556
- body = JSON.stringify(smithyClient._json(input));
557
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
558
- };
559
- const se_PutPolicyCommand = async (input, context) => {
560
- const headers = sharedHeaders("PutPolicy");
561
- let body;
562
- body = JSON.stringify(smithyClient._json(input));
563
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
564
- };
565
- const se_RestoreCertificateAuthorityCommand = async (input, context) => {
566
- const headers = sharedHeaders("RestoreCertificateAuthority");
567
- let body;
568
- body = JSON.stringify(smithyClient._json(input));
569
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
- };
571
- const se_RevokeCertificateCommand = async (input, context) => {
572
- const headers = sharedHeaders("RevokeCertificate");
573
- let body;
574
- body = JSON.stringify(smithyClient._json(input));
575
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
576
- };
577
- const se_TagCertificateAuthorityCommand = async (input, context) => {
578
- const headers = sharedHeaders("TagCertificateAuthority");
579
- let body;
580
- body = JSON.stringify(smithyClient._json(input));
581
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
582
- };
583
- const se_UntagCertificateAuthorityCommand = async (input, context) => {
584
- const headers = sharedHeaders("UntagCertificateAuthority");
585
- let body;
586
- body = JSON.stringify(smithyClient._json(input));
587
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
588
- };
589
- const se_UpdateCertificateAuthorityCommand = async (input, context) => {
590
- const headers = sharedHeaders("UpdateCertificateAuthority");
591
- let body;
592
- body = JSON.stringify(smithyClient._json(input));
593
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
594
- };
595
- const de_CreateCertificateAuthorityCommand = async (output, context) => {
596
- if (output.statusCode >= 300) {
597
- return de_CommandError(output, context);
598
- }
599
- const data = await core$1.parseJsonBody(output.body, context);
600
- let contents = {};
601
- contents = smithyClient._json(data);
602
- const response = {
603
- $metadata: deserializeMetadata(output),
604
- ...contents,
605
- };
606
- return response;
607
- };
608
- const de_CreateCertificateAuthorityAuditReportCommand = async (output, context) => {
609
- if (output.statusCode >= 300) {
610
- return de_CommandError(output, context);
611
- }
612
- const data = await core$1.parseJsonBody(output.body, context);
613
- let contents = {};
614
- contents = smithyClient._json(data);
615
- const response = {
616
- $metadata: deserializeMetadata(output),
617
- ...contents,
618
- };
619
- return response;
620
- };
621
- const de_CreatePermissionCommand = async (output, context) => {
622
- if (output.statusCode >= 300) {
623
- return de_CommandError(output, context);
624
- }
625
- await smithyClient.collectBody(output.body, context);
626
- const response = {
627
- $metadata: deserializeMetadata(output),
628
- };
629
- return response;
630
- };
631
- const de_DeleteCertificateAuthorityCommand = async (output, context) => {
632
- if (output.statusCode >= 300) {
633
- return de_CommandError(output, context);
634
- }
635
- await smithyClient.collectBody(output.body, context);
636
- const response = {
637
- $metadata: deserializeMetadata(output),
638
- };
639
- return response;
640
- };
641
- const de_DeletePermissionCommand = async (output, context) => {
642
- if (output.statusCode >= 300) {
643
- return de_CommandError(output, context);
644
- }
645
- await smithyClient.collectBody(output.body, context);
646
- const response = {
647
- $metadata: deserializeMetadata(output),
648
- };
649
- return response;
650
- };
651
- const de_DeletePolicyCommand = async (output, context) => {
652
- if (output.statusCode >= 300) {
653
- return de_CommandError(output, context);
654
- }
655
- await smithyClient.collectBody(output.body, context);
656
- const response = {
657
- $metadata: deserializeMetadata(output),
658
- };
659
- return response;
660
- };
661
- const de_DescribeCertificateAuthorityCommand = async (output, context) => {
662
- if (output.statusCode >= 300) {
663
- return de_CommandError(output, context);
664
- }
665
- const data = await core$1.parseJsonBody(output.body, context);
666
- let contents = {};
667
- contents = de_DescribeCertificateAuthorityResponse(data);
668
- const response = {
669
- $metadata: deserializeMetadata(output),
670
- ...contents,
671
- };
672
- return response;
673
- };
674
- const de_DescribeCertificateAuthorityAuditReportCommand = async (output, context) => {
675
- if (output.statusCode >= 300) {
676
- return de_CommandError(output, context);
677
- }
678
- const data = await core$1.parseJsonBody(output.body, context);
679
- let contents = {};
680
- contents = de_DescribeCertificateAuthorityAuditReportResponse(data);
681
- const response = {
682
- $metadata: deserializeMetadata(output),
683
- ...contents,
684
- };
685
- return response;
686
- };
687
- const de_GetCertificateCommand = async (output, context) => {
688
- if (output.statusCode >= 300) {
689
- return de_CommandError(output, context);
690
- }
691
- const data = await core$1.parseJsonBody(output.body, context);
692
- let contents = {};
693
- contents = smithyClient._json(data);
694
- const response = {
695
- $metadata: deserializeMetadata(output),
696
- ...contents,
697
- };
698
- return response;
699
- };
700
- const de_GetCertificateAuthorityCertificateCommand = async (output, context) => {
701
- if (output.statusCode >= 300) {
702
- return de_CommandError(output, context);
703
- }
704
- const data = await core$1.parseJsonBody(output.body, context);
705
- let contents = {};
706
- contents = smithyClient._json(data);
707
- const response = {
708
- $metadata: deserializeMetadata(output),
709
- ...contents,
710
- };
711
- return response;
712
- };
713
- const de_GetCertificateAuthorityCsrCommand = async (output, context) => {
714
- if (output.statusCode >= 300) {
715
- return de_CommandError(output, context);
716
- }
717
- const data = await core$1.parseJsonBody(output.body, context);
718
- let contents = {};
719
- contents = smithyClient._json(data);
720
- const response = {
721
- $metadata: deserializeMetadata(output),
722
- ...contents,
723
- };
724
- return response;
725
- };
726
- const de_GetPolicyCommand = async (output, context) => {
727
- if (output.statusCode >= 300) {
728
- return de_CommandError(output, context);
729
- }
730
- const data = await core$1.parseJsonBody(output.body, context);
731
- let contents = {};
732
- contents = smithyClient._json(data);
733
- const response = {
734
- $metadata: deserializeMetadata(output),
735
- ...contents,
736
- };
737
- return response;
738
- };
739
- const de_ImportCertificateAuthorityCertificateCommand = async (output, context) => {
740
- if (output.statusCode >= 300) {
741
- return de_CommandError(output, context);
742
- }
743
- await smithyClient.collectBody(output.body, context);
744
- const response = {
745
- $metadata: deserializeMetadata(output),
746
- };
747
- return response;
748
- };
749
- const de_IssueCertificateCommand = async (output, context) => {
750
- if (output.statusCode >= 300) {
751
- return de_CommandError(output, context);
752
- }
753
- const data = await core$1.parseJsonBody(output.body, context);
754
- let contents = {};
755
- contents = smithyClient._json(data);
756
- const response = {
757
- $metadata: deserializeMetadata(output),
758
- ...contents,
759
- };
760
- return response;
761
- };
762
- const de_ListCertificateAuthoritiesCommand = async (output, context) => {
763
- if (output.statusCode >= 300) {
764
- return de_CommandError(output, context);
765
- }
766
- const data = await core$1.parseJsonBody(output.body, context);
767
- let contents = {};
768
- contents = de_ListCertificateAuthoritiesResponse(data);
769
- const response = {
770
- $metadata: deserializeMetadata(output),
771
- ...contents,
772
- };
773
- return response;
774
- };
775
- const de_ListPermissionsCommand = async (output, context) => {
776
- if (output.statusCode >= 300) {
777
- return de_CommandError(output, context);
778
- }
779
- const data = await core$1.parseJsonBody(output.body, context);
780
- let contents = {};
781
- contents = de_ListPermissionsResponse(data);
782
- const response = {
783
- $metadata: deserializeMetadata(output),
784
- ...contents,
785
- };
786
- return response;
787
- };
788
- const de_ListTagsCommand = async (output, context) => {
789
- if (output.statusCode >= 300) {
790
- return de_CommandError(output, context);
791
- }
792
- const data = await core$1.parseJsonBody(output.body, context);
793
- let contents = {};
794
- contents = smithyClient._json(data);
795
- const response = {
796
- $metadata: deserializeMetadata(output),
797
- ...contents,
798
- };
799
- return response;
800
- };
801
- const de_PutPolicyCommand = async (output, context) => {
802
- if (output.statusCode >= 300) {
803
- return de_CommandError(output, context);
804
- }
805
- await smithyClient.collectBody(output.body, context);
806
- const response = {
807
- $metadata: deserializeMetadata(output),
808
- };
809
- return response;
810
- };
811
- const de_RestoreCertificateAuthorityCommand = async (output, context) => {
812
- if (output.statusCode >= 300) {
813
- return de_CommandError(output, context);
814
- }
815
- await smithyClient.collectBody(output.body, context);
816
- const response = {
817
- $metadata: deserializeMetadata(output),
818
- };
819
- return response;
820
- };
821
- const de_RevokeCertificateCommand = async (output, context) => {
822
- if (output.statusCode >= 300) {
823
- return de_CommandError(output, context);
824
- }
825
- await smithyClient.collectBody(output.body, context);
826
- const response = {
827
- $metadata: deserializeMetadata(output),
828
- };
829
- return response;
830
- };
831
- const de_TagCertificateAuthorityCommand = async (output, context) => {
832
- if (output.statusCode >= 300) {
833
- return de_CommandError(output, context);
834
- }
835
- await smithyClient.collectBody(output.body, context);
836
- const response = {
837
- $metadata: deserializeMetadata(output),
838
- };
839
- return response;
840
- };
841
- const de_UntagCertificateAuthorityCommand = async (output, context) => {
842
- if (output.statusCode >= 300) {
843
- return de_CommandError(output, context);
844
- }
845
- await smithyClient.collectBody(output.body, context);
846
- const response = {
847
- $metadata: deserializeMetadata(output),
848
- };
849
- return response;
850
- };
851
- const de_UpdateCertificateAuthorityCommand = async (output, context) => {
852
- if (output.statusCode >= 300) {
853
- return de_CommandError(output, context);
854
- }
855
- await smithyClient.collectBody(output.body, context);
856
- const response = {
857
- $metadata: deserializeMetadata(output),
858
- };
859
- return response;
860
- };
861
- const de_CommandError = async (output, context) => {
862
- const parsedOutput = {
863
- ...output,
864
- body: await core$1.parseJsonErrorBody(output.body, context),
865
- };
866
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
867
- switch (errorCode) {
868
- case "InvalidArgsException":
869
- case "com.amazonaws.acmpca#InvalidArgsException":
870
- throw await de_InvalidArgsExceptionRes(parsedOutput);
871
- case "InvalidPolicyException":
872
- case "com.amazonaws.acmpca#InvalidPolicyException":
873
- throw await de_InvalidPolicyExceptionRes(parsedOutput);
874
- case "InvalidTagException":
875
- case "com.amazonaws.acmpca#InvalidTagException":
876
- throw await de_InvalidTagExceptionRes(parsedOutput);
877
- case "LimitExceededException":
878
- case "com.amazonaws.acmpca#LimitExceededException":
879
- throw await de_LimitExceededExceptionRes(parsedOutput);
880
- case "InvalidArnException":
881
- case "com.amazonaws.acmpca#InvalidArnException":
882
- throw await de_InvalidArnExceptionRes(parsedOutput);
883
- case "InvalidStateException":
884
- case "com.amazonaws.acmpca#InvalidStateException":
885
- throw await de_InvalidStateExceptionRes(parsedOutput);
886
- case "RequestFailedException":
887
- case "com.amazonaws.acmpca#RequestFailedException":
888
- throw await de_RequestFailedExceptionRes(parsedOutput);
889
- case "RequestInProgressException":
890
- case "com.amazonaws.acmpca#RequestInProgressException":
891
- throw await de_RequestInProgressExceptionRes(parsedOutput);
892
- case "ResourceNotFoundException":
893
- case "com.amazonaws.acmpca#ResourceNotFoundException":
894
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
895
- case "PermissionAlreadyExistsException":
896
- case "com.amazonaws.acmpca#PermissionAlreadyExistsException":
897
- throw await de_PermissionAlreadyExistsExceptionRes(parsedOutput);
898
- case "ConcurrentModificationException":
899
- case "com.amazonaws.acmpca#ConcurrentModificationException":
900
- throw await de_ConcurrentModificationExceptionRes(parsedOutput);
901
- case "LockoutPreventedException":
902
- case "com.amazonaws.acmpca#LockoutPreventedException":
903
- throw await de_LockoutPreventedExceptionRes(parsedOutput);
904
- case "CertificateMismatchException":
905
- case "com.amazonaws.acmpca#CertificateMismatchException":
906
- throw await de_CertificateMismatchExceptionRes(parsedOutput);
907
- case "InvalidRequestException":
908
- case "com.amazonaws.acmpca#InvalidRequestException":
909
- throw await de_InvalidRequestExceptionRes(parsedOutput);
910
- case "MalformedCertificateException":
911
- case "com.amazonaws.acmpca#MalformedCertificateException":
912
- throw await de_MalformedCertificateExceptionRes(parsedOutput);
913
- case "MalformedCSRException":
914
- case "com.amazonaws.acmpca#MalformedCSRException":
915
- throw await de_MalformedCSRExceptionRes(parsedOutput);
916
- case "InvalidNextTokenException":
917
- case "com.amazonaws.acmpca#InvalidNextTokenException":
918
- throw await de_InvalidNextTokenExceptionRes(parsedOutput);
919
- case "RequestAlreadyProcessedException":
920
- case "com.amazonaws.acmpca#RequestAlreadyProcessedException":
921
- throw await de_RequestAlreadyProcessedExceptionRes(parsedOutput);
922
- case "TooManyTagsException":
923
- case "com.amazonaws.acmpca#TooManyTagsException":
924
- throw await de_TooManyTagsExceptionRes(parsedOutput);
925
- default:
926
- const parsedBody = parsedOutput.body;
927
- return throwDefaultError({
928
- output,
929
- parsedBody,
930
- errorCode,
931
- });
932
- }
933
- };
934
- const de_CertificateMismatchExceptionRes = async (parsedOutput, context) => {
935
- const body = parsedOutput.body;
936
- const deserialized = smithyClient._json(body);
937
- const exception = new CertificateMismatchException({
938
- $metadata: deserializeMetadata(parsedOutput),
939
- ...deserialized,
940
- });
941
- return smithyClient.decorateServiceException(exception, body);
942
- };
943
- const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
944
- const body = parsedOutput.body;
945
- const deserialized = smithyClient._json(body);
946
- const exception = new ConcurrentModificationException({
947
- $metadata: deserializeMetadata(parsedOutput),
948
- ...deserialized,
949
- });
950
- return smithyClient.decorateServiceException(exception, body);
951
- };
952
- const de_InvalidArgsExceptionRes = async (parsedOutput, context) => {
953
- const body = parsedOutput.body;
954
- const deserialized = smithyClient._json(body);
955
- const exception = new InvalidArgsException({
956
- $metadata: deserializeMetadata(parsedOutput),
957
- ...deserialized,
958
- });
959
- return smithyClient.decorateServiceException(exception, body);
960
- };
961
- const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
962
- const body = parsedOutput.body;
963
- const deserialized = smithyClient._json(body);
964
- const exception = new InvalidArnException({
965
- $metadata: deserializeMetadata(parsedOutput),
966
- ...deserialized,
967
- });
968
- return smithyClient.decorateServiceException(exception, body);
969
- };
970
- const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
971
- const body = parsedOutput.body;
972
- const deserialized = smithyClient._json(body);
973
- const exception = new InvalidNextTokenException({
974
- $metadata: deserializeMetadata(parsedOutput),
975
- ...deserialized,
976
- });
977
- return smithyClient.decorateServiceException(exception, body);
978
- };
979
- const de_InvalidPolicyExceptionRes = async (parsedOutput, context) => {
980
- const body = parsedOutput.body;
981
- const deserialized = smithyClient._json(body);
982
- const exception = new InvalidPolicyException({
983
- $metadata: deserializeMetadata(parsedOutput),
984
- ...deserialized,
985
- });
986
- return smithyClient.decorateServiceException(exception, body);
987
- };
988
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
989
- const body = parsedOutput.body;
990
- const deserialized = smithyClient._json(body);
991
- const exception = new InvalidRequestException({
992
- $metadata: deserializeMetadata(parsedOutput),
993
- ...deserialized,
994
- });
995
- return smithyClient.decorateServiceException(exception, body);
996
- };
997
- const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
998
- const body = parsedOutput.body;
999
- const deserialized = smithyClient._json(body);
1000
- const exception = new InvalidStateException({
1001
- $metadata: deserializeMetadata(parsedOutput),
1002
- ...deserialized,
1003
- });
1004
- return smithyClient.decorateServiceException(exception, body);
1005
461
  };
1006
- const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
1007
- const body = parsedOutput.body;
1008
- const deserialized = smithyClient._json(body);
1009
- const exception = new InvalidTagException({
1010
- $metadata: deserializeMetadata(parsedOutput),
1011
- ...deserialized,
1012
- });
1013
- return smithyClient.decorateServiceException(exception, body);
1014
- };
1015
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1016
- const body = parsedOutput.body;
1017
- const deserialized = smithyClient._json(body);
1018
- const exception = new LimitExceededException({
1019
- $metadata: deserializeMetadata(parsedOutput),
1020
- ...deserialized,
1021
- });
1022
- return smithyClient.decorateServiceException(exception, body);
1023
- };
1024
- const de_LockoutPreventedExceptionRes = async (parsedOutput, context) => {
1025
- const body = parsedOutput.body;
1026
- const deserialized = smithyClient._json(body);
1027
- const exception = new LockoutPreventedException({
1028
- $metadata: deserializeMetadata(parsedOutput),
1029
- ...deserialized,
1030
- });
1031
- return smithyClient.decorateServiceException(exception, body);
1032
- };
1033
- const de_MalformedCertificateExceptionRes = async (parsedOutput, context) => {
1034
- const body = parsedOutput.body;
1035
- const deserialized = smithyClient._json(body);
1036
- const exception = new MalformedCertificateException({
1037
- $metadata: deserializeMetadata(parsedOutput),
1038
- ...deserialized,
1039
- });
1040
- return smithyClient.decorateServiceException(exception, body);
1041
- };
1042
- const de_MalformedCSRExceptionRes = async (parsedOutput, context) => {
1043
- const body = parsedOutput.body;
1044
- const deserialized = smithyClient._json(body);
1045
- const exception = new MalformedCSRException({
1046
- $metadata: deserializeMetadata(parsedOutput),
1047
- ...deserialized,
1048
- });
1049
- return smithyClient.decorateServiceException(exception, body);
1050
- };
1051
- const de_PermissionAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1052
- const body = parsedOutput.body;
1053
- const deserialized = smithyClient._json(body);
1054
- const exception = new PermissionAlreadyExistsException({
1055
- $metadata: deserializeMetadata(parsedOutput),
1056
- ...deserialized,
1057
- });
1058
- return smithyClient.decorateServiceException(exception, body);
1059
- };
1060
- const de_RequestAlreadyProcessedExceptionRes = async (parsedOutput, context) => {
1061
- const body = parsedOutput.body;
1062
- const deserialized = smithyClient._json(body);
1063
- const exception = new RequestAlreadyProcessedException({
1064
- $metadata: deserializeMetadata(parsedOutput),
1065
- ...deserialized,
1066
- });
1067
- return smithyClient.decorateServiceException(exception, body);
1068
- };
1069
- const de_RequestFailedExceptionRes = async (parsedOutput, context) => {
1070
- const body = parsedOutput.body;
1071
- const deserialized = smithyClient._json(body);
1072
- const exception = new RequestFailedException({
1073
- $metadata: deserializeMetadata(parsedOutput),
1074
- ...deserialized,
1075
- });
1076
- return smithyClient.decorateServiceException(exception, body);
1077
- };
1078
- const de_RequestInProgressExceptionRes = async (parsedOutput, context) => {
1079
- const body = parsedOutput.body;
1080
- const deserialized = smithyClient._json(body);
1081
- const exception = new RequestInProgressException({
1082
- $metadata: deserializeMetadata(parsedOutput),
1083
- ...deserialized,
1084
- });
1085
- return smithyClient.decorateServiceException(exception, body);
1086
- };
1087
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1088
- const body = parsedOutput.body;
1089
- const deserialized = smithyClient._json(body);
1090
- const exception = new ResourceNotFoundException({
1091
- $metadata: deserializeMetadata(parsedOutput),
1092
- ...deserialized,
1093
- });
1094
- return smithyClient.decorateServiceException(exception, body);
1095
- };
1096
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1097
- const body = parsedOutput.body;
1098
- const deserialized = smithyClient._json(body);
1099
- const exception = new TooManyTagsException({
1100
- $metadata: deserializeMetadata(parsedOutput),
1101
- ...deserialized,
1102
- });
1103
- return smithyClient.decorateServiceException(exception, body);
1104
- };
1105
- const se_ImportCertificateAuthorityCertificateRequest = (input, context) => {
1106
- return smithyClient.take(input, {
1107
- Certificate: context.base64Encoder,
1108
- CertificateAuthorityArn: [],
1109
- CertificateChain: context.base64Encoder,
1110
- });
1111
- };
1112
- const se_IssueCertificateRequest = (input, context) => {
1113
- return smithyClient.take(input, {
1114
- ApiPassthrough: smithyClient._json,
1115
- CertificateAuthorityArn: [],
1116
- Csr: context.base64Encoder,
1117
- IdempotencyToken: [],
1118
- SigningAlgorithm: [],
1119
- TemplateArn: [],
1120
- Validity: smithyClient._json,
1121
- ValidityNotBefore: smithyClient._json,
1122
- });
1123
- };
1124
- const de_CertificateAuthorities = (output, context) => {
1125
- const retVal = (output || [])
1126
- .filter((e) => e != null)
1127
- .map((entry) => {
1128
- return de_CertificateAuthority(entry);
1129
- });
1130
- return retVal;
1131
- };
1132
- const de_CertificateAuthority = (output, context) => {
1133
- return smithyClient.take(output, {
1134
- Arn: smithyClient.expectString,
1135
- CertificateAuthorityConfiguration: smithyClient._json,
1136
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1137
- FailureReason: smithyClient.expectString,
1138
- KeyStorageSecurityStandard: smithyClient.expectString,
1139
- LastStateChangeAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1140
- NotAfter: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1141
- NotBefore: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1142
- OwnerAccount: smithyClient.expectString,
1143
- RestorableUntil: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1144
- RevocationConfiguration: smithyClient._json,
1145
- Serial: smithyClient.expectString,
1146
- Status: smithyClient.expectString,
1147
- Type: smithyClient.expectString,
1148
- UsageMode: smithyClient.expectString,
1149
- });
1150
- };
1151
- const de_DescribeCertificateAuthorityAuditReportResponse = (output, context) => {
1152
- return smithyClient.take(output, {
1153
- AuditReportStatus: smithyClient.expectString,
1154
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1155
- S3BucketName: smithyClient.expectString,
1156
- S3Key: smithyClient.expectString,
1157
- });
1158
- };
1159
- const de_DescribeCertificateAuthorityResponse = (output, context) => {
1160
- return smithyClient.take(output, {
1161
- CertificateAuthority: (_) => de_CertificateAuthority(_),
1162
- });
1163
- };
1164
- const de_ListCertificateAuthoritiesResponse = (output, context) => {
1165
- return smithyClient.take(output, {
1166
- CertificateAuthorities: (_) => de_CertificateAuthorities(_),
1167
- NextToken: smithyClient.expectString,
1168
- });
1169
- };
1170
- const de_ListPermissionsResponse = (output, context) => {
1171
- return smithyClient.take(output, {
1172
- NextToken: smithyClient.expectString,
1173
- Permissions: (_) => de_PermissionList(_),
1174
- });
1175
- };
1176
- const de_Permission = (output, context) => {
1177
- return smithyClient.take(output, {
1178
- Actions: smithyClient._json,
1179
- CertificateAuthorityArn: smithyClient.expectString,
1180
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1181
- Policy: smithyClient.expectString,
1182
- Principal: smithyClient.expectString,
1183
- SourceAccount: smithyClient.expectString,
1184
- });
1185
- };
1186
- const de_PermissionList = (output, context) => {
1187
- const retVal = (output || [])
1188
- .filter((e) => e != null)
1189
- .map((entry) => {
1190
- return de_Permission(entry);
1191
- });
1192
- return retVal;
1193
- };
1194
- const deserializeMetadata = (output) => ({
1195
- httpStatusCode: output.statusCode,
1196
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1197
- extendedRequestId: output.headers["x-amz-id-2"],
1198
- cfId: output.headers["x-amz-cf-id"],
1199
- });
1200
- const throwDefaultError = smithyClient.withBaseException(ACMPCAServiceException);
1201
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1202
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1203
- const contents = {
1204
- protocol,
1205
- hostname,
1206
- port,
1207
- method: "POST",
1208
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1209
- headers,
1210
- };
1211
- if (body !== undefined) {
1212
- contents.body = body;
1213
- }
1214
- return new protocolHttp.HttpRequest(contents);
1215
- };
1216
- function sharedHeaders(operation) {
1217
- return {
1218
- "content-type": "application/x-amz-json-1.1",
1219
- "x-amz-target": `ACMPrivateCA.${operation}`,
1220
- };
1221
- }
462
+
463
+ const _A = "Arn";
464
+ const _AD = "AccessDescription";
465
+ const _ADL = "AccessDescriptionList";
466
+ const _AL = "AccessLocation";
467
+ const _AM = "AccessMethod";
468
+ const _AMT = "AccessMethodType";
469
+ const _AP = "ApiPassthrough";
470
+ const _ARI = "AuditReportId";
471
+ const _ARRF = "AuditReportResponseFormat";
472
+ const _ARS = "AuditReportStatus";
473
+ const _ASNS = "ASN1Subject";
474
+ const _Ac = "Actions";
475
+ const _C = "Country";
476
+ const _CA = "CustomAttributes";
477
+ const _CAA = "CertificateAuthorityArn";
478
+ const _CAC = "CertificateAuthorityConfiguration";
479
+ const _CAL = "CustomAttributeList";
480
+ const _CAT = "CertificateAuthorityType";
481
+ const _CAe = "CertificateAuthority";
482
+ const _CAer = "CertificateArn";
483
+ const _CAert = "CertificateAuthorities";
484
+ const _CAr = "CreatedAt";
485
+ const _CAu = "CustomAttribute";
486
+ const _CC = "CrlConfiguration";
487
+ const _CCA = "CreateCertificateAuthority";
488
+ const _CCAAR = "CreateCertificateAuthorityAuditReport";
489
+ const _CCAARR = "CreateCertificateAuthorityAuditReportRequest";
490
+ const _CCAARRr = "CreateCertificateAuthorityAuditReportResponse";
491
+ const _CCAR = "CreateCertificateAuthorityRequest";
492
+ const _CCARr = "CreateCertificateAuthorityResponse";
493
+ const _CCe = "CertificateChain";
494
+ const _CCu = "CustomCname";
495
+ const _CDPEC = "CrlDistributionPointExtensionConfiguration";
496
+ const _CE = "CsrExtensions";
497
+ const _CEL = "CustomExtensionList";
498
+ const _CEu = "CustomExtension";
499
+ const _CEus = "CustomExtensions";
500
+ const _CME = "CertificateMismatchException";
501
+ const _CMEo = "ConcurrentModificationException";
502
+ const _CN = "CommonName";
503
+ const _COI = "CustomObjectIdentifier";
504
+ const _CP = "CustomPath";
505
+ const _CPI = "CertPolicyId";
506
+ const _CPL = "CertificatePolicyList";
507
+ const _CPR = "CreatePermissionRequest";
508
+ const _CPe = "CertificatePolicies";
509
+ const _CPr = "CreatePermission";
510
+ const _CRLS = "CRLSign";
511
+ const _CS = "CertificateSerial";
512
+ const _CT = "CrlType";
513
+ const _CU = "CpsUri";
514
+ const _Ce = "Certificate";
515
+ const _Cr = "Critical";
516
+ const _Cs = "Csr";
517
+ const _DCA = "DeleteCertificateAuthority";
518
+ const _DCAAR = "DescribeCertificateAuthorityAuditReport";
519
+ const _DCAARR = "DescribeCertificateAuthorityAuditReportRequest";
520
+ const _DCAARRe = "DescribeCertificateAuthorityAuditReportResponse";
521
+ const _DCAR = "DeleteCertificateAuthorityRequest";
522
+ const _DCARe = "DescribeCertificateAuthorityRequest";
523
+ const _DCARes = "DescribeCertificateAuthorityResponse";
524
+ const _DCAe = "DescribeCertificateAuthority";
525
+ const _DE = "DataEncipherment";
526
+ const _DN = "DnsName";
527
+ const _DNQ = "DistinguishedNameQualifier";
528
+ const _DNi = "DirectoryName";
529
+ const _DO = "DecipherOnly";
530
+ const _DP = "DeletePermission";
531
+ const _DPR = "DeletePermissionRequest";
532
+ const _DPRe = "DeletePolicyRequest";
533
+ const _DPe = "DeletePolicy";
534
+ const _DS = "DigitalSignature";
535
+ const _E = "Extensions";
536
+ const _EID = "ExpirationInDays";
537
+ const _EKU = "ExtendedKeyUsage";
538
+ const _EKUL = "ExtendedKeyUsageList";
539
+ const _EKUOI = "ExtendedKeyUsageObjectIdentifier";
540
+ const _EKUT = "ExtendedKeyUsageType";
541
+ const _EO = "EncipherOnly";
542
+ const _EPN = "EdiPartyName";
543
+ const _En = "Enabled";
544
+ const _FR = "FailureReason";
545
+ const _GC = "GetCertificate";
546
+ const _GCAC = "GetCertificateAuthorityCertificate";
547
+ const _GCACR = "GetCertificateAuthorityCertificateRequest";
548
+ const _GCACRe = "GetCertificateAuthorityCertificateResponse";
549
+ const _GCACRet = "GetCertificateAuthorityCsrRequest";
550
+ const _GCACRete = "GetCertificateAuthorityCsrResponse";
551
+ const _GCACe = "GetCertificateAuthorityCsr";
552
+ const _GCR = "GetCertificateRequest";
553
+ const _GCRe = "GetCertificateResponse";
554
+ const _GN = "GivenName";
555
+ const _GNL = "GeneralNameList";
556
+ const _GNe = "GeneralName";
557
+ const _GP = "GetPolicy";
558
+ const _GPR = "GetPolicyRequest";
559
+ const _GPRe = "GetPolicyResponse";
560
+ const _GQ = "GenerationQualifier";
561
+ const _I = "Initials";
562
+ const _IA = "IpAddress";
563
+ const _IAE = "InvalidArgsException";
564
+ const _IAEn = "InvalidArnException";
565
+ const _IC = "IssueCertificate";
566
+ const _ICAC = "ImportCertificateAuthorityCertificate";
567
+ const _ICACR = "ImportCertificateAuthorityCertificateRequest";
568
+ const _ICR = "IssueCertificateRequest";
569
+ const _ICRs = "IssueCertificateResponse";
570
+ const _INTE = "InvalidNextTokenException";
571
+ const _IPE = "InvalidPolicyException";
572
+ const _IRE = "InvalidRequestException";
573
+ const _ISE = "InvalidStateException";
574
+ const _IT = "IdempotencyToken";
575
+ const _ITE = "InvalidTagException";
576
+ const _K = "Key";
577
+ const _KA = "KeyAlgorithm";
578
+ const _KAe = "KeyAgreement";
579
+ const _KCS = "KeyCertSign";
580
+ const _KE = "KeyEncipherment";
581
+ const _KSSS = "KeyStorageSecurityStandard";
582
+ const _KU = "KeyUsage";
583
+ const _L = "Locality";
584
+ const _LCA = "ListCertificateAuthorities";
585
+ const _LCAR = "ListCertificateAuthoritiesRequest";
586
+ const _LCARi = "ListCertificateAuthoritiesResponse";
587
+ const _LEE = "LimitExceededException";
588
+ const _LP = "ListPermissions";
589
+ const _LPE = "LockoutPreventedException";
590
+ const _LPR = "ListPermissionsRequest";
591
+ const _LPRi = "ListPermissionsResponse";
592
+ const _LSCA = "LastStateChangeAt";
593
+ const _LT = "ListTags";
594
+ const _LTR = "ListTagsRequest";
595
+ const _LTRi = "ListTagsResponse";
596
+ const _MCE = "MalformedCertificateException";
597
+ const _MCSRE = "MalformedCSRException";
598
+ const _MR = "MaxResults";
599
+ const _NA = "NotAfter";
600
+ const _NAa = "NameAssigner";
601
+ const _NB = "NotBefore";
602
+ const _NR = "NonRepudiation";
603
+ const _NT = "NextToken";
604
+ const _O = "Organization";
605
+ const _OA = "OwnerAccount";
606
+ const _OC = "OcspConfiguration";
607
+ const _OCC = "OcspCustomCname";
608
+ const _OE = "OmitExtension";
609
+ const _OI = "ObjectIdentifier";
610
+ const _ON = "OtherName";
611
+ const _OU = "OrganizationalUnit";
612
+ const _P = "Pseudonym";
613
+ const _PAEE = "PermissionAlreadyExistsException";
614
+ const _PDTID = "PermanentDeletionTimeInDays";
615
+ const _PI = "PolicyInformation";
616
+ const _PL = "PermissionList";
617
+ const _PN = "PartyName";
618
+ const _PP = "PutPolicy";
619
+ const _PPR = "PutPolicyRequest";
620
+ const _PQ = "PolicyQualifiers";
621
+ const _PQI = "PolicyQualifierInfo";
622
+ const _PQIL = "PolicyQualifierInfoList";
623
+ const _PQIo = "PolicyQualifierId";
624
+ const _Pe = "Permissions";
625
+ const _Per = "Permission";
626
+ const _Po = "Policy";
627
+ const _Pr = "Principal";
628
+ const _Q = "Qualifier";
629
+ const _RA = "ResourceArn";
630
+ const _RAPE = "RequestAlreadyProcessedException";
631
+ const _RC = "RevocationConfiguration";
632
+ const _RCA = "RestoreCertificateAuthority";
633
+ const _RCAR = "RestoreCertificateAuthorityRequest";
634
+ const _RCR = "RevokeCertificateRequest";
635
+ const _RCe = "RevokeCertificate";
636
+ const _RFE = "RequestFailedException";
637
+ const _RI = "RegisteredId";
638
+ const _RIPE = "RequestInProgressException";
639
+ const _RN = "Rfc822Name";
640
+ const _RNFE = "ResourceNotFoundException";
641
+ const _RO = "ResourceOwner";
642
+ const _RR = "RevocationReason";
643
+ const _RU = "RestorableUntil";
644
+ const _S = "Subject";
645
+ const _SA = "SigningAlgorithm";
646
+ const _SAN = "SubjectAlternativeNames";
647
+ const _SAo = "SourceAccount";
648
+ const _SBN = "S3BucketName";
649
+ const _SIA = "SubjectInformationAccess";
650
+ const _SK = "S3Key";
651
+ const _SN = "SerialNumber";
652
+ const _SOA = "S3ObjectAcl";
653
+ const _Se = "Serial";
654
+ const _St = "State";
655
+ const _Sta = "Status";
656
+ const _Su = "Surname";
657
+ const _T = "Title";
658
+ const _TA = "TemplateArn";
659
+ const _TCA = "TagCertificateAuthority";
660
+ const _TCAR = "TagCertificateAuthorityRequest";
661
+ const _TI = "TypeId";
662
+ const _TL = "TagList";
663
+ const _TMTE = "TooManyTagsException";
664
+ const _Ta = "Tags";
665
+ const _Tag = "Tag";
666
+ const _Ty = "Type";
667
+ const _UCA = "UntagCertificateAuthority";
668
+ const _UCAR = "UntagCertificateAuthorityRequest";
669
+ const _UCARp = "UpdateCertificateAuthorityRequest";
670
+ const _UCAp = "UpdateCertificateAuthority";
671
+ const _UM = "UsageMode";
672
+ const _URI = "UniformResourceIdentifier";
673
+ const _V = "Value";
674
+ const _VNB = "ValidityNotBefore";
675
+ const _Va = "Validity";
676
+ const _c = "client";
677
+ const _e = "error";
678
+ const _m = "message";
679
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.acmpca";
680
+ const n0 = "com.amazonaws.acmpca";
681
+ var AccessDescription = [
682
+ 3,
683
+ n0,
684
+ _AD,
685
+ 0,
686
+ [_AM, _AL],
687
+ [() => AccessMethod, () => GeneralName],
688
+ ];
689
+ var AccessMethod = [3, n0, _AM, 0, [_COI, _AMT], [0, 0]];
690
+ var ApiPassthrough = [3, n0, _AP, 0, [_E, _S], [() => Extensions, () => ASN1Subject]];
691
+ var ASN1Subject = [
692
+ 3,
693
+ n0,
694
+ _ASNS,
695
+ 0,
696
+ [_C, _O, _OU, _DNQ, _St, _CN, _SN, _L, _T, _Su, _GN, _I, _P, _GQ, _CA],
697
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => CustomAttributeList],
698
+ ];
699
+ var CertificateAuthority = [
700
+ 3,
701
+ n0,
702
+ _CAe,
703
+ 0,
704
+ [_A, _OA, _CAr, _LSCA, _Ty, _Se, _Sta, _NB, _NA, _FR, _CAC, _RC, _RU, _KSSS, _UM],
705
+ [0, 0, 4, 4, 0, 0, 0, 4, 4, 0, () => CertificateAuthorityConfiguration, () => RevocationConfiguration, 4, 0, 0],
706
+ ];
707
+ var CertificateAuthorityConfiguration = [
708
+ 3,
709
+ n0,
710
+ _CAC,
711
+ 0,
712
+ [_KA, _SA, _S, _CE],
713
+ [0, 0, () => ASN1Subject, () => CsrExtensions],
714
+ ];
715
+ var CertificateMismatchException = [
716
+ -3,
717
+ n0,
718
+ _CME,
719
+ {
720
+ [_e]: _c,
721
+ },
722
+ [_m],
723
+ [0],
724
+ ];
725
+ schema.TypeRegistry.for(n0).registerError(CertificateMismatchException, CertificateMismatchException$1);
726
+ var ConcurrentModificationException = [
727
+ -3,
728
+ n0,
729
+ _CMEo,
730
+ {
731
+ [_e]: _c,
732
+ },
733
+ [_m],
734
+ [0],
735
+ ];
736
+ schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException, ConcurrentModificationException$1);
737
+ var CreateCertificateAuthorityAuditReportRequest = [
738
+ 3,
739
+ n0,
740
+ _CCAARR,
741
+ 0,
742
+ [_CAA, _SBN, _ARRF],
743
+ [0, 0, 0],
744
+ ];
745
+ var CreateCertificateAuthorityAuditReportResponse = [
746
+ 3,
747
+ n0,
748
+ _CCAARRr,
749
+ 0,
750
+ [_ARI, _SK],
751
+ [0, 0],
752
+ ];
753
+ var CreateCertificateAuthorityRequest = [
754
+ 3,
755
+ n0,
756
+ _CCAR,
757
+ 0,
758
+ [_CAC, _RC, _CAT, _IT, _KSSS, _Ta, _UM],
759
+ [() => CertificateAuthorityConfiguration, () => RevocationConfiguration, 0, 0, 0, () => TagList, 0],
760
+ ];
761
+ var CreateCertificateAuthorityResponse = [3, n0, _CCARr, 0, [_CAA], [0]];
762
+ var CreatePermissionRequest = [3, n0, _CPR, 0, [_CAA, _Pr, _SAo, _Ac], [0, 0, 0, 64 | 0]];
763
+ var CrlConfiguration = [
764
+ 3,
765
+ n0,
766
+ _CC,
767
+ 0,
768
+ [_En, _EID, _CCu, _SBN, _SOA, _CDPEC, _CT, _CP],
769
+ [2, 1, 0, 0, 0, () => CrlDistributionPointExtensionConfiguration, 0, 0],
770
+ ];
771
+ var CrlDistributionPointExtensionConfiguration = [3, n0, _CDPEC, 0, [_OE], [2]];
772
+ var CsrExtensions = [
773
+ 3,
774
+ n0,
775
+ _CE,
776
+ 0,
777
+ [_KU, _SIA],
778
+ [() => KeyUsage, () => AccessDescriptionList],
779
+ ];
780
+ var CustomAttribute = [3, n0, _CAu, 0, [_OI, _V], [0, 0]];
781
+ var CustomExtension = [3, n0, _CEu, 0, [_OI, _V, _Cr], [0, 0, 2]];
782
+ var DeleteCertificateAuthorityRequest = [3, n0, _DCAR, 0, [_CAA, _PDTID], [0, 1]];
783
+ var DeletePermissionRequest = [3, n0, _DPR, 0, [_CAA, _Pr, _SAo], [0, 0, 0]];
784
+ var DeletePolicyRequest = [3, n0, _DPRe, 0, [_RA], [0]];
785
+ var DescribeCertificateAuthorityAuditReportRequest = [
786
+ 3,
787
+ n0,
788
+ _DCAARR,
789
+ 0,
790
+ [_CAA, _ARI],
791
+ [0, 0],
792
+ ];
793
+ var DescribeCertificateAuthorityAuditReportResponse = [
794
+ 3,
795
+ n0,
796
+ _DCAARRe,
797
+ 0,
798
+ [_ARS, _SBN, _SK, _CAr],
799
+ [0, 0, 0, 4],
800
+ ];
801
+ var DescribeCertificateAuthorityRequest = [3, n0, _DCARe, 0, [_CAA], [0]];
802
+ var DescribeCertificateAuthorityResponse = [
803
+ 3,
804
+ n0,
805
+ _DCARes,
806
+ 0,
807
+ [_CAe],
808
+ [() => CertificateAuthority],
809
+ ];
810
+ var EdiPartyName = [3, n0, _EPN, 0, [_PN, _NAa], [0, 0]];
811
+ var ExtendedKeyUsage = [3, n0, _EKU, 0, [_EKUT, _EKUOI], [0, 0]];
812
+ var Extensions = [
813
+ 3,
814
+ n0,
815
+ _E,
816
+ 0,
817
+ [_CPe, _EKU, _KU, _SAN, _CEus],
818
+ [
819
+ () => CertificatePolicyList,
820
+ () => ExtendedKeyUsageList,
821
+ () => KeyUsage,
822
+ () => GeneralNameList,
823
+ () => CustomExtensionList,
824
+ ],
825
+ ];
826
+ var GeneralName = [
827
+ 3,
828
+ n0,
829
+ _GNe,
830
+ 0,
831
+ [_ON, _RN, _DN, _DNi, _EPN, _URI, _IA, _RI],
832
+ [() => OtherName, 0, 0, () => ASN1Subject, () => EdiPartyName, 0, 0, 0],
833
+ ];
834
+ var GetCertificateAuthorityCertificateRequest = [3, n0, _GCACR, 0, [_CAA], [0]];
835
+ var GetCertificateAuthorityCertificateResponse = [3, n0, _GCACRe, 0, [_Ce, _CCe], [0, 0]];
836
+ var GetCertificateAuthorityCsrRequest = [3, n0, _GCACRet, 0, [_CAA], [0]];
837
+ var GetCertificateAuthorityCsrResponse = [3, n0, _GCACRete, 0, [_Cs], [0]];
838
+ var GetCertificateRequest = [3, n0, _GCR, 0, [_CAA, _CAer], [0, 0]];
839
+ var GetCertificateResponse = [3, n0, _GCRe, 0, [_Ce, _CCe], [0, 0]];
840
+ var GetPolicyRequest = [3, n0, _GPR, 0, [_RA], [0]];
841
+ var GetPolicyResponse = [3, n0, _GPRe, 0, [_Po], [0]];
842
+ var ImportCertificateAuthorityCertificateRequest = [
843
+ 3,
844
+ n0,
845
+ _ICACR,
846
+ 0,
847
+ [_CAA, _Ce, _CCe],
848
+ [0, 21, 21],
849
+ ];
850
+ var InvalidArgsException = [
851
+ -3,
852
+ n0,
853
+ _IAE,
854
+ {
855
+ [_e]: _c,
856
+ },
857
+ [_m],
858
+ [0],
859
+ ];
860
+ schema.TypeRegistry.for(n0).registerError(InvalidArgsException, InvalidArgsException$1);
861
+ var InvalidArnException = [
862
+ -3,
863
+ n0,
864
+ _IAEn,
865
+ {
866
+ [_e]: _c,
867
+ },
868
+ [_m],
869
+ [0],
870
+ ];
871
+ schema.TypeRegistry.for(n0).registerError(InvalidArnException, InvalidArnException$1);
872
+ var InvalidNextTokenException = [
873
+ -3,
874
+ n0,
875
+ _INTE,
876
+ {
877
+ [_e]: _c,
878
+ },
879
+ [_m],
880
+ [0],
881
+ ];
882
+ schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
883
+ var InvalidPolicyException = [
884
+ -3,
885
+ n0,
886
+ _IPE,
887
+ {
888
+ [_e]: _c,
889
+ },
890
+ [_m],
891
+ [0],
892
+ ];
893
+ schema.TypeRegistry.for(n0).registerError(InvalidPolicyException, InvalidPolicyException$1);
894
+ var InvalidRequestException = [
895
+ -3,
896
+ n0,
897
+ _IRE,
898
+ {
899
+ [_e]: _c,
900
+ },
901
+ [_m],
902
+ [0],
903
+ ];
904
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
905
+ var InvalidStateException = [
906
+ -3,
907
+ n0,
908
+ _ISE,
909
+ {
910
+ [_e]: _c,
911
+ },
912
+ [_m],
913
+ [0],
914
+ ];
915
+ schema.TypeRegistry.for(n0).registerError(InvalidStateException, InvalidStateException$1);
916
+ var InvalidTagException = [
917
+ -3,
918
+ n0,
919
+ _ITE,
920
+ {
921
+ [_e]: _c,
922
+ },
923
+ [_m],
924
+ [0],
925
+ ];
926
+ schema.TypeRegistry.for(n0).registerError(InvalidTagException, InvalidTagException$1);
927
+ var IssueCertificateRequest = [
928
+ 3,
929
+ n0,
930
+ _ICR,
931
+ 0,
932
+ [_AP, _CAA, _Cs, _SA, _TA, _Va, _VNB, _IT],
933
+ [() => ApiPassthrough, 0, 21, 0, 0, () => Validity, () => Validity, 0],
934
+ ];
935
+ var IssueCertificateResponse = [3, n0, _ICRs, 0, [_CAer], [0]];
936
+ var KeyUsage = [
937
+ 3,
938
+ n0,
939
+ _KU,
940
+ 0,
941
+ [_DS, _NR, _KE, _DE, _KAe, _KCS, _CRLS, _EO, _DO],
942
+ [2, 2, 2, 2, 2, 2, 2, 2, 2],
943
+ ];
944
+ var LimitExceededException = [
945
+ -3,
946
+ n0,
947
+ _LEE,
948
+ {
949
+ [_e]: _c,
950
+ },
951
+ [_m],
952
+ [0],
953
+ ];
954
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
955
+ var ListCertificateAuthoritiesRequest = [3, n0, _LCAR, 0, [_MR, _NT, _RO], [1, 0, 0]];
956
+ var ListCertificateAuthoritiesResponse = [
957
+ 3,
958
+ n0,
959
+ _LCARi,
960
+ 0,
961
+ [_NT, _CAert],
962
+ [0, () => CertificateAuthorities],
963
+ ];
964
+ var ListPermissionsRequest = [3, n0, _LPR, 0, [_MR, _NT, _CAA], [1, 0, 0]];
965
+ var ListPermissionsResponse = [3, n0, _LPRi, 0, [_NT, _Pe], [0, () => PermissionList]];
966
+ var ListTagsRequest = [3, n0, _LTR, 0, [_MR, _NT, _CAA], [1, 0, 0]];
967
+ var ListTagsResponse = [3, n0, _LTRi, 0, [_NT, _Ta], [0, () => TagList]];
968
+ var LockoutPreventedException = [
969
+ -3,
970
+ n0,
971
+ _LPE,
972
+ {
973
+ [_e]: _c,
974
+ },
975
+ [_m],
976
+ [0],
977
+ ];
978
+ schema.TypeRegistry.for(n0).registerError(LockoutPreventedException, LockoutPreventedException$1);
979
+ var MalformedCertificateException = [
980
+ -3,
981
+ n0,
982
+ _MCE,
983
+ {
984
+ [_e]: _c,
985
+ },
986
+ [_m],
987
+ [0],
988
+ ];
989
+ schema.TypeRegistry.for(n0).registerError(MalformedCertificateException, MalformedCertificateException$1);
990
+ var MalformedCSRException = [
991
+ -3,
992
+ n0,
993
+ _MCSRE,
994
+ {
995
+ [_e]: _c,
996
+ },
997
+ [_m],
998
+ [0],
999
+ ];
1000
+ schema.TypeRegistry.for(n0).registerError(MalformedCSRException, MalformedCSRException$1);
1001
+ var OcspConfiguration = [3, n0, _OC, 0, [_En, _OCC], [2, 0]];
1002
+ var OtherName = [3, n0, _ON, 0, [_TI, _V], [0, 0]];
1003
+ var Permission = [
1004
+ 3,
1005
+ n0,
1006
+ _Per,
1007
+ 0,
1008
+ [_CAA, _CAr, _Pr, _SAo, _Ac, _Po],
1009
+ [0, 4, 0, 0, 64 | 0, 0],
1010
+ ];
1011
+ var PermissionAlreadyExistsException = [
1012
+ -3,
1013
+ n0,
1014
+ _PAEE,
1015
+ {
1016
+ [_e]: _c,
1017
+ },
1018
+ [_m],
1019
+ [0],
1020
+ ];
1021
+ schema.TypeRegistry.for(n0).registerError(PermissionAlreadyExistsException, PermissionAlreadyExistsException$1);
1022
+ var PolicyInformation = [3, n0, _PI, 0, [_CPI, _PQ], [0, () => PolicyQualifierInfoList]];
1023
+ var PolicyQualifierInfo = [3, n0, _PQI, 0, [_PQIo, _Q], [0, () => Qualifier]];
1024
+ var PutPolicyRequest = [3, n0, _PPR, 0, [_RA, _Po], [0, 0]];
1025
+ var Qualifier = [3, n0, _Q, 0, [_CU], [0]];
1026
+ var RequestAlreadyProcessedException = [
1027
+ -3,
1028
+ n0,
1029
+ _RAPE,
1030
+ {
1031
+ [_e]: _c,
1032
+ },
1033
+ [_m],
1034
+ [0],
1035
+ ];
1036
+ schema.TypeRegistry.for(n0).registerError(RequestAlreadyProcessedException, RequestAlreadyProcessedException$1);
1037
+ var RequestFailedException = [
1038
+ -3,
1039
+ n0,
1040
+ _RFE,
1041
+ {
1042
+ [_e]: _c,
1043
+ },
1044
+ [_m],
1045
+ [0],
1046
+ ];
1047
+ schema.TypeRegistry.for(n0).registerError(RequestFailedException, RequestFailedException$1);
1048
+ var RequestInProgressException = [
1049
+ -3,
1050
+ n0,
1051
+ _RIPE,
1052
+ {
1053
+ [_e]: _c,
1054
+ },
1055
+ [_m],
1056
+ [0],
1057
+ ];
1058
+ schema.TypeRegistry.for(n0).registerError(RequestInProgressException, RequestInProgressException$1);
1059
+ var ResourceNotFoundException = [
1060
+ -3,
1061
+ n0,
1062
+ _RNFE,
1063
+ {
1064
+ [_e]: _c,
1065
+ },
1066
+ [_m],
1067
+ [0],
1068
+ ];
1069
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1070
+ var RestoreCertificateAuthorityRequest = [3, n0, _RCAR, 0, [_CAA], [0]];
1071
+ var RevocationConfiguration = [
1072
+ 3,
1073
+ n0,
1074
+ _RC,
1075
+ 0,
1076
+ [_CC, _OC],
1077
+ [() => CrlConfiguration, () => OcspConfiguration],
1078
+ ];
1079
+ var RevokeCertificateRequest = [3, n0, _RCR, 0, [_CAA, _CS, _RR], [0, 0, 0]];
1080
+ var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
1081
+ var TagCertificateAuthorityRequest = [3, n0, _TCAR, 0, [_CAA, _Ta], [0, () => TagList]];
1082
+ var TooManyTagsException = [
1083
+ -3,
1084
+ n0,
1085
+ _TMTE,
1086
+ {
1087
+ [_e]: _c,
1088
+ },
1089
+ [_m],
1090
+ [0],
1091
+ ];
1092
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
1093
+ var UntagCertificateAuthorityRequest = [3, n0, _UCAR, 0, [_CAA, _Ta], [0, () => TagList]];
1094
+ var UpdateCertificateAuthorityRequest = [
1095
+ 3,
1096
+ n0,
1097
+ _UCARp,
1098
+ 0,
1099
+ [_CAA, _RC, _Sta],
1100
+ [0, () => RevocationConfiguration, 0],
1101
+ ];
1102
+ var Validity = [3, n0, _Va, 0, [_V, _Ty], [1, 0]];
1103
+ var __Unit = "unit";
1104
+ var ACMPCAServiceException = [-3, _s, "ACMPCAServiceException", 0, [], []];
1105
+ schema.TypeRegistry.for(_s).registerError(ACMPCAServiceException, ACMPCAServiceException$1);
1106
+ var AccessDescriptionList = [1, n0, _ADL, 0, () => AccessDescription];
1107
+ var CertificateAuthorities = [1, n0, _CAert, 0, () => CertificateAuthority];
1108
+ var CertificatePolicyList = [1, n0, _CPL, 0, () => PolicyInformation];
1109
+ var CustomAttributeList = [1, n0, _CAL, 0, () => CustomAttribute];
1110
+ var CustomExtensionList = [1, n0, _CEL, 0, () => CustomExtension];
1111
+ var ExtendedKeyUsageList = [1, n0, _EKUL, 0, () => ExtendedKeyUsage];
1112
+ var GeneralNameList = [1, n0, _GNL, 0, () => GeneralName];
1113
+ var PermissionList = [1, n0, _PL, 0, () => Permission];
1114
+ var PolicyQualifierInfoList = [1, n0, _PQIL, 0, () => PolicyQualifierInfo];
1115
+ var TagList = [1, n0, _TL, 0, () => Tag];
1116
+ var CreateCertificateAuthority = [
1117
+ 9,
1118
+ n0,
1119
+ _CCA,
1120
+ 2,
1121
+ () => CreateCertificateAuthorityRequest,
1122
+ () => CreateCertificateAuthorityResponse,
1123
+ ];
1124
+ var CreateCertificateAuthorityAuditReport = [
1125
+ 9,
1126
+ n0,
1127
+ _CCAAR,
1128
+ 2,
1129
+ () => CreateCertificateAuthorityAuditReportRequest,
1130
+ () => CreateCertificateAuthorityAuditReportResponse,
1131
+ ];
1132
+ var CreatePermission = [9, n0, _CPr, 0, () => CreatePermissionRequest, () => __Unit];
1133
+ var DeleteCertificateAuthority = [
1134
+ 9,
1135
+ n0,
1136
+ _DCA,
1137
+ 0,
1138
+ () => DeleteCertificateAuthorityRequest,
1139
+ () => __Unit,
1140
+ ];
1141
+ var DeletePermission = [9, n0, _DP, 0, () => DeletePermissionRequest, () => __Unit];
1142
+ var DeletePolicy = [9, n0, _DPe, 0, () => DeletePolicyRequest, () => __Unit];
1143
+ var DescribeCertificateAuthority = [
1144
+ 9,
1145
+ n0,
1146
+ _DCAe,
1147
+ 0,
1148
+ () => DescribeCertificateAuthorityRequest,
1149
+ () => DescribeCertificateAuthorityResponse,
1150
+ ];
1151
+ var DescribeCertificateAuthorityAuditReport = [
1152
+ 9,
1153
+ n0,
1154
+ _DCAAR,
1155
+ 0,
1156
+ () => DescribeCertificateAuthorityAuditReportRequest,
1157
+ () => DescribeCertificateAuthorityAuditReportResponse,
1158
+ ];
1159
+ var GetCertificate = [
1160
+ 9,
1161
+ n0,
1162
+ _GC,
1163
+ 0,
1164
+ () => GetCertificateRequest,
1165
+ () => GetCertificateResponse,
1166
+ ];
1167
+ var GetCertificateAuthorityCertificate = [
1168
+ 9,
1169
+ n0,
1170
+ _GCAC,
1171
+ 0,
1172
+ () => GetCertificateAuthorityCertificateRequest,
1173
+ () => GetCertificateAuthorityCertificateResponse,
1174
+ ];
1175
+ var GetCertificateAuthorityCsr = [
1176
+ 9,
1177
+ n0,
1178
+ _GCACe,
1179
+ 0,
1180
+ () => GetCertificateAuthorityCsrRequest,
1181
+ () => GetCertificateAuthorityCsrResponse,
1182
+ ];
1183
+ var GetPolicy = [9, n0, _GP, 0, () => GetPolicyRequest, () => GetPolicyResponse];
1184
+ var ImportCertificateAuthorityCertificate = [
1185
+ 9,
1186
+ n0,
1187
+ _ICAC,
1188
+ 0,
1189
+ () => ImportCertificateAuthorityCertificateRequest,
1190
+ () => __Unit,
1191
+ ];
1192
+ var IssueCertificate = [
1193
+ 9,
1194
+ n0,
1195
+ _IC,
1196
+ 2,
1197
+ () => IssueCertificateRequest,
1198
+ () => IssueCertificateResponse,
1199
+ ];
1200
+ var ListCertificateAuthorities = [
1201
+ 9,
1202
+ n0,
1203
+ _LCA,
1204
+ 0,
1205
+ () => ListCertificateAuthoritiesRequest,
1206
+ () => ListCertificateAuthoritiesResponse,
1207
+ ];
1208
+ var ListPermissions = [
1209
+ 9,
1210
+ n0,
1211
+ _LP,
1212
+ 0,
1213
+ () => ListPermissionsRequest,
1214
+ () => ListPermissionsResponse,
1215
+ ];
1216
+ var ListTags = [9, n0, _LT, 0, () => ListTagsRequest, () => ListTagsResponse];
1217
+ var PutPolicy = [9, n0, _PP, 0, () => PutPolicyRequest, () => __Unit];
1218
+ var RestoreCertificateAuthority = [
1219
+ 9,
1220
+ n0,
1221
+ _RCA,
1222
+ 0,
1223
+ () => RestoreCertificateAuthorityRequest,
1224
+ () => __Unit,
1225
+ ];
1226
+ var RevokeCertificate = [9, n0, _RCe, 0, () => RevokeCertificateRequest, () => __Unit];
1227
+ var TagCertificateAuthority = [
1228
+ 9,
1229
+ n0,
1230
+ _TCA,
1231
+ 0,
1232
+ () => TagCertificateAuthorityRequest,
1233
+ () => __Unit,
1234
+ ];
1235
+ var UntagCertificateAuthority = [
1236
+ 9,
1237
+ n0,
1238
+ _UCA,
1239
+ 0,
1240
+ () => UntagCertificateAuthorityRequest,
1241
+ () => __Unit,
1242
+ ];
1243
+ var UpdateCertificateAuthority = [
1244
+ 9,
1245
+ n0,
1246
+ _UCAp,
1247
+ 0,
1248
+ () => UpdateCertificateAuthorityRequest,
1249
+ () => __Unit,
1250
+ ];
1222
1251
 
1223
1252
  class CreateCertificateAuthorityAuditReportCommand extends smithyClient.Command
1224
1253
  .classBuilder()
1225
1254
  .ep(commonParams)
1226
1255
  .m(function (Command, cs, config, o) {
1227
- return [
1228
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1229
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1230
- ];
1256
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1231
1257
  })
1232
1258
  .s("ACMPrivateCA", "CreateCertificateAuthorityAuditReport", {})
1233
1259
  .n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand")
1234
- .f(void 0, void 0)
1235
- .ser(se_CreateCertificateAuthorityAuditReportCommand)
1236
- .de(de_CreateCertificateAuthorityAuditReportCommand)
1260
+ .sc(CreateCertificateAuthorityAuditReport)
1237
1261
  .build() {
1238
1262
  }
1239
1263
 
@@ -1241,16 +1265,11 @@ class CreateCertificateAuthorityCommand extends smithyClient.Command
1241
1265
  .classBuilder()
1242
1266
  .ep(commonParams)
1243
1267
  .m(function (Command, cs, config, o) {
1244
- return [
1245
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1246
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1247
- ];
1268
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1248
1269
  })
1249
1270
  .s("ACMPrivateCA", "CreateCertificateAuthority", {})
1250
1271
  .n("ACMPCAClient", "CreateCertificateAuthorityCommand")
1251
- .f(void 0, void 0)
1252
- .ser(se_CreateCertificateAuthorityCommand)
1253
- .de(de_CreateCertificateAuthorityCommand)
1272
+ .sc(CreateCertificateAuthority)
1254
1273
  .build() {
1255
1274
  }
1256
1275
 
@@ -1258,16 +1277,11 @@ class CreatePermissionCommand extends smithyClient.Command
1258
1277
  .classBuilder()
1259
1278
  .ep(commonParams)
1260
1279
  .m(function (Command, cs, config, o) {
1261
- return [
1262
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1263
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1264
- ];
1280
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1265
1281
  })
1266
1282
  .s("ACMPrivateCA", "CreatePermission", {})
1267
1283
  .n("ACMPCAClient", "CreatePermissionCommand")
1268
- .f(void 0, void 0)
1269
- .ser(se_CreatePermissionCommand)
1270
- .de(de_CreatePermissionCommand)
1284
+ .sc(CreatePermission)
1271
1285
  .build() {
1272
1286
  }
1273
1287
 
@@ -1275,16 +1289,11 @@ class DeleteCertificateAuthorityCommand extends smithyClient.Command
1275
1289
  .classBuilder()
1276
1290
  .ep(commonParams)
1277
1291
  .m(function (Command, cs, config, o) {
1278
- return [
1279
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1280
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1281
- ];
1292
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1282
1293
  })
1283
1294
  .s("ACMPrivateCA", "DeleteCertificateAuthority", {})
1284
1295
  .n("ACMPCAClient", "DeleteCertificateAuthorityCommand")
1285
- .f(void 0, void 0)
1286
- .ser(se_DeleteCertificateAuthorityCommand)
1287
- .de(de_DeleteCertificateAuthorityCommand)
1296
+ .sc(DeleteCertificateAuthority)
1288
1297
  .build() {
1289
1298
  }
1290
1299
 
@@ -1292,16 +1301,11 @@ class DeletePermissionCommand extends smithyClient.Command
1292
1301
  .classBuilder()
1293
1302
  .ep(commonParams)
1294
1303
  .m(function (Command, cs, config, o) {
1295
- return [
1296
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1297
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1298
- ];
1304
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1299
1305
  })
1300
1306
  .s("ACMPrivateCA", "DeletePermission", {})
1301
1307
  .n("ACMPCAClient", "DeletePermissionCommand")
1302
- .f(void 0, void 0)
1303
- .ser(se_DeletePermissionCommand)
1304
- .de(de_DeletePermissionCommand)
1308
+ .sc(DeletePermission)
1305
1309
  .build() {
1306
1310
  }
1307
1311
 
@@ -1309,16 +1313,11 @@ class DeletePolicyCommand extends smithyClient.Command
1309
1313
  .classBuilder()
1310
1314
  .ep(commonParams)
1311
1315
  .m(function (Command, cs, config, o) {
1312
- return [
1313
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1314
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1315
- ];
1316
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
1317
  })
1317
1318
  .s("ACMPrivateCA", "DeletePolicy", {})
1318
1319
  .n("ACMPCAClient", "DeletePolicyCommand")
1319
- .f(void 0, void 0)
1320
- .ser(se_DeletePolicyCommand)
1321
- .de(de_DeletePolicyCommand)
1320
+ .sc(DeletePolicy)
1322
1321
  .build() {
1323
1322
  }
1324
1323
 
@@ -1326,16 +1325,11 @@ class DescribeCertificateAuthorityAuditReportCommand extends smithyClient.Comman
1326
1325
  .classBuilder()
1327
1326
  .ep(commonParams)
1328
1327
  .m(function (Command, cs, config, o) {
1329
- return [
1330
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1331
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1332
- ];
1328
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1333
1329
  })
1334
1330
  .s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {})
1335
1331
  .n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
1336
- .f(void 0, void 0)
1337
- .ser(se_DescribeCertificateAuthorityAuditReportCommand)
1338
- .de(de_DescribeCertificateAuthorityAuditReportCommand)
1332
+ .sc(DescribeCertificateAuthorityAuditReport)
1339
1333
  .build() {
1340
1334
  }
1341
1335
 
@@ -1343,16 +1337,11 @@ class DescribeCertificateAuthorityCommand extends smithyClient.Command
1343
1337
  .classBuilder()
1344
1338
  .ep(commonParams)
1345
1339
  .m(function (Command, cs, config, o) {
1346
- return [
1347
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1348
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1349
- ];
1340
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1350
1341
  })
1351
1342
  .s("ACMPrivateCA", "DescribeCertificateAuthority", {})
1352
1343
  .n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
1353
- .f(void 0, void 0)
1354
- .ser(se_DescribeCertificateAuthorityCommand)
1355
- .de(de_DescribeCertificateAuthorityCommand)
1344
+ .sc(DescribeCertificateAuthority)
1356
1345
  .build() {
1357
1346
  }
1358
1347
 
@@ -1360,16 +1349,11 @@ class GetCertificateAuthorityCertificateCommand extends smithyClient.Command
1360
1349
  .classBuilder()
1361
1350
  .ep(commonParams)
1362
1351
  .m(function (Command, cs, config, o) {
1363
- return [
1364
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1365
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1366
- ];
1352
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
1353
  })
1368
1354
  .s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {})
1369
1355
  .n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
1370
- .f(void 0, void 0)
1371
- .ser(se_GetCertificateAuthorityCertificateCommand)
1372
- .de(de_GetCertificateAuthorityCertificateCommand)
1356
+ .sc(GetCertificateAuthorityCertificate)
1373
1357
  .build() {
1374
1358
  }
1375
1359
 
@@ -1377,16 +1361,11 @@ class GetCertificateAuthorityCsrCommand extends smithyClient.Command
1377
1361
  .classBuilder()
1378
1362
  .ep(commonParams)
1379
1363
  .m(function (Command, cs, config, o) {
1380
- return [
1381
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1382
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1383
- ];
1364
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1384
1365
  })
1385
1366
  .s("ACMPrivateCA", "GetCertificateAuthorityCsr", {})
1386
1367
  .n("ACMPCAClient", "GetCertificateAuthorityCsrCommand")
1387
- .f(void 0, void 0)
1388
- .ser(se_GetCertificateAuthorityCsrCommand)
1389
- .de(de_GetCertificateAuthorityCsrCommand)
1368
+ .sc(GetCertificateAuthorityCsr)
1390
1369
  .build() {
1391
1370
  }
1392
1371
 
@@ -1394,16 +1373,11 @@ class GetCertificateCommand extends smithyClient.Command
1394
1373
  .classBuilder()
1395
1374
  .ep(commonParams)
1396
1375
  .m(function (Command, cs, config, o) {
1397
- return [
1398
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1399
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1400
- ];
1376
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1401
1377
  })
1402
1378
  .s("ACMPrivateCA", "GetCertificate", {})
1403
1379
  .n("ACMPCAClient", "GetCertificateCommand")
1404
- .f(void 0, void 0)
1405
- .ser(se_GetCertificateCommand)
1406
- .de(de_GetCertificateCommand)
1380
+ .sc(GetCertificate)
1407
1381
  .build() {
1408
1382
  }
1409
1383
 
@@ -1411,16 +1385,11 @@ class GetPolicyCommand extends smithyClient.Command
1411
1385
  .classBuilder()
1412
1386
  .ep(commonParams)
1413
1387
  .m(function (Command, cs, config, o) {
1414
- return [
1415
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1416
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1417
- ];
1388
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
1389
  })
1419
1390
  .s("ACMPrivateCA", "GetPolicy", {})
1420
1391
  .n("ACMPCAClient", "GetPolicyCommand")
1421
- .f(void 0, void 0)
1422
- .ser(se_GetPolicyCommand)
1423
- .de(de_GetPolicyCommand)
1392
+ .sc(GetPolicy)
1424
1393
  .build() {
1425
1394
  }
1426
1395
 
@@ -1428,16 +1397,11 @@ class ImportCertificateAuthorityCertificateCommand extends smithyClient.Command
1428
1397
  .classBuilder()
1429
1398
  .ep(commonParams)
1430
1399
  .m(function (Command, cs, config, o) {
1431
- return [
1432
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1433
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1434
- ];
1400
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1435
1401
  })
1436
1402
  .s("ACMPrivateCA", "ImportCertificateAuthorityCertificate", {})
1437
1403
  .n("ACMPCAClient", "ImportCertificateAuthorityCertificateCommand")
1438
- .f(void 0, void 0)
1439
- .ser(se_ImportCertificateAuthorityCertificateCommand)
1440
- .de(de_ImportCertificateAuthorityCertificateCommand)
1404
+ .sc(ImportCertificateAuthorityCertificate)
1441
1405
  .build() {
1442
1406
  }
1443
1407
 
@@ -1445,16 +1409,11 @@ class IssueCertificateCommand extends smithyClient.Command
1445
1409
  .classBuilder()
1446
1410
  .ep(commonParams)
1447
1411
  .m(function (Command, cs, config, o) {
1448
- return [
1449
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1450
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1451
- ];
1412
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1452
1413
  })
1453
1414
  .s("ACMPrivateCA", "IssueCertificate", {})
1454
1415
  .n("ACMPCAClient", "IssueCertificateCommand")
1455
- .f(void 0, void 0)
1456
- .ser(se_IssueCertificateCommand)
1457
- .de(de_IssueCertificateCommand)
1416
+ .sc(IssueCertificate)
1458
1417
  .build() {
1459
1418
  }
1460
1419
 
@@ -1462,16 +1421,11 @@ class ListCertificateAuthoritiesCommand extends smithyClient.Command
1462
1421
  .classBuilder()
1463
1422
  .ep(commonParams)
1464
1423
  .m(function (Command, cs, config, o) {
1465
- return [
1466
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1467
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1468
- ];
1424
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1469
1425
  })
1470
1426
  .s("ACMPrivateCA", "ListCertificateAuthorities", {})
1471
1427
  .n("ACMPCAClient", "ListCertificateAuthoritiesCommand")
1472
- .f(void 0, void 0)
1473
- .ser(se_ListCertificateAuthoritiesCommand)
1474
- .de(de_ListCertificateAuthoritiesCommand)
1428
+ .sc(ListCertificateAuthorities)
1475
1429
  .build() {
1476
1430
  }
1477
1431
 
@@ -1479,16 +1433,11 @@ class ListPermissionsCommand extends smithyClient.Command
1479
1433
  .classBuilder()
1480
1434
  .ep(commonParams)
1481
1435
  .m(function (Command, cs, config, o) {
1482
- return [
1483
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1484
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1485
- ];
1436
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1486
1437
  })
1487
1438
  .s("ACMPrivateCA", "ListPermissions", {})
1488
1439
  .n("ACMPCAClient", "ListPermissionsCommand")
1489
- .f(void 0, void 0)
1490
- .ser(se_ListPermissionsCommand)
1491
- .de(de_ListPermissionsCommand)
1440
+ .sc(ListPermissions)
1492
1441
  .build() {
1493
1442
  }
1494
1443
 
@@ -1496,16 +1445,11 @@ class ListTagsCommand extends smithyClient.Command
1496
1445
  .classBuilder()
1497
1446
  .ep(commonParams)
1498
1447
  .m(function (Command, cs, config, o) {
1499
- return [
1500
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1501
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1502
- ];
1448
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1503
1449
  })
1504
1450
  .s("ACMPrivateCA", "ListTags", {})
1505
1451
  .n("ACMPCAClient", "ListTagsCommand")
1506
- .f(void 0, void 0)
1507
- .ser(se_ListTagsCommand)
1508
- .de(de_ListTagsCommand)
1452
+ .sc(ListTags)
1509
1453
  .build() {
1510
1454
  }
1511
1455
 
@@ -1513,16 +1457,11 @@ class PutPolicyCommand extends smithyClient.Command
1513
1457
  .classBuilder()
1514
1458
  .ep(commonParams)
1515
1459
  .m(function (Command, cs, config, o) {
1516
- return [
1517
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1518
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1519
- ];
1460
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1520
1461
  })
1521
1462
  .s("ACMPrivateCA", "PutPolicy", {})
1522
1463
  .n("ACMPCAClient", "PutPolicyCommand")
1523
- .f(void 0, void 0)
1524
- .ser(se_PutPolicyCommand)
1525
- .de(de_PutPolicyCommand)
1464
+ .sc(PutPolicy)
1526
1465
  .build() {
1527
1466
  }
1528
1467
 
@@ -1530,16 +1469,11 @@ class RestoreCertificateAuthorityCommand extends smithyClient.Command
1530
1469
  .classBuilder()
1531
1470
  .ep(commonParams)
1532
1471
  .m(function (Command, cs, config, o) {
1533
- return [
1534
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1535
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1536
- ];
1472
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1537
1473
  })
1538
1474
  .s("ACMPrivateCA", "RestoreCertificateAuthority", {})
1539
1475
  .n("ACMPCAClient", "RestoreCertificateAuthorityCommand")
1540
- .f(void 0, void 0)
1541
- .ser(se_RestoreCertificateAuthorityCommand)
1542
- .de(de_RestoreCertificateAuthorityCommand)
1476
+ .sc(RestoreCertificateAuthority)
1543
1477
  .build() {
1544
1478
  }
1545
1479
 
@@ -1547,16 +1481,11 @@ class RevokeCertificateCommand extends smithyClient.Command
1547
1481
  .classBuilder()
1548
1482
  .ep(commonParams)
1549
1483
  .m(function (Command, cs, config, o) {
1550
- return [
1551
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1552
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1553
- ];
1484
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1554
1485
  })
1555
1486
  .s("ACMPrivateCA", "RevokeCertificate", {})
1556
1487
  .n("ACMPCAClient", "RevokeCertificateCommand")
1557
- .f(void 0, void 0)
1558
- .ser(se_RevokeCertificateCommand)
1559
- .de(de_RevokeCertificateCommand)
1488
+ .sc(RevokeCertificate)
1560
1489
  .build() {
1561
1490
  }
1562
1491
 
@@ -1564,16 +1493,11 @@ class TagCertificateAuthorityCommand extends smithyClient.Command
1564
1493
  .classBuilder()
1565
1494
  .ep(commonParams)
1566
1495
  .m(function (Command, cs, config, o) {
1567
- return [
1568
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1569
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1570
- ];
1496
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1571
1497
  })
1572
1498
  .s("ACMPrivateCA", "TagCertificateAuthority", {})
1573
1499
  .n("ACMPCAClient", "TagCertificateAuthorityCommand")
1574
- .f(void 0, void 0)
1575
- .ser(se_TagCertificateAuthorityCommand)
1576
- .de(de_TagCertificateAuthorityCommand)
1500
+ .sc(TagCertificateAuthority)
1577
1501
  .build() {
1578
1502
  }
1579
1503
 
@@ -1581,16 +1505,11 @@ class UntagCertificateAuthorityCommand extends smithyClient.Command
1581
1505
  .classBuilder()
1582
1506
  .ep(commonParams)
1583
1507
  .m(function (Command, cs, config, o) {
1584
- return [
1585
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1586
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1587
- ];
1508
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1588
1509
  })
1589
1510
  .s("ACMPrivateCA", "UntagCertificateAuthority", {})
1590
1511
  .n("ACMPCAClient", "UntagCertificateAuthorityCommand")
1591
- .f(void 0, void 0)
1592
- .ser(se_UntagCertificateAuthorityCommand)
1593
- .de(de_UntagCertificateAuthorityCommand)
1512
+ .sc(UntagCertificateAuthority)
1594
1513
  .build() {
1595
1514
  }
1596
1515
 
@@ -1598,16 +1517,11 @@ class UpdateCertificateAuthorityCommand extends smithyClient.Command
1598
1517
  .classBuilder()
1599
1518
  .ep(commonParams)
1600
1519
  .m(function (Command, cs, config, o) {
1601
- return [
1602
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1603
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1604
- ];
1520
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
1521
  })
1606
1522
  .s("ACMPrivateCA", "UpdateCertificateAuthority", {})
1607
1523
  .n("ACMPCAClient", "UpdateCertificateAuthorityCommand")
1608
- .f(void 0, void 0)
1609
- .ser(se_UpdateCertificateAuthorityCommand)
1610
- .de(de_UpdateCertificateAuthorityCommand)
1524
+ .sc(UpdateCertificateAuthority)
1611
1525
  .build() {
1612
1526
  }
1613
1527
 
@@ -1754,7 +1668,7 @@ Object.defineProperty(exports, "__Client", {
1754
1668
  });
1755
1669
  exports.ACMPCA = ACMPCA;
1756
1670
  exports.ACMPCAClient = ACMPCAClient;
1757
- exports.ACMPCAServiceException = ACMPCAServiceException;
1671
+ exports.ACMPCAServiceException = ACMPCAServiceException$1;
1758
1672
  exports.AccessMethodType = AccessMethodType;
1759
1673
  exports.ActionType = ActionType;
1760
1674
  exports.AuditReportResponseFormat = AuditReportResponseFormat;
@@ -1762,8 +1676,8 @@ exports.AuditReportStatus = AuditReportStatus;
1762
1676
  exports.CertificateAuthorityStatus = CertificateAuthorityStatus;
1763
1677
  exports.CertificateAuthorityType = CertificateAuthorityType;
1764
1678
  exports.CertificateAuthorityUsageMode = CertificateAuthorityUsageMode;
1765
- exports.CertificateMismatchException = CertificateMismatchException;
1766
- exports.ConcurrentModificationException = ConcurrentModificationException;
1679
+ exports.CertificateMismatchException = CertificateMismatchException$1;
1680
+ exports.ConcurrentModificationException = ConcurrentModificationException$1;
1767
1681
  exports.CreateCertificateAuthorityAuditReportCommand = CreateCertificateAuthorityAuditReportCommand;
1768
1682
  exports.CreateCertificateAuthorityCommand = CreateCertificateAuthorityCommand;
1769
1683
  exports.CreatePermissionCommand = CreatePermissionCommand;
@@ -1780,30 +1694,30 @@ exports.GetCertificateAuthorityCsrCommand = GetCertificateAuthorityCsrCommand;
1780
1694
  exports.GetCertificateCommand = GetCertificateCommand;
1781
1695
  exports.GetPolicyCommand = GetPolicyCommand;
1782
1696
  exports.ImportCertificateAuthorityCertificateCommand = ImportCertificateAuthorityCertificateCommand;
1783
- exports.InvalidArgsException = InvalidArgsException;
1784
- exports.InvalidArnException = InvalidArnException;
1785
- exports.InvalidNextTokenException = InvalidNextTokenException;
1786
- exports.InvalidPolicyException = InvalidPolicyException;
1787
- exports.InvalidRequestException = InvalidRequestException;
1788
- exports.InvalidStateException = InvalidStateException;
1789
- exports.InvalidTagException = InvalidTagException;
1697
+ exports.InvalidArgsException = InvalidArgsException$1;
1698
+ exports.InvalidArnException = InvalidArnException$1;
1699
+ exports.InvalidNextTokenException = InvalidNextTokenException$1;
1700
+ exports.InvalidPolicyException = InvalidPolicyException$1;
1701
+ exports.InvalidRequestException = InvalidRequestException$1;
1702
+ exports.InvalidStateException = InvalidStateException$1;
1703
+ exports.InvalidTagException = InvalidTagException$1;
1790
1704
  exports.IssueCertificateCommand = IssueCertificateCommand;
1791
1705
  exports.KeyAlgorithm = KeyAlgorithm;
1792
1706
  exports.KeyStorageSecurityStandard = KeyStorageSecurityStandard;
1793
- exports.LimitExceededException = LimitExceededException;
1707
+ exports.LimitExceededException = LimitExceededException$1;
1794
1708
  exports.ListCertificateAuthoritiesCommand = ListCertificateAuthoritiesCommand;
1795
1709
  exports.ListPermissionsCommand = ListPermissionsCommand;
1796
1710
  exports.ListTagsCommand = ListTagsCommand;
1797
- exports.LockoutPreventedException = LockoutPreventedException;
1798
- exports.MalformedCSRException = MalformedCSRException;
1799
- exports.MalformedCertificateException = MalformedCertificateException;
1800
- exports.PermissionAlreadyExistsException = PermissionAlreadyExistsException;
1711
+ exports.LockoutPreventedException = LockoutPreventedException$1;
1712
+ exports.MalformedCSRException = MalformedCSRException$1;
1713
+ exports.MalformedCertificateException = MalformedCertificateException$1;
1714
+ exports.PermissionAlreadyExistsException = PermissionAlreadyExistsException$1;
1801
1715
  exports.PolicyQualifierId = PolicyQualifierId;
1802
1716
  exports.PutPolicyCommand = PutPolicyCommand;
1803
- exports.RequestAlreadyProcessedException = RequestAlreadyProcessedException;
1804
- exports.RequestFailedException = RequestFailedException;
1805
- exports.RequestInProgressException = RequestInProgressException;
1806
- exports.ResourceNotFoundException = ResourceNotFoundException;
1717
+ exports.RequestAlreadyProcessedException = RequestAlreadyProcessedException$1;
1718
+ exports.RequestFailedException = RequestFailedException$1;
1719
+ exports.RequestInProgressException = RequestInProgressException$1;
1720
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1807
1721
  exports.ResourceOwner = ResourceOwner;
1808
1722
  exports.RestoreCertificateAuthorityCommand = RestoreCertificateAuthorityCommand;
1809
1723
  exports.RevocationReason = RevocationReason;
@@ -1811,7 +1725,7 @@ exports.RevokeCertificateCommand = RevokeCertificateCommand;
1811
1725
  exports.S3ObjectAcl = S3ObjectAcl;
1812
1726
  exports.SigningAlgorithm = SigningAlgorithm;
1813
1727
  exports.TagCertificateAuthorityCommand = TagCertificateAuthorityCommand;
1814
- exports.TooManyTagsException = TooManyTagsException;
1728
+ exports.TooManyTagsException = TooManyTagsException$1;
1815
1729
  exports.UntagCertificateAuthorityCommand = UntagCertificateAuthorityCommand;
1816
1730
  exports.UpdateCertificateAuthorityCommand = UpdateCertificateAuthorityCommand;
1817
1731
  exports.ValidityPeriodType = ValidityPeriodType;