@aws-sdk/client-pca-connector-ad 3.927.0 → 3.929.0

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