@aws-sdk/client-pca-connector-ad 3.928.0 → 3.930.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 (49) hide show
  1. package/dist-cjs/index.js +1196 -1150
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/PcaConnectorAdClient.js +2 -0
  4. package/dist-es/commands/CreateConnectorCommand.js +3 -9
  5. package/dist-es/commands/CreateDirectoryRegistrationCommand.js +3 -9
  6. package/dist-es/commands/CreateServicePrincipalNameCommand.js +3 -9
  7. package/dist-es/commands/CreateTemplateCommand.js +3 -9
  8. package/dist-es/commands/CreateTemplateGroupAccessControlEntryCommand.js +3 -9
  9. package/dist-es/commands/DeleteConnectorCommand.js +3 -9
  10. package/dist-es/commands/DeleteDirectoryRegistrationCommand.js +3 -9
  11. package/dist-es/commands/DeleteServicePrincipalNameCommand.js +3 -9
  12. package/dist-es/commands/DeleteTemplateCommand.js +3 -9
  13. package/dist-es/commands/DeleteTemplateGroupAccessControlEntryCommand.js +3 -9
  14. package/dist-es/commands/GetConnectorCommand.js +3 -9
  15. package/dist-es/commands/GetDirectoryRegistrationCommand.js +3 -9
  16. package/dist-es/commands/GetServicePrincipalNameCommand.js +3 -9
  17. package/dist-es/commands/GetTemplateCommand.js +3 -9
  18. package/dist-es/commands/GetTemplateGroupAccessControlEntryCommand.js +3 -9
  19. package/dist-es/commands/ListConnectorsCommand.js +3 -9
  20. package/dist-es/commands/ListDirectoryRegistrationsCommand.js +3 -9
  21. package/dist-es/commands/ListServicePrincipalNamesCommand.js +3 -9
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  23. package/dist-es/commands/ListTemplateGroupAccessControlEntriesCommand.js +3 -9
  24. package/dist-es/commands/ListTemplatesCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -9
  26. package/dist-es/commands/UntagResourceCommand.js +3 -9
  27. package/dist-es/commands/UpdateTemplateCommand.js +3 -9
  28. package/dist-es/commands/UpdateTemplateGroupAccessControlEntryCommand.js +3 -9
  29. package/dist-es/models/models_0.js +0 -32
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-es/schemas/schemas_0.js +1132 -0
  32. package/dist-types/PcaConnectorAdClient.d.ts +10 -1
  33. package/dist-types/models/models_0.d.ts +12 -3
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  35. package/dist-types/runtimeConfig.d.ts +1 -0
  36. package/dist-types/runtimeConfig.native.d.ts +1 -0
  37. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  38. package/dist-types/schemas/schemas_0.d.ts +128 -0
  39. package/dist-types/ts3.4/PcaConnectorAdClient.d.ts +4 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +0 -3
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +133 -0
  46. package/package.json +33 -34
  47. package/dist-es/protocols/Aws_restJson1.js +0 -927
  48. package/dist-types/protocols/Aws_restJson1.d.ts +0 -227
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -305
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,9 +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
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class PcaConnectorAdClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,18 +110,18 @@ class PcaConnectorAdClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class PcaConnectorAdServiceException extends smithyClient.ServiceException {
113
+ let PcaConnectorAdServiceException$1 = class PcaConnectorAdServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, PcaConnectorAdServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
120
  const AccessRight = {
122
121
  ALLOW: "ALLOW",
123
122
  DENY: "DENY",
124
123
  };
125
- class AccessDeniedException extends PcaConnectorAdServiceException {
124
+ let AccessDeniedException$1 = class AccessDeniedException extends PcaConnectorAdServiceException$1 {
126
125
  name = "AccessDeniedException";
127
126
  $fault = "client";
128
127
  Message;
@@ -135,7 +134,7 @@ class AccessDeniedException extends PcaConnectorAdServiceException {
135
134
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
136
135
  this.Message = opts.Message;
137
136
  }
138
- }
137
+ };
139
138
  const ApplicationPolicyType = {
140
139
  ALL_APPLICATION_POLICIES: "ALL_APPLICATION_POLICIES",
141
140
  ANY_PURPOSE: "ANY_PURPOSE",
@@ -205,16 +204,6 @@ const ApplicationPolicyType = {
205
204
  WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT: "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT",
206
205
  WINDOWS_UPDATE: "WINDOWS_UPDATE",
207
206
  };
208
- exports.ApplicationPolicy = void 0;
209
- (function (ApplicationPolicy) {
210
- ApplicationPolicy.visit = (value, visitor) => {
211
- if (value.PolicyType !== undefined)
212
- return visitor.PolicyType(value.PolicyType);
213
- if (value.PolicyObjectIdentifier !== undefined)
214
- return visitor.PolicyObjectIdentifier(value.PolicyObjectIdentifier);
215
- return visitor._(value.$unknown[0], value.$unknown[1]);
216
- };
217
- })(exports.ApplicationPolicy || (exports.ApplicationPolicy = {}));
218
207
  const ValidityPeriodType = {
219
208
  DAYS: "DAYS",
220
209
  HOURS: "HOURS",
@@ -242,7 +231,7 @@ const ClientCompatibilityV4 = {
242
231
  WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
243
232
  WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016",
244
233
  };
245
- class ConflictException extends PcaConnectorAdServiceException {
234
+ let ConflictException$1 = class ConflictException extends PcaConnectorAdServiceException$1 {
246
235
  name = "ConflictException";
247
236
  $fault = "client";
248
237
  Message;
@@ -259,7 +248,7 @@ class ConflictException extends PcaConnectorAdServiceException {
259
248
  this.ResourceId = opts.ResourceId;
260
249
  this.ResourceType = opts.ResourceType;
261
250
  }
262
- }
251
+ };
263
252
  const ConnectorStatus = {
264
253
  ACTIVE: "ACTIVE",
265
254
  CREATING: "CREATING",
@@ -283,7 +272,7 @@ const IpAddressType = {
283
272
  DUALSTACK: "DUALSTACK",
284
273
  IPV4: "IPV4",
285
274
  };
286
- class InternalServerException extends PcaConnectorAdServiceException {
275
+ let InternalServerException$1 = class InternalServerException extends PcaConnectorAdServiceException$1 {
287
276
  name = "InternalServerException";
288
277
  $fault = "server";
289
278
  $retryable = {};
@@ -297,8 +286,8 @@ class InternalServerException extends PcaConnectorAdServiceException {
297
286
  Object.setPrototypeOf(this, InternalServerException.prototype);
298
287
  this.Message = opts.Message;
299
288
  }
300
- }
301
- class ResourceNotFoundException extends PcaConnectorAdServiceException {
289
+ };
290
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends PcaConnectorAdServiceException$1 {
302
291
  name = "ResourceNotFoundException";
303
292
  $fault = "client";
304
293
  Message;
@@ -315,8 +304,8 @@ class ResourceNotFoundException extends PcaConnectorAdServiceException {
315
304
  this.ResourceId = opts.ResourceId;
316
305
  this.ResourceType = opts.ResourceType;
317
306
  }
318
- }
319
- class ServiceQuotaExceededException extends PcaConnectorAdServiceException {
307
+ };
308
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends PcaConnectorAdServiceException$1 {
320
309
  name = "ServiceQuotaExceededException";
321
310
  $fault = "client";
322
311
  Message;
@@ -337,8 +326,8 @@ class ServiceQuotaExceededException extends PcaConnectorAdServiceException {
337
326
  this.ServiceCode = opts.ServiceCode;
338
327
  this.QuotaCode = opts.QuotaCode;
339
328
  }
340
- }
341
- class ThrottlingException extends PcaConnectorAdServiceException {
329
+ };
330
+ let ThrottlingException$1 = class ThrottlingException extends PcaConnectorAdServiceException$1 {
342
331
  name = "ThrottlingException";
343
332
  $fault = "client";
344
333
  $retryable = {
@@ -358,7 +347,7 @@ class ThrottlingException extends PcaConnectorAdServiceException {
358
347
  this.ServiceCode = opts.ServiceCode;
359
348
  this.QuotaCode = opts.QuotaCode;
360
349
  }
361
- }
350
+ };
362
351
  const ValidationExceptionReason = {
363
352
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
364
353
  INVALID_CA_SUBJECT: "INVALID_CA_SUBJECT",
@@ -370,7 +359,7 @@ const ValidationExceptionReason = {
370
359
  OTHER: "OTHER",
371
360
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
372
361
  };
373
- class ValidationException extends PcaConnectorAdServiceException {
362
+ let ValidationException$1 = class ValidationException extends PcaConnectorAdServiceException$1 {
374
363
  name = "ValidationException";
375
364
  $fault = "client";
376
365
  Message;
@@ -385,7 +374,7 @@ class ValidationException extends PcaConnectorAdServiceException {
385
374
  this.Message = opts.Message;
386
375
  this.Reason = opts.Reason;
387
376
  }
388
- }
377
+ };
389
378
  const KeySpec = {
390
379
  KEY_EXCHANGE: "KEY_EXCHANGE",
391
380
  SIGNATURE: "SIGNATURE",
@@ -404,28 +393,6 @@ const PrivateKeyAlgorithm = {
404
393
  const KeyUsagePropertyType = {
405
394
  ALL: "ALL",
406
395
  };
407
- exports.KeyUsageProperty = void 0;
408
- (function (KeyUsageProperty) {
409
- KeyUsageProperty.visit = (value, visitor) => {
410
- if (value.PropertyType !== undefined)
411
- return visitor.PropertyType(value.PropertyType);
412
- if (value.PropertyFlags !== undefined)
413
- return visitor.PropertyFlags(value.PropertyFlags);
414
- return visitor._(value.$unknown[0], value.$unknown[1]);
415
- };
416
- })(exports.KeyUsageProperty || (exports.KeyUsageProperty = {}));
417
- exports.TemplateDefinition = void 0;
418
- (function (TemplateDefinition) {
419
- TemplateDefinition.visit = (value, visitor) => {
420
- if (value.TemplateV2 !== undefined)
421
- return visitor.TemplateV2(value.TemplateV2);
422
- if (value.TemplateV3 !== undefined)
423
- return visitor.TemplateV3(value.TemplateV3);
424
- if (value.TemplateV4 !== undefined)
425
- return visitor.TemplateV4(value.TemplateV4);
426
- return visitor._(value.$unknown[0], value.$unknown[1]);
427
- };
428
- })(exports.TemplateDefinition || (exports.TemplateDefinition = {}));
429
396
  const DirectoryRegistrationStatus = {
430
397
  ACTIVE: "ACTIVE",
431
398
  CREATING: "CREATING",
@@ -459,941 +426,1140 @@ const TemplateStatus = {
459
426
  DELETING: "DELETING",
460
427
  };
461
428
 
462
- const se_CreateConnectorCommand = async (input, context) => {
463
- const b = core.requestBuilder(input, context);
464
- const headers = {
465
- "content-type": "application/json",
466
- };
467
- b.bp("/connectors");
468
- let body;
469
- body = JSON.stringify(smithyClient.take(input, {
470
- CertificateAuthorityArn: [],
471
- ClientToken: [true, (_) => _ ?? uuid.v4()],
472
- DirectoryId: [],
473
- Tags: (_) => smithyClient._json(_),
474
- VpcInformation: (_) => smithyClient._json(_),
475
- }));
476
- b.m("POST").h(headers).b(body);
477
- return b.build();
478
- };
479
- const se_CreateDirectoryRegistrationCommand = async (input, context) => {
480
- const b = core.requestBuilder(input, context);
481
- const headers = {
482
- "content-type": "application/json",
483
- };
484
- b.bp("/directoryRegistrations");
485
- let body;
486
- body = JSON.stringify(smithyClient.take(input, {
487
- ClientToken: [true, (_) => _ ?? uuid.v4()],
488
- DirectoryId: [],
489
- Tags: (_) => smithyClient._json(_),
490
- }));
491
- b.m("POST").h(headers).b(body);
492
- return b.build();
493
- };
494
- const se_CreateServicePrincipalNameCommand = async (input, context) => {
495
- const b = core.requestBuilder(input, context);
496
- const headers = {
497
- "content-type": "application/json",
498
- };
499
- b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
500
- b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
501
- b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
502
- let body;
503
- body = JSON.stringify(smithyClient.take(input, {
504
- ClientToken: [true, (_) => _ ?? uuid.v4()],
505
- }));
506
- b.m("POST").h(headers).b(body);
507
- return b.build();
508
- };
509
- const se_CreateTemplateCommand = async (input, context) => {
510
- const b = core.requestBuilder(input, context);
511
- const headers = {
512
- "content-type": "application/json",
513
- };
514
- b.bp("/templates");
515
- let body;
516
- body = JSON.stringify(smithyClient.take(input, {
517
- ClientToken: [true, (_) => _ ?? uuid.v4()],
518
- ConnectorArn: [],
519
- Definition: (_) => smithyClient._json(_),
520
- Name: [],
521
- Tags: (_) => smithyClient._json(_),
522
- }));
523
- b.m("POST").h(headers).b(body);
524
- return b.build();
525
- };
526
- const se_CreateTemplateGroupAccessControlEntryCommand = async (input, context) => {
527
- const b = core.requestBuilder(input, context);
528
- const headers = {
529
- "content-type": "application/json",
530
- };
531
- b.bp("/templates/{TemplateArn}/accessControlEntries");
532
- b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
533
- let body;
534
- body = JSON.stringify(smithyClient.take(input, {
535
- AccessRights: (_) => smithyClient._json(_),
536
- ClientToken: [true, (_) => _ ?? uuid.v4()],
537
- GroupDisplayName: [],
538
- GroupSecurityIdentifier: [],
539
- }));
540
- b.m("POST").h(headers).b(body);
541
- return b.build();
542
- };
543
- const se_DeleteConnectorCommand = async (input, context) => {
544
- const b = core.requestBuilder(input, context);
545
- const headers = {};
546
- b.bp("/connectors/{ConnectorArn}");
547
- b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
548
- let body;
549
- b.m("DELETE").h(headers).b(body);
550
- return b.build();
551
- };
552
- const se_DeleteDirectoryRegistrationCommand = async (input, context) => {
553
- const b = core.requestBuilder(input, context);
554
- const headers = {};
555
- b.bp("/directoryRegistrations/{DirectoryRegistrationArn}");
556
- b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
557
- let body;
558
- b.m("DELETE").h(headers).b(body);
559
- return b.build();
560
- };
561
- const se_DeleteServicePrincipalNameCommand = async (input, context) => {
562
- const b = core.requestBuilder(input, context);
563
- const headers = {};
564
- b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
565
- b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
566
- b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
567
- let body;
568
- b.m("DELETE").h(headers).b(body);
569
- return b.build();
570
- };
571
- const se_DeleteTemplateCommand = async (input, context) => {
572
- const b = core.requestBuilder(input, context);
573
- const headers = {};
574
- b.bp("/templates/{TemplateArn}");
575
- b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
576
- let body;
577
- b.m("DELETE").h(headers).b(body);
578
- return b.build();
579
- };
580
- const se_DeleteTemplateGroupAccessControlEntryCommand = async (input, context) => {
581
- const b = core.requestBuilder(input, context);
582
- const headers = {};
583
- b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
584
- b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
585
- b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
586
- let body;
587
- b.m("DELETE").h(headers).b(body);
588
- return b.build();
589
- };
590
- const se_GetConnectorCommand = async (input, context) => {
591
- const b = core.requestBuilder(input, context);
592
- const headers = {};
593
- b.bp("/connectors/{ConnectorArn}");
594
- b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
595
- let body;
596
- b.m("GET").h(headers).b(body);
597
- return b.build();
598
- };
599
- const se_GetDirectoryRegistrationCommand = async (input, context) => {
600
- const b = core.requestBuilder(input, context);
601
- const headers = {};
602
- b.bp("/directoryRegistrations/{DirectoryRegistrationArn}");
603
- b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
604
- let body;
605
- b.m("GET").h(headers).b(body);
606
- return b.build();
607
- };
608
- const se_GetServicePrincipalNameCommand = async (input, context) => {
609
- const b = core.requestBuilder(input, context);
610
- const headers = {};
611
- b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
612
- b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
613
- b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
614
- let body;
615
- b.m("GET").h(headers).b(body);
616
- return b.build();
617
- };
618
- const se_GetTemplateCommand = async (input, context) => {
619
- const b = core.requestBuilder(input, context);
620
- const headers = {};
621
- b.bp("/templates/{TemplateArn}");
622
- b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
623
- let body;
624
- b.m("GET").h(headers).b(body);
625
- return b.build();
626
- };
627
- const se_GetTemplateGroupAccessControlEntryCommand = async (input, context) => {
628
- const b = core.requestBuilder(input, context);
629
- const headers = {};
630
- b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
631
- b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
632
- b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
633
- let body;
634
- b.m("GET").h(headers).b(body);
635
- return b.build();
636
- };
637
- const se_ListConnectorsCommand = async (input, context) => {
638
- const b = core.requestBuilder(input, context);
639
- const headers = {};
640
- b.bp("/connectors");
641
- const query = smithyClient.map({
642
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
643
- [_NT]: [, input[_NT]],
644
- });
645
- let body;
646
- b.m("GET").h(headers).q(query).b(body);
647
- return b.build();
648
- };
649
- const se_ListDirectoryRegistrationsCommand = async (input, context) => {
650
- const b = core.requestBuilder(input, context);
651
- const headers = {};
652
- b.bp("/directoryRegistrations");
653
- const query = smithyClient.map({
654
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
655
- [_NT]: [, input[_NT]],
656
- });
657
- let body;
658
- b.m("GET").h(headers).q(query).b(body);
659
- return b.build();
660
- };
661
- const se_ListServicePrincipalNamesCommand = async (input, context) => {
662
- const b = core.requestBuilder(input, context);
663
- const headers = {};
664
- b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames");
665
- b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
666
- const query = smithyClient.map({
667
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
668
- [_NT]: [, input[_NT]],
669
- });
670
- let body;
671
- b.m("GET").h(headers).q(query).b(body);
672
- return b.build();
673
- };
674
- const se_ListTagsForResourceCommand = async (input, context) => {
675
- const b = core.requestBuilder(input, context);
676
- const headers = {};
677
- b.bp("/tags/{ResourceArn}");
678
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
679
- let body;
680
- b.m("GET").h(headers).b(body);
681
- return b.build();
682
- };
683
- const se_ListTemplateGroupAccessControlEntriesCommand = async (input, context) => {
684
- const b = core.requestBuilder(input, context);
685
- const headers = {};
686
- b.bp("/templates/{TemplateArn}/accessControlEntries");
687
- b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
688
- const query = smithyClient.map({
689
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
690
- [_NT]: [, input[_NT]],
691
- });
692
- let body;
693
- b.m("GET").h(headers).q(query).b(body);
694
- return b.build();
695
- };
696
- const se_ListTemplatesCommand = async (input, context) => {
697
- const b = core.requestBuilder(input, context);
698
- const headers = {};
699
- b.bp("/templates");
700
- const query = smithyClient.map({
701
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
702
- [_NT]: [, input[_NT]],
703
- [_CA]: [, smithyClient.expectNonNull(input[_CA], `ConnectorArn`)],
704
- });
705
- let body;
706
- b.m("GET").h(headers).q(query).b(body);
707
- return b.build();
708
- };
709
- const se_TagResourceCommand = async (input, context) => {
710
- const b = core.requestBuilder(input, context);
711
- const headers = {
712
- "content-type": "application/json",
713
- };
714
- b.bp("/tags/{ResourceArn}");
715
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
716
- let body;
717
- body = JSON.stringify(smithyClient.take(input, {
718
- Tags: (_) => smithyClient._json(_),
719
- }));
720
- b.m("POST").h(headers).b(body);
721
- return b.build();
722
- };
723
- const se_UntagResourceCommand = async (input, context) => {
724
- const b = core.requestBuilder(input, context);
725
- const headers = {};
726
- b.bp("/tags/{ResourceArn}");
727
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
728
- const query = smithyClient.map({
729
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
730
- });
731
- let body;
732
- b.m("DELETE").h(headers).q(query).b(body);
733
- return b.build();
734
- };
735
- const se_UpdateTemplateCommand = async (input, context) => {
736
- const b = core.requestBuilder(input, context);
737
- const headers = {
738
- "content-type": "application/json",
739
- };
740
- b.bp("/templates/{TemplateArn}");
741
- b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
742
- let body;
743
- body = JSON.stringify(smithyClient.take(input, {
744
- Definition: (_) => smithyClient._json(_),
745
- ReenrollAllCertificateHolders: [],
746
- }));
747
- b.m("PATCH").h(headers).b(body);
748
- return b.build();
749
- };
750
- const se_UpdateTemplateGroupAccessControlEntryCommand = async (input, context) => {
751
- const b = core.requestBuilder(input, context);
752
- const headers = {
753
- "content-type": "application/json",
754
- };
755
- b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
756
- b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
757
- b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
758
- let body;
759
- body = JSON.stringify(smithyClient.take(input, {
760
- AccessRights: (_) => smithyClient._json(_),
761
- GroupDisplayName: [],
762
- }));
763
- b.m("PATCH").h(headers).b(body);
764
- return b.build();
765
- };
766
- const de_CreateConnectorCommand = async (output, context) => {
767
- if (output.statusCode !== 202 && output.statusCode >= 300) {
768
- return de_CommandError(output, context);
769
- }
770
- const contents = smithyClient.map({
771
- $metadata: deserializeMetadata(output),
772
- });
773
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
774
- const doc = smithyClient.take(data, {
775
- ConnectorArn: smithyClient.expectString,
776
- });
777
- Object.assign(contents, doc);
778
- return contents;
779
- };
780
- const de_CreateDirectoryRegistrationCommand = async (output, context) => {
781
- if (output.statusCode !== 202 && output.statusCode >= 300) {
782
- return de_CommandError(output, context);
783
- }
784
- const contents = smithyClient.map({
785
- $metadata: deserializeMetadata(output),
786
- });
787
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
788
- const doc = smithyClient.take(data, {
789
- DirectoryRegistrationArn: smithyClient.expectString,
790
- });
791
- Object.assign(contents, doc);
792
- return contents;
793
- };
794
- const de_CreateServicePrincipalNameCommand = async (output, context) => {
795
- if (output.statusCode !== 202 && output.statusCode >= 300) {
796
- return de_CommandError(output, context);
797
- }
798
- const contents = smithyClient.map({
799
- $metadata: deserializeMetadata(output),
800
- });
801
- await smithyClient.collectBody(output.body, context);
802
- return contents;
803
- };
804
- const de_CreateTemplateCommand = async (output, context) => {
805
- if (output.statusCode !== 200 && output.statusCode >= 300) {
806
- return de_CommandError(output, context);
807
- }
808
- const contents = smithyClient.map({
809
- $metadata: deserializeMetadata(output),
810
- });
811
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
812
- const doc = smithyClient.take(data, {
813
- TemplateArn: smithyClient.expectString,
814
- });
815
- Object.assign(contents, doc);
816
- return contents;
817
- };
818
- const de_CreateTemplateGroupAccessControlEntryCommand = async (output, context) => {
819
- if (output.statusCode !== 200 && output.statusCode >= 300) {
820
- return de_CommandError(output, context);
821
- }
822
- const contents = smithyClient.map({
823
- $metadata: deserializeMetadata(output),
824
- });
825
- await smithyClient.collectBody(output.body, context);
826
- return contents;
827
- };
828
- const de_DeleteConnectorCommand = async (output, context) => {
829
- if (output.statusCode !== 202 && output.statusCode >= 300) {
830
- return de_CommandError(output, context);
831
- }
832
- const contents = smithyClient.map({
833
- $metadata: deserializeMetadata(output),
834
- });
835
- await smithyClient.collectBody(output.body, context);
836
- return contents;
837
- };
838
- const de_DeleteDirectoryRegistrationCommand = async (output, context) => {
839
- if (output.statusCode !== 202 && output.statusCode >= 300) {
840
- return de_CommandError(output, context);
841
- }
842
- const contents = smithyClient.map({
843
- $metadata: deserializeMetadata(output),
844
- });
845
- await smithyClient.collectBody(output.body, context);
846
- return contents;
847
- };
848
- const de_DeleteServicePrincipalNameCommand = async (output, context) => {
849
- if (output.statusCode !== 202 && output.statusCode >= 300) {
850
- return de_CommandError(output, context);
851
- }
852
- const contents = smithyClient.map({
853
- $metadata: deserializeMetadata(output),
854
- });
855
- await smithyClient.collectBody(output.body, context);
856
- return contents;
857
- };
858
- const de_DeleteTemplateCommand = async (output, context) => {
859
- if (output.statusCode !== 202 && output.statusCode >= 300) {
860
- return de_CommandError(output, context);
861
- }
862
- const contents = smithyClient.map({
863
- $metadata: deserializeMetadata(output),
864
- });
865
- await smithyClient.collectBody(output.body, context);
866
- return contents;
867
- };
868
- const de_DeleteTemplateGroupAccessControlEntryCommand = async (output, context) => {
869
- if (output.statusCode !== 200 && output.statusCode >= 300) {
870
- return de_CommandError(output, context);
871
- }
872
- const contents = smithyClient.map({
873
- $metadata: deserializeMetadata(output),
874
- });
875
- await smithyClient.collectBody(output.body, context);
876
- return contents;
877
- };
878
- const de_GetConnectorCommand = async (output, context) => {
879
- if (output.statusCode !== 200 && output.statusCode >= 300) {
880
- return de_CommandError(output, context);
881
- }
882
- const contents = smithyClient.map({
883
- $metadata: deserializeMetadata(output),
884
- });
885
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
886
- const doc = smithyClient.take(data, {
887
- Connector: (_) => de_Connector(_),
888
- });
889
- Object.assign(contents, doc);
890
- return contents;
891
- };
892
- const de_GetDirectoryRegistrationCommand = async (output, context) => {
893
- if (output.statusCode !== 200 && output.statusCode >= 300) {
894
- return de_CommandError(output, context);
895
- }
896
- const contents = smithyClient.map({
897
- $metadata: deserializeMetadata(output),
898
- });
899
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
900
- const doc = smithyClient.take(data, {
901
- DirectoryRegistration: (_) => de_DirectoryRegistration(_),
902
- });
903
- Object.assign(contents, doc);
904
- return contents;
905
- };
906
- const de_GetServicePrincipalNameCommand = async (output, context) => {
907
- if (output.statusCode !== 200 && output.statusCode >= 300) {
908
- return de_CommandError(output, context);
909
- }
910
- const contents = smithyClient.map({
911
- $metadata: deserializeMetadata(output),
912
- });
913
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
914
- const doc = smithyClient.take(data, {
915
- ServicePrincipalName: (_) => de_ServicePrincipalName(_),
916
- });
917
- Object.assign(contents, doc);
918
- return contents;
919
- };
920
- const de_GetTemplateCommand = async (output, context) => {
921
- if (output.statusCode !== 200 && output.statusCode >= 300) {
922
- return de_CommandError(output, context);
923
- }
924
- const contents = smithyClient.map({
925
- $metadata: deserializeMetadata(output),
926
- });
927
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
928
- const doc = smithyClient.take(data, {
929
- Template: (_) => de_Template(_),
930
- });
931
- Object.assign(contents, doc);
932
- return contents;
933
- };
934
- const de_GetTemplateGroupAccessControlEntryCommand = async (output, context) => {
935
- if (output.statusCode !== 200 && output.statusCode >= 300) {
936
- return de_CommandError(output, context);
937
- }
938
- const contents = smithyClient.map({
939
- $metadata: deserializeMetadata(output),
940
- });
941
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
942
- const doc = smithyClient.take(data, {
943
- AccessControlEntry: (_) => de_AccessControlEntry(_),
944
- });
945
- Object.assign(contents, doc);
946
- return contents;
947
- };
948
- const de_ListConnectorsCommand = async (output, context) => {
949
- if (output.statusCode !== 200 && output.statusCode >= 300) {
950
- return de_CommandError(output, context);
951
- }
952
- const contents = smithyClient.map({
953
- $metadata: deserializeMetadata(output),
954
- });
955
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
956
- const doc = smithyClient.take(data, {
957
- Connectors: (_) => de_ConnectorList(_),
958
- NextToken: smithyClient.expectString,
959
- });
960
- Object.assign(contents, doc);
961
- return contents;
962
- };
963
- const de_ListDirectoryRegistrationsCommand = async (output, context) => {
964
- if (output.statusCode !== 200 && output.statusCode >= 300) {
965
- return de_CommandError(output, context);
966
- }
967
- const contents = smithyClient.map({
968
- $metadata: deserializeMetadata(output),
969
- });
970
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
971
- const doc = smithyClient.take(data, {
972
- DirectoryRegistrations: (_) => de_DirectoryRegistrationList(_),
973
- NextToken: smithyClient.expectString,
974
- });
975
- Object.assign(contents, doc);
976
- return contents;
977
- };
978
- const de_ListServicePrincipalNamesCommand = async (output, context) => {
979
- if (output.statusCode !== 200 && output.statusCode >= 300) {
980
- return de_CommandError(output, context);
981
- }
982
- const contents = smithyClient.map({
983
- $metadata: deserializeMetadata(output),
984
- });
985
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
986
- const doc = smithyClient.take(data, {
987
- NextToken: smithyClient.expectString,
988
- ServicePrincipalNames: (_) => de_ServicePrincipalNameList(_),
989
- });
990
- Object.assign(contents, doc);
991
- return contents;
992
- };
993
- const de_ListTagsForResourceCommand = async (output, context) => {
994
- if (output.statusCode !== 200 && output.statusCode >= 300) {
995
- return de_CommandError(output, context);
996
- }
997
- const contents = smithyClient.map({
998
- $metadata: deserializeMetadata(output),
999
- });
1000
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1001
- const doc = smithyClient.take(data, {
1002
- Tags: smithyClient._json,
1003
- });
1004
- Object.assign(contents, doc);
1005
- return contents;
1006
- };
1007
- const de_ListTemplateGroupAccessControlEntriesCommand = async (output, context) => {
1008
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1009
- return de_CommandError(output, context);
1010
- }
1011
- const contents = smithyClient.map({
1012
- $metadata: deserializeMetadata(output),
1013
- });
1014
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1015
- const doc = smithyClient.take(data, {
1016
- AccessControlEntries: (_) => de_AccessControlEntryList(_),
1017
- NextToken: smithyClient.expectString,
1018
- });
1019
- Object.assign(contents, doc);
1020
- return contents;
1021
- };
1022
- const de_ListTemplatesCommand = async (output, context) => {
1023
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1024
- return de_CommandError(output, context);
1025
- }
1026
- const contents = smithyClient.map({
1027
- $metadata: deserializeMetadata(output),
1028
- });
1029
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1030
- const doc = smithyClient.take(data, {
1031
- NextToken: smithyClient.expectString,
1032
- Templates: (_) => de_TemplateList(_),
1033
- });
1034
- Object.assign(contents, doc);
1035
- return contents;
1036
- };
1037
- const de_TagResourceCommand = async (output, context) => {
1038
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1039
- return de_CommandError(output, context);
1040
- }
1041
- const contents = smithyClient.map({
1042
- $metadata: deserializeMetadata(output),
1043
- });
1044
- await smithyClient.collectBody(output.body, context);
1045
- return contents;
1046
- };
1047
- const de_UntagResourceCommand = async (output, context) => {
1048
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1049
- return de_CommandError(output, context);
1050
- }
1051
- const contents = smithyClient.map({
1052
- $metadata: deserializeMetadata(output),
1053
- });
1054
- await smithyClient.collectBody(output.body, context);
1055
- return contents;
1056
- };
1057
- const de_UpdateTemplateCommand = async (output, context) => {
1058
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1059
- return de_CommandError(output, context);
1060
- }
1061
- const contents = smithyClient.map({
1062
- $metadata: deserializeMetadata(output),
1063
- });
1064
- await smithyClient.collectBody(output.body, context);
1065
- return contents;
1066
- };
1067
- const de_UpdateTemplateGroupAccessControlEntryCommand = async (output, context) => {
1068
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1069
- return de_CommandError(output, context);
1070
- }
1071
- const contents = smithyClient.map({
1072
- $metadata: deserializeMetadata(output),
1073
- });
1074
- await smithyClient.collectBody(output.body, context);
1075
- return contents;
1076
- };
1077
- const de_CommandError = async (output, context) => {
1078
- const parsedOutput = {
1079
- ...output,
1080
- body: await core$1.parseJsonErrorBody(output.body, context),
1081
- };
1082
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1083
- switch (errorCode) {
1084
- case "AccessDeniedException":
1085
- case "com.amazonaws.pcaconnectorad#AccessDeniedException":
1086
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1087
- case "ConflictException":
1088
- case "com.amazonaws.pcaconnectorad#ConflictException":
1089
- throw await de_ConflictExceptionRes(parsedOutput);
1090
- case "InternalServerException":
1091
- case "com.amazonaws.pcaconnectorad#InternalServerException":
1092
- throw await de_InternalServerExceptionRes(parsedOutput);
1093
- case "ResourceNotFoundException":
1094
- case "com.amazonaws.pcaconnectorad#ResourceNotFoundException":
1095
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1096
- case "ServiceQuotaExceededException":
1097
- case "com.amazonaws.pcaconnectorad#ServiceQuotaExceededException":
1098
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1099
- case "ThrottlingException":
1100
- case "com.amazonaws.pcaconnectorad#ThrottlingException":
1101
- throw await de_ThrottlingExceptionRes(parsedOutput);
1102
- case "ValidationException":
1103
- case "com.amazonaws.pcaconnectorad#ValidationException":
1104
- throw await de_ValidationExceptionRes(parsedOutput);
1105
- default:
1106
- const parsedBody = parsedOutput.body;
1107
- return throwDefaultError({
1108
- output,
1109
- parsedBody,
1110
- errorCode,
1111
- });
1112
- }
1113
- };
1114
- const throwDefaultError = smithyClient.withBaseException(PcaConnectorAdServiceException);
1115
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1116
- const contents = smithyClient.map({});
1117
- const data = parsedOutput.body;
1118
- const doc = smithyClient.take(data, {
1119
- Message: smithyClient.expectString,
1120
- });
1121
- Object.assign(contents, doc);
1122
- const exception = new AccessDeniedException({
1123
- $metadata: deserializeMetadata(parsedOutput),
1124
- ...contents,
1125
- });
1126
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1127
- };
1128
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1129
- const contents = smithyClient.map({});
1130
- const data = parsedOutput.body;
1131
- const doc = smithyClient.take(data, {
1132
- Message: smithyClient.expectString,
1133
- ResourceId: smithyClient.expectString,
1134
- ResourceType: smithyClient.expectString,
1135
- });
1136
- Object.assign(contents, doc);
1137
- const exception = new ConflictException({
1138
- $metadata: deserializeMetadata(parsedOutput),
1139
- ...contents,
1140
- });
1141
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1142
- };
1143
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1144
- const contents = smithyClient.map({});
1145
- const data = parsedOutput.body;
1146
- const doc = smithyClient.take(data, {
1147
- Message: smithyClient.expectString,
1148
- });
1149
- Object.assign(contents, doc);
1150
- const exception = new InternalServerException({
1151
- $metadata: deserializeMetadata(parsedOutput),
1152
- ...contents,
1153
- });
1154
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1155
- };
1156
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1157
- const contents = smithyClient.map({});
1158
- const data = parsedOutput.body;
1159
- const doc = smithyClient.take(data, {
1160
- Message: smithyClient.expectString,
1161
- ResourceId: smithyClient.expectString,
1162
- ResourceType: smithyClient.expectString,
1163
- });
1164
- Object.assign(contents, doc);
1165
- const exception = new ResourceNotFoundException({
1166
- $metadata: deserializeMetadata(parsedOutput),
1167
- ...contents,
1168
- });
1169
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1170
- };
1171
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1172
- const contents = smithyClient.map({});
1173
- const data = parsedOutput.body;
1174
- const doc = smithyClient.take(data, {
1175
- Message: smithyClient.expectString,
1176
- QuotaCode: smithyClient.expectString,
1177
- ResourceId: smithyClient.expectString,
1178
- ResourceType: smithyClient.expectString,
1179
- ServiceCode: smithyClient.expectString,
1180
- });
1181
- Object.assign(contents, doc);
1182
- const exception = new ServiceQuotaExceededException({
1183
- $metadata: deserializeMetadata(parsedOutput),
1184
- ...contents,
1185
- });
1186
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1187
- };
1188
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1189
- const contents = smithyClient.map({});
1190
- const data = parsedOutput.body;
1191
- const doc = smithyClient.take(data, {
1192
- Message: smithyClient.expectString,
1193
- QuotaCode: smithyClient.expectString,
1194
- ServiceCode: smithyClient.expectString,
1195
- });
1196
- Object.assign(contents, doc);
1197
- const exception = new ThrottlingException({
1198
- $metadata: deserializeMetadata(parsedOutput),
1199
- ...contents,
1200
- });
1201
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1202
- };
1203
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1204
- const contents = smithyClient.map({});
1205
- const data = parsedOutput.body;
1206
- const doc = smithyClient.take(data, {
1207
- Message: smithyClient.expectString,
1208
- Reason: smithyClient.expectString,
1209
- });
1210
- Object.assign(contents, doc);
1211
- const exception = new ValidationException({
1212
- $metadata: deserializeMetadata(parsedOutput),
1213
- ...contents,
1214
- });
1215
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1216
- };
1217
- const de_AccessControlEntry = (output, context) => {
1218
- return smithyClient.take(output, {
1219
- AccessRights: smithyClient._json,
1220
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1221
- GroupDisplayName: smithyClient.expectString,
1222
- GroupSecurityIdentifier: smithyClient.expectString,
1223
- TemplateArn: smithyClient.expectString,
1224
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1225
- });
1226
- };
1227
- const de_AccessControlEntryList = (output, context) => {
1228
- const retVal = (output || [])
1229
- .filter((e) => e != null)
1230
- .map((entry) => {
1231
- return de_AccessControlEntrySummary(entry);
1232
- });
1233
- return retVal;
1234
- };
1235
- const de_AccessControlEntrySummary = (output, context) => {
1236
- return smithyClient.take(output, {
1237
- AccessRights: smithyClient._json,
1238
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1239
- GroupDisplayName: smithyClient.expectString,
1240
- GroupSecurityIdentifier: smithyClient.expectString,
1241
- TemplateArn: smithyClient.expectString,
1242
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1243
- });
1244
- };
1245
- const de_Connector = (output, context) => {
1246
- return smithyClient.take(output, {
1247
- Arn: smithyClient.expectString,
1248
- CertificateAuthorityArn: smithyClient.expectString,
1249
- CertificateEnrollmentPolicyServerEndpoint: smithyClient.expectString,
1250
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1251
- DirectoryId: smithyClient.expectString,
1252
- Status: smithyClient.expectString,
1253
- StatusReason: smithyClient.expectString,
1254
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1255
- VpcInformation: smithyClient._json,
1256
- });
1257
- };
1258
- const de_ConnectorList = (output, context) => {
1259
- const retVal = (output || [])
1260
- .filter((e) => e != null)
1261
- .map((entry) => {
1262
- return de_ConnectorSummary(entry);
1263
- });
1264
- return retVal;
1265
- };
1266
- const de_ConnectorSummary = (output, context) => {
1267
- return smithyClient.take(output, {
1268
- Arn: smithyClient.expectString,
1269
- CertificateAuthorityArn: smithyClient.expectString,
1270
- CertificateEnrollmentPolicyServerEndpoint: smithyClient.expectString,
1271
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1272
- DirectoryId: smithyClient.expectString,
1273
- Status: smithyClient.expectString,
1274
- StatusReason: smithyClient.expectString,
1275
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1276
- VpcInformation: smithyClient._json,
1277
- });
1278
- };
1279
- const de_DirectoryRegistration = (output, context) => {
1280
- return smithyClient.take(output, {
1281
- Arn: smithyClient.expectString,
1282
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1283
- DirectoryId: smithyClient.expectString,
1284
- Status: smithyClient.expectString,
1285
- StatusReason: smithyClient.expectString,
1286
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1287
- });
1288
- };
1289
- const de_DirectoryRegistrationList = (output, context) => {
1290
- const retVal = (output || [])
1291
- .filter((e) => e != null)
1292
- .map((entry) => {
1293
- return de_DirectoryRegistrationSummary(entry);
1294
- });
1295
- return retVal;
1296
- };
1297
- const de_DirectoryRegistrationSummary = (output, context) => {
1298
- return smithyClient.take(output, {
1299
- Arn: smithyClient.expectString,
1300
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1301
- DirectoryId: smithyClient.expectString,
1302
- Status: smithyClient.expectString,
1303
- StatusReason: smithyClient.expectString,
1304
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1305
- });
1306
- };
1307
- const de_ServicePrincipalName = (output, context) => {
1308
- return smithyClient.take(output, {
1309
- ConnectorArn: smithyClient.expectString,
1310
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1311
- DirectoryRegistrationArn: smithyClient.expectString,
1312
- Status: smithyClient.expectString,
1313
- StatusReason: smithyClient.expectString,
1314
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1315
- });
1316
- };
1317
- const de_ServicePrincipalNameList = (output, context) => {
1318
- const retVal = (output || [])
1319
- .filter((e) => e != null)
1320
- .map((entry) => {
1321
- return de_ServicePrincipalNameSummary(entry);
1322
- });
1323
- return retVal;
1324
- };
1325
- const de_ServicePrincipalNameSummary = (output, context) => {
1326
- return smithyClient.take(output, {
1327
- ConnectorArn: smithyClient.expectString,
1328
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1329
- DirectoryRegistrationArn: smithyClient.expectString,
1330
- Status: smithyClient.expectString,
1331
- StatusReason: smithyClient.expectString,
1332
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1333
- });
1334
- };
1335
- const de_Template = (output, context) => {
1336
- return smithyClient.take(output, {
1337
- Arn: smithyClient.expectString,
1338
- ConnectorArn: smithyClient.expectString,
1339
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1340
- Definition: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1341
- Name: smithyClient.expectString,
1342
- ObjectIdentifier: smithyClient.expectString,
1343
- PolicySchema: smithyClient.expectInt32,
1344
- Revision: smithyClient._json,
1345
- Status: smithyClient.expectString,
1346
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1347
- });
1348
- };
1349
- const de_TemplateList = (output, context) => {
1350
- const retVal = (output || [])
1351
- .filter((e) => e != null)
1352
- .map((entry) => {
1353
- return de_TemplateSummary(entry);
1354
- });
1355
- return retVal;
1356
- };
1357
- const de_TemplateSummary = (output, context) => {
1358
- return smithyClient.take(output, {
1359
- Arn: smithyClient.expectString,
1360
- ConnectorArn: smithyClient.expectString,
1361
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1362
- Definition: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1363
- Name: smithyClient.expectString,
1364
- ObjectIdentifier: smithyClient.expectString,
1365
- PolicySchema: smithyClient.expectInt32,
1366
- Revision: smithyClient._json,
1367
- Status: smithyClient.expectString,
1368
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1369
- });
1370
- };
1371
- const deserializeMetadata = (output) => ({
1372
- httpStatusCode: output.statusCode,
1373
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1374
- extendedRequestId: output.headers["x-amz-id-2"],
1375
- cfId: output.headers["x-amz-cf-id"],
1376
- });
1377
- const _CA = "ConnectorArn";
429
+ const _A = "Arn";
430
+ const _ACE = "AccessControlEntry";
431
+ const _ACEL = "AccessControlEntryList";
432
+ const _ACES = "AccessControlEntrySummary";
433
+ const _ACEc = "AccessControlEntries";
434
+ const _ADE = "AccessDeniedException";
435
+ const _AE = "AutoEnroll";
436
+ const _AEu = "AutoEnrollment";
437
+ const _AP = "ApplicationPolicies";
438
+ const _APL = "ApplicationPolicyList";
439
+ const _APp = "ApplicationPolicy";
440
+ const _AR = "AccessRights";
441
+ const _Al = "Algorithm";
442
+ const _C = "Critical";
443
+ const _CA = "CreatedAt";
444
+ const _CAA = "CertificateAuthorityArn";
445
+ const _CAo = "ConnectorArn";
446
+ const _CC = "CreateConnector";
447
+ const _CCR = "CreateConnectorRequest";
448
+ const _CCRr = "CreateConnectorResponse";
449
+ const _CDR = "CreateDirectoryRegistration";
450
+ const _CDRR = "CreateDirectoryRegistrationRequest";
451
+ const _CDRRr = "CreateDirectoryRegistrationResponse";
452
+ const _CE = "ConflictException";
453
+ const _CEPSE = "CertificateEnrollmentPolicyServerEndpoint";
454
+ const _CL = "ConnectorList";
455
+ const _CP = "CryptoProviders";
456
+ const _CS = "ConnectorSummary";
457
+ const _CSPN = "CreateServicePrincipalName";
458
+ const _CSPNR = "CreateServicePrincipalNameRequest";
459
+ const _CT = "ClientToken";
460
+ const _CTGACE = "CreateTemplateGroupAccessControlEntry";
461
+ const _CTGACER = "CreateTemplateGroupAccessControlEntryRequest";
462
+ const _CTR = "CreateTemplateRequest";
463
+ const _CTRr = "CreateTemplateResponse";
464
+ const _CTr = "CreateTemplate";
465
+ const _CV = "CertificateValidity";
466
+ const _CVl = "ClientVersion";
467
+ const _Co = "Connector";
468
+ const _Con = "Connectors";
469
+ const _D = "Definition";
470
+ const _DC = "DeleteConnector";
471
+ const _DCR = "DeleteConnectorRequest";
472
+ const _DDR = "DeleteDirectoryRegistration";
473
+ const _DDRR = "DeleteDirectoryRegistrationRequest";
474
+ const _DE = "DataEncipherment";
475
+ const _DI = "DirectoryId";
476
+ const _DR = "DirectoryRegistration";
477
+ const _DRA = "DirectoryRegistrationArn";
478
+ const _DRL = "DirectoryRegistrationList";
479
+ const _DRS = "DirectoryRegistrationSummary";
480
+ const _DRi = "DirectoryRegistrations";
481
+ const _DS = "DigitalSignature";
482
+ const _DSPN = "DeleteServicePrincipalName";
483
+ const _DSPNR = "DeleteServicePrincipalNameRequest";
484
+ const _DT = "DeleteTemplate";
485
+ const _DTGACE = "DeleteTemplateGroupAccessControlEntry";
486
+ const _DTGACER = "DeleteTemplateGroupAccessControlEntryRequest";
487
+ const _DTR = "DeleteTemplateRequest";
488
+ const _De = "Decrypt";
489
+ const _E = "Enroll";
490
+ const _EF = "EnrollmentFlags";
491
+ const _EFV = "EnrollmentFlagsV2";
492
+ const _EFVn = "EnrollmentFlagsV3";
493
+ const _EFVnr = "EnrollmentFlagsV4";
494
+ const _EK = "ExportableKey";
495
+ const _EKRONTKSF = "EnableKeyReuseOnNtTokenKeysetStorageFull";
496
+ const _EV = "ExtensionsV2";
497
+ const _EVx = "ExtensionsV3";
498
+ const _EVxt = "ExtensionsV4";
499
+ const _Ex = "Extensions";
500
+ const _GC = "GetConnector";
501
+ const _GCR = "GetConnectorRequest";
502
+ const _GCRe = "GetConnectorResponse";
503
+ const _GDN = "GroupDisplayName";
504
+ const _GDR = "GetDirectoryRegistration";
505
+ const _GDRR = "GetDirectoryRegistrationRequest";
506
+ const _GDRRe = "GetDirectoryRegistrationResponse";
507
+ const _GF = "GeneralFlags";
508
+ const _GFV = "GeneralFlagsV2";
509
+ const _GFVe = "GeneralFlagsV3";
510
+ const _GFVen = "GeneralFlagsV4";
511
+ const _GSI = "GroupSecurityIdentifier";
512
+ const _GSPN = "GetServicePrincipalName";
513
+ const _GSPNR = "GetServicePrincipalNameRequest";
514
+ const _GSPNRe = "GetServicePrincipalNameResponse";
515
+ const _GT = "GetTemplate";
516
+ const _GTGACE = "GetTemplateGroupAccessControlEntry";
517
+ const _GTGACER = "GetTemplateGroupAccessControlEntryRequest";
518
+ const _GTGACERe = "GetTemplateGroupAccessControlEntryResponse";
519
+ const _GTR = "GetTemplateRequest";
520
+ const _GTRe = "GetTemplateResponse";
521
+ const _HA = "HashAlgorithm";
522
+ const _IAT = "IpAddressType";
523
+ const _ISA = "IncludeSymmetricAlgorithms";
524
+ const _ISE = "InternalServerException";
525
+ const _KA = "KeyAgreement";
526
+ const _KE = "KeyEncipherment";
527
+ const _KS = "KeySpec";
528
+ const _KU = "KeyUsage";
529
+ const _KUF = "KeyUsageFlags";
530
+ const _KUP = "KeyUsageProperty";
531
+ const _KUPF = "KeyUsagePropertyFlags";
532
+ const _LC = "ListConnectors";
533
+ const _LCR = "ListConnectorsRequest";
534
+ const _LCRi = "ListConnectorsResponse";
535
+ const _LDR = "ListDirectoryRegistrations";
536
+ const _LDRR = "ListDirectoryRegistrationsRequest";
537
+ const _LDRRi = "ListDirectoryRegistrationsResponse";
538
+ const _LSPN = "ListServicePrincipalNames";
539
+ const _LSPNR = "ListServicePrincipalNamesRequest";
540
+ const _LSPNRi = "ListServicePrincipalNamesResponse";
541
+ const _LT = "ListTemplates";
542
+ const _LTFR = "ListTagsForResource";
543
+ const _LTFRR = "ListTagsForResourceRequest";
544
+ const _LTFRRi = "ListTagsForResourceResponse";
545
+ const _LTGACE = "ListTemplateGroupAccessControlEntries";
546
+ const _LTGACER = "ListTemplateGroupAccessControlEntriesRequest";
547
+ const _LTGACERi = "ListTemplateGroupAccessControlEntriesResponse";
548
+ const _LTR = "ListTemplatesRequest";
549
+ const _LTRi = "ListTemplatesResponse";
550
+ const _M = "Message";
551
+ const _MKL = "MinimalKeyLength";
1378
552
  const _MR = "MaxResults";
