@aws-sdk/client-ecs 3.325.0 → 3.326.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 (57) hide show
  1. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +29 -0
  2. package/dist-types/commands/CreateClusterCommand.d.ts +72 -0
  3. package/dist-types/commands/CreateServiceCommand.d.ts +236 -0
  4. package/dist-types/commands/CreateTaskSetCommand.d.ts +69 -0
  5. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +10 -0
  6. package/dist-types/commands/DeleteAttributesCommand.d.ts +13 -0
  7. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +29 -0
  8. package/dist-types/commands/DeleteClusterCommand.d.ts +72 -0
  9. package/dist-types/commands/DeleteServiceCommand.d.ts +236 -0
  10. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +275 -0
  11. package/dist-types/commands/DeleteTaskSetCommand.d.ts +69 -0
  12. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +85 -0
  13. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +266 -0
  14. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +39 -0
  15. package/dist-types/commands/DescribeClustersCommand.d.ts +81 -0
  16. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +94 -0
  17. package/dist-types/commands/DescribeServicesCommand.d.ts +245 -0
  18. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +272 -0
  19. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +78 -0
  20. package/dist-types/commands/DescribeTasksCommand.d.ts +170 -0
  21. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +8 -0
  22. package/dist-types/commands/ExecuteCommandCommand.d.ts +15 -0
  23. package/dist-types/commands/GetTaskProtectionCommand.d.ts +19 -0
  24. package/dist-types/commands/ListAccountSettingsCommand.d.ts +13 -0
  25. package/dist-types/commands/ListAttributesCommand.d.ts +14 -0
  26. package/dist-types/commands/ListClustersCommand.d.ts +9 -0
  27. package/dist-types/commands/ListContainerInstancesCommand.d.ts +9 -0
  28. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +9 -0
  29. package/dist-types/commands/ListServicesCommand.d.ts +9 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  31. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +9 -0
  32. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +9 -0
  33. package/dist-types/commands/ListTasksCommand.d.ts +9 -0
  34. package/dist-types/commands/PutAccountSettingCommand.d.ts +10 -0
  35. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -0
  36. package/dist-types/commands/PutAttributesCommand.d.ts +13 -0
  37. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +72 -0
  38. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +85 -0
  39. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +272 -0
  40. package/dist-types/commands/RunTaskCommand.d.ts +170 -0
  41. package/dist-types/commands/StartTaskCommand.d.ts +170 -0
  42. package/dist-types/commands/StopTaskCommand.d.ts +161 -0
  43. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -0
  44. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -0
  45. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +6 -0
  46. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  47. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  48. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +29 -0
  49. package/dist-types/commands/UpdateClusterCommand.d.ts +72 -0
  50. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +72 -0
  51. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +85 -0
  52. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +94 -0
  53. package/dist-types/commands/UpdateServiceCommand.d.ts +236 -0
  54. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +69 -0
  55. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +19 -0
  56. package/dist-types/commands/UpdateTaskSetCommand.d.ts +69 -0
  57. package/package.json +3 -3
@@ -106,6 +106,174 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
106
106
  * };
107
107
  * const command = new StartTaskCommand(input);
108
108
  * const response = await client.send(command);
