@aws-sdk/client-ecs 3.844.0 → 3.846.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 (27) hide show
  1. package/dist-cjs/index.js +33 -0
  2. package/dist-es/models/models_0.js +25 -0
  3. package/dist-es/protocols/Aws_json1_1.js +2 -0
  4. package/dist-types/commands/CreateServiceCommand.d.ts +165 -39
  5. package/dist-types/commands/CreateTaskSetCommand.d.ts +12 -0
  6. package/dist-types/commands/DeleteServiceCommand.d.ts +31 -0
  7. package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -0
  8. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +12 -0
  9. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +22 -0
  10. package/dist-types/commands/DescribeServicesCommand.d.ts +31 -0
  11. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +6 -0
  12. package/dist-types/commands/StopTaskCommand.d.ts +2 -1
  13. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  14. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  15. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  16. package/dist-types/commands/UpdateServiceCommand.d.ts +59 -0
  17. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +6 -0
  18. package/dist-types/commands/UpdateTaskSetCommand.d.ts +6 -0
  19. package/dist-types/models/models_0.d.ts +428 -274
  20. package/dist-types/models/models_1.d.ts +246 -1
  21. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -1
  22. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/models/models_0.d.ts +66 -57
  26. package/dist-types/ts3.4/models/models_1.d.ts +62 -0
  27. package/package.json +11 -11