553
+ const _MRa = "MajorRevision";
554
+ const _MRi = "MinorRevision";
555
+ const _MT = "MachineType";
556
+ const _N = "Name";
557
+ const _NR = "NonRepudiation";
558
+ const _NSE = "NoSecurityExtension";
1379
559
  const _NT = "NextToken";
560
+ const _OI = "ObjectIdentifier";
561
+ const _P = "Policies";
562
+ const _PF = "PropertyFlags";
563
+ const _PKA = "PrivateKeyAttributes";
564
+ const _PKAV = "PrivateKeyAttributesV2";
565
+ const _PKAVr = "PrivateKeyAttributesV3";
566
+ const _PKAVri = "PrivateKeyAttributesV4";
567
+ const _PKF = "PrivateKeyFlags";
568
+ const _PKFV = "PrivateKeyFlagsV2";
569
+ const _PKFVr = "PrivateKeyFlagsV3";
570
+ const _PKFVri = "PrivateKeyFlagsV4";
571
+ const _POI = "PolicyObjectIdentifier";
572
+ const _PS = "PolicySchema";
573
+ const _PT = "PeriodType";
574
+ const _PTo = "PolicyType";
575
+ const _PTr = "PropertyType";
576
+ const _Pe = "Period";
577
+ const _QC = "QuotaCode";
578
+ const _R = "Revision";
579
+ const _RA = "ResourceArn";
580
+ const _RACH = "ReenrollAllCertificateHolders";
581
+ const _RASA = "RequireAlternateSignatureAlgorithm";
582
+ const _RCN = "RequireCommonName";
583
+ const _RDAC = "RequireDnsAsCn";
584
+ const _RDP = "RequireDirectoryPath";
585
+ const _RE = "RequireEmail";
586
+ const _RI = "ResourceId";
587
+ const _RICFPS = "RemoveInvalidCertificateFromPersonalStore";
588
+ const _RNFE = "ResourceNotFoundException";
589
+ const _RP = "RenewalPeriod";
590
+ const _RSKR = "RequireSameKeyRenewal";
591
+ const _RT = "ResourceType";
592
+ const _Re = "Reason";
593
+ const _S = "Status";
594
+ const _SC = "ServiceCode";
595
+ const _SGI = "SecurityGroupIds";
596
+ const _SKPR = "StrongKeyProtectionRequired";
597
+ const _SNF = "SubjectNameFlags";
598
+ const _SNFV = "SubjectNameFlagsV2";
599
+ const _SNFVu = "SubjectNameFlagsV3";
600
+ const _SNFVub = "SubjectNameFlagsV4";
601
+ const _SPN = "ServicePrincipalName";
602
+ const _SPNL = "ServicePrincipalNameList";
603
+ const _SPNS = "ServicePrincipalNameSummary";
604
+ const _SPNe = "ServicePrincipalNames";
605
+ const _SQEE = "ServiceQuotaExceededException";
606
+ const _SR = "StatusReason";
607
+ const _SRD = "SanRequireDns";
608
+ const _SRDD = "SanRequireDomainDns";
609
+ const _SRDG = "SanRequireDirectoryGuid";
610
+ const _SRE = "SanRequireEmail";
611
+ const _SRS = "SanRequireSpn";
612
+ const _SRU = "SanRequireUpn";
613
+ const _ST = "SupersededTemplates";
614
+ const _Si = "Sign";
615
+ const _T = "Tags";
616
+ const _TA = "TemplateArn";
617
+ const _TD = "TemplateDefinition";
618
+ const _TE = "ThrottlingException";
1380
619
  const _TK = "TagKeys";
