@aws-sdk/client-imagebuilder 3.193.0 → 3.196.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 +19 -0
- package/dist-cjs/ImagebuilderClient.js +11 -8
- package/dist-cjs/commands/CancelImageCreationCommand.js +10 -0
- package/dist-cjs/commands/CreateComponentCommand.js +10 -0
- package/dist-cjs/commands/CreateContainerRecipeCommand.js +10 -0
- package/dist-cjs/commands/CreateDistributionConfigurationCommand.js +10 -0
- package/dist-cjs/commands/CreateImageCommand.js +10 -0
- package/dist-cjs/commands/CreateImagePipelineCommand.js +10 -0
- package/dist-cjs/commands/CreateImageRecipeCommand.js +10 -0
- package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeleteComponentCommand.js +10 -0
- package/dist-cjs/commands/DeleteContainerRecipeCommand.js +10 -0
- package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeleteImageCommand.js +10 -0
- package/dist-cjs/commands/DeleteImagePipelineCommand.js +10 -0
- package/dist-cjs/commands/DeleteImageRecipeCommand.js +10 -0
- package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetComponentCommand.js +10 -0
- package/dist-cjs/commands/GetComponentPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetContainerRecipeCommand.js +10 -0
- package/dist-cjs/commands/GetContainerRecipePolicyCommand.js +10 -0
- package/dist-cjs/commands/GetDistributionConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetImageCommand.js +10 -0
- package/dist-cjs/commands/GetImagePipelineCommand.js +10 -0
- package/dist-cjs/commands/GetImagePolicyCommand.js +10 -0
- package/dist-cjs/commands/GetImageRecipeCommand.js +10 -0
- package/dist-cjs/commands/GetImageRecipePolicyCommand.js +10 -0
- package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js +10 -0
- package/dist-cjs/commands/ImportComponentCommand.js +10 -0
- package/dist-cjs/commands/ImportVmImageCommand.js +10 -0
- package/dist-cjs/commands/ListComponentBuildVersionsCommand.js +10 -0
- package/dist-cjs/commands/ListComponentsCommand.js +10 -0
- package/dist-cjs/commands/ListContainerRecipesCommand.js +10 -0
- package/dist-cjs/commands/ListDistributionConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/ListImageBuildVersionsCommand.js +10 -0
- package/dist-cjs/commands/ListImagePackagesCommand.js +10 -0
- package/dist-cjs/commands/ListImagePipelineImagesCommand.js +10 -0
- package/dist-cjs/commands/ListImagePipelinesCommand.js +10 -0
- package/dist-cjs/commands/ListImageRecipesCommand.js +10 -0
- package/dist-cjs/commands/ListImagesCommand.js +10 -0
- package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/PutComponentPolicyCommand.js +10 -0
- package/dist-cjs/commands/PutContainerRecipePolicyCommand.js +10 -0
- package/dist-cjs/commands/PutImagePolicyCommand.js +10 -0
- package/dist-cjs/commands/PutImageRecipePolicyCommand.js +10 -0
- package/dist-cjs/commands/StartImagePipelineExecutionCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateDistributionConfigurationCommand.js +10 -0
- package/dist-cjs/commands/UpdateImagePipelineCommand.js +10 -0
- package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.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 +312 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/ImagebuilderClient.js +12 -9
- package/dist-es/commands/CancelImageCreationCommand.js +10 -0
- package/dist-es/commands/CreateComponentCommand.js +10 -0
- package/dist-es/commands/CreateContainerRecipeCommand.js +10 -0
- package/dist-es/commands/CreateDistributionConfigurationCommand.js +10 -0
- package/dist-es/commands/CreateImageCommand.js +10 -0
- package/dist-es/commands/CreateImagePipelineCommand.js +10 -0
- package/dist-es/commands/CreateImageRecipeCommand.js +10 -0
- package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +10 -0
- package/dist-es/commands/DeleteComponentCommand.js +10 -0
- package/dist-es/commands/DeleteContainerRecipeCommand.js +10 -0
- package/dist-es/commands/DeleteDistributionConfigurationCommand.js +10 -0
- package/dist-es/commands/DeleteImageCommand.js +10 -0
- package/dist-es/commands/DeleteImagePipelineCommand.js +10 -0
- package/dist-es/commands/DeleteImageRecipeCommand.js +10 -0
- package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +10 -0
- package/dist-es/commands/GetComponentCommand.js +10 -0
- package/dist-es/commands/GetComponentPolicyCommand.js +10 -0
- package/dist-es/commands/GetContainerRecipeCommand.js +10 -0
- package/dist-es/commands/GetContainerRecipePolicyCommand.js +10 -0
- package/dist-es/commands/GetDistributionConfigurationCommand.js +10 -0
- package/dist-es/commands/GetImageCommand.js +10 -0
- package/dist-es/commands/GetImagePipelineCommand.js +10 -0
- package/dist-es/commands/GetImagePolicyCommand.js +10 -0
- package/dist-es/commands/GetImageRecipeCommand.js +10 -0
- package/dist-es/commands/GetImageRecipePolicyCommand.js +10 -0
- package/dist-es/commands/GetInfrastructureConfigurationCommand.js +10 -0
- package/dist-es/commands/ImportComponentCommand.js +10 -0
- package/dist-es/commands/ImportVmImageCommand.js +10 -0
- package/dist-es/commands/ListComponentBuildVersionsCommand.js +10 -0
- package/dist-es/commands/ListComponentsCommand.js +10 -0
- package/dist-es/commands/ListContainerRecipesCommand.js +10 -0
- package/dist-es/commands/ListDistributionConfigurationsCommand.js +10 -0
- package/dist-es/commands/ListImageBuildVersionsCommand.js +10 -0
- package/dist-es/commands/ListImagePackagesCommand.js +10 -0
- package/dist-es/commands/ListImagePipelineImagesCommand.js +10 -0
- package/dist-es/commands/ListImagePipelinesCommand.js +10 -0
- package/dist-es/commands/ListImageRecipesCommand.js +10 -0
- package/dist-es/commands/ListImagesCommand.js +10 -0
- package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/PutComponentPolicyCommand.js +10 -0
- package/dist-es/commands/PutContainerRecipePolicyCommand.js +10 -0
- package/dist-es/commands/PutImagePolicyCommand.js +10 -0
- package/dist-es/commands/PutImageRecipePolicyCommand.js +10 -0
- package/dist-es/commands/StartImagePipelineExecutionCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateDistributionConfigurationCommand.js +10 -0
- package/dist-es/commands/UpdateImagePipelineCommand.js +10 -0
- package/dist-es/commands/UpdateInfrastructureConfigurationCommand.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 +309 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/ImagebuilderClient.d.ts +6 -9
- package/dist-types/commands/CancelImageCreationCommand.d.ts +2 -0
- package/dist-types/commands/CreateComponentCommand.d.ts +2 -0
- package/dist-types/commands/CreateContainerRecipeCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/CreateImageCommand.d.ts +2 -0
- package/dist-types/commands/CreateImagePipelineCommand.d.ts +2 -0
- package/dist-types/commands/CreateImageRecipeCommand.d.ts +2 -0
- package/dist-types/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteComponentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteContainerRecipeCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDistributionConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteImageCommand.d.ts +2 -0
- package/dist-types/commands/DeleteImagePipelineCommand.d.ts +2 -0
- package/dist-types/commands/DeleteImageRecipeCommand.d.ts +2 -0
- package/dist-types/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetComponentCommand.d.ts +2 -0
- package/dist-types/commands/GetComponentPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetContainerRecipeCommand.d.ts +2 -0
- package/dist-types/commands/GetContainerRecipePolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetDistributionConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetImageCommand.d.ts +2 -0
- package/dist-types/commands/GetImagePipelineCommand.d.ts +2 -0
- package/dist-types/commands/GetImagePolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetImageRecipeCommand.d.ts +2 -0
- package/dist-types/commands/GetImageRecipePolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetInfrastructureConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/ImportComponentCommand.d.ts +2 -0
- package/dist-types/commands/ImportVmImageCommand.d.ts +2 -0
- package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +2 -0
- package/dist-types/commands/ListContainerRecipesCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListImagePackagesCommand.d.ts +2 -0
- package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +2 -0
- package/dist-types/commands/ListImagePipelinesCommand.d.ts +2 -0
- package/dist-types/commands/ListImageRecipesCommand.d.ts +2 -0
- package/dist-types/commands/ListImagesCommand.d.ts +2 -0
- package/dist-types/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/PutComponentPolicyCommand.d.ts +2 -0
- package/dist-types/commands/PutContainerRecipePolicyCommand.d.ts +2 -0
- package/dist-types/commands/PutImagePolicyCommand.d.ts +2 -0
- package/dist-types/commands/PutImageRecipePolicyCommand.d.ts +2 -0
- package/dist-types/commands/StartImagePipelineExecutionCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDistributionConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateImagePipelineCommand.d.ts +2 -0
- package/dist-types/commands/UpdateInfrastructureConfigurationCommand.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/ImagebuilderClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CancelImageCreationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDistributionConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateImagePipelineCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateImageRecipeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteContainerRecipeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDistributionConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteImagePipelineCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteImageRecipeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetComponentPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetContainerRecipeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetContainerRecipePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDistributionConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImagePipelineCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImagePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImageRecipeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImageRecipePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInfrastructureConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportComponentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportVmImageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListContainerRecipesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDistributionConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImageBuildVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImagePackagesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImagePipelineImagesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImagePipelinesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImageRecipesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutComponentPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutImagePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartImagePipelineExecutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDistributionConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateInfrastructureConfigurationCommand.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 +5 -3
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListImageBuildVersionsRequestFilterSensitiveLog, ListImageBuildVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListImageBuildVersionsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListImageBuildVersionsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListImagePackagesRequestFilterSensitiveLog, ListImagePackagesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListImagePackagesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListImagePackagesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListImagePipelineImagesRequestFilterSensitiveLog, ListImagePipelineImagesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListImagePipelineImagesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListImagePipelineImagesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListImagePipelinesRequestFilterSensitiveLog, ListImagePipelinesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListImagePipelinesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListImagePipelinesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListImageRecipesRequestFilterSensitiveLog, ListImageRecipesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListImageRecipesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListImageRecipesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListImagesRequestFilterSensitiveLog, ListImagesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListImagesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListImagesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListInfrastructureConfigurationsRequestFilterSensitiveLog, ListInfrastructureConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListInfrastructureConfigurationsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListInfrastructureConfigurationsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutComponentPolicyRequestFilterSensitiveLog, PutComponentPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class PutComponentPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutComponentPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutContainerRecipePolicyRequestFilterSensitiveLog, PutContainerRecipePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class PutContainerRecipePolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutContainerRecipePolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutImagePolicyRequestFilterSensitiveLog, PutImagePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class PutImagePolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutImagePolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutImageRecipePolicyRequestFilterSensitiveLog, PutImageRecipePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class PutImageRecipePolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutImageRecipePolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartImagePipelineExecutionRequestFilterSensitiveLog, StartImagePipelineExecutionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartImagePipelineExecutionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartImagePipelineExecutionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateDistributionConfigurationRequestFilterSensitiveLog, UpdateDistributionConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateDistributionConfigurationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDistributionConfigurationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateImagePipelineRequestFilterSensitiveLog, UpdateImagePipelineResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateImagePipelineCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateImagePipelineCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateInfrastructureConfigurationRequestFilterSensitiveLog, UpdateInfrastructureConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateInfrastructureConfigurationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateInfrastructureConfigurationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ImagebuilderClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|