@aws-sdk/client-ecs 3.54.1 → 3.58.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.
Files changed (81) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/ECSClient.js +13 -13
  3. package/dist-cjs/commands/CreateCapacityProviderCommand.js +3 -3
  4. package/dist-cjs/commands/CreateClusterCommand.js +3 -3
  5. package/dist-cjs/commands/CreateServiceCommand.js +3 -3
  6. package/dist-cjs/commands/CreateTaskSetCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteAccountSettingCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteAttributesCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteServiceCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteTaskSetCommand.js +3 -3
  13. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +3 -3
  14. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeClustersCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeServicesCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeTaskSetsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeTasksCommand.js +3 -3
  22. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +3 -3
  23. package/dist-cjs/commands/ExecuteCommandCommand.js +3 -3
  24. package/dist-cjs/commands/ListAccountSettingsCommand.js +3 -3
  25. package/dist-cjs/commands/ListAttributesCommand.js +3 -3
  26. package/dist-cjs/commands/ListClustersCommand.js +3 -3
  27. package/dist-cjs/commands/ListContainerInstancesCommand.js +3 -3
  28. package/dist-cjs/commands/ListServicesCommand.js +3 -3
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  30. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +3 -3
  31. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +3 -3
  32. package/dist-cjs/commands/ListTasksCommand.js +3 -3
  33. package/dist-cjs/commands/PutAccountSettingCommand.js +3 -3
  34. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +3 -3
  35. package/dist-cjs/commands/PutAttributesCommand.js +3 -3
  36. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +3 -3
  37. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +3 -3
  38. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +3 -3
  39. package/dist-cjs/commands/RunTaskCommand.js +3 -3
  40. package/dist-cjs/commands/StartTaskCommand.js +3 -3
  41. package/dist-cjs/commands/StopTaskCommand.js +3 -3
  42. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +3 -3
  43. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +3 -3
  44. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +3 -3
  45. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  46. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  47. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateClusterCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateContainerAgentCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateServiceCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateTaskSetCommand.js +3 -3
  55. package/dist-cjs/endpoints.js +1 -1
  56. package/dist-cjs/protocols/Aws_json1_1.js +434 -434
  57. package/dist-cjs/runtimeConfig.browser.js +4 -4
  58. package/dist-cjs/runtimeConfig.js +9 -9
  59. package/dist-cjs/runtimeConfig.native.js +1 -1
  60. package/dist-cjs/waiters/waitForServicesInactive.js +3 -3
  61. package/dist-cjs/waiters/waitForTasksRunning.js +3 -3
  62. package/dist-cjs/waiters/waitForTasksStopped.js +3 -3
  63. package/dist-es/ECS.js +52 -52
  64. package/dist-es/pagination/ListAccountSettingsPaginator.js +4 -4
  65. package/dist-es/pagination/ListAttributesPaginator.js +4 -4
  66. package/dist-es/pagination/ListClustersPaginator.js +4 -4
  67. package/dist-es/pagination/ListContainerInstancesPaginator.js +4 -4
  68. package/dist-es/pagination/ListServicesPaginator.js +4 -4
  69. package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +4 -4
  70. package/dist-es/pagination/ListTaskDefinitionsPaginator.js +4 -4
  71. package/dist-es/pagination/ListTasksPaginator.js +4 -4
  72. package/dist-es/waiters/waitForServicesInactive.js +2 -2
  73. package/dist-es/waiters/waitForTasksRunning.js +3 -3
  74. package/dist-es/waiters/waitForTasksStopped.js +1 -1
  75. package/dist-types/ECS.d.ts +11 -9
  76. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -1
  77. package/dist-types/commands/UpdateServiceCommand.d.ts +9 -8
  78. package/dist-types/models/models_0.d.ts +45 -14
  79. package/dist-types/runtimeConfig.native.d.ts +2 -2
  80. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  81. 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 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];
@@ -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
  });
