@aws-sdk/client-ecs 3.36.0 → 3.39.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 +45 -0
- package/dist-cjs/ECS.js +0 -15
- package/dist-cjs/ECSClient.js +0 -20
- package/dist-cjs/commands/CreateCapacityProviderCommand.js +0 -30
- package/dist-cjs/commands/CreateClusterCommand.js +0 -35
- package/dist-cjs/commands/CreateServiceCommand.js +0 -129
- package/dist-cjs/commands/CreateTaskSetCommand.js +0 -27
- package/dist-cjs/commands/DeleteAccountSettingCommand.js +0 -25
- package/dist-cjs/commands/DeleteAttributesCommand.js +0 -24
- package/dist-cjs/commands/DeleteCapacityProviderCommand.js +0 -38
- package/dist-cjs/commands/DeleteClusterCommand.js +0 -30
- package/dist-cjs/commands/DeleteServiceCommand.js +0 -44
- package/dist-cjs/commands/DeleteTaskSetCommand.js +0 -25
- package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +0 -36
- package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +0 -39
- package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +0 -24
- package/dist-cjs/commands/DescribeClustersCommand.js +0 -24
- package/dist-cjs/commands/DescribeContainerInstancesCommand.js +0 -25
- package/dist-cjs/commands/DescribeServicesCommand.js +0 -24
- package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +0 -31
- package/dist-cjs/commands/DescribeTaskSetsCommand.js +0 -27
- package/dist-cjs/commands/DescribeTasksCommand.js +0 -24
- package/dist-cjs/commands/DiscoverPollEndpointCommand.js +0 -28
- package/dist-cjs/commands/ExecuteCommandCommand.js +0 -24
- package/dist-cjs/commands/ListAccountSettingsCommand.js +0 -24
- package/dist-cjs/commands/ListAttributesCommand.js +0 -30
- package/dist-cjs/commands/ListClustersCommand.js +0 -24
- package/dist-cjs/commands/ListContainerInstancesCommand.js +0 -27
- package/dist-cjs/commands/ListServicesCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +0 -30
- package/dist-cjs/commands/ListTaskDefinitionsCommand.js +0 -26
- package/dist-cjs/commands/ListTasksCommand.js +0 -28
- package/dist-cjs/commands/PutAccountSettingCommand.js +0 -47
- package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +0 -26
- package/dist-cjs/commands/PutAttributesCommand.js +0 -28
- package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +0 -37
- package/dist-cjs/commands/RegisterContainerInstanceCommand.js +0 -29
- package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +0 -41
- package/dist-cjs/commands/RunTaskCommand.js +0 -52
- package/dist-cjs/commands/StartTaskCommand.js +0 -28
- package/dist-cjs/commands/StopTaskCommand.js +0 -36
- package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +0 -28
- package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +0 -28
- package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +0 -28
- package/dist-cjs/commands/TagResourceCommand.js +0 -27
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateCapacityProviderCommand.js +0 -24
- package/dist-cjs/commands/UpdateClusterCommand.js +0 -24
- package/dist-cjs/commands/UpdateClusterSettingsCommand.js +0 -24
- package/dist-cjs/commands/UpdateContainerAgentCommand.js +0 -39
- package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +0 -72
- package/dist-cjs/commands/UpdateServiceCommand.js +0 -132
- package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +0 -28
- package/dist-cjs/commands/UpdateTaskSetCommand.js +0 -26
- package/dist-cjs/commands/index.js +55 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -66
- package/dist-cjs/models/models_0.js +26 -619
- package/dist-cjs/pagination/ListAccountSettingsPaginator.js +0 -10
- package/dist-cjs/pagination/ListAttributesPaginator.js +0 -10
- package/dist-cjs/pagination/ListClustersPaginator.js +0 -10
- package/dist-cjs/pagination/ListContainerInstancesPaginator.js +0 -10
- package/dist-cjs/pagination/ListServicesPaginator.js +0 -10
- package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +0 -10
- package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListTasksPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +12 -0
- package/dist-cjs/protocols/Aws_json1_1.js +25 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-cjs/waiters/waitForServicesInactive.js +0 -9
- package/dist-cjs/waiters/waitForTasksRunning.js +0 -9
- package/dist-cjs/waiters/waitForTasksStopped.js +0 -9
- package/dist-es/commands/index.js +52 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -66
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +22 -1
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/commands/index.d.ts +52 -0
- package/dist-types/index.d.ts +5 -66
- package/dist-types/models/models_0.d.ts +170 -25
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/ECS.d.ts +53 -702
- package/dist-types/ts3.4/ECSClient.d.ts +24 -101
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -125
- package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +2 -68
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -128
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/index.d.ts +52 -0
- package/dist-types/ts3.4/index.d.ts +5 -66
- package/dist-types/ts3.4/models/models_0.d.ts +1099 -6662
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +33 -33
|
@@ -4,22 +4,13 @@ exports.paginateListAccountSettings = void 0;
|
|
|
4
4
|
const ListAccountSettingsCommand_1 = require("../commands/ListAccountSettingsCommand");
|
|
5
5
|
const ECS_1 = require("../ECS");
|
|
6
6
|
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListAccountSettingsCommand_1.ListAccountSettingsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listAccountSettings(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListAccountSettings(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListAccountSettings(config, input, ...additionalArgument
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListAccountSettings = paginateListAccountSettings;
|
|
@@ -4,22 +4,13 @@ exports.paginateListAttributes = void 0;
|
|
|
4
4
|
const ListAttributesCommand_1 = require("../commands/ListAttributesCommand");
|
|
5
5
|
const ECS_1 = require("../ECS");
|
|
6
6
|
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListAttributesCommand_1.ListAttributesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listAttributes(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListAttributes(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListAttributes(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListAttributes = paginateListAttributes;
|
|
@@ -4,22 +4,13 @@ exports.paginateListClusters = void 0;
|
|
|
4
4
|
const ListClustersCommand_1 = require("../commands/ListClustersCommand");
|
|
5
5
|
const ECS_1 = require("../ECS");
|
|
6
6
|
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListClustersCommand_1.ListClustersCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listClusters(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListClusters(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListClusters(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListClusters = paginateListClusters;
|
|
@@ -4,22 +4,13 @@ exports.paginateListContainerInstances = void 0;
|
|
|
4
4
|
const ListContainerInstancesCommand_1 = require("../commands/ListContainerInstancesCommand");
|
|
5
5
|
const ECS_1 = require("../ECS");
|
|
6
6
|
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListContainerInstancesCommand_1.ListContainerInstancesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listContainerInstances(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListContainerInstances(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListContainerInstances(config, input, ...additionalArgum
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListContainerInstances = paginateListContainerInstances;
|
|
@@ -4,22 +4,13 @@ exports.paginateListServices = void 0;
|
|
|
4
4
|
const ListServicesCommand_1 = require("../commands/ListServicesCommand");
|
|
5
5
|
const ECS_1 = require("../ECS");
|
|
6
6
|
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListServicesCommand_1.ListServicesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listServices(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListServices(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListServices(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListServices = paginateListServices;
|
|
@@ -4,22 +4,13 @@ exports.paginateListTaskDefinitionFamilies = void 0;
|
|
|
4
4
|
const ListTaskDefinitionFamiliesCommand_1 = require("../commands/ListTaskDefinitionFamiliesCommand");
|
|
5
5
|
const ECS_1 = require("../ECS");
|
|
6
6
|
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListTaskDefinitionFamiliesCommand_1.ListTaskDefinitionFamiliesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listTaskDefinitionFamilies(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListTaskDefinitionFamilies(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListTaskDefinitionFamilies(config, input, ...additionalA
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListTaskDefinitionFamilies = paginateListTaskDefinitionFamilies;
|
|
@@ -4,22 +4,13 @@ exports.paginateListTaskDefinitions = void 0;
|
|
|
4
4
|
const ListTaskDefinitionsCommand_1 = require("../commands/ListTaskDefinitionsCommand");
|
|
5
5
|
const ECS_1 = require("../ECS");
|
|
6
6
|
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListTaskDefinitionsCommand_1.ListTaskDefinitionsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listTaskDefinitions(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListTaskDefinitions(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListTaskDefinitions(config, input, ...additionalArgument
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListTaskDefinitions = paginateListTaskDefinitions;
|
|
@@ -4,22 +4,13 @@ exports.paginateListTasks = void 0;
|
|
|
4
4
|
const ListTasksCommand_1 = require("../commands/ListTasksCommand");
|
|
5
5
|
const ECS_1 = require("../ECS");
|
|
6
6
|
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListTasksCommand_1.ListTasksCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listTasks(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListTasks(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListTasks(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListTasks = paginateListTasks;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAccountSettingsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListAttributesPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListClustersPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListContainerInstancesPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListServicesPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListTaskDefinitionFamiliesPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListTaskDefinitionsPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListTasksPaginator"), exports);
|
|
@@ -5988,6 +5988,10 @@ const serializeAws_json1_1RegisterTaskDefinitionRequest = (input, context) => {
|
|
|
5988
5988
|
input.requiresCompatibilities !== null && {
|
|
5989
5989
|
requiresCompatibilities: serializeAws_json1_1CompatibilityList(input.requiresCompatibilities, context),
|
|
5990
5990
|
}),
|
|
5991
|
+
...(input.runtimePlatform !== undefined &&
|
|
5992
|
+
input.runtimePlatform !== null && {
|
|
5993
|
+
runtimePlatform: serializeAws_json1_1RuntimePlatform(input.runtimePlatform, context),
|
|
5994
|
+
}),
|
|
5991
5995
|
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }),
|
|
5992
5996
|
...(input.taskRoleArn !== undefined && input.taskRoleArn !== null && { taskRoleArn: input.taskRoleArn }),
|
|
5993
5997
|
...(input.volumes !== undefined &&
|
|
@@ -6078,6 +6082,14 @@ const serializeAws_json1_1RunTaskRequest = (input, context) => {
|
|
|
6078
6082
|
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }),
|
|
6079
6083
|
};
|
|
6080
6084
|
};
|
|
6085
|
+
const serializeAws_json1_1RuntimePlatform = (input, context) => {
|
|
6086
|
+
return {
|
|
6087
|
+
...(input.cpuArchitecture !== undefined &&
|
|
6088
|
+
input.cpuArchitecture !== null && { cpuArchitecture: input.cpuArchitecture }),
|
|
6089
|
+
...(input.operatingSystemFamily !== undefined &&
|
|
6090
|
+
input.operatingSystemFamily !== null && { operatingSystemFamily: input.operatingSystemFamily }),
|
|
6091
|
+
};
|
|
6092
|
+
};
|
|
6081
6093
|
const serializeAws_json1_1Scale = (input, context) => {
|
|
6082
6094
|
return {
|
|
6083
6095
|
...(input.unit !== undefined && input.unit !== null && { unit: input.unit }),
|
|
@@ -7079,6 +7091,7 @@ const deserializeAws_json1_1Deployment = (output, context) => {
|
|
|
7079
7091
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
7080
7092
|
: undefined,
|
|
7081
7093
|
pendingCount: smithy_client_1.expectInt32(output.pendingCount),
|
|
7094
|
+
platformFamily: smithy_client_1.expectString(output.platformFamily),
|
|
7082
7095
|
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
7083
7096
|
rolloutState: smithy_client_1.expectString(output.rolloutState),
|
|
7084
7097
|
rolloutStateReason: smithy_client_1.expectString(output.rolloutStateReason),
|
|
@@ -7909,6 +7922,12 @@ const deserializeAws_json1_1RunTaskResponse = (output, context) => {
|
|
|
7909
7922
|
: undefined,
|
|
7910
7923
|
};
|
|
7911
7924
|
};
|
|
7925
|
+
const deserializeAws_json1_1RuntimePlatform = (output, context) => {
|
|
7926
|
+
return {
|
|
7927
|
+
cpuArchitecture: smithy_client_1.expectString(output.cpuArchitecture),
|
|
7928
|
+
operatingSystemFamily: smithy_client_1.expectString(output.operatingSystemFamily),
|
|
7929
|
+
};
|
|
7930
|
+
};
|
|
7912
7931
|
const deserializeAws_json1_1Scale = (output, context) => {
|
|
7913
7932
|
return {
|
|
7914
7933
|
unit: smithy_client_1.expectString(output.unit),
|
|
@@ -7976,6 +7995,7 @@ const deserializeAws_json1_1Service = (output, context) => {
|
|
|
7976
7995
|
placementStrategy: output.placementStrategy !== undefined && output.placementStrategy !== null
|
|
7977
7996
|
? deserializeAws_json1_1PlacementStrategies(output.placementStrategy, context)
|
|
7978
7997
|
: undefined,
|
|
7998
|
+
platformFamily: smithy_client_1.expectString(output.platformFamily),
|
|
7979
7999
|
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
7980
8000
|
propagateTags: smithy_client_1.expectString(output.propagateTags),
|
|
7981
8001
|
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
@@ -8223,6 +8243,7 @@ const deserializeAws_json1_1Task = (output, context) => {
|
|
|
8223
8243
|
overrides: output.overrides !== undefined && output.overrides !== null
|
|
8224
8244
|
? deserializeAws_json1_1TaskOverride(output.overrides, context)
|
|
8225
8245
|
: undefined,
|
|
8246
|
+
platformFamily: smithy_client_1.expectString(output.platformFamily),
|
|
8226
8247
|
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
8227
8248
|
pullStartedAt: output.pullStartedAt !== undefined && output.pullStartedAt !== null
|
|
8228
8249
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.pullStartedAt)))
|
|
@@ -8289,6 +8310,9 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
|
|
|
8289
8310
|
? deserializeAws_json1_1CompatibilityList(output.requiresCompatibilities, context)
|
|
8290
8311
|
: undefined,
|
|
8291
8312
|
revision: smithy_client_1.expectInt32(output.revision),
|
|
8313
|
+
runtimePlatform: output.runtimePlatform !== undefined && output.runtimePlatform !== null
|
|
8314
|
+
? deserializeAws_json1_1RuntimePlatform(output.runtimePlatform, context)
|
|
8315
|
+
: undefined,
|
|
8292
8316
|
status: smithy_client_1.expectString(output.status),
|
|
8293
8317
|
taskDefinitionArn: smithy_client_1.expectString(output.taskDefinitionArn),
|
|
8294
8318
|
taskRoleArn: smithy_client_1.expectString(output.taskRoleArn),
|
|
@@ -8360,6 +8384,7 @@ const deserializeAws_json1_1TaskSet = (output, context) => {
|
|
|
8360
8384
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
8361
8385
|
: undefined,
|
|
8362
8386
|
pendingCount: smithy_client_1.expectInt32(output.pendingCount),
|
|
8387
|
+
platformFamily: smithy_client_1.expectString(output.platformFamily),
|
|
8363
8388
|
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
8364
8389
|
runningCount: smithy_client_1.expectInt32(output.runningCount),
|
|
8365
8390
|
scale: output.scale !== undefined && output.scale !== null
|
|
@@ -8566,14 +8591,12 @@ const deserializeMetadata = (output) => {
|
|
|
8566
8591
|
cfId: output.headers["x-amz-cf-id"],
|
|
8567
8592
|
});
|
|
8568
8593
|
};
|
|
8569
|
-
// Collect low-level response body stream to Uint8Array.
|
|
8570
8594
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
8571
8595
|
if (streamBody instanceof Uint8Array) {
|
|
8572
8596
|
return Promise.resolve(streamBody);
|
|
8573
8597
|
}
|
|
8574
8598
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
8575
8599
|
};
|
|
8576
|
-
// Encode Uint8Array data into string with utf-8.
|
|
8577
8600
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
8578
8601
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
8579
8602
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -8599,9 +8622,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
8599
8622
|
}
|
|
8600
8623
|
return {};
|
|
8601
8624
|
});
|
|
8602
|
-
/**
|
|
8603
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
8604
|
-
*/
|
|
8605
8625
|
const loadRestJsonErrorCode = (output, data) => {
|
|
8606
8626
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
8607
8627
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./waitForServicesInactive"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./waitForTasksRunning"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./waitForTasksStopped"), exports);
|
|
@@ -44,20 +44,11 @@ const checkState = async (client, input) => {
|
|
|
44
44
|
}
|
|
45
45
|
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
46
46
|
};
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @deprecated Use waitUntilServicesInactive instead. waitForServicesInactive does not throw error in non-success cases.
|
|
50
|
-
*/
|
|
51
47
|
const waitForServicesInactive = async (params, input) => {
|
|
52
48
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
53
49
|
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
54
50
|
};
|
|
55
51
|
exports.waitForServicesInactive = waitForServicesInactive;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @param params - Waiter configuration options.
|
|
59
|
-
* @param input - The input to DescribeServicesCommand for polling.
|
|
60
|
-
*/
|
|
61
52
|
const waitUntilServicesInactive = async (params, input) => {
|
|
62
53
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
63
54
|
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
@@ -61,20 +61,11 @@ const checkState = async (client, input) => {
|
|
|
61
61
|
}
|
|
62
62
|
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
63
63
|
};
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @deprecated Use waitUntilTasksRunning instead. waitForTasksRunning does not throw error in non-success cases.
|
|
67
|
-
*/
|
|
68
64
|
const waitForTasksRunning = async (params, input) => {
|
|
69
65
|
const serviceDefaults = { minDelay: 6, maxDelay: 120 };
|
|
70
66
|
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
71
67
|
};
|
|
72
68
|
exports.waitForTasksRunning = waitForTasksRunning;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @param params - Waiter configuration options.
|
|
76
|
-
* @param input - The input to DescribeTasksCommand for polling.
|
|
77
|
-
*/
|
|
78
69
|
const waitUntilTasksRunning = async (params, input) => {
|
|
79
70
|
const serviceDefaults = { minDelay: 6, maxDelay: 120 };
|
|
80
71
|
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
@@ -31,20 +31,11 @@ const checkState = async (client, input) => {
|
|
|
31
31
|
}
|
|
32
32
|
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
33
33
|
};
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @deprecated Use waitUntilTasksStopped instead. waitForTasksStopped does not throw error in non-success cases.
|
|
37
|
-
*/
|
|
38
34
|
const waitForTasksStopped = async (params, input) => {
|
|
39
35
|
const serviceDefaults = { minDelay: 6, maxDelay: 120 };
|
|
40
36
|
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
41
37
|
};
|
|
42
38
|
exports.waitForTasksStopped = waitForTasksStopped;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @param params - Waiter configuration options.
|
|
46
|
-
* @param input - The input to DescribeTasksCommand for polling.
|
|
47
|
-
*/
|
|
48
39
|
const waitUntilTasksStopped = async (params, input) => {
|
|
49
40
|
const serviceDefaults = { minDelay: 6, maxDelay: 120 };
|
|
50
41
|
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export * from "./CreateCapacityProviderCommand";
|
|
2
|
+
export * from "./CreateClusterCommand";
|
|
3
|
+
export * from "./CreateServiceCommand";
|
|
4
|
+
export * from "./CreateTaskSetCommand";
|
|
5
|
+
export * from "./DeleteAccountSettingCommand";
|
|
6
|
+
export * from "./DeleteAttributesCommand";
|
|
7
|
+
export * from "./DeleteCapacityProviderCommand";
|
|
8
|
+
export * from "./DeleteClusterCommand";
|
|
9
|
+
export * from "./DeleteServiceCommand";
|
|
10
|
+
export * from "./DeleteTaskSetCommand";
|
|
11
|
+
export * from "./DeregisterContainerInstanceCommand";
|
|
12
|
+
export * from "./DeregisterTaskDefinitionCommand";
|
|
13
|
+
export * from "./DescribeCapacityProvidersCommand";
|
|
14
|
+
export * from "./DescribeClustersCommand";
|
|
15
|
+
export * from "./DescribeContainerInstancesCommand";
|
|
16
|
+
export * from "./DescribeServicesCommand";
|
|
17
|
+
export * from "./DescribeTaskDefinitionCommand";
|
|
18
|
+
export * from "./DescribeTaskSetsCommand";
|
|
19
|
+
export * from "./DescribeTasksCommand";
|
|
20
|
+
export * from "./DiscoverPollEndpointCommand";
|
|
21
|
+
export * from "./ExecuteCommandCommand";
|
|
22
|
+
export * from "./ListAccountSettingsCommand";
|
|
23
|
+
export * from "./ListAttributesCommand";
|
|
24
|
+
export * from "./ListClustersCommand";
|
|
25
|
+
export * from "./ListContainerInstancesCommand";
|
|
26
|
+
export * from "./ListServicesCommand";
|
|
27
|
+
export * from "./ListTagsForResourceCommand";
|
|
28
|
+
export * from "./ListTaskDefinitionFamiliesCommand";
|
|
29
|
+
export * from "./ListTaskDefinitionsCommand";
|
|
30
|
+
export * from "./ListTasksCommand";
|
|
31
|
+
export * from "./PutAccountSettingCommand";
|
|
32
|
+
export * from "./PutAccountSettingDefaultCommand";
|
|
33
|
+
export * from "./PutAttributesCommand";
|
|
34
|
+
export * from "./PutClusterCapacityProvidersCommand";
|
|
35
|
+
export * from "./RegisterContainerInstanceCommand";
|
|
36
|
+
export * from "./RegisterTaskDefinitionCommand";
|
|
37
|
+
export * from "./RunTaskCommand";
|
|
38
|
+
export * from "./StartTaskCommand";
|
|
39
|
+
export * from "./StopTaskCommand";
|
|
40
|
+
export * from "./SubmitAttachmentStateChangesCommand";
|
|
41
|
+
export * from "./SubmitContainerStateChangeCommand";
|
|
42
|
+
export * from "./SubmitTaskStateChangeCommand";
|
|
43
|
+
export * from "./TagResourceCommand";
|
|
44
|
+
export * from "./UntagResourceCommand";
|
|
45
|
+
export * from "./UpdateCapacityProviderCommand";
|
|
46
|
+
export * from "./UpdateClusterCommand";
|
|
47
|
+
export * from "./UpdateClusterSettingsCommand";
|
|
48
|
+
export * from "./UpdateContainerAgentCommand";
|
|
49
|
+
export * from "./UpdateContainerInstancesStateCommand";
|
|
50
|
+
export * from "./UpdateServiceCommand";
|
|
51
|
+
export * from "./UpdateServicePrimaryTaskSetCommand";
|
|
52
|
+
export * from "./UpdateTaskSetCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -55,22 +55,27 @@ var partitionHash = {
|
|
|
55
55
|
"us-west-1",
|
|
56
56
|
"us-west-2",
|
|
57
57
|
],
|
|
58
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
58
59
|
hostname: "ecs.{region}.amazonaws.com",
|
|
59
60
|
},
|
|
60
61
|
"aws-cn": {
|
|
61
62
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
63
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
62
64
|
hostname: "ecs.{region}.amazonaws.com.cn",
|
|
63
65
|
},
|
|
64
66
|
"aws-iso": {
|
|
65
|
-
regions: ["us-iso-east-1"],
|
|
67
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
68
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
66
69
|
hostname: "ecs.{region}.c2s.ic.gov",
|
|
67
70
|
},
|
|
68
71
|
"aws-iso-b": {
|
|
69
72
|
regions: ["us-isob-east-1"],
|
|
73
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
70
74
|
hostname: "ecs.{region}.sc2s.sgov.gov",
|
|
71
75
|
},
|
|
72
76
|
"aws-us-gov": {
|
|
73
77
|
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
78
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
74
79
|
hostname: "ecs.{region}.amazonaws.com",
|
|
75
80
|
},
|
|
76
81
|
};
|