620
+ const _TL = "TemplateList";
621
+ const _TR = "TemplateRevision";
622
+ const _TRR = "TagResourceRequest";
623
+ const _TRa = "TagResource";
624
+ const _TS = "TemplateSummary";
625
+ const _TV = "TemplateV2";
626
+ const _TVe = "TemplateV3";
627
+ const _TVem = "TemplateV4";
628
+ const _Te = "Template";
629
+ const _Tem = "Templates";
630
+ const _UA = "UpdatedAt";
631
+ const _UF = "UsageFlags";
632
+ const _UIR = "UserInteractionRequired";
633
+ const _ULP = "UseLegacyProvider";
634
+ const _UR = "UntagResource";
635
+ const _URR = "UntagResourceRequest";
636
+ const _UT = "UpdateTemplate";
637
+ const _UTGACE = "UpdateTemplateGroupAccessControlEntry";
638
+ const _UTGACER = "UpdateTemplateGroupAccessControlEntryRequest";
639
+ const _UTR = "UpdateTemplateRequest";
640
+ const _VE = "ValidationException";
641
+ const _VI = "VpcInformation";
642
+ const _VP = "ValidityPeriod";
643
+ const _c = "client";
644
+ const _e = "error";
645
+ const _h = "http";
646
+ const _hE = "httpError";
647
+ const _hQ = "httpQuery";
648
+ const _s = "server";
649
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pcaconnectorad";
1381
650
  const _tK = "tagKeys";
