@aws-sdk/client-ecs 3.53.0 → 3.55.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 +30 -0
- package/dist-cjs/ECSClient.js +13 -13
- package/dist-cjs/commands/CreateCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateServiceCommand.js +3 -3
- package/dist-cjs/commands/CreateTaskSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteAccountSettingCommand.js +3 -3
- package/dist-cjs/commands/DeleteAttributesCommand.js +3 -3
- package/dist-cjs/commands/DeleteCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteServiceCommand.js +3 -3
- package/dist-cjs/commands/DeleteTaskSetCommand.js +3 -3
- package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +3 -3
- package/dist-cjs/commands/DescribeClustersCommand.js +3 -3
- package/dist-cjs/commands/DescribeContainerInstancesCommand.js +3 -3
- package/dist-cjs/commands/DescribeServicesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeTaskSetsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTasksCommand.js +3 -3
- package/dist-cjs/commands/DiscoverPollEndpointCommand.js +3 -3
- package/dist-cjs/commands/ExecuteCommandCommand.js +3 -3
- package/dist-cjs/commands/ListAccountSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListClustersCommand.js +3 -3
- package/dist-cjs/commands/ListContainerInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListServicesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +3 -3
- package/dist-cjs/commands/ListTaskDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListTasksCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSettingCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +3 -3
- package/dist-cjs/commands/PutAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +3 -3
- package/dist-cjs/commands/RegisterContainerInstanceCommand.js +3 -3
- package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/RunTaskCommand.js +3 -3
- package/dist-cjs/commands/StartTaskCommand.js +3 -3
- package/dist-cjs/commands/StopTaskCommand.js +3 -3
- package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +3 -3
- package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +3 -3
- package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateContainerAgentCommand.js +3 -3
- package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +3 -3
- package/dist-cjs/commands/UpdateServiceCommand.js +3 -3
- package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateTaskSetCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +445 -434
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForServicesInactive.js +3 -3
- package/dist-cjs/waiters/waitForTasksRunning.js +3 -3
- package/dist-cjs/waiters/waitForTasksStopped.js +3 -3
- package/dist-es/ECS.js +52 -52
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/ListAccountSettingsPaginator.js +4 -4
- package/dist-es/pagination/ListAttributesPaginator.js +4 -4
- package/dist-es/pagination/ListClustersPaginator.js +4 -4
- package/dist-es/pagination/ListContainerInstancesPaginator.js +4 -4
- package/dist-es/pagination/ListServicesPaginator.js +4 -4
- package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +4 -4
- package/dist-es/pagination/ListTaskDefinitionsPaginator.js +4 -4
- package/dist-es/pagination/ListTasksPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +10 -3
- package/dist-es/waiters/waitForServicesInactive.js +2 -2
- package/dist-es/waiters/waitForTasksRunning.js +3 -3
- package/dist-es/waiters/waitForTasksStopped.js +1 -1
- package/dist-types/ECS.d.ts +42 -21
- package/dist-types/ECSClient.d.ts +2 -2
- package/dist-types/commands/CreateServiceCommand.d.ts +1 -2
- package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateServiceCommand.d.ts +38 -16
- package/dist-types/models/models_0.d.ts +167 -61
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/ECSClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListAttributesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAttributesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listAttributes.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAttributes.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListAttributes(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ECS)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ECSClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListClustersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListClustersCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listClusters.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listClusters.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListClusters(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ECS)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ECSClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListContainerInstancesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListContainerInstancesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listContainerInstances.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listContainerInstances.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListContainerInstances(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ECS)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ECSClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListServicesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListServicesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listServices.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listServices.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListServices(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ECS)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ECSClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListTaskDefinitionFamiliesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTaskDefinitionFamiliesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listTaskDefinitionFamilies.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listTaskDefinitionFamilies.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListTaskDefinitionFamilies(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ECS)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ECSClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListTaskDefinitionsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTaskDefinitionsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listTaskDefinitions.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listTaskDefinitions.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListTaskDefinitions(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ECS)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ECSClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListTasksCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTasksCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listTasks.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listTasks.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListTasks(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ECS)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ECSClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -5294,17 +5294,21 @@ var serializeAws_json1_1UpdateServicePrimaryTaskSetRequest = function (input, co
|
|
|
5294
5294
|
input.primaryTaskSet !== null && { primaryTaskSet: input.primaryTaskSet })), (input.service !== undefined && input.service !== null && { service: input.service }));
|
|
5295
5295
|
};
|
|
5296
5296
|
var serializeAws_json1_1UpdateServiceRequest = function (input, context) {
|
|
5297
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy !== undefined &&
|
|
5297
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy !== undefined &&
|
|
5298
5298
|
input.capacityProviderStrategy !== null && {
|
|
5299
5299
|
capacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.capacityProviderStrategy, context),
|
|
5300
5300
|
})), (input.cluster !== undefined && input.cluster !== null && { cluster: input.cluster })), (input.deploymentConfiguration !== undefined &&
|
|
5301
5301
|
input.deploymentConfiguration !== null && {
|
|
5302
5302
|
deploymentConfiguration: serializeAws_json1_1DeploymentConfiguration(input.deploymentConfiguration, context),
|
|
5303
|
-
})), (input.desiredCount !== undefined && input.desiredCount !== null && { desiredCount: input.desiredCount })), (input.
|
|
5303
|
+
})), (input.desiredCount !== undefined && input.desiredCount !== null && { desiredCount: input.desiredCount })), (input.enableECSManagedTags !== undefined &&
|
|
5304
|
+
input.enableECSManagedTags !== null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand !== undefined &&
|
|
5304
5305
|
input.enableExecuteCommand !== null && { enableExecuteCommand: input.enableExecuteCommand })), (input.forceNewDeployment !== undefined &&
|
|
5305
5306
|
input.forceNewDeployment !== null && { forceNewDeployment: input.forceNewDeployment })), (input.healthCheckGracePeriodSeconds !== undefined &&
|
|
5306
5307
|
input.healthCheckGracePeriodSeconds !== null && {
|
|
5307
5308
|
healthCheckGracePeriodSeconds: input.healthCheckGracePeriodSeconds,
|
|
5309
|
+
})), (input.loadBalancers !== undefined &&
|
|
5310
|
+
input.loadBalancers !== null && {
|
|
5311
|
+
loadBalancers: serializeAws_json1_1LoadBalancers(input.loadBalancers, context),
|
|
5308
5312
|
})), (input.networkConfiguration !== undefined &&
|
|
5309
5313
|
input.networkConfiguration !== null && {
|
|
5310
5314
|
networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
|
|
@@ -5315,7 +5319,10 @@ var serializeAws_json1_1UpdateServiceRequest = function (input, context) {
|
|
|
5315
5319
|
input.placementStrategy !== null && {
|
|
5316
5320
|
placementStrategy: serializeAws_json1_1PlacementStrategies(input.placementStrategy, context),
|
|
5317
5321
|
})), (input.platformVersion !== undefined &&
|
|
5318
|
-
input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.service !== undefined && input.service !== null && { service: input.service })), (input.
|
|
5322
|
+
input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags })), (input.service !== undefined && input.service !== null && { service: input.service })), (input.serviceRegistries !== undefined &&
|
|
5323
|
+
input.serviceRegistries !== null && {
|
|
5324
|
+
serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
|
|
5325
|
+
})), (input.taskDefinition !== undefined &&
|
|
5319
5326
|
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
5320
5327
|
};
|
|
5321
5328
|
var serializeAws_json1_1UpdateTaskSetRequest = function (input, context) {
|
|
@@ -14,7 +14,7 @@ var checkState = function (client, input) { return __awaiter(void 0, void 0, voi
|
|
|
14
14
|
reason = result_1;
|
|
15
15
|
try {
|
|
16
16
|
returnComparator = function () {
|
|
17
|
-
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.failures)));
|
|
17
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.failures), false));
|
|
18
18
|
var projection_3 = flat_1.map(function (element_2) {
|
|
19
19
|
return element_2.reason;
|
|
20
20
|
});
|
|
@@ -39,7 +39,7 @@ var checkState = function (client, input) { return __awaiter(void 0, void 0, voi
|
|
|
39
39
|
catch (e) { }
|
|
40
40
|
try {
|
|
41
41
|
returnComparator = function () {
|
|
42
|
-
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.services)));
|
|
42
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.services), false));
|
|
43
43
|
var projection_3 = flat_1.map(function (element_2) {
|
|
44
44
|
return element_2.status;
|
|
45
45
|
});
|
|
@@ -14,7 +14,7 @@ var checkState = function (client, input) { return __awaiter(void 0, void 0, voi
|
|
|
14
14
|
reason = result_1;
|
|
15
15
|
try {
|
|
16
16
|
returnComparator = function () {
|
|
17
|
-
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.tasks)));
|
|
17
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.tasks), false));
|
|
18
18
|
var projection_3 = flat_1.map(function (element_2) {
|
|
19
19
|
return element_2.lastStatus;
|
|
20
20
|
});
|
|
@@ -39,7 +39,7 @@ var checkState = function (client, input) { return __awaiter(void 0, void 0, voi
|
|
|
39
39
|
catch (e) { }
|
|
40
40
|
try {
|
|
41
41
|
returnComparator = function () {
|
|
42
|
-
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.failures)));
|
|
42
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.failures), false));
|
|
43
43
|
var projection_3 = flat_1.map(function (element_2) {
|
|
44
44
|
return element_2.reason;
|
|
45
45
|
});
|
|
@@ -64,7 +64,7 @@ var checkState = function (client, input) { return __awaiter(void 0, void 0, voi
|
|
|
64
64
|
catch (e) { }
|
|
65
65
|
try {
|
|
66
66
|
returnComparator = function () {
|
|
67
|
-
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.tasks)));
|
|
67
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.tasks), false));
|
|
68
68
|
var projection_3 = flat_1.map(function (element_2) {
|
|
69
69
|
return element_2.lastStatus;
|
|
70
70
|
});
|
|
@@ -14,7 +14,7 @@ var checkState = function (client, input) { return __awaiter(void 0, void 0, voi
|
|
|
14
14
|
reason = result_1;
|
|
15
15
|
try {
|
|
16
16
|
returnComparator = function () {
|
|
17
|
-
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.tasks)));
|
|
17
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.tasks), false));
|
|
18
18
|
var projection_3 = flat_1.map(function (element_2) {
|
|
19
19
|
return element_2.lastStatus;
|
|
20
20
|
});
|
package/dist-types/ECS.d.ts
CHANGED
|
@@ -109,8 +109,7 @@ export declare class ECS extends ECSClient {
|
|
|
109
109
|
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
110
110
|
* <p>Tasks for services that don't use a load balancer are considered healthy if they're in
|
|
111
111
|
* the <code>RUNNING</code> state. Tasks for services that use a load balancer are
|
|
112
|
-
* considered healthy if they're in the <code>RUNNING</code> state and the
|
|
113
|
-
* instance that they're hosted on is reported as healthy by the load balancer.</p>
|
|
112
|
+
* considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p>
|
|
114
113
|
* <p>There are two service scheduler strategies available:</p>
|
|
115
114
|
* <ul>
|
|
116
115
|
* <li>
|
|
@@ -490,7 +489,7 @@ export declare class ECS extends ECSClient {
|
|
|
490
489
|
* the root user for an account is affected. The opt-in and opt-out account setting must be
|
|
491
490
|
* set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is
|
|
492
491
|
* defined by the opt-in status of the IAM user or role that created the resource. You must
|
|
493
|
-
*
|
|
492
|
+
* turn on this setting to use Amazon ECS features such as resource tagging.</p>
|
|
494
493
|
* <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
|
|
495
494
|
* limit for any new container instances that support the feature is changed. If
|
|
496
495
|
* <code>awsvpcTrunking</code> is enabled, any new container instances that support the
|
|
@@ -750,8 +749,8 @@ export declare class ECS extends ECSClient {
|
|
|
750
749
|
* replacement tasks are considered healthy. Tasks for services that do not use a
|
|
751
750
|
* load balancer are considered healthy if they're in the <code>RUNNING</code>
|
|
752
751
|
* state. Tasks for services that use a load balancer are considered healthy if
|
|
753
|
-
* they're in the <code>RUNNING</code> state and
|
|
754
|
-
*
|
|
752
|
+
* they're in the <code>RUNNING</code> state and are reported as healthy by the
|
|
753
|
+
* load balancer.</p>
|
|
755
754
|
* </li>
|
|
756
755
|
* <li>
|
|
757
756
|
* <p>The <code>maximumPercent</code> parameter represents an upper limit on the
|
|
@@ -782,19 +781,22 @@ export declare class ECS extends ECSClient {
|
|
|
782
781
|
* apply to your participation in this preview.</p>
|
|
783
782
|
* </important>
|
|
784
783
|
* <p>Modifies the parameters of a service.</p>
|
|
785
|
-
* <p>For services using the rolling update (<code>ECS</code>)
|
|
786
|
-
*
|
|
787
|
-
*
|
|
788
|
-
*
|
|
789
|
-
*
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
*
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
797
|
-
*
|
|
784
|
+
* <p>For services using the rolling update (<code>ECS</code>) you can update the desired count,
|
|
785
|
+
* deployment configuration, network configuration, load balancers, service registries,
|
|
786
|
+
* enable ECS managed tags option, propagate tags option, task placement constraints and
|
|
787
|
+
* strategies, and task definition. When you update any of these parameters, Amazon ECS starts
|
|
788
|
+
* new tasks with the new configuration. </p>
|
|
789
|
+
* <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller, only the
|
|
790
|
+
* desired count, deployment configuration, health check grace period, task placement
|
|
791
|
+
* constraints and strategies, enable ECS managed tags option, and propagate tags can be
|
|
792
|
+
* updated using this API. If the network configuration, platform version, task definition,
|
|
793
|
+
* or load balancer need to be updated, create a new CodeDeploy deployment. For more
|
|
794
|
+
* information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a> in the <i>CodeDeploy API Reference</i>.</p>
|
|
795
|
+
* <p>For services using an external deployment controller, you can update only the desired count,
|
|
796
|
+
* task placement constraints and strategies, health check grace period, enable ECS managed
|
|
797
|
+
* tags option, and propagate tags option, using this API. If the launch type, load
|
|
798
|
+
* balancer, network configuration, platform version, or task definition need to be
|
|
799
|
+
* updated, create a new task set For more information, see <a>CreateTaskSet</a>.</p>
|
|
798
800
|
* <p>You can add to or subtract from the number of instantiations of a task definition in a
|
|
799
801
|
* service by specifying the cluster that the service is running in and a new
|
|
800
802
|
* <code>desiredCount</code> parameter.</p>
|
|
@@ -822,9 +824,8 @@ export declare class ECS extends ECSClient {
|
|
|
822
824
|
* scheduler to stop two existing tasks before starting two new tasks. Tasks for
|
|
823
825
|
* services that don't use a load balancer are considered healthy if they're in the
|
|
824
826
|
* <code>RUNNING</code> state. Tasks for services that use a load balancer are
|
|
825
|
-
* considered healthy if they're in the <code>RUNNING</code> state and
|
|
826
|
-
*
|
|
827
|
-
* balancer.</p>
|
|
827
|
+
* considered healthy if they're in the <code>RUNNING</code> state and are reported
|
|
828
|
+
* as healthy by the load balancer.</p>
|
|
828
829
|
* </li>
|
|
829
830
|
* <li>
|
|
830
831
|
* <p>The <code>maximumPercent</code> parameter represents an upper limit on the
|
|
@@ -869,6 +870,7 @@ export declare class ECS extends ECSClient {
|
|
|
869
870
|
* </ul>
|
|
870
871
|
* </li>
|
|
871
872
|
* </ul>
|
|
873
|
+
*
|
|
872
874
|
* <p>When the service scheduler stops running tasks, it attempts to maintain balance across
|
|
873
875
|
* the Availability Zones in your cluster using the following logic: </p>
|
|
874
876
|
* <ul>
|
|
@@ -884,6 +886,25 @@ export declare class ECS extends ECSClient {
|
|
|
884
886
|
* running tasks for this service.</p>
|
|
885
887
|
* </li>
|
|
886
888
|
* </ul>
|
|
889
|
+
* <note>
|
|
890
|
+
* <p>You must have a service-linked role when you update any of the following service properties.
|
|
891
|
+
* If you specified a custom IAM role when you created the service, Amazon ECS automatically
|
|
892
|
+
* replaces the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn">roleARN</a> associated with the service with the ARN of your service-linked
|
|
893
|
+
* role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked
|
|
894
|
+
* roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
895
|
+
* <ul>
|
|
896
|
+
* <li>
|
|
897
|
+
* <p>
|
|
898
|
+
* <code>loadBalancers,</code>
|
|
899
|
+
* </p>
|
|
900
|
+
* </li>
|
|
901
|
+
* <li>
|
|
902
|
+
* <p>
|
|
903
|
+
* <code>serviceRegistries</code>
|
|
904
|
+
* </p>
|
|
905
|
+
* </li>
|
|
906
|
+
* </ul>
|
|
907
|
+
* </note>
|
|
887
908
|
*/
|
|
888
909
|
updateService(args: UpdateServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceCommandOutput>;
|
|
889
910
|
updateService(args: UpdateServiceCommandInput, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
10
10
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
11
11
|
import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
@@ -80,7 +80,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
80
80
|
* A function that can calculate the length of a request body.
|
|
81
81
|
* @internal
|
|
82
82
|
*/
|
|
83
|
-
bodyLengthChecker?:
|
|
83
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
84
84
|
/**
|
|
85
85
|
* A function that converts a stream into an array of bytes.
|
|
86
86
|
* @internal
|
|
@@ -18,8 +18,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
18
18
|
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
19
19
|
* <p>Tasks for services that don't use a load balancer are considered healthy if they're in
|
|
20
20
|
* the <code>RUNNING</code> state. Tasks for services that use a load balancer are
|
|
21
|
-
* considered healthy if they're in the <code>RUNNING</code> state and the
|
|
22
|
-
* instance that they're hosted on is reported as healthy by the load balancer.</p>
|
|
21
|
+
* considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p>
|
|
23
22
|
* <p>There are two service scheduler strategies available:</p>
|
|
24
23
|
* <ul>
|
|
25
24
|
* <li>
|
|
@@ -18,7 +18,7 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
18
18
|
* the root user for an account is affected. The opt-in and opt-out account setting must be
|
|
19
19
|
* set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is
|
|
20
20
|
* defined by the opt-in status of the IAM user or role that created the resource. You must
|
|
21
|
-
*
|
|
21
|
+
* turn on this setting to use Amazon ECS features such as resource tagging.</p>
|
|
22
22
|
* <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
|
|
23
23
|
* limit for any new container instances that support the feature is changed. If
|
|
24
24
|
* <code>awsvpcTrunking</code> is enabled, any new container instances that support the
|
|
@@ -36,8 +36,8 @@ export interface UpdateContainerInstancesStateCommandOutput extends UpdateContai
|
|
|
36
36
|
* replacement tasks are considered healthy. Tasks for services that do not use a
|
|
37
37
|
* load balancer are considered healthy if they're in the <code>RUNNING</code>
|
|
38
38
|
* state. Tasks for services that use a load balancer are considered healthy if
|
|
39
|
-
* they're in the <code>RUNNING</code> state and
|
|
40
|
-
*
|
|
39
|
+
* they're in the <code>RUNNING</code> state and are reported as healthy by the
|
|
40
|
+
* load balancer.</p>
|
|
41
41
|
* </li>
|
|
42
42
|
* <li>
|
|
43
43
|
* <p>The <code>maximumPercent</code> parameter represents an upper limit on the
|
|
@@ -14,19 +14,22 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
14
14
|
* apply to your participation in this preview.</p>
|
|
15
15
|
* </important>
|
|
16
16
|
* <p>Modifies the parameters of a service.</p>
|
|
17
|
-
* <p>For services using the rolling update (<code>ECS</code>)
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
17
|
+
* <p>For services using the rolling update (<code>ECS</code>) you can update the desired count,
|
|
18
|
+
* deployment configuration, network configuration, load balancers, service registries,
|
|
19
|
+
* enable ECS managed tags option, propagate tags option, task placement constraints and
|
|
20
|
+
* strategies, and task definition. When you update any of these parameters, Amazon ECS starts
|
|
21
|
+
* new tasks with the new configuration. </p>
|
|
22
|
+
* <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller, only the
|
|
23
|
+
* desired count, deployment configuration, health check grace period, task placement
|
|
24
|
+
* constraints and strategies, enable ECS managed tags option, and propagate tags can be
|
|
25
|
+
* updated using this API. If the network configuration, platform version, task definition,
|
|
26
|
+
* or load balancer need to be updated, create a new CodeDeploy deployment. For more
|
|
27
|
+
* information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a> in the <i>CodeDeploy API Reference</i>.</p>
|
|
28
|
+
* <p>For services using an external deployment controller, you can update only the desired count,
|
|
29
|
+
* task placement constraints and strategies, health check grace period, enable ECS managed
|
|
30
|
+
* tags option, and propagate tags option, using this API. If the launch type, load
|
|
31
|
+
* balancer, network configuration, platform version, or task definition need to be
|
|
32
|
+
* updated, create a new task set For more information, see <a>CreateTaskSet</a>.</p>
|
|
30
33
|
* <p>You can add to or subtract from the number of instantiations of a task definition in a
|
|
31
34
|
* service by specifying the cluster that the service is running in and a new
|
|
32
35
|
* <code>desiredCount</code> parameter.</p>
|
|
@@ -54,9 +57,8 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
54
57
|
* scheduler to stop two existing tasks before starting two new tasks. Tasks for
|
|
55
58
|
* services that don't use a load balancer are considered healthy if they're in the
|
|
56
59
|
* <code>RUNNING</code> state. Tasks for services that use a load balancer are
|
|
57
|
-
* considered healthy if they're in the <code>RUNNING</code> state and
|
|
58
|
-
*
|
|
59
|
-
* balancer.</p>
|
|
60
|
+
* considered healthy if they're in the <code>RUNNING</code> state and are reported
|
|
61
|
+
* as healthy by the load balancer.</p>
|
|
60
62
|
* </li>
|
|
61
63
|
* <li>
|
|
62
64
|
* <p>The <code>maximumPercent</code> parameter represents an upper limit on the
|
|
@@ -101,6 +103,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
101
103
|
* </ul>
|
|
102
104
|
* </li>
|
|
103
105
|
* </ul>
|
|
106
|
+
*
|
|
104
107
|
* <p>When the service scheduler stops running tasks, it attempts to maintain balance across
|
|
105
108
|
* the Availability Zones in your cluster using the following logic: </p>
|
|
106
109
|
* <ul>
|
|
@@ -116,6 +119,25 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
116
119
|
* running tasks for this service.</p>
|
|
117
120
|
* </li>
|
|
118
121
|
* </ul>
|
|
122
|
+
* <note>
|
|
123
|
+
* <p>You must have a service-linked role when you update any of the following service properties.
|
|
124
|
+
* If you specified a custom IAM role when you created the service, Amazon ECS automatically
|
|
125
|
+
* replaces the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn">roleARN</a> associated with the service with the ARN of your service-linked
|
|
126
|
+
* role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked
|
|
127
|
+
* roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
128
|
+
* <ul>
|
|
129
|
+
* <li>
|
|
130
|
+
* <p>
|
|
131
|
+
* <code>loadBalancers,</code>
|
|
132
|
+
* </p>
|
|
133
|
+
* </li>
|
|
134
|
+
* <li>
|
|
135
|
+
* <p>
|
|
136
|
+
* <code>serviceRegistries</code>
|
|
137
|
+
* </p>
|
|
138
|
+
* </li>
|
|
139
|
+
* </ul>
|
|
140
|
+
* </note>
|
|
119
141
|
* @example
|
|
120
142
|
* Use a bare-bones client and the command you need to make an API call.
|
|
121
143
|
* ```javascript
|