109
+ * // { // StartTaskResponse
110
+ * // tasks: [ // Tasks
111
+ * // { // Task
112
+ * // attachments: [ // Attachments
113
+ * // { // Attachment
114
+ * // id: "STRING_VALUE",
115
+ * // type: "STRING_VALUE",
116
+ * // status: "STRING_VALUE",
117
+ * // details: [ // AttachmentDetails
118
+ * // { // KeyValuePair
119
+ * // name: "STRING_VALUE",
120
+ * // value: "STRING_VALUE",
121
+ * // },
122
+ * // ],
123
+ * // },
124
+ * // ],
125
+ * // attributes: [ // Attributes
126
+ * // { // Attribute
127
+ * // name: "STRING_VALUE", // required
128
+ * // value: "STRING_VALUE",
129
+ * // targetType: "container-instance",
130
+ * // targetId: "STRING_VALUE",
131
+ * // },
132
+ * // ],
133
+ * // availabilityZone: "STRING_VALUE",
134
+ * // capacityProviderName: "STRING_VALUE",
135
+ * // clusterArn: "STRING_VALUE",
136
+ * // connectivity: "CONNECTED" || "DISCONNECTED",
137
+ * // connectivityAt: new Date("TIMESTAMP"),
138
+ * // containerInstanceArn: "STRING_VALUE",
139
+ * // containers: [ // Containers
140
+ * // { // Container
141
+ * // containerArn: "STRING_VALUE",
142
+ * // taskArn: "STRING_VALUE",
143
+ * // name: "STRING_VALUE",
144
+ * // image: "STRING_VALUE",
145
+ * // imageDigest: "STRING_VALUE",
146
+ * // runtimeId: "STRING_VALUE",
147
+ * // lastStatus: "STRING_VALUE",
148
+ * // exitCode: Number("int"),
149
+ * // reason: "STRING_VALUE",
150
+ * // networkBindings: [ // NetworkBindings
151
+ * // { // NetworkBinding
152
+ * // bindIP: "STRING_VALUE",
153
+ * // containerPort: Number("int"),
154
+ * // hostPort: Number("int"),
155
+ * // protocol: "tcp" || "udp",
156
+ * // containerPortRange: "STRING_VALUE",
157
+ * // hostPortRange: "STRING_VALUE",
158
+ * // },
159
+ * // ],
160
+ * // networkInterfaces: [ // NetworkInterfaces
161
+ * // { // NetworkInterface
162
+ * // attachmentId: "STRING_VALUE",
163
+ * // privateIpv4Address: "STRING_VALUE",
164
+ * // ipv6Address: "STRING_VALUE",
165
+ * // },
166
+ * // ],
167
+ * // healthStatus: "HEALTHY" || "UNHEALTHY" || "UNKNOWN",
168
+ * // managedAgents: [ // ManagedAgents
169
+ * // { // ManagedAgent
170
+ * // lastStartedAt: new Date("TIMESTAMP"),
171
+ * // name: "ExecuteCommandAgent",
172
+ * // reason: "STRING_VALUE",
173
+ * // lastStatus: "STRING_VALUE",
174
+ * // },
175
+ * // ],
176
+ * // cpu: "STRING_VALUE",
177
+ * // memory: "STRING_VALUE",
178
+ * // memoryReservation: "STRING_VALUE",
179
+ * // gpuIds: [ // GpuIds
180
+ * // "STRING_VALUE",
181
+ * // ],
182
+ * // },
183
+ * // ],
184
+ * // cpu: "STRING_VALUE",
185
+ * // createdAt: new Date("TIMESTAMP"),
186
+ * // desiredStatus: "STRING_VALUE",
187
+ * // enableExecuteCommand: true || false,
188
+ * // executionStoppedAt: new Date("TIMESTAMP"),
189
+ * // group: "STRING_VALUE",
190
+ * // healthStatus: "HEALTHY" || "UNHEALTHY" || "UNKNOWN",
191
+ * // inferenceAccelerators: [ // InferenceAccelerators
192
+ * // { // InferenceAccelerator
193
+ * // deviceName: "STRING_VALUE", // required
194
+ * // deviceType: "STRING_VALUE", // required
195
+ * // },
196
+ * // ],
197
+ * // lastStatus: "STRING_VALUE",
198
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
199
+ * // memory: "STRING_VALUE",
200
+ * // overrides: { // TaskOverride
201
+ * // containerOverrides: [ // ContainerOverrides
202
+ * // { // ContainerOverride
203
+ * // name: "STRING_VALUE",
204
+ * // command: [ // StringList
205
+ * // "STRING_VALUE",
206
+ * // ],
207
+ * // environment: [ // EnvironmentVariables
208
+ * // {
209
+ * // name: "STRING_VALUE",
210
+ * // value: "STRING_VALUE",
211
+ * // },
212
+ * // ],
213
+ * // environmentFiles: [ // EnvironmentFiles
214
+ * // { // EnvironmentFile
215
+ * // value: "STRING_VALUE", // required
216
+ * // type: "s3", // required
217
+ * // },
218
+ * // ],
219
+ * // cpu: Number("int"),
220
+ * // memory: Number("int"),
221
+ * // memoryReservation: Number("int"),
222
+ * // resourceRequirements: [ // ResourceRequirements
223
+ * // { // ResourceRequirement
224
+ * // value: "STRING_VALUE", // required
225
+ * // type: "GPU" || "InferenceAccelerator", // required
226
+ * // },
227
+ * // ],
228
+ * // },
229
+ * // ],
230
+ * // cpu: "STRING_VALUE",
231
+ * // inferenceAcceleratorOverrides: [ // InferenceAcceleratorOverrides
232
+ * // { // InferenceAcceleratorOverride
233
+ * // deviceName: "STRING_VALUE",
234
+ * // deviceType: "STRING_VALUE",
235
+ * // },
236
+ * // ],
237
+ * // executionRoleArn: "STRING_VALUE",
238
+ * // memory: "STRING_VALUE",
239
+ * // taskRoleArn: "STRING_VALUE",
240
+ * // ephemeralStorage: { // EphemeralStorage
241
+ * // sizeInGiB: Number("int"), // required
242
+ * // },
243
+ * // },
244
+ * // platformVersion: "STRING_VALUE",
245
+ * // platformFamily: "STRING_VALUE",
246
+ * // pullStartedAt: new Date("TIMESTAMP"),
247
+ * // pullStoppedAt: new Date("TIMESTAMP"),
248
+ * // startedAt: new Date("TIMESTAMP"),
249
+ * // startedBy: "STRING_VALUE",
250
+ * // stopCode: "TaskFailedToStart" || "EssentialContainerExited" || "UserInitiated" || "ServiceSchedulerInitiated" || "SpotInterruption" || "TerminationNotice",
251
+ * // stoppedAt: new Date("TIMESTAMP"),
252
+ * // stoppedReason: "STRING_VALUE",
253
+ * // stoppingAt: new Date("TIMESTAMP"),
254
+ * // tags: [ // Tags
255
+ * // { // Tag
256
+ * // key: "STRING_VALUE",
257
+ * // value: "STRING_VALUE",
258
+ * // },
259
+ * // ],
260
+ * // taskArn: "STRING_VALUE",
261
+ * // taskDefinitionArn: "STRING_VALUE",
262
+ * // version: Number("long"),
263
+ * // ephemeralStorage: {
264
+ * // sizeInGiB: Number("int"), // required
265
+ * // },
266
+ * // },
267
+ * // ],
268
+ * // failures: [ // Failures
269
+ * // { // Failure
270
+ * // arn: "STRING_VALUE",
271
+ * // reason: "STRING_VALUE",
272
+ * // detail: "STRING_VALUE",
273
+ * // },
274
+ * // ],
275
+ * // };
276
+ *
109
277
  * ```
110
278
  *
111
279
  * @param StartTaskCommandInput - {@link StartTaskCommandInput}
@@ -129,6 +297,8 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
129
297
  * @throws {@link ServerException} (server fault)
130
298
  * <p>These errors are usually caused by a server issue.</p>
131
299
  *
300
+ * @throws {@link ECSServiceException}
301
+ * <p>Base exception class for all service exceptions from ECS service.</p>
132
302
  *
133
303
  */
134
304
  export declare class StartTaskCommand extends $Command<StartTaskCommandInput, StartTaskCommandOutput, ECSClientResolvedConfig> {
@@ -45,6 +45,165 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare
45
45
  * };
46
46
  * const command = new StopTaskCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // StopTaskResponse
49
+ * // task: { // Task
50
+ * // attachments: [ // Attachments
51
+ * // { // Attachment
52
+ * // id: "STRING_VALUE",
53
+ * // type: "STRING_VALUE",
54
+ * // status: "STRING_VALUE",
55
+ * // details: [ // AttachmentDetails
56
+ * // { // KeyValuePair
57
+ * // name: "STRING_VALUE",
58
+ * // value: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // ],
63
+ * // attributes: [ // Attributes
64
+ * // { // Attribute
65
+ * // name: "STRING_VALUE", // required
66
+ * // value: "STRING_VALUE",
67
+ * // targetType: "container-instance",
68
+ * // targetId: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // availabilityZone: "STRING_VALUE",
72
+ * // capacityProviderName: "STRING_VALUE",
73
+ * // clusterArn: "STRING_VALUE",
74
+ * // connectivity: "CONNECTED" || "DISCONNECTED",
75
+ * // connectivityAt: new Date("TIMESTAMP"),
76
+ * // containerInstanceArn: "STRING_VALUE",
77
+ * // containers: [ // Containers
78
+ * // { // Container
79
+ * // containerArn: "STRING_VALUE",
80
+ * // taskArn: "STRING_VALUE",
81
+ * // name: "STRING_VALUE",
82
+ * // image: "STRING_VALUE",
83
+ * // imageDigest: "STRING_VALUE",
84
+ * // runtimeId: "STRING_VALUE",
85
+ * // lastStatus: "STRING_VALUE",
86
+ * // exitCode: Number("int"),
87
+ * // reason: "STRING_VALUE",
88
+ * // networkBindings: [ // NetworkBindings
89
+ * // { // NetworkBinding
90
+ * // bindIP: "STRING_VALUE",
91
+ * // containerPort: Number("int"),
92
+ * // hostPort: Number("int"),
93
+ * // protocol: "tcp" || "udp",
94
+ * // containerPortRange: "STRING_VALUE",
95
+ * // hostPortRange: "STRING_VALUE",
96
+ * // },
97
+ * // ],
98
+ * // networkInterfaces: [ // NetworkInterfaces
99
+ * // { // NetworkInterface
100
+ * // attachmentId: "STRING_VALUE",
101
+ * // privateIpv4Address: "STRING_VALUE",
102
+ * // ipv6Address: "STRING_VALUE",
103
+ * // },
104
+ * // ],
105
+ * // healthStatus: "HEALTHY" || "UNHEALTHY" || "UNKNOWN",
106
+ * // managedAgents: [ // ManagedAgents
107
+ * // { // ManagedAgent
108
+ * // lastStartedAt: new Date("TIMESTAMP"),
109
+ * // name: "ExecuteCommandAgent",
110
+ * // reason: "STRING_VALUE",
111
+ * // lastStatus: "STRING_VALUE",
112
+ * // },
113
+ * // ],
114
+ * // cpu: "STRING_VALUE",
115
+ * // memory: "STRING_VALUE",
116
+ * // memoryReservation: "STRING_VALUE",
117
+ * // gpuIds: [ // GpuIds
118
+ * // "STRING_VALUE",
119
+ * // ],
120
+ * // },
121
+ * // ],
122
+ * // cpu: "STRING_VALUE",
123
+ * // createdAt: new Date("TIMESTAMP"),
124
+ * // desiredStatus: "STRING_VALUE",
125
+ * // enableExecuteCommand: true || false,
126
+ * // executionStoppedAt: new Date("TIMESTAMP"),
127
+ * // group: "STRING_VALUE",
128
+ * // healthStatus: "HEALTHY" || "UNHEALTHY" || "UNKNOWN",
129
+ * // inferenceAccelerators: [ // InferenceAccelerators
130
+ * // { // InferenceAccelerator
131
+ * // deviceName: "STRING_VALUE", // required
132
+ * // deviceType: "STRING_VALUE", // required
133
+ * // },
134
+ * // ],
135
+ * // lastStatus: "STRING_VALUE",
136
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
137
+ * // memory: "STRING_VALUE",
138
+ * // overrides: { // TaskOverride
139
+ * // containerOverrides: [ // ContainerOverrides
140
+ * // { // ContainerOverride
141
+ * // name: "STRING_VALUE",
142
+ * // command: [ // StringList
143
+ * // "STRING_VALUE",
144
+ * // ],
145
+ * // environment: [ // EnvironmentVariables
146
+ * // {
147
+ * // name: "STRING_VALUE",
148
+ * // value: "STRING_VALUE",
149
+ * // },
150
+ * // ],
151
+ * // environmentFiles: [ // EnvironmentFiles
152
+ * // { // EnvironmentFile
153
+ * // value: "STRING_VALUE", // required
154
+ * // type: "s3", // required
155
+ * // },
156
+ * // ],
157
+ * // cpu: Number("int"),
158
+ * // memory: Number("int"),
159
+ * // memoryReservation: Number("int"),
160
+ * // resourceRequirements: [ // ResourceRequirements
161
+ * // { // ResourceRequirement
162
+ * // value: "STRING_VALUE", // required
163
+ * // type: "GPU" || "InferenceAccelerator", // required
164
+ * // },
165
+ * // ],
166
+ * // },
167
+ * // ],
168
+ * // cpu: "STRING_VALUE",
169
+ * // inferenceAcceleratorOverrides: [ // InferenceAcceleratorOverrides
170
+ * // { // InferenceAcceleratorOverride
171
+ * // deviceName: "STRING_VALUE",
172
+ * // deviceType: "STRING_VALUE",
173
+ * // },
174
+ * // ],
175
+ * // executionRoleArn: "STRING_VALUE",
176
+ * // memory: "STRING_VALUE",
177
+ * // taskRoleArn: "STRING_VALUE",
178
+ * // ephemeralStorage: { // EphemeralStorage
179
+ * // sizeInGiB: Number("int"), // required
180
+ * // },
181
+ * // },
182
+ * // platformVersion: "STRING_VALUE",
183
+ * // platformFamily: "STRING_VALUE",
184
+ * // pullStartedAt: new Date("TIMESTAMP"),
185
+ * // pullStoppedAt: new Date("TIMESTAMP"),
186
+ * // startedAt: new Date("TIMESTAMP"),
187
+ * // startedBy: "STRING_VALUE",
188
+ * // stopCode: "TaskFailedToStart" || "EssentialContainerExited" || "UserInitiated" || "ServiceSchedulerInitiated" || "SpotInterruption" || "TerminationNotice",
189
+ * // stoppedAt: new Date("TIMESTAMP"),
190
+ * // stoppedReason: "STRING_VALUE",
191
+ * // stoppingAt: new Date("TIMESTAMP"),
192
+ * // tags: [ // Tags
193
+ * // { // Tag
194
+ * // key: "STRING_VALUE",
195
+ * // value: "STRING_VALUE",
196
+ * // },
197
+ * // ],
198
+ * // taskArn: "STRING_VALUE",
199
+ * // taskDefinitionArn: "STRING_VALUE",
200
+ * // version: Number("long"),
201
+ * // ephemeralStorage: {
202
+ * // sizeInGiB: Number("int"), // required
203
+ * // },
204
+ * // },
205
+ * // };
206
+ *
48
207
  * ```