651
+ const n0 = "com.amazonaws.pcaconnectorad";
652
+ var AccessControlEntry = [
653
+ 3,
654
+ n0,
655
+ _ACE,
656
+ 0,
657
+ [_GDN, _GSI, _AR, _TA, _CA, _UA],
658
+ [0, 0, () => AccessRights, 0, 4, 4],
659
+ ];
660
+ var AccessControlEntrySummary = [
661
+ 3,
662
+ n0,
663
+ _ACES,
664
+ 0,
665
+ [_GDN, _GSI, _AR, _TA, _CA, _UA],
666
+ [0, 0, () => AccessRights, 0, 4, 4],
667
+ ];
668
+ var AccessDeniedException = [
669
+ -3,
670
+ n0,
671
+ _ADE,
672
+ {
673
+ [_e]: _c,
674
+ [_hE]: 403,
675
+ },
676
+ [_M],
677
+ [0],
678
+ ];
679
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
680
+ var AccessRights = [3, n0, _AR, 0, [_E, _AE], [0, 0]];
681
+ var ApplicationPolicies = [3, n0, _AP, 0, [_C, _P], [2, () => ApplicationPolicyList]];
682
+ var CertificateValidity = [
683
+ 3,
684
+ n0,
685
+ _CV,
686
+ 0,
687
+ [_VP, _RP],
688
+ [() => ValidityPeriod, () => ValidityPeriod],
689
+ ];
690
+ var ConflictException = [
691
+ -3,
692
+ n0,
693
+ _CE,
694
+ {
695
+ [_e]: _c,
696
+ [_hE]: 409,
697
+ },
698
+ [_M, _RI, _RT],
699
+ [0, 0, 0],
700
+ ];
701
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
702
+ var Connector = [
703
+ 3,
704
+ n0,
705
+ _Co,
706
+ 0,
707
+ [_A, _CAA, _CEPSE, _DI, _VI, _S, _SR, _CA, _UA],
708
+ [0, 0, 0, 0, () => VpcInformation, 0, 0, 4, 4],
709
+ ];
710
+ var ConnectorSummary = [
711
+ 3,
712
+ n0,
713
+ _CS,
714
+ 0,
715
+ [_A, _CAA, _CEPSE, _DI, _VI, _S, _SR, _CA, _UA],
716
+ [0, 0, 0, 0, () => VpcInformation, 0, 0, 4, 4],
717
+ ];
718
+ var CreateConnectorRequest = [
719
+ 3,
720
+ n0,
721
+ _CCR,
722
+ 0,
723
+ [_DI, _CAA, _VI, _CT, _T],
724
+ [0, 0, () => VpcInformation, [0, 4], 128 | 0],
725
+ ];
726
+ var CreateConnectorResponse = [3, n0, _CCRr, 0, [_CAo], [0]];
727
+ var CreateDirectoryRegistrationRequest = [
728
+ 3,
729
+ n0,
730
+ _CDRR,
731
+ 0,
732
+ [_DI, _CT, _T],
733
+ [0, [0, 4], 128 | 0],
734
+ ];
735
+ var CreateDirectoryRegistrationResponse = [3, n0, _CDRRr, 0, [_DRA], [0]];
736
+ var CreateServicePrincipalNameRequest = [
737
+ 3,
738
+ n0,
739
+ _CSPNR,
740
+ 0,
741
+ [_DRA, _CAo, _CT],
742
+ [
743
+ [0, 1],
744
+ [0, 1],
745
+ [0, 4],
746
+ ],
747
+ ];
748
+ var CreateTemplateGroupAccessControlEntryRequest = [
749
+ 3,
750
+ n0,
751
+ _CTGACER,
752
+ 0,
753
+ [_TA, _GSI, _GDN, _AR, _CT],
754
+ [[0, 1], 0, 0, () => AccessRights, [0, 4]],
755
+ ];
756
+ var CreateTemplateRequest = [
757
+ 3,
758
+ n0,
759
+ _CTR,
760
+ 0,
761
+ [_CAo, _N, _D, _CT, _T],
762
+ [0, 0, () => TemplateDefinition, [0, 4], 128 | 0],
763
+ ];
764
+ var CreateTemplateResponse = [3, n0, _CTRr, 0, [_TA], [0]];
765
+ var DeleteConnectorRequest = [3, n0, _DCR, 0, [_CAo], [[0, 1]]];
766
+ var DeleteDirectoryRegistrationRequest = [3, n0, _DDRR, 0, [_DRA], [[0, 1]]];
767
+ var DeleteServicePrincipalNameRequest = [
768
+ 3,
769
+ n0,
770
+ _DSPNR,
771
+ 0,
772
+ [_DRA, _CAo],
773
+ [
774
+ [0, 1],
775
+ [0, 1],
776
+ ],
777
+ ];
778
+ var DeleteTemplateGroupAccessControlEntryRequest = [
779
+ 3,
780
+ n0,
781
+ _DTGACER,
782
+ 0,
783
+ [_TA, _GSI],
784
+ [
785
+ [0, 1],
786
+ [0, 1],
787
+ ],
788
+ ];
789
+ var DeleteTemplateRequest = [3, n0, _DTR, 0, [_TA], [[0, 1]]];
790
+ var DirectoryRegistration = [
791
+ 3,
792
+ n0,
793
+ _DR,
794
+ 0,
795
+ [_A, _DI, _S, _SR, _CA, _UA],
796
+ [0, 0, 0, 0, 4, 4],
797
+ ];
798
+ var DirectoryRegistrationSummary = [
799
+ 3,
800
+ n0,
801
+ _DRS,
802
+ 0,
803
+ [_A, _DI, _S, _SR, _CA, _UA],
804
+ [0, 0, 0, 0, 4, 4],
805
+ ];
806
+ var EnrollmentFlagsV2 = [
807
+ 3,
808
+ n0,
809
+ _EFV,
810
+ 0,
811
+ [_ISA, _UIR, _RICFPS, _NSE, _EKRONTKSF],
812
+ [2, 2, 2, 2, 2],
813
+ ];
814
+ var EnrollmentFlagsV3 = [
815
+ 3,
816
+ n0,
817
+ _EFVn,
818
+ 0,
819
+ [_ISA, _UIR, _RICFPS, _NSE, _EKRONTKSF],
820
+ [2, 2, 2, 2, 2],
821
+ ];
822
+ var EnrollmentFlagsV4 = [
823
+ 3,
824
+ n0,
825
+ _EFVnr,
826
+ 0,
827
+ [_ISA, _UIR, _RICFPS, _NSE, _EKRONTKSF],
828
+ [2, 2, 2, 2, 2],
829
+ ];
830
+ var ExtensionsV2 = [
831
+ 3,
832
+ n0,
833
+ _EV,
834
+ 0,
835
+ [_KU, _AP],
836
+ [() => KeyUsage, () => ApplicationPolicies],
837
+ ];
838
+ var ExtensionsV3 = [
839
+ 3,
840
+ n0,
841
+ _EVx,
842
+ 0,
843
+ [_KU, _AP],
844
+ [() => KeyUsage, () => ApplicationPolicies],
845
+ ];
846
+ var ExtensionsV4 = [
847
+ 3,
848
+ n0,
849
+ _EVxt,
850
+ 0,
851
+ [_KU, _AP],
852
+ [() => KeyUsage, () => ApplicationPolicies],
853
+ ];
854
+ var GeneralFlagsV2 = [3, n0, _GFV, 0, [_AEu, _MT], [2, 2]];
855
+ var GeneralFlagsV3 = [3, n0, _GFVe, 0, [_AEu, _MT], [2, 2]];
856
+ var GeneralFlagsV4 = [3, n0, _GFVen, 0, [_AEu, _MT], [2, 2]];
857
+ var GetConnectorRequest = [3, n0, _GCR, 0, [_CAo], [[0, 1]]];
858
+ var GetConnectorResponse = [3, n0, _GCRe, 0, [_Co], [() => Connector]];
859
+ var GetDirectoryRegistrationRequest = [3, n0, _GDRR, 0, [_DRA], [[0, 1]]];
860
+ var GetDirectoryRegistrationResponse = [
861
+ 3,
862
+ n0,
863
+ _GDRRe,
864
+ 0,
865
+ [_DR],
866
+ [() => DirectoryRegistration],
867
+ ];
868
+ var GetServicePrincipalNameRequest = [
869
+ 3,
870
+ n0,
871
+ _GSPNR,
872
+ 0,
873
+ [_DRA, _CAo],
874
+ [
875
+ [0, 1],
876
+ [0, 1],
877
+ ],
878
+ ];
879
+ var GetServicePrincipalNameResponse = [
880
+ 3,
881
+ n0,
882
+ _GSPNRe,
883
+ 0,
884
+ [_SPN],
885
+ [() => ServicePrincipalName],
886
+ ];
887
+ var GetTemplateGroupAccessControlEntryRequest = [
888
+ 3,
889
+ n0,
890
+ _GTGACER,
891
+ 0,
892
+ [_TA, _GSI],
893
+ [
894
+ [0, 1],
895
+ [0, 1],
896
+ ],
897
+ ];
898
+ var GetTemplateGroupAccessControlEntryResponse = [
899
+ 3,
900
+ n0,
901
+ _GTGACERe,
902
+ 0,
903
+ [_ACE],
904
+ [() => AccessControlEntry],
905
+ ];
906
+ var GetTemplateRequest = [3, n0, _GTR, 0, [_TA], [[0, 1]]];
907
+ var GetTemplateResponse = [3, n0, _GTRe, 0, [_Te], [() => Template]];
908
+ var InternalServerException = [
909
+ -3,
910
+ n0,
911
+ _ISE,
912
+ {
913
+ [_e]: _s,
914
+ [_hE]: 500,
915
+ },
916
+ [_M],
917
+ [0],
918
+ ];
919
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
920
+ var KeyUsage = [3, n0, _KU, 0, [_C, _UF], [2, () => KeyUsageFlags]];
921
+ var KeyUsageFlags = [3, n0, _KUF, 0, [_DS, _NR, _KE, _DE, _KA], [2, 2, 2, 2, 2]];
922
+ var KeyUsagePropertyFlags = [3, n0, _KUPF, 0, [_De, _KA, _Si], [2, 2, 2]];
923
+ var ListConnectorsRequest = [
924
+ 3,
925
+ n0,
926
+ _LCR,
927
+ 0,
928
+ [_MR, _NT],
929
+ [
930
+ [
931
+ 1,
932
+ {
933
+ [_hQ]: _MR,
934
+ },
935
+ ],
936
+ [
937
+ 0,
938
+ {
939
+ [_hQ]: _NT,
940
+ },
941
+ ],
942
+ ],
943
+ ];
944
+ var ListConnectorsResponse = [3, n0, _LCRi, 0, [_Con, _NT], [() => ConnectorList, 0]];
945
+ var ListDirectoryRegistrationsRequest = [
946
+ 3,
947
+ n0,
948
+ _LDRR,
949
+ 0,
950
+ [_MR, _NT],
951
+ [
952
+ [
953
+ 1,
954
+ {
955
+ [_hQ]: _MR,
956
+ },
957
+ ],
958
+ [
959
+ 0,
960
+ {
961
+ [_hQ]: _NT,
962
+ },
963
+ ],
964
+ ],
965
+ ];
966
+ var ListDirectoryRegistrationsResponse = [
967
+ 3,
968
+ n0,
969
+ _LDRRi,
970
+ 0,
971
+ [_DRi, _NT],
972
+ [() => DirectoryRegistrationList, 0],
973
+ ];
974
+ var ListServicePrincipalNamesRequest = [
975
+ 3,
976
+ n0,
977
+ _LSPNR,
978
+ 0,
979
+ [_MR, _NT, _DRA],
980
+ [
981
+ [
982
+ 1,
983
+ {
984
+ [_hQ]: _MR,
985
+ },
986
+ ],
987
+ [
988
+ 0,
989
+ {
990
+ [_hQ]: _NT,
991
+ },
992
+ ],
993
+ [0, 1],
994
+ ],
995
+ ];
996
+ var ListServicePrincipalNamesResponse = [
997
+ 3,
998
+ n0,
999
+ _LSPNRi,
1000
+ 0,
1001
+ [_SPNe, _NT],
1002
+ [() => ServicePrincipalNameList, 0],
1003
+ ];
1004
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
1005
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [128 | 0]];
1006
+ var ListTemplateGroupAccessControlEntriesRequest = [
1007
+ 3,
1008
+ n0,
1009
+ _LTGACER,
1010
+ 0,
1011
+ [_MR, _NT, _TA],
1012
+ [
1013
+ [
1014
+ 1,
1015
+ {
1016
+ [_hQ]: _MR,
1017
+ },
1018
+ ],
1019
+ [
1020
+ 0,
1021
+ {
1022
+ [_hQ]: _NT,
1023
+ },
1024
+ ],
1025
+ [0, 1],
1026
+ ],
1027
+ ];
1028
+ var ListTemplateGroupAccessControlEntriesResponse = [
1029
+ 3,
1030
+ n0,
1031
+ _LTGACERi,
1032
+ 0,
1033
+ [_ACEc, _NT],
1034
+ [() => AccessControlEntryList, 0],
1035
+ ];
1036
+ var ListTemplatesRequest = [
1037
+ 3,
1038
+ n0,
1039
+ _LTR,
1040
+ 0,
1041
+ [_MR, _NT, _CAo],
1042
+ [
1043
+ [
1044
+ 1,
1045
+ {
1046
+ [_hQ]: _MR,
1047
+ },
1048
+ ],
1049
+ [
1050
+ 0,
1051
+ {
1052
+ [_hQ]: _NT,
1053
+ },
1054
+ ],
1055
+ [
1056
+ 0,
1057
+ {
1058
+ [_hQ]: _CAo,
1059
+ },
1060
+ ],
1061
+ ],
1062
+ ];
1063
+ var ListTemplatesResponse = [3, n0, _LTRi, 0, [_Tem, _NT], [() => TemplateList, 0]];
1064
+ var PrivateKeyAttributesV2 = [3, n0, _PKAV, 0, [_MKL, _KS, _CP], [1, 0, 64 | 0]];
1065
+ var PrivateKeyAttributesV3 = [
1066
+ 3,
1067
+ n0,
1068
+ _PKAVr,
1069
+ 0,
1070
+ [_MKL, _KS, _CP, _KUP, _Al],
1071
+ [1, 0, 64 | 0, () => KeyUsageProperty, 0],
1072
+ ];
1073
+ var PrivateKeyAttributesV4 = [
1074
+ 3,
1075
+ n0,
1076
+ _PKAVri,
1077
+ 0,
1078
+ [_MKL, _KS, _CP, _KUP, _Al],
1079
+ [1, 0, 64 | 0, () => KeyUsageProperty, 0],
1080
+ ];
1081
+ var PrivateKeyFlagsV2 = [3, n0, _PKFV, 0, [_EK, _SKPR, _CVl], [2, 2, 0]];
1082
+ var PrivateKeyFlagsV3 = [3, n0, _PKFVr, 0, [_EK, _SKPR, _RASA, _CVl], [2, 2, 2, 0]];
1083
+ var PrivateKeyFlagsV4 = [
1084
+ 3,
1085
+ n0,
1086
+ _PKFVri,
1087
+ 0,
1088
+ [_EK, _SKPR, _RASA, _RSKR, _ULP, _CVl],
1089
+ [2, 2, 2, 2, 2, 0],
1090
+ ];
1091
+ var ResourceNotFoundException = [
1092
+ -3,
1093
+ n0,
1094
+ _RNFE,
1095
+ {
1096
+ [_e]: _c,
1097
+ [_hE]: 404,
1098
+ },
1099
+ [_M, _RI, _RT],
1100
+ [0, 0, 0],
1101
+ ];
1102
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1103
+ var ServicePrincipalName = [
1104
+ 3,
1105
+ n0,
1106
+ _SPN,
1107
+ 0,
1108
+ [_DRA, _CAo, _S, _SR, _CA, _UA],
1109
+ [0, 0, 0, 0, 4, 4],
1110
+ ];
1111
+ var ServicePrincipalNameSummary = [
1112
+ 3,
1113
+ n0,
1114
+ _SPNS,
1115
+ 0,
1116
+ [_DRA, _CAo, _S, _SR, _CA, _UA],
1117
+ [0, 0, 0, 0, 4, 4],
1118
+ ];
1119
+ var ServiceQuotaExceededException = [
1120
+ -3,
1121
+ n0,
1122
+ _SQEE,
1123
+ {
1124
+ [_e]: _c,
1125
+ [_hE]: 402,
1126
+ },
1127
+ [_M, _RI, _RT, _SC, _QC],
1128
+ [0, 0, 0, 0, 0],
1129
+ ];
1130
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1131
+ var SubjectNameFlagsV2 = [
1132
+ 3,
1133
+ n0,
1134
+ _SNFV,
1135
+ 0,
1136
+ [_SRDD, _SRS, _SRDG, _SRU, _SRE, _SRD, _RDAC, _RE, _RCN, _RDP],
1137
+ [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
1138
+ ];
1139
+ var SubjectNameFlagsV3 = [
1140
+ 3,
1141
+ n0,
1142
+ _SNFVu,
1143
+ 0,
1144
+ [_SRDD, _SRS, _SRDG, _SRU, _SRE, _SRD, _RDAC, _RE, _RCN, _RDP],
1145
+ [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
1146
+ ];
1147
+ var SubjectNameFlagsV4 = [
1148
+ 3,
1149
+ n0,
1150
+ _SNFVub,
1151
+ 0,
1152
+ [_SRDD, _SRS, _SRDG, _SRU, _SRE, _SRD, _RDAC, _RE, _RCN, _RDP],
1153
+ [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
1154
+ ];
1155
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0]];
1156
+ var Template = [
1157
+ 3,
1158
+ n0,
1159
+ _Te,
1160
+ 0,
1161
+ [_A, _CAo, _D, _N, _OI, _PS, _S, _R, _CA, _UA],
1162
+ [0, 0, () => TemplateDefinition, 0, 0, 1, 0, () => TemplateRevision, 4, 4],
1163
+ ];
1164
+ var TemplateRevision = [3, n0, _TR, 0, [_MRa, _MRi], [1, 1]];
1165
+ var TemplateSummary = [
1166
+ 3,
1167
+ n0,
1168
+ _TS,
1169
+ 0,
1170
+ [_A, _CAo, _D, _N, _OI, _PS, _S, _R, _CA, _UA],
1171
+ [0, 0, () => TemplateDefinition, 0, 0, 1, 0, () => TemplateRevision, 4, 4],
1172
+ ];
1173
+ var TemplateV2 = [
1174
+ 3,
1175
+ n0,
1176
+ _TV,
1177
+ 0,
1178
+ [_CV, _ST, _PKA, _PKF, _EF, _SNF, _GF, _Ex],
1179
+ [
1180
+ () => CertificateValidity,
1181
+ 64 | 0,
1182
+ () => PrivateKeyAttributesV2,
1183
+ () => PrivateKeyFlagsV2,
1184
+ () => EnrollmentFlagsV2,
1185
+ () => SubjectNameFlagsV2,
1186
+ () => GeneralFlagsV2,
1187
+ () => ExtensionsV2,
1188
+ ],
1189
+ ];
1190
+ var TemplateV3 = [
1191
+ 3,
1192
+ n0,
1193
+ _TVe,
1194
+ 0,
1195
+ [_CV, _ST, _PKA, _PKF, _EF, _SNF, _GF, _HA, _Ex],
1196
+ [
1197
+ () => CertificateValidity,
1198
+ 64 | 0,
1199
+ () => PrivateKeyAttributesV3,
1200
+ () => PrivateKeyFlagsV3,
1201
+ () => EnrollmentFlagsV3,
1202
+ () => SubjectNameFlagsV3,
1203
+ () => GeneralFlagsV3,
1204
+ 0,
1205
+ () => ExtensionsV3,
1206
+ ],
1207
+ ];
1208
+ var TemplateV4 = [
1209
+ 3,
1210
+ n0,
1211
+ _TVem,
1212
+ 0,
1213
+ [_CV, _ST, _PKA, _PKF, _EF, _SNF, _GF, _HA, _Ex],
1214
+ [
1215
+ () => CertificateValidity,
1216
+ 64 | 0,
1217
+ () => PrivateKeyAttributesV4,
1218
+ () => PrivateKeyFlagsV4,
1219
+ () => EnrollmentFlagsV4,
1220
+ () => SubjectNameFlagsV4,
1221
+ () => GeneralFlagsV4,
1222
+ 0,
1223
+ () => ExtensionsV4,
1224
+ ],
1225
+ ];
1226
+ var ThrottlingException = [
1227
+ -3,
1228
+ n0,
1229
+ _TE,
1230
+ {
1231
+ [_e]: _c,
1232
+ [_hE]: 429,
1233
+ },
1234
+ [_M, _SC, _QC],
1235
+ [0, 0, 0],
1236
+ ];
1237
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1238
+ var UntagResourceRequest = [
1239
+ 3,
1240
+ n0,
1241
+ _URR,
1242
+ 0,
1243
+ [_RA, _TK],
1244
+ [
1245
+ [0, 1],
1246
+ [
1247
+ 64 | 0,
1248
+ {
1249
+ [_hQ]: _tK,
1250
+ },
1251
+ ],
1252
+ ],
1253
+ ];
1254
+ var UpdateTemplateGroupAccessControlEntryRequest = [
1255
+ 3,
1256
+ n0,
1257
+ _UTGACER,
1258
+ 0,
1259
+ [_TA, _GSI, _GDN, _AR],
1260
+ [[0, 1], [0, 1], 0, () => AccessRights],
1261
+ ];
1262
+ var UpdateTemplateRequest = [
1263
+ 3,
1264
+ n0,
1265
+ _UTR,
1266
+ 0,
1267
+ [_TA, _D, _RACH],
1268
+ [[0, 1], () => TemplateDefinition, 2],
1269
+ ];
1270
+ var ValidationException = [
1271
+ -3,
1272
+ n0,
1273
+ _VE,
1274
+ {
1275
+ [_e]: _c,
1276
+ [_hE]: 400,
1277
+ },
1278
+ [_M, _Re],
1279
+ [0, 0],
1280
+ ];
1281
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1282
+ var ValidityPeriod = [3, n0, _VP, 0, [_PT, _Pe], [0, 1]];
1283
+ var VpcInformation = [3, n0, _VI, 0, [_IAT, _SGI], [0, 64 | 0]];
1284
+ var __Unit = "unit";
1285
+ var PcaConnectorAdServiceException = [-3, _sm, "PcaConnectorAdServiceException", 0, [], []];
1286
+ schema.TypeRegistry.for(_sm).registerError(PcaConnectorAdServiceException, PcaConnectorAdServiceException$1);
1287
+ var AccessControlEntryList = [1, n0, _ACEL, 0, () => AccessControlEntrySummary];
1288
+ var ApplicationPolicyList = [1, n0, _APL, 0, () => ApplicationPolicy];
1289
+ var ConnectorList = [1, n0, _CL, 0, () => ConnectorSummary];
1290
+ var DirectoryRegistrationList = [1, n0, _DRL, 0, () => DirectoryRegistrationSummary];
1291
+ var ServicePrincipalNameList = [1, n0, _SPNL, 0, () => ServicePrincipalNameSummary];
1292
+ var TemplateList = [1, n0, _TL, 0, () => TemplateSummary];
1293
+ var ApplicationPolicy = [3, n0, _APp, 0, [_PTo, _POI], [0, 0]];
1294
+ var KeyUsageProperty = [3, n0, _KUP, 0, [_PTr, _PF], [0, () => KeyUsagePropertyFlags]];
1295
+ var TemplateDefinition = [
1296
+ 3,
1297
+ n0,
1298
+ _TD,
1299
+ 0,
1300
+ [_TV, _TVe, _TVem],
1301
+ [() => TemplateV2, () => TemplateV3, () => TemplateV4],
1302
+ ];
1303
+ var CreateConnector = [
1304
+ 9,
1305
+ n0,
1306
+ _CC,
1307
+ {
1308
+ [_h]: ["POST", "/connectors", 202],
1309
+ },
1310
+ () => CreateConnectorRequest,
1311
+ () => CreateConnectorResponse,
1312
+ ];
1313
+ var CreateDirectoryRegistration = [
1314
+ 9,
1315
+ n0,
1316
+ _CDR,
1317
+ {
1318
+ [_h]: ["POST", "/directoryRegistrations", 202],
1319
+ },
1320
+ () => CreateDirectoryRegistrationRequest,
1321
+ () => CreateDirectoryRegistrationResponse,
1322
+ ];
1323
+ var CreateServicePrincipalName = [
1324
+ 9,
1325
+ n0,
1326
+ _CSPN,
1327
+ {
1328
+ [_h]: ["POST", "/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", 202],
1329
+ },
1330
+ () => CreateServicePrincipalNameRequest,
1331
+ () => __Unit,
1332
+ ];
1333
+ var CreateTemplate = [
1334
+ 9,
1335
+ n0,
1336
+ _CTr,
1337
+ {
1338
+ [_h]: ["POST", "/templates", 200],
1339
+ },
1340
+ () => CreateTemplateRequest,
1341
+ () => CreateTemplateResponse,
1342
+ ];
1343
+ var CreateTemplateGroupAccessControlEntry = [
1344
+ 9,
1345
+ n0,
1346
+ _CTGACE,
1347
+ {
1348
+ [_h]: ["POST", "/templates/{TemplateArn}/accessControlEntries", 200],
1349
+ },
1350
+ () => CreateTemplateGroupAccessControlEntryRequest,
1351
+ () => __Unit,
1352
+ ];
1353
+ var DeleteConnector = [
1354
+ 9,
1355
+ n0,
1356
+ _DC,
1357
+ {
1358
+ [_h]: ["DELETE", "/connectors/{ConnectorArn}", 202],
1359
+ },
1360
+ () => DeleteConnectorRequest,
1361
+ () => __Unit,
1362
+ ];
1363
+ var DeleteDirectoryRegistration = [
1364
+ 9,
1365
+ n0,
1366
+ _DDR,
1367
+ {
1368
+ [_h]: ["DELETE", "/directoryRegistrations/{DirectoryRegistrationArn}", 202],
1369
+ },
1370
+ () => DeleteDirectoryRegistrationRequest,
1371
+ () => __Unit,
1372
+ ];
1373
+ var DeleteServicePrincipalName = [
1374
+ 9,
1375
+ n0,
1376
+ _DSPN,
1377
+ {
1378
+ [_h]: ["DELETE", "/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", 202],
1379
+ },
1380
+ () => DeleteServicePrincipalNameRequest,
1381
+ () => __Unit,
1382
+ ];
1383
+ var DeleteTemplate = [
1384
+ 9,
1385
+ n0,
1386
+ _DT,
1387
+ {
1388
+ [_h]: ["DELETE", "/templates/{TemplateArn}", 202],
1389
+ },
1390
+ () => DeleteTemplateRequest,
1391
+ () => __Unit,
1392
+ ];
1393
+ var DeleteTemplateGroupAccessControlEntry = [
1394
+ 9,
1395
+ n0,
1396
+ _DTGACE,
1397
+ {
1398
+ [_h]: ["DELETE", "/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", 200],
1399
+ },
1400
+ () => DeleteTemplateGroupAccessControlEntryRequest,
1401
+ () => __Unit,
1402
+ ];
1403
+ var GetConnector = [
1404
+ 9,
1405
+ n0,
1406
+ _GC,
1407
+ {
1408
+ [_h]: ["GET", "/connectors/{ConnectorArn}", 200],
1409
+ },
1410
+ () => GetConnectorRequest,
1411
+ () => GetConnectorResponse,
1412
+ ];
1413
+ var GetDirectoryRegistration = [
1414
+ 9,
1415
+ n0,
1416
+ _GDR,
1417
+ {
1418
+ [_h]: ["GET", "/directoryRegistrations/{DirectoryRegistrationArn}", 200],
1419
+ },
1420
+ () => GetDirectoryRegistrationRequest,
1421
+ () => GetDirectoryRegistrationResponse,
1422
+ ];
1423
+ var GetServicePrincipalName = [
1424
+ 9,
1425
+ n0,
1426
+ _GSPN,
1427
+ {
1428
+ [_h]: ["GET", "/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", 200],
1429
+ },
1430
+ () => GetServicePrincipalNameRequest,
1431
+ () => GetServicePrincipalNameResponse,
1432
+ ];
1433
+ var GetTemplate = [
1434
+ 9,
1435
+ n0,
1436
+ _GT,
1437
+ {
1438
+ [_h]: ["GET", "/templates/{TemplateArn}", 200],
1439
+ },
1440
+ () => GetTemplateRequest,
1441
+ () => GetTemplateResponse,
1442
+ ];
1443
+ var GetTemplateGroupAccessControlEntry = [
1444
+ 9,
1445
+ n0,
1446
+ _GTGACE,
1447
+ {
1448
+ [_h]: ["GET", "/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", 200],
1449
+ },
1450
+ () => GetTemplateGroupAccessControlEntryRequest,
1451
+ () => GetTemplateGroupAccessControlEntryResponse,
1452
+ ];
1453
+ var ListConnectors = [
1454
+ 9,
1455
+ n0,
1456
+ _LC,
1457
+ {
1458
+ [_h]: ["GET", "/connectors", 200],
1459
+ },
1460
+ () => ListConnectorsRequest,
1461
+ () => ListConnectorsResponse,
1462
+ ];
1463
+ var ListDirectoryRegistrations = [
1464
+ 9,
1465
+ n0,
1466
+ _LDR,
1467
+ {
1468
+ [_h]: ["GET", "/directoryRegistrations", 200],
1469
+ },
1470
+ () => ListDirectoryRegistrationsRequest,
1471
+ () => ListDirectoryRegistrationsResponse,
1472
+ ];
1473
+ var ListServicePrincipalNames = [
1474
+ 9,
1475
+ n0,
1476
+ _LSPN,
1477
+ {
1478
+ [_h]: ["GET", "/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames", 200],
1479
+ },
1480
+ () => ListServicePrincipalNamesRequest,
1481
+ () => ListServicePrincipalNamesResponse,
1482
+ ];
1483
+ var ListTagsForResource = [
1484
+ 9,
1485
+ n0,
1486
+ _LTFR,
1487
+ {
1488
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
1489
+ },
1490
+ () => ListTagsForResourceRequest,
1491
+ () => ListTagsForResourceResponse,
1492
+ ];
1493
+ var ListTemplateGroupAccessControlEntries = [
1494
+ 9,
1495
+ n0,
1496
+ _LTGACE,
1497
+ {
1498
+ [_h]: ["GET", "/templates/{TemplateArn}/accessControlEntries", 200],
1499
+ },
1500
+ () => ListTemplateGroupAccessControlEntriesRequest,
1501
+ () => ListTemplateGroupAccessControlEntriesResponse,
1502
+ ];
1503
+ var ListTemplates = [
1504
+ 9,
1505
+ n0,
1506
+ _LT,
1507
+ {
1508
+ [_h]: ["GET", "/templates", 200],
1509
+ },
1510
+ () => ListTemplatesRequest,
1511
+ () => ListTemplatesResponse,
1512
+ ];
1513
+ var TagResource = [
1514
+ 9,
1515
+ n0,
1516
+ _TRa,
1517
+ {
1518
+ [_h]: ["POST", "/tags/{ResourceArn}", 204],
1519
+ },
1520
+ () => TagResourceRequest,
1521
+ () => __Unit,
1522
+ ];
1523
+ var UntagResource = [
1524
+ 9,
1525
+ n0,
1526
+ _UR,
1527
+ {
1528
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 204],
1529
+ },
1530
+ () => UntagResourceRequest,
1531
+ () => __Unit,
1532
+ ];
1533
+ var UpdateTemplate = [
1534
+ 9,
1535
+ n0,
1536
+ _UT,
1537
+ {
1538
+ [_h]: ["PATCH", "/templates/{TemplateArn}", 200],
1539
+ },
1540
+ () => UpdateTemplateRequest,
1541
+ () => __Unit,
1542
+ ];
1543
+ var UpdateTemplateGroupAccessControlEntry = [
1544
+ 9,
1545
+ n0,
1546
+ _UTGACE,
1547
+ {
1548
+ [_h]: ["PATCH", "/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", 200],
1549
+ },
1550
+ () => UpdateTemplateGroupAccessControlEntryRequest,
1551
+ () => __Unit,
1552
+ ];
1382
1553
 
