@aws-sdk/client-personalize 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/PersonalizeClient.js +11 -8
- package/dist-cjs/commands/CreateBatchInferenceJobCommand.js +10 -0
- package/dist-cjs/commands/CreateBatchSegmentJobCommand.js +10 -0
- package/dist-cjs/commands/CreateCampaignCommand.js +10 -0
- package/dist-cjs/commands/CreateDatasetCommand.js +10 -0
- package/dist-cjs/commands/CreateDatasetExportJobCommand.js +10 -0
- package/dist-cjs/commands/CreateDatasetGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateDatasetImportJobCommand.js +10 -0
- package/dist-cjs/commands/CreateEventTrackerCommand.js +10 -0
- package/dist-cjs/commands/CreateFilterCommand.js +10 -0
- package/dist-cjs/commands/CreateRecommenderCommand.js +10 -0
- package/dist-cjs/commands/CreateSchemaCommand.js +10 -0
- package/dist-cjs/commands/CreateSolutionCommand.js +10 -0
- package/dist-cjs/commands/CreateSolutionVersionCommand.js +10 -0
- package/dist-cjs/commands/DeleteCampaignCommand.js +10 -0
- package/dist-cjs/commands/DeleteDatasetCommand.js +10 -0
- package/dist-cjs/commands/DeleteDatasetGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteEventTrackerCommand.js +10 -0
- package/dist-cjs/commands/DeleteFilterCommand.js +10 -0
- package/dist-cjs/commands/DeleteRecommenderCommand.js +10 -0
- package/dist-cjs/commands/DeleteSchemaCommand.js +10 -0
- package/dist-cjs/commands/DeleteSolutionCommand.js +10 -0
- package/dist-cjs/commands/DescribeAlgorithmCommand.js +10 -0
- package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +10 -0
- package/dist-cjs/commands/DescribeBatchSegmentJobCommand.js +10 -0
- package/dist-cjs/commands/DescribeCampaignCommand.js +10 -0
- package/dist-cjs/commands/DescribeDatasetCommand.js +10 -0
- package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +10 -0
- package/dist-cjs/commands/DescribeDatasetGroupCommand.js +10 -0
- package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventTrackerCommand.js +10 -0
- package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +10 -0
- package/dist-cjs/commands/DescribeFilterCommand.js +10 -0
- package/dist-cjs/commands/DescribeRecipeCommand.js +10 -0
- package/dist-cjs/commands/DescribeRecommenderCommand.js +10 -0
- package/dist-cjs/commands/DescribeSchemaCommand.js +10 -0
- package/dist-cjs/commands/DescribeSolutionCommand.js +10 -0
- package/dist-cjs/commands/DescribeSolutionVersionCommand.js +10 -0
- package/dist-cjs/commands/GetSolutionMetricsCommand.js +10 -0
- package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +10 -0
- package/dist-cjs/commands/ListBatchSegmentJobsCommand.js +10 -0
- package/dist-cjs/commands/ListCampaignsCommand.js +10 -0
- package/dist-cjs/commands/ListDatasetExportJobsCommand.js +10 -0
- package/dist-cjs/commands/ListDatasetGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListDatasetImportJobsCommand.js +10 -0
- package/dist-cjs/commands/ListDatasetsCommand.js +10 -0
- package/dist-cjs/commands/ListEventTrackersCommand.js +10 -0
- package/dist-cjs/commands/ListFiltersCommand.js +10 -0
- package/dist-cjs/commands/ListRecipesCommand.js +10 -0
- package/dist-cjs/commands/ListRecommendersCommand.js +10 -0
- package/dist-cjs/commands/ListSchemasCommand.js +10 -0
- package/dist-cjs/commands/ListSolutionVersionsCommand.js +10 -0
- package/dist-cjs/commands/ListSolutionsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/StartRecommenderCommand.js +10 -0
- package/dist-cjs/commands/StopRecommenderCommand.js +10 -0
- package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateCampaignCommand.js +10 -0
- package/dist-cjs/commands/UpdateRecommenderCommand.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 +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/PersonalizeClient.js +12 -9
- package/dist-es/commands/CreateBatchInferenceJobCommand.js +10 -0
- package/dist-es/commands/CreateBatchSegmentJobCommand.js +10 -0
- package/dist-es/commands/CreateCampaignCommand.js +10 -0
- package/dist-es/commands/CreateDatasetCommand.js +10 -0
- package/dist-es/commands/CreateDatasetExportJobCommand.js +10 -0
- package/dist-es/commands/CreateDatasetGroupCommand.js +10 -0
- package/dist-es/commands/CreateDatasetImportJobCommand.js +10 -0
- package/dist-es/commands/CreateEventTrackerCommand.js +10 -0
- package/dist-es/commands/CreateFilterCommand.js +10 -0
- package/dist-es/commands/CreateRecommenderCommand.js +10 -0
- package/dist-es/commands/CreateSchemaCommand.js +10 -0
- package/dist-es/commands/CreateSolutionCommand.js +10 -0
- package/dist-es/commands/CreateSolutionVersionCommand.js +10 -0
- package/dist-es/commands/DeleteCampaignCommand.js +10 -0
- package/dist-es/commands/DeleteDatasetCommand.js +10 -0
- package/dist-es/commands/DeleteDatasetGroupCommand.js +10 -0
- package/dist-es/commands/DeleteEventTrackerCommand.js +10 -0
- package/dist-es/commands/DeleteFilterCommand.js +10 -0
- package/dist-es/commands/DeleteRecommenderCommand.js +10 -0
- package/dist-es/commands/DeleteSchemaCommand.js +10 -0
- package/dist-es/commands/DeleteSolutionCommand.js +10 -0
- package/dist-es/commands/DescribeAlgorithmCommand.js +10 -0
- package/dist-es/commands/DescribeBatchInferenceJobCommand.js +10 -0
- package/dist-es/commands/DescribeBatchSegmentJobCommand.js +10 -0
- package/dist-es/commands/DescribeCampaignCommand.js +10 -0
- package/dist-es/commands/DescribeDatasetCommand.js +10 -0
- package/dist-es/commands/DescribeDatasetExportJobCommand.js +10 -0
- package/dist-es/commands/DescribeDatasetGroupCommand.js +10 -0
- package/dist-es/commands/DescribeDatasetImportJobCommand.js +10 -0
- package/dist-es/commands/DescribeEventTrackerCommand.js +10 -0
- package/dist-es/commands/DescribeFeatureTransformationCommand.js +10 -0
- package/dist-es/commands/DescribeFilterCommand.js +10 -0
- package/dist-es/commands/DescribeRecipeCommand.js +10 -0
- package/dist-es/commands/DescribeRecommenderCommand.js +10 -0
- package/dist-es/commands/DescribeSchemaCommand.js +10 -0
- package/dist-es/commands/DescribeSolutionCommand.js +10 -0
- package/dist-es/commands/DescribeSolutionVersionCommand.js +10 -0
- package/dist-es/commands/GetSolutionMetricsCommand.js +10 -0
- package/dist-es/commands/ListBatchInferenceJobsCommand.js +10 -0
- package/dist-es/commands/ListBatchSegmentJobsCommand.js +10 -0
- package/dist-es/commands/ListCampaignsCommand.js +10 -0
- package/dist-es/commands/ListDatasetExportJobsCommand.js +10 -0
- package/dist-es/commands/ListDatasetGroupsCommand.js +10 -0
- package/dist-es/commands/ListDatasetImportJobsCommand.js +10 -0
- package/dist-es/commands/ListDatasetsCommand.js +10 -0
- package/dist-es/commands/ListEventTrackersCommand.js +10 -0
- package/dist-es/commands/ListFiltersCommand.js +10 -0
- package/dist-es/commands/ListRecipesCommand.js +10 -0
- package/dist-es/commands/ListRecommendersCommand.js +10 -0
- package/dist-es/commands/ListSchemasCommand.js +10 -0
- package/dist-es/commands/ListSolutionVersionsCommand.js +10 -0
- package/dist-es/commands/ListSolutionsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/StartRecommenderCommand.js +10 -0
- package/dist-es/commands/StopRecommenderCommand.js +10 -0
- package/dist-es/commands/StopSolutionVersionCreationCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateCampaignCommand.js +10 -0
- package/dist-es/commands/UpdateRecommenderCommand.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 +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/PersonalizeClient.d.ts +6 -9
- package/dist-types/commands/CreateBatchInferenceJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +2 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +2 -0
- package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateDatasetGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateEventTrackerCommand.d.ts +2 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +2 -0
- package/dist-types/commands/CreateRecommenderCommand.d.ts +2 -0
- package/dist-types/commands/CreateSchemaCommand.d.ts +2 -0
- package/dist-types/commands/CreateSolutionCommand.d.ts +2 -0
- package/dist-types/commands/CreateSolutionVersionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCampaignCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEventTrackerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRecommenderCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSchemaCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSolutionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +2 -0
- package/dist-types/commands/DescribeBatchInferenceJobCommand.d.ts +2 -0
- package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventTrackerCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFeatureTransformationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFilterCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRecipeCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRecommenderCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSchemaCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSolutionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetSolutionMetricsCommand.d.ts +2 -0
- package/dist-types/commands/ListBatchInferenceJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListCampaignsCommand.d.ts +2 -0
- package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListDatasetGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListDatasetsCommand.d.ts +2 -0
- package/dist-types/commands/ListEventTrackersCommand.d.ts +2 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +2 -0
- package/dist-types/commands/ListRecipesCommand.d.ts +2 -0
- package/dist-types/commands/ListRecommendersCommand.d.ts +2 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +2 -0
- package/dist-types/commands/ListSolutionVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListSolutionsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/StartRecommenderCommand.d.ts +2 -0
- package/dist-types/commands/StopRecommenderCommand.d.ts +2 -0
- package/dist-types/commands/StopSolutionVersionCreationCommand.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/UpdateCampaignCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRecommenderCommand.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/PersonalizeClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateBatchInferenceJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateBatchSegmentJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDatasetExportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDatasetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDatasetImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEventTrackerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSolutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSolutionVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDatasetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEventTrackerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSolutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeBatchInferenceJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeBatchSegmentJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDatasetExportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDatasetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDatasetImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventTrackerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFeatureTransformationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFilterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRecommenderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeSolutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeSolutionVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSolutionMetricsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBatchInferenceJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBatchSegmentJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDatasetExportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDatasetGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDatasetImportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEventTrackersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSolutionVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartRecommenderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopRecommenderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopSolutionVersionCreationCommand.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/UpdateCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRecommenderCommand.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 -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 { ListBatchSegmentJobsRequestFilterSensitiveLog, ListBatchSegmentJobsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListBatchSegmentJobsCommand 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, ListBatchSegmentJobsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListCampaignsRequestFilterSensitiveLog, ListCampaignsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListCampaignsCommand 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, ListCampaignsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListDatasetExportJobsRequestFilterSensitiveLog, ListDatasetExportJobsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListDatasetExportJobsCommand 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, ListDatasetExportJobsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListDatasetGroupsRequestFilterSensitiveLog, ListDatasetGroupsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListDatasetGroupsCommand 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, ListDatasetGroupsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListDatasetImportJobsRequestFilterSensitiveLog, ListDatasetImportJobsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListDatasetImportJobsCommand 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, ListDatasetImportJobsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListDatasetsRequestFilterSensitiveLog, ListDatasetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListDatasetsCommand 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, ListDatasetsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListEventTrackersRequestFilterSensitiveLog, ListEventTrackersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListEventTrackersCommand 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, ListEventTrackersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListFiltersRequestFilterSensitiveLog, ListFiltersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListFiltersCommand 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, ListFiltersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListRecipesRequestFilterSensitiveLog, ListRecipesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListRecipesCommand 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, ListRecipesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListRecommendersRequestFilterSensitiveLog, ListRecommendersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListRecommendersCommand 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, ListRecommendersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListSchemasRequestFilterSensitiveLog, ListSchemasResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListSchemasCommand 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, ListSchemasCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListSolutionVersionsRequestFilterSensitiveLog, ListSolutionVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListSolutionVersionsCommand 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, ListSolutionVersionsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { ListSolutionsRequestFilterSensitiveLog, ListSolutionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListSolutionsCommand 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, ListSolutionsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 = "PersonalizeClient";
|
|
@@ -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 { StartRecommenderRequestFilterSensitiveLog, StartRecommenderResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartRecommenderCommand 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, StartRecommenderCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { StopRecommenderRequestFilterSensitiveLog, StopRecommenderResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StopRecommenderCommand 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, StopRecommenderCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { StopSolutionVersionCreationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StopSolutionVersionCreationCommand 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, StopSolutionVersionCreationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 = "PersonalizeClient";
|
|
@@ -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 = "PersonalizeClient";
|
|
@@ -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 { UpdateCampaignRequestFilterSensitiveLog, UpdateCampaignResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateCampaignCommand 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, UpdateCampaignCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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 { UpdateRecommenderRequestFilterSensitiveLog, UpdateRecommenderResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateRecommenderCommand 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, UpdateRecommenderCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PersonalizeClient";
|
|
@@ -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
|
+
};
|