49
208
  *
50
209
  * @param StopTaskCommandInput - {@link StopTaskCommandInput}
@@ -68,6 +227,8 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare
68
227
  * @throws {@link ServerException} (server fault)
69
228
  * <p>These errors are usually caused by a server issue.</p>
70
229
  *
230
+ * @throws {@link ECSServiceException}
231
+ * <p>Base exception class for all service exceptions from ECS service.</p>
71
232
  *
72
233
  */
73
234
  export declare class StopTaskCommand extends $Command<StopTaskCommandInput, StopTaskCommandOutput, ECSClientResolvedConfig> {
@@ -40,6 +40,10 @@ export interface SubmitAttachmentStateChangesCommandOutput extends SubmitAttachm
40
40
  * };
41
41
  * const command = new SubmitAttachmentStateChangesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // SubmitAttachmentStateChangesResponse
44
+ * // acknowledgment: "STRING_VALUE",
45
+ * // };
46
+ *
43
47
  * ```
44
48
  *
45
49
  * @param SubmitAttachmentStateChangesCommandInput - {@link SubmitAttachmentStateChangesCommandInput}
@@ -63,6 +67,8 @@ export interface SubmitAttachmentStateChangesCommandOutput extends SubmitAttachm
63
67
  * @throws {@link ServerException} (server fault)
64
68
  * <p>These errors are usually caused by a server issue.</p>
65
69
  *
70
+ * @throws {@link ECSServiceException}
71
+ * <p>Base exception class for all service exceptions from ECS service.</p>
66
72
  *
67
73
  */
68
74
  export declare class SubmitAttachmentStateChangesCommand extends $Command<SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput, ECSClientResolvedConfig> {
@@ -50,6 +50,10 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer
50
50
  * };
51
51
  * const command = new SubmitContainerStateChangeCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // SubmitContainerStateChangeResponse
54
+ * // acknowledgment: "STRING_VALUE",
55
+ * // };
56
+ *
53
57
  * ```