1383
1554
  class CreateConnectorCommand extends smithyClient.Command
1384
1555
  .classBuilder()
1385
1556
  .ep(commonParams)
1386
1557
  .m(function (Command, cs, config, o) {
1387
- return [
1388
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1389
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1390
- ];
1558
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
1559
  })
1392
1560
  .s("PcaConnectorAd", "CreateConnector", {})
1393
1561
  .n("PcaConnectorAdClient", "CreateConnectorCommand")
1394
- .f(void 0, void 0)
1395
- .ser(se_CreateConnectorCommand)
1396
- .de(de_CreateConnectorCommand)
1562
+ .sc(CreateConnector)
1397
1563
  .build() {
1398
1564
  }
1399
1565
 
@@ -1401,16 +1567,11 @@ class CreateDirectoryRegistrationCommand extends smithyClient.Command
1401
1567
  .classBuilder()
1402
1568
  .ep(commonParams)
1403
1569
  .m(function (Command, cs, config, o) {
1404
- return [
1405
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1406
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1407
- ];
1570
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1408
1571
  })
1409
1572
  .s("PcaConnectorAd", "CreateDirectoryRegistration", {})
1410
1573
  .n("PcaConnectorAdClient", "CreateDirectoryRegistrationCommand")
1411
- .f(void 0, void 0)
1412
- .ser(se_CreateDirectoryRegistrationCommand)
1413
- .de(de_CreateDirectoryRegistrationCommand)
1574
+ .sc(CreateDirectoryRegistration)
1414
1575
  .build() {
1415
1576
  }
