@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
package/dist-es/endpoints.js
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
const regionHash = {};
|
|
3
|
-
const partitionHash = {
|
|
4
|
-
aws: {
|
|
5
|
-
regions: [
|
|
6
|
-
"af-south-1",
|
|
7
|
-
"ap-east-1",
|
|
8
|
-
"ap-northeast-1",
|
|
9
|
-
"ap-northeast-2",
|
|
10
|
-
"ap-northeast-3",
|
|
11
|
-
"ap-south-1",
|
|
12
|
-
"ap-southeast-1",
|
|
13
|
-
"ap-southeast-2",
|
|
14
|
-
"ap-southeast-3",
|
|
15
|
-
"ca-central-1",
|
|
16
|
-
"eu-central-1",
|
|
17
|
-
"eu-north-1",
|
|
18
|
-
"eu-south-1",
|
|
19
|
-
"eu-west-1",
|
|
20
|
-
"eu-west-2",
|
|
21
|
-
"eu-west-3",
|
|
22
|
-
"me-central-1",
|
|
23
|
-
"me-south-1",
|
|
24
|
-
"sa-east-1",
|
|
25
|
-
"us-east-1",
|
|
26
|
-
"us-east-2",
|
|
27
|
-
"us-west-1",
|
|
28
|
-
"us-west-2",
|
|
29
|
-
],
|
|
30
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
31
|
-
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "personalize.{region}.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
hostname: "personalize-fips.{region}.amazonaws.com",
|
|
38
|
-
tags: ["fips"],
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
hostname: "personalize-fips.{region}.api.aws",
|
|
42
|
-
tags: ["dualstack", "fips"],
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
hostname: "personalize.{region}.api.aws",
|
|
46
|
-
tags: ["dualstack"],
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
"aws-cn": {
|
|
51
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
52
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
53
|
-
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "personalize.{region}.amazonaws.com.cn",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
hostname: "personalize-fips.{region}.amazonaws.com.cn",
|
|
60
|
-
tags: ["fips"],
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
hostname: "personalize-fips.{region}.api.amazonwebservices.com.cn",
|
|
64
|
-
tags: ["dualstack", "fips"],
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
hostname: "personalize.{region}.api.amazonwebservices.com.cn",
|
|
68
|
-
tags: ["dualstack"],
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
},
|
|
72
|
-
"aws-iso": {
|
|
73
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
74
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
75
|
-
variants: [
|
|
76
|
-
{
|
|
77
|
-
hostname: "personalize.{region}.c2s.ic.gov",
|
|
78
|
-
tags: [],
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
hostname: "personalize-fips.{region}.c2s.ic.gov",
|
|
82
|
-
tags: ["fips"],
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
"aws-iso-b": {
|
|
87
|
-
regions: ["us-isob-east-1"],
|
|
88
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
89
|
-
variants: [
|
|
90
|
-
{
|
|
91
|
-
hostname: "personalize.{region}.sc2s.sgov.gov",
|
|
92
|
-
tags: [],
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
hostname: "personalize-fips.{region}.sc2s.sgov.gov",
|
|
96
|
-
tags: ["fips"],
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
"aws-us-gov": {
|
|
101
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
102
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
103
|
-
variants: [
|
|
104
|
-
{
|
|
105
|
-
hostname: "personalize.{region}.amazonaws.com",
|
|
106
|
-
tags: [],
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
hostname: "personalize-fips.{region}.amazonaws.com",
|
|
110
|
-
tags: ["fips"],
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
hostname: "personalize-fips.{region}.api.aws",
|
|
114
|
-
tags: ["dualstack", "fips"],
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
hostname: "personalize.{region}.api.aws",
|
|
118
|
-
tags: ["dualstack"],
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
},
|
|
122
|
-
};
|
|
123
|
-
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
124
|
-
...options,
|
|
125
|
-
signingService: "personalize",
|
|
126
|
-
regionHash,
|
|
127
|
-
partitionHash,
|
|
128
|
-
});
|