54
58
  *
55
59
  * @param SubmitContainerStateChangeCommandInput - {@link SubmitContainerStateChangeCommandInput}
@@ -69,6 +73,8 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer
69
73
  * @throws {@link ServerException} (server fault)
70
74
  * <p>These errors are usually caused by a server issue.</p>
71
75
  *
76
+ * @throws {@link ECSServiceException}
77
+ * <p>Base exception class for all service exceptions from ECS service.</p>
72
78
  *
73
79
  */
74
80
  export declare class SubmitContainerStateChangeCommand extends $Command<SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput, ECSClientResolvedConfig> {
@@ -74,6 +74,10 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang
74
74
  * };
75
75
  * const command = new SubmitTaskStateChangeCommand(input);
76
76
  * const response = await client.send(command);
77
+ * // { // SubmitTaskStateChangeResponse
78
+ * // acknowledgment: "STRING_VALUE",
79
+ * // };
80
+ *
77
81
  * ```
78
82
  *
79
83
  * @param SubmitTaskStateChangeCommandInput - {@link SubmitTaskStateChangeCommandInput}
@@ -97,6 +101,8 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang
97
101
  * @throws {@link ServerException} (server fault)
98
102
  * <p>These errors are usually caused by a server issue.</p>
99
103
  *
104
+ * @throws {@link ECSServiceException}
105
+ * <p>Base exception class for all service exceptions from ECS service.</p>
100
106
  *
101
107
  */
102
108
  export declare class SubmitTaskStateChangeCommand extends $Command<SubmitTaskStateChangeCommandInput, SubmitTaskStateChangeCommandOutput, ECSClientResolvedConfig> {
@@ -40,6 +40,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
40
40
  * };
41
41
  * const command = new TagResourceCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -66,6 +68,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
66
68
  * @throws {@link ServerException} (server fault)
67
69
  * <p>These errors are usually caused by a server issue.</p>
68
70
  *
71
+ * @throws {@link ECSServiceException}
72
+ * <p>Base exception class for all service exceptions from ECS service.</p>
69
73
  *
70
74
  * @example To tag a cluster.
71
75
  * ```javascript
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -60,6 +62,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
60
62
  * @throws {@link ServerException} (server fault)