1416
1577
 
@@ -1418,16 +1579,11 @@ class CreateServicePrincipalNameCommand extends smithyClient.Command
1418
1579
  .classBuilder()
1419
1580
  .ep(commonParams)
1420
1581
  .m(function (Command, cs, config, o) {
1421
- return [
1422
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1423
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1424
- ];
1582
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
1583
  })
1426
1584
  .s("PcaConnectorAd", "CreateServicePrincipalName", {})
1427
1585
  .n("PcaConnectorAdClient", "CreateServicePrincipalNameCommand")
1428
- .f(void 0, void 0)
1429
- .ser(se_CreateServicePrincipalNameCommand)
1430
- .de(de_CreateServicePrincipalNameCommand)
1586
+ .sc(CreateServicePrincipalName)
1431
1587
  .build() {
1432
1588
  }
1433
1589
 
@@ -1435,16 +1591,11 @@ class CreateTemplateCommand extends smithyClient.Command
1435
1591
  .classBuilder()
1436
1592
  .ep(commonParams)
1437
1593
  .m(function (Command, cs, config, o) {
1438
- return [
1439
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1440
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1441
- ];
1594
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
1595
  })
1443
1596
  .s("PcaConnectorAd", "CreateTemplate", {})
1444
1597
  .n("PcaConnectorAdClient", "CreateTemplateCommand")
