@aws-sdk/client-pca-connector-scep 3.595.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 (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +305 -0
  3. package/dist-cjs/PcaConnectorScep.js +35 -0
  4. package/dist-cjs/PcaConnectorScepClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateChallengeCommand.js +29 -0
  8. package/dist-cjs/commands/CreateConnectorCommand.js +28 -0
  9. package/dist-cjs/commands/DeleteChallengeCommand.js +28 -0
  10. package/dist-cjs/commands/DeleteConnectorCommand.js +28 -0
  11. package/dist-cjs/commands/GetChallengeMetadataCommand.js +28 -0
  12. package/dist-cjs/commands/GetChallengePasswordCommand.js +29 -0
  13. package/dist-cjs/commands/GetConnectorCommand.js +28 -0
  14. package/dist-cjs/commands/ListChallengeMetadataCommand.js +28 -0
  15. package/dist-cjs/commands/ListConnectorsCommand.js +28 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  17. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  18. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  19. package/dist-cjs/commands/index.js +15 -0
  20. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  21. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  22. package/dist-cjs/endpoint/ruleset.js +7 -0
  23. package/dist-cjs/extensionConfiguration.js +2 -0
  24. package/dist-cjs/index.js +11 -0
  25. package/dist-cjs/models/PcaConnectorScepServiceException.js +12 -0
  26. package/dist-cjs/models/index.js +4 -0
  27. package/dist-cjs/models/models_0.js +177 -0
  28. package/dist-cjs/pagination/Interfaces.js +2 -0
  29. package/dist-cjs/pagination/ListChallengeMetadataPaginator.js +7 -0
  30. package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
  31. package/dist-cjs/pagination/index.js +6 -0
  32. package/dist-cjs/protocols/Aws_restJson1.js +565 -0
  33. package/dist-cjs/runtimeConfig.browser.js +39 -0
  34. package/dist-cjs/runtimeConfig.js +49 -0
  35. package/dist-cjs/runtimeConfig.native.js +15 -0
  36. package/dist-cjs/runtimeConfig.shared.js +34 -0
  37. package/dist-cjs/runtimeExtensions.js +25 -0
  38. package/dist-es/PcaConnectorScep.js +31 -0
  39. package/dist-es/PcaConnectorScepClient.js +52 -0
  40. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  41. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  42. package/dist-es/commands/CreateChallengeCommand.js +25 -0
  43. package/dist-es/commands/CreateConnectorCommand.js +24 -0
  44. package/dist-es/commands/DeleteChallengeCommand.js +24 -0
  45. package/dist-es/commands/DeleteConnectorCommand.js +24 -0
  46. package/dist-es/commands/GetChallengeMetadataCommand.js +24 -0
  47. package/dist-es/commands/GetChallengePasswordCommand.js +25 -0
  48. package/dist-es/commands/GetConnectorCommand.js +24 -0
  49. package/dist-es/commands/ListChallengeMetadataCommand.js +24 -0
  50. package/dist-es/commands/ListConnectorsCommand.js +24 -0
  51. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  52. package/dist-es/commands/TagResourceCommand.js +24 -0
  53. package/dist-es/commands/UntagResourceCommand.js +24 -0
  54. package/dist-es/commands/index.js +12 -0
  55. package/dist-es/endpoint/EndpointParameters.js +14 -0
  56. package/dist-es/endpoint/endpointResolver.js +10 -0
  57. package/dist-es/endpoint/ruleset.js +4 -0
  58. package/dist-es/extensionConfiguration.js +1 -0
  59. package/dist-es/index.js +6 -0
  60. package/dist-es/models/PcaConnectorScepServiceException.js +8 -0
  61. package/dist-es/models/index.js +1 -0
  62. package/dist-es/models/models_0.js +163 -0
  63. package/dist-es/pagination/Interfaces.js +1 -0
  64. package/dist-es/pagination/ListChallengeMetadataPaginator.js +4 -0
  65. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  66. package/dist-es/pagination/index.js +3 -0
  67. package/dist-es/protocols/Aws_restJson1.js +538 -0
  68. package/dist-es/runtimeConfig.browser.js +34 -0
  69. package/dist-es/runtimeConfig.js +44 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +30 -0
  72. package/dist-es/runtimeExtensions.js +21 -0
  73. package/dist-types/PcaConnectorScep.d.ts +99 -0
  74. package/dist-types/PcaConnectorScepClient.d.ts +187 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  77. package/dist-types/commands/CreateChallengeCommand.d.ts +101 -0
  78. package/dist-types/commands/CreateConnectorCommand.d.ts +97 -0
  79. package/dist-types/commands/DeleteChallengeCommand.d.ts +82 -0
  80. package/dist-types/commands/DeleteConnectorCommand.d.ts +82 -0
  81. package/dist-types/commands/GetChallengeMetadataCommand.d.ts +85 -0
  82. package/dist-types/commands/GetChallengePasswordCommand.d.ts +80 -0
  83. package/dist-types/commands/GetConnectorCommand.d.ts +100 -0
  84. package/dist-types/commands/ListChallengeMetadataCommand.d.ts +90 -0
  85. package/dist-types/commands/ListConnectorsCommand.d.ts +101 -0
  86. package/dist-types/commands/ListTagsForResourceCommand.d.ts +86 -0
  87. package/dist-types/commands/TagResourceCommand.d.ts +81 -0
  88. package/dist-types/commands/UntagResourceCommand.d.ts +81 -0
  89. package/dist-types/commands/index.d.ts +12 -0
  90. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  91. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  92. package/dist-types/endpoint/ruleset.d.ts +2 -0
  93. package/dist-types/extensionConfiguration.d.ts +9 -0
  94. package/dist-types/index.d.ts +18 -0
  95. package/dist-types/models/PcaConnectorScepServiceException.d.ts +14 -0
  96. package/dist-types/models/index.d.ts +1 -0
  97. package/dist-types/models/models_0.d.ts +763 -0
  98. package/dist-types/pagination/Interfaces.d.ts +8 -0
  99. package/dist-types/pagination/ListChallengeMetadataPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +3 -0
  102. package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
  103. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  104. package/dist-types/runtimeConfig.d.ts +45 -0
  105. package/dist-types/runtimeConfig.native.d.ts +44 -0
  106. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  107. package/dist-types/runtimeExtensions.d.ts +17 -0
  108. package/dist-types/ts3.4/PcaConnectorScep.d.ts +212 -0
  109. package/dist-types/ts3.4/PcaConnectorScepClient.d.ts +195 -0
  110. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  111. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  112. package/dist-types/ts3.4/commands/CreateChallengeCommand.d.ts +39 -0
  113. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +39 -0
  114. package/dist-types/ts3.4/commands/DeleteChallengeCommand.d.ts +34 -0
  115. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +34 -0
  116. package/dist-types/ts3.4/commands/GetChallengeMetadataCommand.d.ts +40 -0
  117. package/dist-types/ts3.4/commands/GetChallengePasswordCommand.d.ts +40 -0
  118. package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +36 -0
  119. package/dist-types/ts3.4/commands/ListChallengeMetadataCommand.d.ts +40 -0
  120. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  122. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  123. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  124. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  125. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  126. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  127. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  128. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  129. package/dist-types/ts3.4/index.d.ts +9 -0
  130. package/dist-types/ts3.4/models/PcaConnectorScepServiceException.d.ts +9 -0
  131. package/dist-types/ts3.4/models/index.d.ts +1 -0
  132. package/dist-types/ts3.4/models/models_0.d.ts +257 -0
  133. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  134. package/dist-types/ts3.4/pagination/ListChallengeMetadataPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  137. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  142. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  143. package/package.json +103 -0
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthSchemeConfig = exports.defaultPcaConnectorScepHttpAuthSchemeProvider = exports.defaultPcaConnectorScepHttpAuthSchemeParametersProvider = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const util_middleware_1 = require("@smithy/util-middleware");
6
+ const defaultPcaConnectorScepHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
+ region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
+ (() => {
11
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
+ })(),
13
+ };
14
+ };
15
+ exports.defaultPcaConnectorScepHttpAuthSchemeParametersProvider = defaultPcaConnectorScepHttpAuthSchemeParametersProvider;
16
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
17
+ return {
18
+ schemeId: "aws.auth#sigv4",
19
+ signingProperties: {
20
+ name: "pca-connector-scep",
21
+ region: authParameters.region,
22
+ },
23
+ propertiesExtractor: (config, context) => ({
24
+ signingProperties: {
25
+ config,
26
+ context,
27
+ },
28
+ }),
29
+ };
30
+ }
31
+ const defaultPcaConnectorScepHttpAuthSchemeProvider = (authParameters) => {
32
+ const options = [];
33
+ switch (authParameters.operation) {
34
+ default: {
35
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
36
+ }
37
+ }
38
+ return options;
39
+ };
40
+ exports.defaultPcaConnectorScepHttpAuthSchemeProvider = defaultPcaConnectorScepHttpAuthSchemeProvider;
41
+ const resolveHttpAuthSchemeConfig = (config) => {
42
+ const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
+ return {
44
+ ...config_0,
45
+ };
46
+ };
47
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateChallengeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class CreateChallengeCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("PcaConnectorScep", "CreateChallenge", {})
23
+ .n("PcaConnectorScepClient", "CreateChallengeCommand")
24
+ .f(void 0, models_0_1.CreateChallengeResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_CreateChallengeCommand)
26
+ .de(Aws_restJson1_1.de_CreateChallengeCommand)
27
+ .build() {
28
+ }
29
+ exports.CreateChallengeCommand = CreateChallengeCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateConnectorCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateConnectorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "CreateConnector", {})
22
+ .n("PcaConnectorScepClient", "CreateConnectorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateConnectorCommand)
25
+ .de(Aws_restJson1_1.de_CreateConnectorCommand)
26
+ .build() {
27
+ }
28
+ exports.CreateConnectorCommand = CreateConnectorCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteChallengeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteChallengeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "DeleteChallenge", {})
22
+ .n("PcaConnectorScepClient", "DeleteChallengeCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteChallengeCommand)
25
+ .de(Aws_restJson1_1.de_DeleteChallengeCommand)
26
+ .build() {
27
+ }
28
+ exports.DeleteChallengeCommand = DeleteChallengeCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteConnectorCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteConnectorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "DeleteConnector", {})
22
+ .n("PcaConnectorScepClient", "DeleteConnectorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteConnectorCommand)
25
+ .de(Aws_restJson1_1.de_DeleteConnectorCommand)
26
+ .build() {
27
+ }
28
+ exports.DeleteConnectorCommand = DeleteConnectorCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetChallengeMetadataCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetChallengeMetadataCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "GetChallengeMetadata", {})
22
+ .n("PcaConnectorScepClient", "GetChallengeMetadataCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetChallengeMetadataCommand)
25
+ .de(Aws_restJson1_1.de_GetChallengeMetadataCommand)
26
+ .build() {
27
+ }
28
+ exports.GetChallengeMetadataCommand = GetChallengeMetadataCommand;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetChallengePasswordCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class GetChallengePasswordCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("PcaConnectorScep", "GetChallengePassword", {})
23
+ .n("PcaConnectorScepClient", "GetChallengePasswordCommand")
24
+ .f(void 0, models_0_1.GetChallengePasswordResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_GetChallengePasswordCommand)
26
+ .de(Aws_restJson1_1.de_GetChallengePasswordCommand)
27
+ .build() {
28
+ }
29
+ exports.GetChallengePasswordCommand = GetChallengePasswordCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetConnectorCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetConnectorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "GetConnector", {})
22
+ .n("PcaConnectorScepClient", "GetConnectorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetConnectorCommand)
25
+ .de(Aws_restJson1_1.de_GetConnectorCommand)
26
+ .build() {
27
+ }
28
+ exports.GetConnectorCommand = GetConnectorCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListChallengeMetadataCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListChallengeMetadataCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "ListChallengeMetadata", {})
22
+ .n("PcaConnectorScepClient", "ListChallengeMetadataCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListChallengeMetadataCommand)
25
+ .de(Aws_restJson1_1.de_ListChallengeMetadataCommand)
26
+ .build() {
27
+ }
28
+ exports.ListChallengeMetadataCommand = ListChallengeMetadataCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListConnectorsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListConnectorsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "ListConnectors", {})
22
+ .n("PcaConnectorScepClient", "ListConnectorsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListConnectorsCommand)
25
+ .de(Aws_restJson1_1.de_ListConnectorsCommand)
26
+ .build() {
27
+ }
28
+ exports.ListConnectorsCommand = ListConnectorsCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListTagsForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "ListTagsForResource", {})
22
+ .n("PcaConnectorScepClient", "ListTagsForResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
25
+ .de(Aws_restJson1_1.de_ListTagsForResourceCommand)
26
+ .build() {
27
+ }
28
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "TagResource", {})
22
+ .n("PcaConnectorScepClient", "TagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_TagResourceCommand)
25
+ .de(Aws_restJson1_1.de_TagResourceCommand)
26
+ .build() {
27
+ }
28
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("PcaConnectorScep", "UntagResource", {})
22
+ .n("PcaConnectorScepClient", "UntagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UntagResourceCommand)
25
+ .de(Aws_restJson1_1.de_UntagResourceCommand)
26
+ .build() {
27
+ }
28
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateChallengeCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateConnectorCommand"), exports);
6
+ tslib_1.__exportStar(require("./DeleteChallengeCommand"), exports);
7
+ tslib_1.__exportStar(require("./DeleteConnectorCommand"), exports);
8
+ tslib_1.__exportStar(require("./GetChallengeMetadataCommand"), exports);
9
+ tslib_1.__exportStar(require("./GetChallengePasswordCommand"), exports);
10
+ tslib_1.__exportStar(require("./GetConnectorCommand"), exports);
11
+ tslib_1.__exportStar(require("./ListChallengeMetadataCommand"), exports);
12
+ tslib_1.__exportStar(require("./ListConnectorsCommand"), exports);
13
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
14
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
15
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return {
6
+ ...options,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
9
+ defaultSigningName: "pca-connector-scep",
10
+ };
11
+ };
12
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
6
+ const ruleset_1 = require("./ruleset");
7
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
9
+ endpointParams: endpointParams,
10
+ logger: context.logger,
11
+ });
12
+ };
13
+ exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://pca-connector-scep-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://pca-connector-scep-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://pca-connector-scep.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://pca-connector-scep.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PcaConnectorScepServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./PcaConnectorScepClient"), exports);
6
+ tslib_1.__exportStar(require("./PcaConnectorScep"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ var PcaConnectorScepServiceException_1 = require("./models/PcaConnectorScepServiceException");
11
+ Object.defineProperty(exports, "PcaConnectorScepServiceException", { enumerable: true, get: function () { return PcaConnectorScepServiceException_1.PcaConnectorScepServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PcaConnectorScepServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class PcaConnectorScepServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, PcaConnectorScepServiceException.prototype);
10
+ }
11
+ }
12
+ exports.PcaConnectorScepServiceException = PcaConnectorScepServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);