61
63
  * <p>These errors are usually caused by a server issue.</p>
62
64
  *
65
+ * @throws {@link ECSServiceException}
66
+ * <p>Base exception class for all service exceptions from ECS service.</p>
63
67
  *
64
68
  * @example To untag a cluster.
65
69
  * ```javascript
@@ -41,6 +41,33 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi
41
41
  * };
42
42
  * const command = new UpdateCapacityProviderCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // UpdateCapacityProviderResponse
45
+ * // capacityProvider: { // CapacityProvider
46
+ * // capacityProviderArn: "STRING_VALUE",
47
+ * // name: "STRING_VALUE",
48
+ * // status: "ACTIVE" || "INACTIVE",
49
+ * // autoScalingGroupProvider: { // AutoScalingGroupProvider
50
+ * // autoScalingGroupArn: "STRING_VALUE", // required
51
+ * // managedScaling: { // ManagedScaling
52
+ * // status: "ENABLED" || "DISABLED",
53
+ * // targetCapacity: Number("int"),
54
+ * // minimumScalingStepSize: Number("int"),
55
+ * // maximumScalingStepSize: Number("int"),
56
+ * // instanceWarmupPeriod: Number("int"),
57
+ * // },
58
+ * // managedTerminationProtection: "ENABLED" || "DISABLED",
59
+ * // },
60
+ * // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
61
+ * // updateStatusReason: "STRING_VALUE",
62
+ * // tags: [ // Tags
63
+ * // { // Tag
64
+ * // key: "STRING_VALUE",
65
+ * // value: "STRING_VALUE",
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // };
70
+ *
44
71
  * ```