1445
- .f(void 0, void 0)
1446
- .ser(se_CreateTemplateCommand)
1447
- .de(de_CreateTemplateCommand)
1598
+ .sc(CreateTemplate)
1448
1599
  .build() {
1449
1600
  }
1450
1601
 
@@ -1452,16 +1603,11 @@ class CreateTemplateGroupAccessControlEntryCommand extends smithyClient.Command
1452
1603
  .classBuilder()
1453
1604
  .ep(commonParams)
1454
1605
  .m(function (Command, cs, config, o) {
1455
- return [
1456
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1457
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1458
- ];
1606
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1459
1607
  })
1460
1608
  .s("PcaConnectorAd", "CreateTemplateGroupAccessControlEntry", {})
1461
1609
  .n("PcaConnectorAdClient", "CreateTemplateGroupAccessControlEntryCommand")
1462
- .f(void 0, void 0)
1463
- .ser(se_CreateTemplateGroupAccessControlEntryCommand)
1464
- .de(de_CreateTemplateGroupAccessControlEntryCommand)
1610
+ .sc(CreateTemplateGroupAccessControlEntry)
1465
1611
  .build() {
1466
1612
  }
1467
1613
 
@@ -1469,16 +1615,11 @@ class DeleteConnectorCommand extends smithyClient.Command
1469
1615
  .classBuilder()
1470
1616
  .ep(commonParams)
1471
1617
  .m(function (Command, cs, config, o) {
1472
- return [
1473
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1474
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1475
- ];
1618
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
1619
  })
1477
1620
  .s("PcaConnectorAd", "DeleteConnector", {})
1478
1621
  .n("PcaConnectorAdClient", "DeleteConnectorCommand")
1479
- .f(void 0, void 0)
1480
- .ser(se_DeleteConnectorCommand)
1481
- .de(de_DeleteConnectorCommand)
1622
+ .sc(DeleteConnector)
1482
1623
  .build() {
1483
1624
  }
1484
1625
 
@@ -1486,16 +1627,11 @@ class DeleteDirectoryRegistrationCommand extends smithyClient.Command
1486
1627
  .classBuilder()
1487
1628
  .ep(commonParams)
1488
1629
  .m(function (Command, cs, config, o) {
1489
- return [
1490
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1491
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1492
- ];
1630
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1493
1631
  })
1494
1632
  .s("PcaConnectorAd", "DeleteDirectoryRegistration", {})
1495
1633
  .n("PcaConnectorAdClient", "DeleteDirectoryRegistrationCommand")
1496
- .f(void 0, void 0)
1497
- .ser(se_DeleteDirectoryRegistrationCommand)
1498
- .de(de_DeleteDirectoryRegistrationCommand)
1634
+ .sc(DeleteDirectoryRegistration)
1499
1635
  .build() {
1500
1636
  }
1501
1637
 
@@ -1503,16 +1639,11 @@ class DeleteServicePrincipalNameCommand extends smithyClient.Command
1503
1639
  .classBuilder()
1504
1640
  .ep(commonParams)
1505
1641
  .m(function (Command, cs, config, o) {
1506
- return [
1507
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1508
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1509
- ];
1642
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
1643
  })
1511
1644
  .s("PcaConnectorAd", "DeleteServicePrincipalName", {})
1512
1645
  .n("PcaConnectorAdClient", "DeleteServicePrincipalNameCommand")
1513
- .f(void 0, void 0)
1514
- .ser(se_DeleteServicePrincipalNameCommand)
1515
- .de(de_DeleteServicePrincipalNameCommand)
1646
+ .sc(DeleteServicePrincipalName)
1516
1647
  .build() {
1517
1648
  }
1518
1649
 
@@ -1520,16 +1651,11 @@ class DeleteTemplateCommand extends smithyClient.Command
1520
1651
  .classBuilder()
1521
1652
  .ep(commonParams)
1522
1653
  .m(function (Command, cs, config, o) {
1523
- return [
1524
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1525
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1526
- ];
1654
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1527
1655
  })
1528
1656
  .s("PcaConnectorAd", "DeleteTemplate", {})
1529
1657
  .n("PcaConnectorAdClient", "DeleteTemplateCommand")
1530
- .f(void 0, void 0)
1531
- .ser(se_DeleteTemplateCommand)
1532
- .de(de_DeleteTemplateCommand)
1658
+ .sc(DeleteTemplate)
1533
1659
  .build() {
1534
1660
  }
1535
1661
 
@@ -1537,16 +1663,11 @@ class DeleteTemplateGroupAccessControlEntryCommand extends smithyClient.Command
1537
1663
  .classBuilder()
1538
1664
  .ep(commonParams)
1539
1665
  .m(function (Command, cs, config, o) {
1540
- return [
1541
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1542
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1543
- ];
1666
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1544
1667
  })
1545
1668
  .s("PcaConnectorAd", "DeleteTemplateGroupAccessControlEntry", {})
1546
1669
  .n("PcaConnectorAdClient", "DeleteTemplateGroupAccessControlEntryCommand")
1547
- .f(void 0, void 0)
1548
- .ser(se_DeleteTemplateGroupAccessControlEntryCommand)
1549
- .de(de_DeleteTemplateGroupAccessControlEntryCommand)
1670
+ .sc(DeleteTemplateGroupAccessControlEntry)
1550
1671
  .build() {
1551
1672
  }
1552
1673
 
@@ -1554,16 +1675,11 @@ class GetConnectorCommand extends smithyClient.Command
1554
1675
  .classBuilder()
1555
1676
  .ep(commonParams)
1556
1677
  .m(function (Command, cs, config, o) {
1557
- return [
1558
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1559
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1560
- ];
1678
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1561
1679
  })
1562
1680
  .s("PcaConnectorAd", "GetConnector", {})
1563
1681
  .n("PcaConnectorAdClient", "GetConnectorCommand")
1564
- .f(void 0, void 0)
1565
- .ser(se_GetConnectorCommand)
1566
- .de(de_GetConnectorCommand)
1682
+ .sc(GetConnector)
1567
1683
  .build() {
1568
1684
  }
1569
1685
 
@@ -1571,16 +1687,11 @@ class GetDirectoryRegistrationCommand extends smithyClient.Command
1571
1687
  .classBuilder()
1572
1688
  .ep(commonParams)
1573
1689
  .m(function (Command, cs, config, o) {
1574
- return [
1575
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1576
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1577
- ];
1690
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1578
1691
  })
1579
1692
  .s("PcaConnectorAd", "GetDirectoryRegistration", {})
1580
1693
  .n("PcaConnectorAdClient", "GetDirectoryRegistrationCommand")
1581
- .f(void 0, void 0)
1582
- .ser(se_GetDirectoryRegistrationCommand)
1583
- .de(de_GetDirectoryRegistrationCommand)
1694
+ .sc(GetDirectoryRegistration)
1584
1695
  .build() {
1585
1696
  }