@@ -749,7 +749,8 @@ export declare class ECS extends ECSClient {
749
749
  * replacement tasks are considered healthy. Tasks for services that do not use a
750
750
  * load balancer are considered healthy if they're in the <code>RUNNING</code>
751
751
  * state. Tasks for services that use a load balancer are considered healthy if
752
- * they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer..</p>
752
+ * they're in the <code>RUNNING</code> state and are reported as healthy by the
753
+ * load balancer.</p>
753
754
  * </li>
754
755
  * <li>
755
756
  * <p>The <code>maximumPercent</code> parameter represents an upper limit on the
@@ -781,15 +782,16 @@ export declare class ECS extends ECSClient {
781
782
  * </important>
782
783
  * <p>Modifies the parameters of a service.</p>
783
784
  * <p>For services using the rolling update (<code>ECS</code>) you can update the desired count,
784
- * the deployment configuration, the network configuration, load balancers, service
785
- * registries, enable ECS managed tags option, propagate tags option, task placement
786
- * constraints and strategies, and the task definition. When you update any of these
787
- * parameters, Amazon ECS starts new tasks with the new configuration. </p>
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>
788
789
  * <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller, only the
789
- * desired count, deployment configuration, task placement constraints and strategies,
790
- * enable ECS managed tags option, and propagate tags can be updated using this API. If the
791
- * network configuration, platform version, task definition, or load balancer need to be
792
- * updated, create a new CodeDeploy deployment. For more 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>
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>
793
795
  * <p>For services using an external deployment controller, you can update only the desired count,
794
796
  * task placement constraints and strategies, health check grace period, enable ECS managed
795
797
  * tags option, and propagate tags option, using this API. If the launch type, load
@@ -36,7 +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 are reported as healthy by the load balancer..</p>
39
+ * they're in the <code>RUNNING</code> state and are reported as healthy by the
40
+ * load balancer.</p>
40
41
  * </li>
41
42
  * <li>
42
43
  * <p>The <code>maximumPercent</code> parameter represents an upper limit on the
@@ -15,15 +15,16 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
15
15
  * </important>
16
16
  * <p>Modifies the parameters of a service.</p>
17
17
  * <p>For services using the rolling update (<code>ECS</code>) you can update the desired count,
18
- * the deployment configuration, the network configuration, load balancers, service
19
- * registries, enable ECS managed tags option, propagate tags option, task placement
20
- * constraints and strategies, and the task definition. When you update any of these
21
- * parameters, Amazon ECS starts new tasks with the new configuration. </p>
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
22
  * <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller, only the
23
- * desired count, deployment configuration, task placement constraints and strategies,
24
- * enable ECS managed tags option, and propagate tags can be updated using this API. If the
25
- * network configuration, platform version, task definition, or load balancer need to be
26
- * updated, create a new CodeDeploy deployment. For more 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>
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>
27
28
  * <p>For services using an external deployment controller, you can update only the desired count,
28
29
  * task placement constraints and strategies, health check grace period, enable ECS managed
29
30
  * tags option, and propagate tags option, using this API. If the launch type, load
@@ -636,8 +636,7 @@ export interface CreateClusterRequest {
636
636
  */
637
637
  settings?: ClusterSetting[];
638
638
  /**
639
- * <p>The
640
- * execute command configuration for the cluster.</p>
639
+ * <p>The <code>execute</code> command configuration for the cluster.</p>
641
640
  */
642
641
  configuration?: ClusterConfiguration;
643
642
  /**
@@ -1595,11 +1594,9 @@ export interface CreateServiceRequest {
1595
1594
  */
1596
1595
  enableECSManagedTags?: boolean;
1597
1596
  /**
1598
- * <p>Specifies whether to propagate the tags from the task definition or the service to the
1599
- * tasks in the service. If no value is specified, the tags aren't propagated. Tags can
1600
- * only be propagated to the tasks within the service during service creation. To add tags
1601
- * to a task after service creation or task creation, use the <a>TagResource</a>
1602
- * API action.</p>
1597
+ * <p>Specifies whether to propagate the tags from the task definition to the task. If no
1598
+ * value is specified, the tags aren't propagated. Tags can only be propagated to the task
1599
+ * during task creation. To add tags to a task after task creation, use the <a>TagResource</a> API action.</p>
1603
1600
  */
1604
1601
  propagateTags?: PropagateTags | string;
1605
1602
  /**
@@ -3296,6 +3293,14 @@ export declare namespace FirelensConfiguration {
3296
3293
  * specified in a container definition override any Docker health checks that exist in the
3297
3294
  * container image (such as those specified in a parent image or from the image's
3298
3295
  * Dockerfile).</p>
3296
+ * <note>
3297
+ * <p>The Amazon ECS container agent only monitors and reports on the health
3298
+ * checks specified in the task definition. Amazon ECS does not monitor
3299
+ * Docker health checks that are embedded in a container image and not
3300
+ * specified in the container definition. Health check parameters that
3301
+ * are specified in a container definition override any Docker health
3302
+ * checks that exist in the container image.</p>
3303
+ * </note>
3299
3304
  * <p>You can view the health status of both individual containers and a task with the
3300
3305
  * DescribeTasks API operation or when viewing the task details in the console.</p>
3301
3306
  * <p>The following describes the possible <code>healthStatus</code> values for a
@@ -6604,8 +6609,22 @@ export declare namespace ExecuteCommandResponse {
6604
6609
  const filterSensitiveLog: (obj: ExecuteCommandResponse) => any;
6605
6610
  }
6606
6611
  /**
6607
- * <p>The target container isn't properly configured with the execute command agent or the
6608
- * container is no longer active or running.</p>
6612
+ * <p>The execute command cannot run. This error can be caused by any of the following
6613
+ * configuration issues:</p>
6614
+ * <ul>
6615
+ * <li>
6616
+ * <p>Incorrect IAM permissions</p>
6617
+ * </li>
6618
+ * <li>
6619
+ * <p>The SSM agent is not installed or is not running</p>
6620
+ * </li>
6621
+ * <li>
6622
+ * <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for for Systems Manager Session Manager</p>
6623
+ * </li>
6624
+ * </ul>
6625
+ * <p>For information about how to troubleshoot the
6626
+ * issues, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Troubleshooting issues with ECS Exec</a> in the
6627
+ * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
6609
6628
  */
6610
6629
  export declare class TargetNotConnectedException extends __BaseException {
6611
6630
  readonly name: "TargetNotConnectedException";
@@ -7906,6 +7925,8 @@ export interface RunTaskRequest {
7906
7925
  * <p>Determines whether to use the execute command functionality for the containers in
7907
7926
  * this task. If <code>true</code>, this enables execute command functionality on all
7908
7927
  * containers in the task.</p>
7928
+ * <p>If <code>true</code>, then the task definition must have a task role, or you must
7929
+ * provide one as an override.</p>
7909
7930
  */
7910
7931
  enableExecuteCommand?: boolean;
7911
7932
  /**
@@ -8037,12 +8058,22 @@ export interface RunTaskRequest {
8037
8058
  * <p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or
8038
8059
  * full ARN of the task definition to run. If a <code>revision</code> isn't specified,
8039
8060
  * the latest <code>ACTIVE</code> revision is used.</p>
8040
- * <p>The full ARN value must match the value that you specified as the
8041
- * <code>Resource</code> of the IAM principal's permissions policy. For example, if the
8042
- * <code>Resource</code> is
8043
- * arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*, the
8044
- * <code>taskDefinition</code> ARN value must be
8061
+ * <p>When you create an IAM policy for run-task, you can set the resource to be the latest task definition revision, or a specific revision.</p>
8062
+ * <p>The full ARN value must match the value that you specified as the <code>Resource</code> of
8063
+ * the IAM principal's permissions policy.</p>
8064
+ * <p>When you specify the policy resource as the latest task definition version (by setting the
8065
+ * <code>Resource</code> in the policy to
8066
+ * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>),
8067
+ * then set this value to
8045
8068
  * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>.</p>
8069
+ * <p>When you specify the policy resource as a specific task definition version (by setting the
8070
+ * <code>Resource</code> in the policy to
8071
+ * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code> or
8072
+ * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*</code>),
8073
+ * then set this value to
8074
+ * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code>.</p>
8075
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources">Policy Resources for Amazon ECS</a> in the Amazon Elastic Container Service
8076
+ * developer Guide.</p>
8046
8077
  */
8047
8078
  taskDefinition: string | undefined;
8048
8079
  }
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
4
- "version": "3.54.1",
4
+ "version": "3.58.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,48 +18,48 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.1",
22
- "@aws-sdk/config-resolver": "3.54.1",
23
- "@aws-sdk/credential-provider-node": "3.54.1",
24
- "@aws-sdk/fetch-http-handler": "3.54.1",
25
- "@aws-sdk/hash-node": "3.54.1",
26
- "@aws-sdk/invalid-dependency": "3.54.1",
27
- "@aws-sdk/middleware-content-length": "3.54.1",
28
- "@aws-sdk/middleware-host-header": "3.54.1",
29
- "@aws-sdk/middleware-logger": "3.54.1",
30
- "@aws-sdk/middleware-retry": "3.54.1",
31
- "@aws-sdk/middleware-serde": "3.54.1",
32
- "@aws-sdk/middleware-signing": "3.54.1",
33
- "@aws-sdk/middleware-stack": "3.54.1",
34
- "@aws-sdk/middleware-user-agent": "3.54.1",
35
- "@aws-sdk/node-config-provider": "3.54.1",
36
- "@aws-sdk/node-http-handler": "3.54.1",
37
- "@aws-sdk/protocol-http": "3.54.1",
38
- "@aws-sdk/smithy-client": "3.54.1",
39
- "@aws-sdk/types": "3.54.1",
40
- "@aws-sdk/url-parser": "3.54.1",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
- "@aws-sdk/util-user-agent-browser": "3.54.1",
48
- "@aws-sdk/util-user-agent-node": "3.54.1",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.54.1",
52
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.58.0",
22
+ "@aws-sdk/config-resolver": "3.58.0",
23
+ "@aws-sdk/credential-provider-node": "3.58.0",
24
+ "@aws-sdk/fetch-http-handler": "3.58.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.58.0",
28
+ "@aws-sdk/middleware-host-header": "3.58.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.58.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.58.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.58.0",
35
+ "@aws-sdk/node-config-provider": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.58.0",
37
+ "@aws-sdk/protocol-http": "3.58.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.58.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.58.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.58.0",
48
+ "@aws-sdk/util-user-agent-node": "3.58.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "@aws-sdk/util-waiter": "3.55.0",
52
+ "tslib": "^2.3.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.58.0",
56
56
  "@tsconfig/recommended": "1.0.1",
57
57
  "@types/node": "^12.7.5",
58
58
  "concurrently": "7.0.0",
59
59
  "downlevel-dts": "0.7.0",
60
60
  "rimraf": "3.0.2",
61
61
  "typedoc": "0.19.2",
62
- "typescript": "~4.3.5"
62
+ "typescript": "~4.6.2"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=12.0.0"