@aws-sdk/client-acm 3.194.0 → 3.195.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/ACMClient.js +11 -8
- package/dist-cjs/commands/AddTagsToCertificateCommand.js +10 -0
- package/dist-cjs/commands/DeleteCertificateCommand.js +10 -0
- package/dist-cjs/commands/DescribeCertificateCommand.js +10 -0
- package/dist-cjs/commands/ExportCertificateCommand.js +10 -0
- package/dist-cjs/commands/GetAccountConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetCertificateCommand.js +10 -0
- package/dist-cjs/commands/ImportCertificateCommand.js +10 -0
- package/dist-cjs/commands/ListCertificatesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForCertificateCommand.js +10 -0
- package/dist-cjs/commands/PutAccountConfigurationCommand.js +10 -0
- package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +10 -0
- package/dist-cjs/commands/RenewCertificateCommand.js +10 -0
- package/dist-cjs/commands/RequestCertificateCommand.js +10 -0
- package/dist-cjs/commands/ResendValidationEmailCommand.js +10 -0
- package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +343 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/ACMClient.js +12 -9
- package/dist-es/commands/AddTagsToCertificateCommand.js +10 -0
- package/dist-es/commands/DeleteCertificateCommand.js +10 -0
- package/dist-es/commands/DescribeCertificateCommand.js +10 -0
- package/dist-es/commands/ExportCertificateCommand.js +10 -0
- package/dist-es/commands/GetAccountConfigurationCommand.js +10 -0
- package/dist-es/commands/GetCertificateCommand.js +10 -0
- package/dist-es/commands/ImportCertificateCommand.js +10 -0
- package/dist-es/commands/ListCertificatesCommand.js +10 -0
- package/dist-es/commands/ListTagsForCertificateCommand.js +10 -0
- package/dist-es/commands/PutAccountConfigurationCommand.js +10 -0
- package/dist-es/commands/RemoveTagsFromCertificateCommand.js +10 -0
- package/dist-es/commands/RenewCertificateCommand.js +10 -0
- package/dist-es/commands/RequestCertificateCommand.js +10 -0
- package/dist-es/commands/ResendValidationEmailCommand.js +10 -0
- package/dist-es/commands/UpdateCertificateOptionsCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +340 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/ACMClient.d.ts +6 -9
- package/dist-types/commands/AddTagsToCertificateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCertificateCommand.d.ts +2 -0
- package/dist-types/commands/ExportCertificateCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetCertificateCommand.d.ts +2 -0
- package/dist-types/commands/ImportCertificateCommand.d.ts +2 -0
- package/dist-types/commands/ListCertificatesCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForCertificateCommand.d.ts +2 -0
- package/dist-types/commands/PutAccountConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +2 -0
- package/dist-types/commands/RenewCertificateCommand.d.ts +2 -0
- package/dist-types/commands/RequestCertificateCommand.d.ts +2 -0
- package/dist-types/commands/ResendValidationEmailCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/ACMClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AddTagsToCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExportCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccountConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveTagsFromCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RenewCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RequestCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ResendValidationEmailCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCertificateOptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +3 -1
- package/dist-cjs/endpoints.js +0 -196
- package/dist-es/endpoints.js +0 -192
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.195.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.194.0...v3.195.0) (2022-10-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **endpoint:** endpoints models for awsJson1.1 ([#4079](https://github.com/aws/aws-sdk-js-v3/issues/4079)) ([246d653](https://github.com/aws/aws-sdk-js-v3/commit/246d6534c53dcf9bd2eb6a620cb5b6c04b27451a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.194.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.193.0...v3.194.0) (2022-10-21)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-acm
|
package/dist-cjs/ACMClient.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ACMClient = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
6
7
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
8
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
9
|
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
@@ -10,18 +11,20 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
13
15
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
14
16
|
class ACMClient extends smithy_client_1.Client {
|
|
15
17
|
constructor(configuration) {
|
|
16
18
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
17
|
-
const _config_1 = (0,
|
|
18
|
-
const _config_2 = (0, config_resolver_1.
|
|
19
|
-
const _config_3 = (0,
|
|
20
|
-
const _config_4 = (0,
|
|
21
|
-
const _config_5 = (0,
|
|
22
|
-
const _config_6 = (0,
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
20
|
+
const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
|
|
21
|
+
const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
|
|
22
|
+
const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
|
|
23
|
+
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
24
|
+
const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
|
|
25
|
+
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
|
26
|
+
super(_config_7);
|
|
27
|
+
this.config = _config_7;
|
|
25
28
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
26
29
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
27
30
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AddTagsToCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class AddTagsToCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddTagsToCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class DeleteCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class DescribeCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExportCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class ExportCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ExportCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAccountConfigurationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class GetAccountConfigurationCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccountConfigurationCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class GetCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ImportCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class ImportCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ImportCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListCertificatesCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class ListCertificatesCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCertificatesCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListTagsForCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class ListTagsForCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PutAccountConfigurationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class PutAccountConfigurationCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutAccountConfigurationCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveTagsFromCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RemoveTagsFromCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveTagsFromCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RenewCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RenewCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RenewCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RequestCertificateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RequestCertificateCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RequestCertificateCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResendValidationEmailCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class ResendValidationEmailCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResendValidationEmailCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateCertificateOptionsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UpdateCertificateOptionsCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCertificateOptionsCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ACMClient";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return {
|
|
7
|
+
...options,
|
|
8
|
+
useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
|
|
9
|
+
useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
|
|
10
|
+
defaultSigningName: "acm",
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|