@@ -1,6 +1,246 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ECSServiceException as __BaseException } from "./ECSServiceException";
3
- import { AvailabilityZoneRebalancing, CapacityProvider, CapacityProviderStrategyItem, Cluster, ClusterConfiguration, ClusterServiceConnectDefaultsRequest, ClusterSetting, ContainerInstance, ContainerInstanceStatus, DeploymentConfiguration, Failure, LoadBalancer, ManagedDraining, ManagedScaling, ManagedTerminationProtection, NetworkConfiguration, PlacementConstraint, PlacementStrategy, PropagateTags, ProtectedTask, Scale, Service, ServiceConnectConfiguration, ServiceRegistry, ServiceVolumeConfiguration, Tag, TaskSet, VpcLatticeConfiguration } from "./models_0";
3
+ import { AvailabilityZoneRebalancing, CapacityProvider, CapacityProviderStrategyItem, Cluster, ClusterConfiguration, ClusterServiceConnectDefaultsRequest, ClusterSetting, ContainerInstance, ContainerInstanceStatus, DeploymentConfiguration, DeploymentController, Failure, LoadBalancer, ManagedAgentName, ManagedDraining, ManagedScaling, ManagedTerminationProtection, NetworkBinding, NetworkConfiguration, PlacementConstraint, PlacementStrategy, PropagateTags, ProtectedTask, Scale, Service, ServiceConnectConfiguration, ServiceRegistry, ServiceVolumeConfiguration, Tag, Task, TaskSet, VpcLatticeConfiguration } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface StopTaskResponse {
8
+ /**
9
+ * <p>The task that was stopped.</p>
10
+ * @public
11
+ */
12
+ task?: Task | undefined;
13
+ }
14
+ /**
15
+ * <p>An object representing a change in state for a task attachment.</p>
16
+ * @public
17
+ */
18
+ export interface AttachmentStateChange {
19
+ /**
20
+ * <p>The Amazon Resource Name (ARN) of the attachment.</p>
21
+ * @public
22
+ */
23
+ attachmentArn: string | undefined;
24
+ /**
25
+ * <p>The status of the attachment.</p>
26
+ * @public
27
+ */
28
+ status: string | undefined;
29
+ }
30
+ /**
31
+ * @public
32
+ */
33
+ export interface SubmitAttachmentStateChangesRequest {
34
+ /**
35
+ * <p>The short name or full ARN of the cluster that hosts the container instance the
36
+ * attachment belongs to.</p>
37
+ * @public
38
+ */
39
+ cluster?: string | undefined;
40
+ /**
41
+ * <p>Any attachments associated with the state change request.</p>
42
+ * @public
43
+ */
44
+ attachments: AttachmentStateChange[] | undefined;
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export interface SubmitAttachmentStateChangesResponse {
50
+ /**
51
+ * <p>Acknowledgement of the state change.</p>
52
+ * @public
53
+ */
54
+ acknowledgment?: string | undefined;
55
+ }
56
+ /**
57
+ * @public
58
+ */
59
+ export interface SubmitContainerStateChangeRequest {
60
+ /**
61
+ * <p>The short name or full ARN of the cluster that hosts the container.</p>
62
+ * @public
63
+ */
64
+ cluster?: string | undefined;
65
+ /**
66
+ * <p>The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.</p>
67
+ * @public
68
+ */
69
+ task?: string | undefined;
70
+ /**
71
+ * <p>The name of the container.</p>
72
+ * @public
73
+ */
74
+ containerName?: string | undefined;
75
+ /**
76
+ * <p>The ID of the Docker container.</p>
77
+ * @public
78
+ */
79
+ runtimeId?: string | undefined;
80
+ /**
81
+ * <p>The status of the state change request.</p>
82
+ * @public
83
+ */
84
+ status?: string | undefined;
85
+ /**
86
+ * <p>The exit code that's returned for the state change request.</p>
87
+ * @public
88
+ */
89
+ exitCode?: number | undefined;
90
+ /**
91
+ * <p>The reason for the state change request.</p>
92
+ * @public
93
+ */
94
+ reason?: string | undefined;
95
+ /**
96
+ * <p>The network bindings of the container.</p>
97
+ * @public
98
+ */
99
+ networkBindings?: NetworkBinding[] | undefined;
100
+ }
101
+ /**
102
+ * @public
103
+ */
104
+ export interface SubmitContainerStateChangeResponse {
105
+ /**
106
+ * <p>Acknowledgement of the state change.</p>
107
+ * @public
108
+ */
109
+ acknowledgment?: string | undefined;
110
+ }
111
+ /**
112
+ * <p>An object that represents a change in state for a container.</p>
113
+ * @public
114
+ */
115
+ export interface ContainerStateChange {
116
+ /**
117
+ * <p>The name of the container.</p>
118
+ * @public
119
+ */
120
+ containerName?: string | undefined;
121
+ /**
122
+ * <p>The container image SHA 256 digest.</p>
123
+ * @public
124
+ */
125
+ imageDigest?: string | undefined;
126
+ /**
127
+ * <p>The ID of the Docker container.</p>
128
+ * @public
129
+ */
130
+ runtimeId?: string | undefined;
131
+ /**
132
+ * <p>The exit code for the container, if the state change is a result of the container
133
+ * exiting.</p>
134
+ * @public
135
+ */
136
+ exitCode?: number | undefined;
137
+ /**
138
+ * <p>Any network bindings that are associated with the container.</p>
139
+ * @public
140
+ */
141
+ networkBindings?: NetworkBinding[] | undefined;
142
+ /**
143
+ * <p>The reason for the state change.</p>
144
+ * @public
145
+ */
146
+ reason?: string | undefined;
147
+ /**
148
+ * <p>The status of the container.</p>
149
+ * @public
150
+ */
151
+ status?: string | undefined;
152
+ }
153
+ /**
154
+ * <p>An object representing a change in state for a managed agent.</p>
155
+ * @public
156
+ */
157
+ export interface ManagedAgentStateChange {
158
+ /**
159
+ * <p>The name of the container that's associated with the managed agent.</p>
160
+ * @public
161
+ */
162
+ containerName: string | undefined;
163
+ /**
164
+ * <p>The name of the managed agent.</p>
165
+ * @public
166
+ */
167
+ managedAgentName: ManagedAgentName | undefined;
168
+ /**
169
+ * <p>The status of the managed agent.</p>
170
+ * @public
171
+ */
172
+ status: string | undefined;
173
+ /**
174
+ * <p>The reason for the status of the managed agent.</p>
175
+ * @public
176
+ */
177
+ reason?: string | undefined;
178
+ }
179
+ /**
180
+ * @public
181
+ */
182
+ export interface SubmitTaskStateChangeRequest {
183
+ /**
184
+ * <p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.</p>
185
+ * @public
186
+ */
187
+ cluster?: string | undefined;
188
+ /**
189
+ * <p>The task ID or full ARN of the task in the state change request.</p>
190
+ * @public
191
+ */
192
+ task?: string | undefined;
193
+ /**
194
+ * <p>The status of the state change request.</p>
195
+ * @public
196
+ */
197
+ status?: string | undefined;
198
+ /**
199
+ * <p>The reason for the state change request.</p>
200
+ * @public
201
+ */
202
+ reason?: string | undefined;
203
+ /**
204
+ * <p>Any containers that's associated with the state change request.</p>
205
+ * @public
206
+ */
207
+ containers?: ContainerStateChange[] | undefined;
208
+ /**
209
+ * <p>Any attachments associated with the state change request.</p>
210
+ * @public
211
+ */
212
+ attachments?: AttachmentStateChange[] | undefined;
213
+ /**
214
+ * <p>The details for the managed agent that's associated with the task.</p>
215
+ * @public
216
+ */
217
+ managedAgents?: ManagedAgentStateChange[] | undefined;
218
+ /**
219
+ * <p>The Unix timestamp for the time when the container image pull started.</p>
220
+ * @public
221
+ */
222
+ pullStartedAt?: Date | undefined;
223
+ /**
224
+ * <p>The Unix timestamp for the time when the container image pull completed.</p>
225
+ * @public
226
+ */
227
+ pullStoppedAt?: Date | undefined;
228
+ /**
229
+ * <p>The Unix timestamp for the time when the task execution stopped.</p>
230
+ * @public
231
+ */
232
+ executionStoppedAt?: Date | undefined;
233
+ }
234
+ /**
235
+ * @public
236
+ */
237
+ export interface SubmitTaskStateChangeResponse {
238
+ /**
239
+ * <p>Acknowledgement of the state change.</p>
240
+ * @public
241
+ */
242
+ acknowledgment?: string | undefined;
243
+ }
4
244
  /**
5
245
  * @public
6
246
  */
@@ -458,6 +698,11 @@ export interface UpdateServiceRequest {
458
698
  * @public
459
699
  */
460
700
  healthCheckGracePeriodSeconds?: number | undefined;
701
+ /**
702
+ * <p>The deployment controller to use for the service. </p>
703
+ * @public
704
+ */
705
+ deploymentController?: DeploymentController | undefined;
461
706
  /**
462
707
  * <p>If <code>true</code>, this enables execute command functionality on all task
463
708
  * containers.</p>
@@ -5,7 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ECSClient";
8
- import { StopTaskRequest, StopTaskResponse } from "../models/models_0";
8
+ import { StopTaskRequest } from "../models/models_0";
9
+ import { StopTaskResponse } from "../models/models_1";
9
10
  export { __MetadataBearer };
10
11
  export { $Command };
11
12
  export interface StopTaskCommandInput extends StopTaskRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  SubmitAttachmentStateChangesRequest,
10
10
  SubmitAttachmentStateChangesResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface SubmitAttachmentStateChangesCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  SubmitContainerStateChangeRequest,
10
10
  SubmitContainerStateChangeResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface SubmitContainerStateChangeCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  SubmitTaskStateChangeRequest,
10
10
  SubmitTaskStateChangeResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface SubmitTaskStateChangeCommandInput
@@ -7,6 +7,12 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
+ export interface AdvancedConfiguration {
11
+ alternateTargetGroupArn?: string | undefined;
12
+ productionListenerRule?: string | undefined;
13
+ testListenerRule?: string | undefined;
14
+ roleArn?: string | undefined;
15
+ }
10
16
  export declare const AgentUpdateStatus: {
11
17
  readonly FAILED: "FAILED";
12
18
  readonly PENDING: "PENDING";
@@ -232,11 +238,36 @@ export interface DeploymentCircuitBreaker {
232
238
  enable: boolean | undefined;
233
239
  rollback: boolean | undefined;
234
240
  }
241
+ export declare const DeploymentLifecycleHookStage: {
242
+ readonly POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT";
243
+ readonly POST_SCALE_UP: "POST_SCALE_UP";
244
+ readonly POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT";
245
+ readonly PRE_SCALE_UP: "PRE_SCALE_UP";
246
+ readonly PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT";
247
+ readonly RECONCILE_SERVICE: "RECONCILE_SERVICE";
248
+ readonly TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT";
249
+ };
250
+ export type DeploymentLifecycleHookStage =
251
+ (typeof DeploymentLifecycleHookStage)[keyof typeof DeploymentLifecycleHookStage];
252
+ export interface DeploymentLifecycleHook {
253
+ hookTargetArn?: string | undefined;
254
+ roleArn?: string | undefined;
255
+ lifecycleStages?: DeploymentLifecycleHookStage[] | undefined;
256
+ }
257
+ export declare const DeploymentStrategy: {
258
+ readonly BLUE_GREEN: "BLUE_GREEN";
259
+ readonly ROLLING: "ROLLING";
260
+ };
261
+ export type DeploymentStrategy =
262
+ (typeof DeploymentStrategy)[keyof typeof DeploymentStrategy];
235
263
  export interface DeploymentConfiguration {
236
264
  deploymentCircuitBreaker?: DeploymentCircuitBreaker | undefined;
237
265
  maximumPercent?: number | undefined;
238
266
  minimumHealthyPercent?: number | undefined;
239
267
  alarms?: DeploymentAlarms | undefined;
268
+ strategy?: DeploymentStrategy | undefined;
269
+ bakeTimeInMinutes?: number | undefined;
270
+ lifecycleHooks?: DeploymentLifecycleHook[] | undefined;
240
271
  }
241
272
  export declare const DeploymentControllerType: {
242
273
  readonly CODE_DEPLOY: "CODE_DEPLOY";
@@ -259,6 +290,7 @@ export interface LoadBalancer {
259
290
  loadBalancerName?: string | undefined;
260
291
  containerName?: string | undefined;
261
292
  containerPort?: number | undefined;
293
+ advancedConfiguration?: AdvancedConfiguration | undefined;
262
294
  }
263
295
  export declare const AssignPublicIp: {
264
296
  readonly DISABLED: "DISABLED";
@@ -327,9 +359,20 @@ export interface LogConfiguration {
327
359
  options?: Record<string, string> | undefined;
328
360
  secretOptions?: Secret[] | undefined;
329
361
  }
362
+ export interface ServiceConnectTestTrafficHeaderMatchRules {
363
+ exact: string | undefined;
364
+ }
365
+ export interface ServiceConnectTestTrafficHeaderRules {
366
+ name: string | undefined;
367
+ value?: ServiceConnectTestTrafficHeaderMatchRules | undefined;
368
+ }
369
+ export interface ServiceConnectTestTrafficRules {
370
+ header: ServiceConnectTestTrafficHeaderRules | undefined;
371
+ }
330
372
  export interface ServiceConnectClientAlias {
331
373
  port: number | undefined;
332
374
  dnsName?: string | undefined;
375
+ testTrafficRules?: ServiceConnectTestTrafficRules | undefined;
333
376
  }
334
377
  export interface TimeoutConfiguration {
335
378
  idleTimeoutSeconds?: number | undefined;
@@ -1235,6 +1278,20 @@ export interface ServiceDeploymentCircuitBreaker {
1235
1278
  failureCount?: number | undefined;
1236
1279
  threshold?: number | undefined;
1237
1280
  }
1281
+ export declare const ServiceDeploymentLifecycleStage: {
1282
+ readonly BAKE_TIME: "BAKE_TIME";
1283
+ readonly CLEAN_UP: "CLEAN_UP";
1284
+ readonly POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT";
1285
+ readonly POST_SCALE_UP: "POST_SCALE_UP";
1286
+ readonly POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT";
1287
+ readonly PRE_SCALE_UP: "PRE_SCALE_UP";
1288
+ readonly PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT";
1289
+ readonly RECONCILE_SERVICE: "RECONCILE_SERVICE";
1290
+ readonly SCALE_UP: "SCALE_UP";
1291
+ readonly TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT";
1292
+ };
1293
+ export type ServiceDeploymentLifecycleStage =
1294
+ (typeof ServiceDeploymentLifecycleStage)[keyof typeof ServiceDeploymentLifecycleStage];
1238
1295
  export interface Rollback {
1239
1296
  reason?: string | undefined;
1240
1297
  startedAt?: Date | undefined;
@@ -1272,6 +1329,7 @@ export interface ServiceDeployment {
1272
1329
  targetServiceRevision?: ServiceRevisionSummary | undefined;
1273
1330
  status?: ServiceDeploymentStatus | undefined;
1274
1331
  statusReason?: string | undefined;
1332
+ lifecycleStage?: ServiceDeploymentLifecycleStage | undefined;
1275
1333
  deploymentConfiguration?: DeploymentConfiguration | undefined;
1276
1334
  rollback?: Rollback | undefined;
1277
1335
  deploymentCircuitBreaker?: ServiceDeploymentCircuitBreaker | undefined;
@@ -1289,6 +1347,13 @@ export interface ContainerImage {
1289
1347
  imageDigest?: string | undefined;
1290
1348
  image?: string | undefined;
1291
1349
  }
1350
+ export interface ServiceRevisionLoadBalancer {
1351
+ targetGroupArn?: string | undefined;
1352
+ productionListenerRule?: string | undefined;
1353
+ }
1354
+ export interface ResolvedConfiguration {
1355
+ loadBalancers?: ServiceRevisionLoadBalancer[] | undefined;
1356
+ }
1292
1357
  export interface ServiceRevision {
1293
1358
  serviceRevisionArn?: string | undefined;
1294
1359
  serviceArn?: string | undefined;
@@ -1308,6 +1373,7 @@ export interface ServiceRevision {
1308
1373
  fargateEphemeralStorage?: DeploymentEphemeralStorage | undefined;
1309
1374
  createdAt?: Date | undefined;
1310
1375
  vpcLatticeConfigurations?: VpcLatticeConfiguration[] | undefined;
1376
+ resolvedConfiguration?: ResolvedConfiguration | undefined;
1311
1377
  }
1312
1378
  export interface DescribeServiceRevisionsResponse {
1313
1379
  serviceRevisions?: ServiceRevision[] | undefined;
@@ -1908,63 +1974,6 @@ export interface StopTaskRequest {
1908
1974
  task: string | undefined;
1909
1975
  reason?: string | undefined;
1910
1976
  }
1911
- export interface StopTaskResponse {
1912
- task?: Task | undefined;
1913
- }
1914
- export interface AttachmentStateChange {
1915
- attachmentArn: string | undefined;
1916
- status: string | undefined;
1917
- }
1918
- export interface SubmitAttachmentStateChangesRequest {
1919
- cluster?: string | undefined;
1920
- attachments: AttachmentStateChange[] | undefined;
1921
- }
1922
- export interface SubmitAttachmentStateChangesResponse {
1923
- acknowledgment?: string | undefined;
1924
- }
1925
- export interface SubmitContainerStateChangeRequest {
1926
- cluster?: string | undefined;
1927
- task?: string | undefined;
1928
- containerName?: string | undefined;
1929
- runtimeId?: string | undefined;
1930
- status?: string | undefined;
1931
- exitCode?: number | undefined;
1932
- reason?: string | undefined;
1933
- networkBindings?: NetworkBinding[] | undefined;
1934
- }
1935
- export interface SubmitContainerStateChangeResponse {
1936
- acknowledgment?: string | undefined;
1937
- }
1938
- export interface ContainerStateChange {
1939
- containerName?: string | undefined;
1940
- imageDigest?: string | undefined;
1941
- runtimeId?: string | undefined;
1942
- exitCode?: number | undefined;
1943
- networkBindings?: NetworkBinding[] | undefined;
1944
- reason?: string | undefined;
1945
- status?: string | undefined;
1946
- }
1947
- export interface ManagedAgentStateChange {
1948
- containerName: string | undefined;
1949
- managedAgentName: ManagedAgentName | undefined;
1950
- status: string | undefined;
1951
- reason?: string | undefined;
1952
- }
1953
- export interface SubmitTaskStateChangeRequest {
1954
- cluster?: string | undefined;
1955
- task?: string | undefined;
1956
- status?: string | undefined;
1957
- reason?: string | undefined;
1958
- containers?: ContainerStateChange[] | undefined;
1959
- attachments?: AttachmentStateChange[] | undefined;
1960
- managedAgents?: ManagedAgentStateChange[] | undefined;
1961
- pullStartedAt?: Date | undefined;
1962
- pullStoppedAt?: Date | undefined;
1963
- executionStoppedAt?: Date | undefined;
1964
- }
1965
- export interface SubmitTaskStateChangeResponse {
1966
- acknowledgment?: string | undefined;
1967
- }
1968
1977
  export declare const SessionFilterSensitiveLog: (obj: Session) => any;
1969
1978
  export declare const ExecuteCommandResponseFilterSensitiveLog: (
1970
1979
  obj: ExecuteCommandResponse
@@ -11,11 +11,14 @@ import {
11
11
  ContainerInstance,
12
12
  ContainerInstanceStatus,
13
13
  DeploymentConfiguration,
14
+ DeploymentController,
14
15
  Failure,
15
16
  LoadBalancer,
17
+ ManagedAgentName,
16
18
  ManagedDraining,
17
19
  ManagedScaling,
18
20
  ManagedTerminationProtection,
21
+ NetworkBinding,
19
22
  NetworkConfiguration,
20
23
  PlacementConstraint,
21
24
  PlacementStrategy,
@@ -27,9 +30,67 @@ import {
27
30
  ServiceRegistry,
28
31
  ServiceVolumeConfiguration,
29
32
  Tag,
33
+ Task,
30
34
  TaskSet,
31
35
  VpcLatticeConfiguration,
32
36
  } from "./models_0";
37
+ export interface StopTaskResponse {
38
+ task?: Task | undefined;
39
+ }
40
+ export interface AttachmentStateChange {
41
+ attachmentArn: string | undefined;
42
+ status: string | undefined;
43
+ }
44
+ export interface SubmitAttachmentStateChangesRequest {
45
+ cluster?: string | undefined;
46
+ attachments: AttachmentStateChange[] | undefined;
47
+ }
48
+ export interface SubmitAttachmentStateChangesResponse {
49
+ acknowledgment?: string | undefined;
50
+ }
51
+ export interface SubmitContainerStateChangeRequest {
52
+ cluster?: string | undefined;
53
+ task?: string | undefined;
54
+ containerName?: string | undefined;
55
+ runtimeId?: string | undefined;
56
+ status?: string | undefined;
57
+ exitCode?: number | undefined;
58
+ reason?: string | undefined;
59
+ networkBindings?: NetworkBinding[] | undefined;
60
+ }
61
+ export interface SubmitContainerStateChangeResponse {
62
+ acknowledgment?: string | undefined;
63
+ }
64
+ export interface ContainerStateChange {
65
+ containerName?: string | undefined;
66
+ imageDigest?: string | undefined;
67
+ runtimeId?: string | undefined;
68
+ exitCode?: number | undefined;
69
+ networkBindings?: NetworkBinding[] | undefined;
70
+ reason?: string | undefined;
71
+ status?: string | undefined;
72
+ }
73
+ export interface ManagedAgentStateChange {
74
+ containerName: string | undefined;
75
+ managedAgentName: ManagedAgentName | undefined;
76
+ status: string | undefined;
77
+ reason?: string | undefined;
78
+ }
79
+ export interface SubmitTaskStateChangeRequest {
80
+ cluster?: string | undefined;
81
+ task?: string | undefined;
82
+ status?: string | undefined;
83
+ reason?: string | undefined;
84
+ containers?: ContainerStateChange[] | undefined;
85
+ attachments?: AttachmentStateChange[] | undefined;
86
+ managedAgents?: ManagedAgentStateChange[] | undefined;
87
+ pullStartedAt?: Date | undefined;
88
+ pullStoppedAt?: Date | undefined;
89
+ executionStoppedAt?: Date | undefined;
90
+ }
91
+ export interface SubmitTaskStateChangeResponse {
92
+ acknowledgment?: string | undefined;
93
+ }
33
94
  export interface TagResourceRequest {
34
95
  resourceArn: string | undefined;
35
96
  tags: Tag[] | undefined;
@@ -112,6 +173,7 @@ export interface UpdateServiceRequest {
112
173
  platformVersion?: string | undefined;
113
174
  forceNewDeployment?: boolean | undefined;
114
175
  healthCheckGracePeriodSeconds?: number | undefined;
176
+ deploymentController?: DeploymentController | undefined;
115
177
  enableExecuteCommand?: boolean | undefined;
116
178
  enableECSManagedTags?: boolean | undefined;
117
179
  loadBalancers?: LoadBalancer[] | 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.844.0",
4
+ "version": "3.846.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecs",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.844.0",
24
- "@aws-sdk/credential-provider-node": "3.844.0",
23
+ "@aws-sdk/core": "3.846.0",
24
+ "@aws-sdk/credential-provider-node": "3.846.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.844.0",
28
+ "@aws-sdk/middleware-user-agent": "3.846.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
- "@aws-sdk/util-endpoints": "3.844.0",
31
+ "@aws-sdk/util-endpoints": "3.845.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.844.0",
33
+ "@aws-sdk/util-user-agent-node": "3.846.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.14",
41
- "@smithy/middleware-retry": "^4.1.15",
40
+ "@smithy/middleware-endpoint": "^4.1.15",
41
+ "@smithy/middleware-retry": "^4.1.16",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.1.0",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.6",
47
+ "@smithy/smithy-client": "^4.4.7",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.22",
54
- "@smithy/util-defaults-mode-node": "^4.0.22",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.23",
54
+ "@smithy/util-defaults-mode-node": "^4.0.23",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",