1586
1697
 
@@ -1588,16 +1699,11 @@ class GetServicePrincipalNameCommand extends smithyClient.Command
1588
1699
  .classBuilder()
1589
1700
  .ep(commonParams)
1590
1701
  .m(function (Command, cs, config, o) {
1591
- return [
1592
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1593
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1594
- ];
1702
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1595
1703
  })
1596
1704
  .s("PcaConnectorAd", "GetServicePrincipalName", {})
1597
1705
  .n("PcaConnectorAdClient", "GetServicePrincipalNameCommand")
1598
- .f(void 0, void 0)
1599
- .ser(se_GetServicePrincipalNameCommand)
1600
- .de(de_GetServicePrincipalNameCommand)
1706
+ .sc(GetServicePrincipalName)
1601
1707
  .build() {
1602
1708
  }
1603
1709
 
@@ -1605,16 +1711,11 @@ class GetTemplateCommand extends smithyClient.Command
1605
1711
  .classBuilder()
1606
1712
  .ep(commonParams)
1607
1713
  .m(function (Command, cs, config, o) {
1608
- return [
1609
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1610
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1611
- ];
1714
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1612
1715
  })
1613
1716
  .s("PcaConnectorAd", "GetTemplate", {})
1614
1717
  .n("PcaConnectorAdClient", "GetTemplateCommand")
1615
- .f(void 0, void 0)
1616
- .ser(se_GetTemplateCommand)
1617
- .de(de_GetTemplateCommand)
1718
+ .sc(GetTemplate)
1618
1719
  .build() {
1619
1720
  }
1620
1721
 
@@ -1622,16 +1723,11 @@ class GetTemplateGroupAccessControlEntryCommand extends smithyClient.Command
1622
1723
  .classBuilder()
1623
1724
  .ep(commonParams)
1624
1725
  .m(function (Command, cs, config, o) {
1625
- return [
1626
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1627
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1628
- ];
1726
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
1727
  })
1630
1728
  .s("PcaConnectorAd", "GetTemplateGroupAccessControlEntry", {})
1631
1729
  .n("PcaConnectorAdClient", "GetTemplateGroupAccessControlEntryCommand")
1632
- .f(void 0, void 0)
1633
- .ser(se_GetTemplateGroupAccessControlEntryCommand)
1634
- .de(de_GetTemplateGroupAccessControlEntryCommand)
1730
+ .sc(GetTemplateGroupAccessControlEntry)
1635
1731
  .build() {
1636
1732
  }
1637
1733
 
@@ -1639,16 +1735,11 @@ class ListConnectorsCommand extends smithyClient.Command
1639
1735
  .classBuilder()
1640
1736
  .ep(commonParams)
1641
1737
  .m(function (Command, cs, config, o) {
1642
- return [
1643
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1644
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1645
- ];
1738
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1646
1739
  })
1647
1740
  .s("PcaConnectorAd", "ListConnectors", {})
1648
1741
  .n("PcaConnectorAdClient", "ListConnectorsCommand")
1649
- .f(void 0, void 0)
1650
- .ser(se_ListConnectorsCommand)
1651
- .de(de_ListConnectorsCommand)
1742
+ .sc(ListConnectors)
1652
1743
  .build() {
1653
1744
  }
1654
1745
 
@@ -1656,16 +1747,11 @@ class ListDirectoryRegistrationsCommand extends smithyClient.Command
1656
1747
  .classBuilder()
1657
1748
  .ep(commonParams)
1658
1749
  .m(function (Command, cs, config, o) {
1659
- return [
1660
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1661
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1662
- ];
1750
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1663
1751
  })
1664
1752
  .s("PcaConnectorAd", "ListDirectoryRegistrations", {})
1665
1753
  .n("PcaConnectorAdClient", "ListDirectoryRegistrationsCommand")
1666
- .f(void 0, void 0)
1667
- .ser(se_ListDirectoryRegistrationsCommand)
1668
- .de(de_ListDirectoryRegistrationsCommand)
1754
+ .sc(ListDirectoryRegistrations)
1669
1755
  .build() {
1670
1756
  }
1671
1757
 
@@ -1673,16 +1759,11 @@ class ListServicePrincipalNamesCommand extends smithyClient.Command
1673
1759
  .classBuilder()
1674
1760
  .ep(commonParams)
1675
1761
  .m(function (Command, cs, config, o) {
1676
- return [
1677
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1678
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1679
- ];
1762
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1680
1763
  })
1681
1764
  .s("PcaConnectorAd", "ListServicePrincipalNames", {})
1682
1765
  .n("PcaConnectorAdClient", "ListServicePrincipalNamesCommand")
1683
- .f(void 0, void 0)
1684
- .ser(se_ListServicePrincipalNamesCommand)
1685
- .de(de_ListServicePrincipalNamesCommand)
1766
+ .sc(ListServicePrincipalNames)
1686
1767
  .build() {
1687
1768
  }
1688
1769
 
@@ -1690,16 +1771,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1690
1771
  .classBuilder()
1691
1772
  .ep(commonParams)
1692
1773
  .m(function (Command, cs, config, o) {
1693
- return [
1694
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1695
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1696
- ];
1774
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1697
1775
  })
1698
1776
  .s("PcaConnectorAd", "ListTagsForResource", {})
1699
1777
  .n("PcaConnectorAdClient", "ListTagsForResourceCommand")
1700
- .f(void 0, void 0)
1701
- .ser(se_ListTagsForResourceCommand)
1702
- .de(de_ListTagsForResourceCommand)
1778
+ .sc(ListTagsForResource)
1703
1779
  .build() {
1704
1780
  }
1705
1781
 
@@ -1707,16 +1783,11 @@ class ListTemplateGroupAccessControlEntriesCommand extends smithyClient.Command
1707
1783
  .classBuilder()
1708
1784
  .ep(commonParams)
1709
1785
  .m(function (Command, cs, config, o) {
1710
- return [
1711
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1712
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1713
- ];
1786
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
1787
  })
1715
1788
  .s("PcaConnectorAd", "ListTemplateGroupAccessControlEntries", {})
1716
1789
  .n("PcaConnectorAdClient", "ListTemplateGroupAccessControlEntriesCommand")
1717
- .f(void 0, void 0)
1718
- .ser(se_ListTemplateGroupAccessControlEntriesCommand)
1719
- .de(de_ListTemplateGroupAccessControlEntriesCommand)
1790
+ .sc(ListTemplateGroupAccessControlEntries)
1720
1791
  .build() {
1721
1792
  }
1722
1793
 
@@ -1724,16 +1795,11 @@ class ListTemplatesCommand extends smithyClient.Command
1724
1795
  .classBuilder()
1725
1796
  .ep(commonParams)
1726
1797
  .m(function (Command, cs, config, o) {
1727
- return [
1728
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1729
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1730
- ];
1798
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1731
1799
  })
1732
1800
  .s("PcaConnectorAd", "ListTemplates", {})
1733
1801
  .n("PcaConnectorAdClient", "ListTemplatesCommand")
1734
- .f(void 0, void 0)
1735
- .ser(se_ListTemplatesCommand)
1736
- .de(de_ListTemplatesCommand)
1802
+ .sc(ListTemplates)
1737
1803
  .build() {
1738
1804
  }
1739
1805
 
@@ -1741,16 +1807,11 @@ class TagResourceCommand extends smithyClient.Command
1741
1807
  .classBuilder()
1742
1808
  .ep(commonParams)
1743
1809
  .m(function (Command, cs, config, o) {
1744
- return [
1745
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1746
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1747
- ];
1810
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1748
1811
  })
1749
1812
  .s("PcaConnectorAd", "TagResource", {})
1750
1813
  .n("PcaConnectorAdClient", "TagResourceCommand")
1751
- .f(void 0, void 0)
1752
- .ser(se_TagResourceCommand)
1753
- .de(de_TagResourceCommand)
1814
+ .sc(TagResource)
1754
1815
  .build() {
1755
1816
  }
1756
1817
 
@@ -1758,16 +1819,11 @@ class UntagResourceCommand extends smithyClient.Command
1758
1819
  .classBuilder()
1759
1820
  .ep(commonParams)
1760
1821
  .m(function (Command, cs, config, o) {
1761
- return [
1762
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1763
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1764
- ];
1822
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1765
1823
  })
1766
1824
  .s("PcaConnectorAd", "UntagResource", {})
1767
1825
  .n("PcaConnectorAdClient", "UntagResourceCommand")
1768
- .f(void 0, void 0)
1769
- .ser(se_UntagResourceCommand)
1770
- .de(de_UntagResourceCommand)
1826
+ .sc(UntagResource)
1771
1827
  .build() {
1772
1828
  }
1773
1829
 
@@ -1775,16 +1831,11 @@ class UpdateTemplateCommand extends smithyClient.Command
1775
1831
  .classBuilder()
1776
1832
  .ep(commonParams)
1777
1833
  .m(function (Command, cs, config, o) {
1778
- return [
1779
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1780
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1781
- ];
1834
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1782
1835
  })
1783
1836
  .s("PcaConnectorAd", "UpdateTemplate", {})
1784
1837
  .n("PcaConnectorAdClient", "UpdateTemplateCommand")
1785
- .f(void 0, void 0)
1786
- .ser(se_UpdateTemplateCommand)
1787
- .de(de_UpdateTemplateCommand)
1838
+ .sc(UpdateTemplate)
1788
1839
  .build() {
1789
1840
  }
1790
1841
 
@@ -1792,16 +1843,11 @@ class UpdateTemplateGroupAccessControlEntryCommand extends smithyClient.Command
1792
1843
  .classBuilder()
1793
1844
  .ep(commonParams)
1794
1845
  .m(function (Command, cs, config, o) {
1795
- return [
1796
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1797
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1798
- ];
1846
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1799
1847
  })
1800
1848
  .s("PcaConnectorAd", "UpdateTemplateGroupAccessControlEntry", {})
1801
1849
  .n("PcaConnectorAdClient", "UpdateTemplateGroupAccessControlEntryCommand")
1802
- .f(void 0, void 0)
1803
- .ser(se_UpdateTemplateGroupAccessControlEntryCommand)
1804
- .de(de_UpdateTemplateGroupAccessControlEntryCommand)
1850
+ .sc(UpdateTemplateGroupAccessControlEntry)
1805
1851
  .build() {
1806
1852
  }
1807
1853
 
@@ -1854,13 +1900,13 @@ Object.defineProperty(exports, "__Client", {
1854
1900
  enumerable: true,
1855
1901
  get: function () { return smithyClient.Client; }
1856
1902
  });
1857
- exports.AccessDeniedException = AccessDeniedException;
1903
+ exports.AccessDeniedException = AccessDeniedException$1;
1858
1904
  exports.AccessRight = AccessRight;
1859
1905
  exports.ApplicationPolicyType = ApplicationPolicyType;
1860
1906
  exports.ClientCompatibilityV2 = ClientCompatibilityV2;
1861
1907
  exports.ClientCompatibilityV3 = ClientCompatibilityV3;
1862
1908
  exports.ClientCompatibilityV4 = ClientCompatibilityV4;
1863
- exports.ConflictException = ConflictException;
1909
+ exports.ConflictException = ConflictException$1;
1864
1910
  exports.ConnectorStatus = ConnectorStatus;
1865
1911
  exports.ConnectorStatusReason = ConnectorStatusReason;
1866
1912
  exports.CreateConnectorCommand = CreateConnectorCommand;
@@ -1881,7 +1927,7 @@ exports.GetServicePrincipalNameCommand = GetServicePrincipalNameCommand;
1881
1927
  exports.GetTemplateCommand = GetTemplateCommand;
1882
1928
  exports.GetTemplateGroupAccessControlEntryCommand = GetTemplateGroupAccessControlEntryCommand;
1883
1929
  exports.HashAlgorithm = HashAlgorithm;
1884
- exports.InternalServerException = InternalServerException;
1930
+ exports.InternalServerException = InternalServerException$1;
1885
1931
  exports.IpAddressType = IpAddressType;
1886
1932
  exports.KeySpec = KeySpec;
1887
1933
  exports.KeyUsagePropertyType = KeyUsagePropertyType;
@@ -1893,19 +1939,19 @@ exports.ListTemplateGroupAccessControlEntriesCommand = ListTemplateGroupAccessCo
1893
1939
  exports.ListTemplatesCommand = ListTemplatesCommand;
1894
1940
  exports.PcaConnectorAd = PcaConnectorAd;
1895
1941
  exports.PcaConnectorAdClient = PcaConnectorAdClient;
1896
- exports.PcaConnectorAdServiceException = PcaConnectorAdServiceException;
1942
+ exports.PcaConnectorAdServiceException = PcaConnectorAdServiceException$1;
1897
1943
  exports.PrivateKeyAlgorithm = PrivateKeyAlgorithm;
1898
- exports.ResourceNotFoundException = ResourceNotFoundException;
1944
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1899
1945
  exports.ServicePrincipalNameStatus = ServicePrincipalNameStatus;
1900
1946
  exports.ServicePrincipalNameStatusReason = ServicePrincipalNameStatusReason;
1901
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1947
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1902
1948
  exports.TagResourceCommand = TagResourceCommand;
1903
1949
  exports.TemplateStatus = TemplateStatus;
1904
- exports.ThrottlingException = ThrottlingException;
1950
+ exports.ThrottlingException = ThrottlingException$1;
1905
1951
  exports.UntagResourceCommand = UntagResourceCommand;
1906
1952
  exports.UpdateTemplateCommand = UpdateTemplateCommand;
1907
1953
  exports.UpdateTemplateGroupAccessControlEntryCommand = UpdateTemplateGroupAccessControlEntryCommand;
1908
- exports.ValidationException = ValidationException;
1954
+ exports.ValidationException = ValidationException$1;
1909
1955
  exports.ValidationExceptionReason = ValidationExceptionReason;
1910
1956
  exports.ValidityPeriodType = ValidityPeriodType;
1911
1957
  exports.paginateListConnectors = paginateListConnectors;