45
72
  *
46
73
  * @param UpdateCapacityProviderCommandInput - {@link UpdateCapacityProviderCommandInput}
@@ -61,6 +88,8 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi
61
88
  * @throws {@link ServerException} (server fault)
62
89
  * <p>These errors are usually caused by a server issue.</p>
63
90
  *
91
+ * @throws {@link ECSServiceException}
92
+ * <p>Base exception class for all service exceptions from ECS service.</p>
64
93
  *
65
94
  */
66
95
  export declare class UpdateCapacityProviderCommand extends $Command<UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput, ECSClientResolvedConfig> {
@@ -53,6 +53,76 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
53
53
  * };
54
54
  * const command = new UpdateClusterCommand(input);
55
55
  * const response = await client.send(command);
56
+ * // { // UpdateClusterResponse
57
+ * // cluster: { // Cluster
58
+ * // clusterArn: "STRING_VALUE",
59
+ * // clusterName: "STRING_VALUE",
60
+ * // configuration: { // ClusterConfiguration
61
+ * // executeCommandConfiguration: { // ExecuteCommandConfiguration
62
+ * // kmsKeyId: "STRING_VALUE",
63
+ * // logging: "NONE" || "DEFAULT" || "OVERRIDE",
64
+ * // logConfiguration: { // ExecuteCommandLogConfiguration
65
+ * // cloudWatchLogGroupName: "STRING_VALUE",
66
+ * // cloudWatchEncryptionEnabled: true || false,
67
+ * // s3BucketName: "STRING_VALUE",
68
+ * // s3EncryptionEnabled: true || false,
69
+ * // s3KeyPrefix: "STRING_VALUE",
70
+ * // },
71
+ * // },
72
+ * // },
73
+ * // status: "STRING_VALUE",
74
+ * // registeredContainerInstancesCount: Number("int"),
75
+ * // runningTasksCount: Number("int"),
76
+ * // pendingTasksCount: Number("int"),
77
+ * // activeServicesCount: Number("int"),
78
+ * // statistics: [ // Statistics
79
+ * // { // KeyValuePair
80
+ * // name: "STRING_VALUE",
81
+ * // value: "STRING_VALUE",
82
+ * // },
83
+ * // ],
84
+ * // tags: [ // Tags
85
+ * // { // Tag
86
+ * // key: "STRING_VALUE",
87
+ * // value: "STRING_VALUE",
88
+ * // },
89
+ * // ],
90
+ * // settings: [ // ClusterSettings
91
+ * // { // ClusterSetting
92
+ * // name: "containerInsights",
93
+ * // value: "STRING_VALUE",
94
+ * // },
95
+ * // ],
96
+ * // capacityProviders: [ // StringList
97
+ * // "STRING_VALUE",
98
+ * // ],
99
+ * // defaultCapacityProviderStrategy: [ // CapacityProviderStrategy
100
+ * // { // CapacityProviderStrategyItem
101
+ * // capacityProvider: "STRING_VALUE", // required
102
+ * // weight: Number("int"),
103
+ * // base: Number("int"),
104
+ * // },
105
+ * // ],
106
+ * // attachments: [ // Attachments
107
+ * // { // Attachment
108
+ * // id: "STRING_VALUE",
109
+ * // type: "STRING_VALUE",
110
+ * // status: "STRING_VALUE",
111
+ * // details: [ // AttachmentDetails
112
+ * // {
113
+ * // name: "STRING_VALUE",
114
+ * // value: "STRING_VALUE",
115
+ * // },
116
+ * // ],
117
+ * // },
118
+ * // ],
119
+ * // attachmentsStatus: "STRING_VALUE",
120
+ * // serviceConnectDefaults: { // ClusterServiceConnectDefaults
121
+ * // namespace: "STRING_VALUE",
122
+ * // },
123
+ * // },
124
+ * // };
125
+ *
56
126
  * ```
57
127
  *
58
128
  * @param UpdateClusterCommandInput - {@link UpdateClusterCommandInput}
@@ -76,6 +146,8 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
76
146
  * @throws {@link ServerException} (server fault)
77
147
  * <p>These errors are usually caused by a server issue.</p>
78
148
  *
149
+ * @throws {@link ECSServiceException}
150
+ * <p>Base exception class for all service exceptions from ECS service.</p>
79
151
  *
80
152
  */
81
153
  export declare class UpdateClusterCommand extends $Command<UpdateClusterCommandInput, UpdateClusterCommandOutput, ECSClientResolvedConfig> {