@aws-sdk/client-m2 3.107.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/LICENSE +201 -0
- package/README.md +209 -0
- package/dist-cjs/M2.js +487 -0
- package/dist-cjs/M2Client.js +37 -0
- package/dist-cjs/commands/CancelBatchJobExecutionCommand.js +36 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
- package/dist-cjs/commands/CreateDataSetImportTaskCommand.js +36 -0
- package/dist-cjs/commands/CreateDeploymentCommand.js +36 -0
- package/dist-cjs/commands/CreateEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
- package/dist-cjs/commands/DeleteApplicationFromEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/GetApplicationCommand.js +36 -0
- package/dist-cjs/commands/GetApplicationVersionCommand.js +36 -0
- package/dist-cjs/commands/GetBatchJobExecutionCommand.js +36 -0
- package/dist-cjs/commands/GetDataSetDetailsCommand.js +36 -0
- package/dist-cjs/commands/GetDataSetImportTaskCommand.js +36 -0
- package/dist-cjs/commands/GetDeploymentCommand.js +36 -0
- package/dist-cjs/commands/GetEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +36 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
- package/dist-cjs/commands/ListBatchJobDefinitionsCommand.js +36 -0
- package/dist-cjs/commands/ListBatchJobExecutionsCommand.js +36 -0
- package/dist-cjs/commands/ListDataSetImportHistoryCommand.js +36 -0
- package/dist-cjs/commands/ListDataSetsCommand.js +36 -0
- package/dist-cjs/commands/ListDeploymentsCommand.js +36 -0
- package/dist-cjs/commands/ListEngineVersionsCommand.js +36 -0
- package/dist-cjs/commands/ListEnvironmentsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/StartApplicationCommand.js +36 -0
- package/dist-cjs/commands/StartBatchJobCommand.js +36 -0
- package/dist-cjs/commands/StopApplicationCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +36 -0
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/index.js +35 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/M2ServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +911 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListBatchJobDefinitionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListBatchJobExecutionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDataSetImportHistoryPaginator.js +36 -0
- package/dist-cjs/pagination/ListDataSetsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +36 -0
- package/dist-cjs/pagination/ListEngineVersionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3744 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/M2.js +490 -0
- package/dist-es/M2Client.js +39 -0
- package/dist-es/commands/CancelBatchJobExecutionCommand.js +39 -0
- package/dist-es/commands/CreateApplicationCommand.js +39 -0
- package/dist-es/commands/CreateDataSetImportTaskCommand.js +39 -0
- package/dist-es/commands/CreateDeploymentCommand.js +39 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +39 -0
- package/dist-es/commands/DeleteApplicationCommand.js +39 -0
- package/dist-es/commands/DeleteApplicationFromEnvironmentCommand.js +39 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +39 -0
- package/dist-es/commands/GetApplicationCommand.js +39 -0
- package/dist-es/commands/GetApplicationVersionCommand.js +39 -0
- package/dist-es/commands/GetBatchJobExecutionCommand.js +39 -0
- package/dist-es/commands/GetDataSetDetailsCommand.js +39 -0
- package/dist-es/commands/GetDataSetImportTaskCommand.js +39 -0
- package/dist-es/commands/GetDeploymentCommand.js +39 -0
- package/dist-es/commands/GetEnvironmentCommand.js +39 -0
- package/dist-es/commands/ListApplicationVersionsCommand.js +39 -0
- package/dist-es/commands/ListApplicationsCommand.js +39 -0
- package/dist-es/commands/ListBatchJobDefinitionsCommand.js +39 -0
- package/dist-es/commands/ListBatchJobExecutionsCommand.js +39 -0
- package/dist-es/commands/ListDataSetImportHistoryCommand.js +39 -0
- package/dist-es/commands/ListDataSetsCommand.js +39 -0
- package/dist-es/commands/ListDeploymentsCommand.js +39 -0
- package/dist-es/commands/ListEngineVersionsCommand.js +39 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/StartApplicationCommand.js +39 -0
- package/dist-es/commands/StartBatchJobCommand.js +39 -0
- package/dist-es/commands/StopApplicationCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateApplicationCommand.js +39 -0
- package/dist-es/commands/UpdateEnvironmentCommand.js +39 -0
- package/dist-es/commands/index.js +32 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/M2ServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +709 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationVersionsPaginator.js +75 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +75 -0
- package/dist-es/pagination/ListBatchJobDefinitionsPaginator.js +75 -0
- package/dist-es/pagination/ListBatchJobExecutionsPaginator.js +75 -0
- package/dist-es/pagination/ListDataSetImportHistoryPaginator.js +75 -0
- package/dist-es/pagination/ListDataSetsPaginator.js +75 -0
- package/dist-es/pagination/ListDeploymentsPaginator.js +75 -0
- package/dist-es/pagination/ListEngineVersionsPaginator.js +75 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +75 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +4508 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/M2.d.ts +250 -0
- package/dist-types/M2Client.d.ts +180 -0
- package/dist-types/commands/CancelBatchJobExecutionCommand.d.ts +35 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +36 -0
- package/dist-types/commands/CreateDataSetImportTaskCommand.d.ts +35 -0
- package/dist-types/commands/CreateDeploymentCommand.d.ts +35 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteApplicationFromEnvironmentCommand.d.ts +38 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +36 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
- package/dist-types/commands/GetApplicationVersionCommand.d.ts +35 -0
- package/dist-types/commands/GetBatchJobExecutionCommand.d.ts +35 -0
- package/dist-types/commands/GetDataSetDetailsCommand.d.ts +35 -0
- package/dist-types/commands/GetDataSetImportTaskCommand.d.ts +35 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +35 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/ListApplicationVersionsCommand.d.ts +35 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +37 -0
- package/dist-types/commands/ListBatchJobDefinitionsCommand.d.ts +37 -0
- package/dist-types/commands/ListBatchJobExecutionsCommand.d.ts +36 -0
- package/dist-types/commands/ListDataSetImportHistoryCommand.d.ts +35 -0
- package/dist-types/commands/ListDataSetsCommand.d.ts +37 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +37 -0
- package/dist-types/commands/ListEngineVersionsCommand.d.ts +35 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/StartApplicationCommand.d.ts +35 -0
- package/dist-types/commands/StartBatchJobCommand.d.ts +36 -0
- package/dist-types/commands/StopApplicationCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +32 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/M2ServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2682 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListApplicationVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListBatchJobDefinitionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListBatchJobExecutionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataSetImportHistoryPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataSetsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDeploymentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEngineVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +98 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/M2.d.ts +165 -0
- package/dist-types/ts3.4/M2Client.d.ts +105 -0
- package/dist-types/ts3.4/commands/CancelBatchJobExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDataSetImportTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationFromEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBatchJobExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDataSetDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDataSetImportTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBatchJobDefinitionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBatchJobExecutionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataSetImportHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataSetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartBatchJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +32 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/M2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1609 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBatchJobDefinitionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBatchJobExecutionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDataSetImportHistoryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDataSetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEngineVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +98 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from "./CancelBatchJobExecutionCommand";
|
|
2
|
+
export * from "./CreateApplicationCommand";
|
|
3
|
+
export * from "./CreateDataSetImportTaskCommand";
|
|
4
|
+
export * from "./CreateDeploymentCommand";
|
|
5
|
+
export * from "./CreateEnvironmentCommand";
|
|
6
|
+
export * from "./DeleteApplicationCommand";
|
|
7
|
+
export * from "./DeleteApplicationFromEnvironmentCommand";
|
|
8
|
+
export * from "./DeleteEnvironmentCommand";
|
|
9
|
+
export * from "./GetApplicationCommand";
|
|
10
|
+
export * from "./GetApplicationVersionCommand";
|
|
11
|
+
export * from "./GetBatchJobExecutionCommand";
|
|
12
|
+
export * from "./GetDataSetDetailsCommand";
|
|
13
|
+
export * from "./GetDataSetImportTaskCommand";
|
|
14
|
+
export * from "./GetDeploymentCommand";
|
|
15
|
+
export * from "./GetEnvironmentCommand";
|
|
16
|
+
export * from "./ListApplicationVersionsCommand";
|
|
17
|
+
export * from "./ListApplicationsCommand";
|
|
18
|
+
export * from "./ListBatchJobDefinitionsCommand";
|
|
19
|
+
export * from "./ListBatchJobExecutionsCommand";
|
|
20
|
+
export * from "./ListDataSetImportHistoryCommand";
|
|
21
|
+
export * from "./ListDataSetsCommand";
|
|
22
|
+
export * from "./ListDeploymentsCommand";
|
|
23
|
+
export * from "./ListEngineVersionsCommand";
|
|
24
|
+
export * from "./ListEnvironmentsCommand";
|
|
25
|
+
export * from "./ListTagsForResourceCommand";
|
|
26
|
+
export * from "./StartApplicationCommand";
|
|
27
|
+
export * from "./StartBatchJobCommand";
|
|
28
|
+
export * from "./StopApplicationCommand";
|
|
29
|
+
export * from "./TagResourceCommand";
|
|
30
|
+
export * from "./UntagResourceCommand";
|
|
31
|
+
export * from "./UpdateApplicationCommand";
|
|
32
|
+
export * from "./UpdateEnvironmentCommand";
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
|
+
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
5
|
+
aws: {
|
|
6
|
+
regions: [
|
|
7
|
+
"af-south-1",
|
|
8
|
+
"ap-east-1",
|
|
9
|
+
"ap-northeast-1",
|
|
10
|
+
"ap-northeast-2",
|
|
11
|
+
"ap-northeast-3",
|
|
12
|
+
"ap-south-1",
|
|
13
|
+
"ap-southeast-1",
|
|
14
|
+
"ap-southeast-2",
|
|
15
|
+
"ap-southeast-3",
|
|
16
|
+
"ca-central-1",
|
|
17
|
+
"eu-central-1",
|
|
18
|
+
"eu-north-1",
|
|
19
|
+
"eu-south-1",
|
|
20
|
+
"eu-west-1",
|
|
21
|
+
"eu-west-2",
|
|
22
|
+
"eu-west-3",
|
|
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: "m2.{region}.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "m2-fips.{region}.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
hostname: "m2-fips.{region}.api.aws",
|
|
42
|
+
tags: ["dualstack", "fips"],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
hostname: "m2.{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: "m2.{region}.amazonaws.com.cn",
|
|
56
|
+
tags: [],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
hostname: "m2-fips.{region}.amazonaws.com.cn",
|
|
60
|
+
tags: ["fips"],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
hostname: "m2-fips.{region}.api.amazonwebservices.com.cn",
|
|
64
|
+
tags: ["dualstack", "fips"],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
hostname: "m2.{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: "m2.{region}.c2s.ic.gov",
|
|
78
|
+
tags: [],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "m2-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: "m2.{region}.sc2s.sgov.gov",
|
|
92
|
+
tags: [],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
hostname: "m2-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: "m2.{region}.amazonaws.com",
|
|
106
|
+
tags: [],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
hostname: "m2-fips.{region}.amazonaws.com",
|
|
110
|
+
tags: ["fips"],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "m2-fips.{region}.api.aws",
|
|
114
|
+
tags: ["dualstack", "fips"],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "m2.{region}.api.aws",
|
|
118
|
+
tags: ["dualstack"],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
124
|
+
return __generator(this, function (_a) {
|
|
125
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "m2", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
126
|
+
});
|
|
127
|
+
}); };
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var M2ServiceException = (function (_super) {
|
|
4
|
+
__extends(M2ServiceException, _super);
|
|
5
|
+
function M2ServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, M2ServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return M2ServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { M2ServiceException };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|