@aws-sdk/client-ecs 3.325.0 → 3.327.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 (63) hide show
  1. package/dist-cjs/models/models_0.js +14 -14
  2. package/dist-cjs/protocols/Aws_json1_1.js +6 -0
  3. package/dist-es/models/models_0.js +12 -12
  4. package/dist-es/protocols/Aws_json1_1.js +6 -0
  5. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +29 -0
  6. package/dist-types/commands/CreateClusterCommand.d.ts +75 -0
  7. package/dist-types/commands/CreateServiceCommand.d.ts +236 -0
  8. package/dist-types/commands/CreateTaskSetCommand.d.ts +69 -0
  9. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +10 -0
  10. package/dist-types/commands/DeleteAttributesCommand.d.ts +13 -0
  11. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +29 -0
  12. package/dist-types/commands/DeleteClusterCommand.d.ts +72 -0
  13. package/dist-types/commands/DeleteServiceCommand.d.ts +236 -0
  14. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +275 -0
  15. package/dist-types/commands/DeleteTaskSetCommand.d.ts +69 -0
  16. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +85 -0
  17. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +266 -0
  18. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +39 -0
  19. package/dist-types/commands/DescribeClustersCommand.d.ts +81 -0
  20. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +94 -0
  21. package/dist-types/commands/DescribeServicesCommand.d.ts +245 -0
  22. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +272 -0
  23. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +78 -0
  24. package/dist-types/commands/DescribeTasksCommand.d.ts +170 -0
  25. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +8 -0
  26. package/dist-types/commands/ExecuteCommandCommand.d.ts +15 -0
  27. package/dist-types/commands/GetTaskProtectionCommand.d.ts +19 -0
  28. package/dist-types/commands/ListAccountSettingsCommand.d.ts +13 -0
  29. package/dist-types/commands/ListAttributesCommand.d.ts +14 -0
  30. package/dist-types/commands/ListClustersCommand.d.ts +9 -0
  31. package/dist-types/commands/ListContainerInstancesCommand.d.ts +9 -0
  32. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +9 -0
  33. package/dist-types/commands/ListServicesCommand.d.ts +9 -0
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  35. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +9 -0
  36. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +9 -0
  37. package/dist-types/commands/ListTasksCommand.d.ts +9 -0
  38. package/dist-types/commands/PutAccountSettingCommand.d.ts +10 -0
  39. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -0
  40. package/dist-types/commands/PutAttributesCommand.d.ts +13 -0
  41. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +72 -0
  42. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +85 -0
  43. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +272 -0
  44. package/dist-types/commands/RunTaskCommand.d.ts +170 -0
  45. package/dist-types/commands/StartTaskCommand.d.ts +170 -0
  46. package/dist-types/commands/StopTaskCommand.d.ts +161 -0
  47. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -0
  48. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -0
  49. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +6 -0
  50. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  51. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  52. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +29 -0
  53. package/dist-types/commands/UpdateClusterCommand.d.ts +75 -0
  54. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +72 -0
  55. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +85 -0
  56. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +94 -0
  57. package/dist-types/commands/UpdateServiceCommand.d.ts +236 -0
  58. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +69 -0
  59. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +19 -0
  60. package/dist-types/commands/UpdateTaskSetCommand.d.ts +69 -0
  61. package/dist-types/models/models_0.d.ts +12 -12
  62. package/dist-types/ts3.4/models/models_0.d.ts +7 -7
  63. package/package.json +7 -7
@@ -45,6 +45,33 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
45
45
  * };
46
46
  * const command = new DeleteCapacityProviderCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // DeleteCapacityProviderResponse
49
+ * // capacityProvider: { // CapacityProvider
50
+ * // capacityProviderArn: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // status: "ACTIVE" || "INACTIVE",
53
+ * // autoScalingGroupProvider: { // AutoScalingGroupProvider
54
+ * // autoScalingGroupArn: "STRING_VALUE", // required
55
+ * // managedScaling: { // ManagedScaling
56
+ * // status: "ENABLED" || "DISABLED",
57
+ * // targetCapacity: Number("int"),
58
+ * // minimumScalingStepSize: Number("int"),
59
+ * // maximumScalingStepSize: Number("int"),
60
+ * // instanceWarmupPeriod: Number("int"),
61
+ * // },
62
+ * // managedTerminationProtection: "ENABLED" || "DISABLED",
63
+ * // },
64
+ * // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
65
+ * // updateStatusReason: "STRING_VALUE",
66
+ * // tags: [ // Tags
67
+ * // { // Tag
68
+ * // key: "STRING_VALUE",
69
+ * // value: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // };
74
+ *
48
75
  * ```
49
76
  *
50
77
  * @param DeleteCapacityProviderCommandInput - {@link DeleteCapacityProviderCommandInput}
@@ -65,6 +92,8 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
65
92
  * @throws {@link ServerException} (server fault)
66
93
  * <p>These errors are usually caused by a server issue.</p>
67
94
  *
95
+ * @throws {@link ECSServiceException}
96
+ * <p>Base exception class for all service exceptions from ECS service.</p>
68
97
  *
69
98
  */
70
99
  export declare class DeleteCapacityProviderCommand extends $Command<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput, ECSClientResolvedConfig> {
@@ -36,6 +36,76 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
36
36
  * };
37
37
  * const command = new DeleteClusterCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DeleteClusterResponse
40
+ * // cluster: { // Cluster
41
+ * // clusterArn: "STRING_VALUE",
42
+ * // clusterName: "STRING_VALUE",
43
+ * // configuration: { // ClusterConfiguration
44
+ * // executeCommandConfiguration: { // ExecuteCommandConfiguration
45
+ * // kmsKeyId: "STRING_VALUE",
46
+ * // logging: "NONE" || "DEFAULT" || "OVERRIDE",
47
+ * // logConfiguration: { // ExecuteCommandLogConfiguration
48
+ * // cloudWatchLogGroupName: "STRING_VALUE",
49
+ * // cloudWatchEncryptionEnabled: true || false,
50
+ * // s3BucketName: "STRING_VALUE",
51
+ * // s3EncryptionEnabled: true || false,
52
+ * // s3KeyPrefix: "STRING_VALUE",
53
+ * // },
54
+ * // },
55
+ * // },
56
+ * // status: "STRING_VALUE",
57
+ * // registeredContainerInstancesCount: Number("int"),
58
+ * // runningTasksCount: Number("int"),
59
+ * // pendingTasksCount: Number("int"),
60
+ * // activeServicesCount: Number("int"),
61
+ * // statistics: [ // Statistics
62
+ * // { // KeyValuePair
63
+ * // name: "STRING_VALUE",
64
+ * // value: "STRING_VALUE",
65
+ * // },
66
+ * // ],
67
+ * // tags: [ // Tags
68
+ * // { // Tag
69
+ * // key: "STRING_VALUE",
70
+ * // value: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // settings: [ // ClusterSettings
74
+ * // { // ClusterSetting
75
+ * // name: "containerInsights",
76
+ * // value: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // capacityProviders: [ // StringList
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // defaultCapacityProviderStrategy: [ // CapacityProviderStrategy
83
+ * // { // CapacityProviderStrategyItem
84
+ * // capacityProvider: "STRING_VALUE", // required
85
+ * // weight: Number("int"),
86
+ * // base: Number("int"),
87
+ * // },
88
+ * // ],
89
+ * // attachments: [ // Attachments
90
+ * // { // Attachment
91
+ * // id: "STRING_VALUE",
92
+ * // type: "STRING_VALUE",
93
+ * // status: "STRING_VALUE",
94
+ * // details: [ // AttachmentDetails
95
+ * // {
96
+ * // name: "STRING_VALUE",
97
+ * // value: "STRING_VALUE",
98
+ * // },
99
+ * // ],
100
+ * // },
101
+ * // ],
102
+ * // attachmentsStatus: "STRING_VALUE",
103
+ * // serviceConnectDefaults: { // ClusterServiceConnectDefaults
104
+ * // namespace: "STRING_VALUE",
105
+ * // },
106
+ * // },
107
+ * // };
108
+ *
39
109
  * ```
40
110
  *
41
111
  * @param DeleteClusterCommandInput - {@link DeleteClusterCommandInput}
@@ -79,6 +149,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
79
149
  * process can get stuck in that state. However, when the agent reconnects, it resumes
80
150
  * where it stopped previously.</p>
81
151
  *
152
+ * @throws {@link ECSServiceException}
153
+ * <p>Base exception class for all service exceptions from ECS service.</p>
82
154
  *
83
155
  * @example To delete an empty cluster
84
156
  * ```javascript
@@ -53,6 +53,240 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
53
53
  * };
54
54
  * const command = new DeleteServiceCommand(input);
55
55
  * const response = await client.send(command);
56
+ * // { // DeleteServiceResponse
57
+ * // service: { // Service
58
+ * // serviceArn: "STRING_VALUE",
59
+ * // serviceName: "STRING_VALUE",
60
+ * // clusterArn: "STRING_VALUE",
61
+ * // loadBalancers: [ // LoadBalancers
62
+ * // { // LoadBalancer
63
+ * // targetGroupArn: "STRING_VALUE",
64
+ * // loadBalancerName: "STRING_VALUE",
65
+ * // containerName: "STRING_VALUE",
66
+ * // containerPort: Number("int"),
67
+ * // },
68
+ * // ],
69
+ * // serviceRegistries: [ // ServiceRegistries
70
+ * // { // ServiceRegistry
71
+ * // registryArn: "STRING_VALUE",
72
+ * // port: Number("int"),
73
+ * // containerName: "STRING_VALUE",
74
+ * // containerPort: Number("int"),
75
+ * // },
76
+ * // ],
77
+ * // status: "STRING_VALUE",
78
+ * // desiredCount: Number("int"),
79
+ * // runningCount: Number("int"),
80
+ * // pendingCount: Number("int"),
81
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
82
+ * // capacityProviderStrategy: [ // CapacityProviderStrategy
83
+ * // { // CapacityProviderStrategyItem
84
+ * // capacityProvider: "STRING_VALUE", // required
85
+ * // weight: Number("int"),
86
+ * // base: Number("int"),
87
+ * // },
88
+ * // ],
89
+ * // platformVersion: "STRING_VALUE",
90
+ * // platformFamily: "STRING_VALUE",
91
+ * // taskDefinition: "STRING_VALUE",
92
+ * // deploymentConfiguration: { // DeploymentConfiguration
93
+ * // deploymentCircuitBreaker: { // DeploymentCircuitBreaker
94
+ * // enable: true || false, // required
95
+ * // rollback: true || false, // required
96
+ * // },
97
+ * // maximumPercent: Number("int"),
98
+ * // minimumHealthyPercent: Number("int"),
99
+ * // alarms: { // DeploymentAlarms
100
+ * // alarmNames: [ // StringList // required
101
+ * // "STRING_VALUE",
102
+ * // ],
103
+ * // enable: true || false, // required
104
+ * // rollback: true || false, // required
105
+ * // },
106
+ * // },
107
+ * // taskSets: [ // TaskSets
108
+ * // { // TaskSet
109
+ * // id: "STRING_VALUE",
110
+ * // taskSetArn: "STRING_VALUE",
111
+ * // serviceArn: "STRING_VALUE",
112
+ * // clusterArn: "STRING_VALUE",
113
+ * // startedBy: "STRING_VALUE",
114
+ * // externalId: "STRING_VALUE",
115
+ * // status: "STRING_VALUE",
116
+ * // taskDefinition: "STRING_VALUE",
117
+ * // computedDesiredCount: Number("int"),
118
+ * // pendingCount: Number("int"),
119
+ * // runningCount: Number("int"),
120
+ * // createdAt: new Date("TIMESTAMP"),
121
+ * // updatedAt: new Date("TIMESTAMP"),
122
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
123
+ * // capacityProviderStrategy: [
124
+ * // {
125
+ * // capacityProvider: "STRING_VALUE", // required
126
+ * // weight: Number("int"),
127
+ * // base: Number("int"),
128
+ * // },
129
+ * // ],
130
+ * // platformVersion: "STRING_VALUE",
131
+ * // platformFamily: "STRING_VALUE",
132
+ * // networkConfiguration: { // NetworkConfiguration
133
+ * // awsvpcConfiguration: { // AwsVpcConfiguration
134
+ * // subnets: [ // required
135
+ * // "STRING_VALUE",
136
+ * // ],
137
+ * // securityGroups: [
138
+ * // "STRING_VALUE",
139
+ * // ],
140
+ * // assignPublicIp: "ENABLED" || "DISABLED",
141
+ * // },
142
+ * // },
143
+ * // loadBalancers: [
144
+ * // {
145
+ * // targetGroupArn: "STRING_VALUE",
146
+ * // loadBalancerName: "STRING_VALUE",
147
+ * // containerName: "STRING_VALUE",
148
+ * // containerPort: Number("int"),
149
+ * // },
150
+ * // ],
151
+ * // serviceRegistries: [
152
+ * // {
153
+ * // registryArn: "STRING_VALUE",
154
+ * // port: Number("int"),
155
+ * // containerName: "STRING_VALUE",
156
+ * // containerPort: Number("int"),
157
+ * // },
158
+ * // ],
159
+ * // scale: { // Scale
160
+ * // value: Number("double"),
161
+ * // unit: "PERCENT",
162
+ * // },
163
+ * // stabilityStatus: "STEADY_STATE" || "STABILIZING",
164
+ * // stabilityStatusAt: new Date("TIMESTAMP"),
165
+ * // tags: [ // Tags
166
+ * // { // Tag
167
+ * // key: "STRING_VALUE",
168
+ * // value: "STRING_VALUE",
169
+ * // },
170
+ * // ],
171
+ * // },
172
+ * // ],
173
+ * // deployments: [ // Deployments
174
+ * // { // Deployment
175
+ * // id: "STRING_VALUE",
176
+ * // status: "STRING_VALUE",
177
+ * // taskDefinition: "STRING_VALUE",
178
+ * // desiredCount: Number("int"),
179
+ * // pendingCount: Number("int"),
180
+ * // runningCount: Number("int"),
181
+ * // failedTasks: Number("int"),
182
+ * // createdAt: new Date("TIMESTAMP"),
183
+ * // updatedAt: new Date("TIMESTAMP"),
184
+ * // capacityProviderStrategy: [
185
+ * // {
186
+ * // capacityProvider: "STRING_VALUE", // required
187
+ * // weight: Number("int"),
188
+ * // base: Number("int"),
189
+ * // },
190
+ * // ],
191
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
192
+ * // platformVersion: "STRING_VALUE",
193
+ * // platformFamily: "STRING_VALUE",
194
+ * // networkConfiguration: {
195
+ * // awsvpcConfiguration: {
196
+ * // subnets: [ // required
197
+ * // "STRING_VALUE",
198
+ * // ],
199
+ * // securityGroups: [
200
+ * // "STRING_VALUE",
201
+ * // ],
202
+ * // assignPublicIp: "ENABLED" || "DISABLED",
203
+ * // },
204
+ * // },
205
+ * // rolloutState: "COMPLETED" || "FAILED" || "IN_PROGRESS",
206
+ * // rolloutStateReason: "STRING_VALUE",
207
+ * // serviceConnectConfiguration: { // ServiceConnectConfiguration
208
+ * // enabled: true || false, // required
209
+ * // namespace: "STRING_VALUE",
210
+ * // services: [ // ServiceConnectServiceList
211
+ * // { // ServiceConnectService
212
+ * // portName: "STRING_VALUE", // required
213
+ * // discoveryName: "STRING_VALUE",
214
+ * // clientAliases: [ // ServiceConnectClientAliasList
215
+ * // { // ServiceConnectClientAlias
216
+ * // port: Number("int"), // required
217
+ * // dnsName: "STRING_VALUE",
218
+ * // },
219
+ * // ],
220
+ * // ingressPortOverride: Number("int"),
221
+ * // },
222
+ * // ],
223
+ * // logConfiguration: { // LogConfiguration
224
+ * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
225
+ * // options: { // LogConfigurationOptionsMap
226
+ * // "<keys>": "STRING_VALUE",
227
+ * // },
228
+ * // secretOptions: [ // SecretList
229
+ * // { // Secret
230
+ * // name: "STRING_VALUE", // required
231
+ * // valueFrom: "STRING_VALUE", // required
232
+ * // },
233
+ * // ],
234
+ * // },
235
+ * // },
236
+ * // serviceConnectResources: [ // ServiceConnectServiceResourceList
237
+ * // { // ServiceConnectServiceResource
238
+ * // discoveryName: "STRING_VALUE",
239
+ * // discoveryArn: "STRING_VALUE",
240
+ * // },
241
+ * // ],
242
+ * // },
243
+ * // ],
244
+ * // roleArn: "STRING_VALUE",
245
+ * // events: [ // ServiceEvents
246
+ * // { // ServiceEvent
247
+ * // id: "STRING_VALUE",
248
+ * // createdAt: new Date("TIMESTAMP"),
249
+ * // message: "STRING_VALUE",
250
+ * // },
251
+ * // ],
252
+ * // createdAt: new Date("TIMESTAMP"),
253
+ * // placementConstraints: [ // PlacementConstraints
254
+ * // { // PlacementConstraint
255
+ * // type: "distinctInstance" || "memberOf",
256
+ * // expression: "STRING_VALUE",
257
+ * // },
258
+ * // ],
259
+ * // placementStrategy: [ // PlacementStrategies
260
+ * // { // PlacementStrategy
261
+ * // type: "random" || "spread" || "binpack",
262
+ * // field: "STRING_VALUE",
263
+ * // },
264
+ * // ],
265
+ * // networkConfiguration: {
266
+ * // awsvpcConfiguration: {
267
+ * // subnets: "<StringList>", // required
268
+ * // securityGroups: "<StringList>",
269
+ * // assignPublicIp: "ENABLED" || "DISABLED",
270
+ * // },
271
+ * // },
272
+ * // healthCheckGracePeriodSeconds: Number("int"),
273
+ * // schedulingStrategy: "REPLICA" || "DAEMON",
274
+ * // deploymentController: { // DeploymentController
275
+ * // type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
276
+ * // },
277
+ * // tags: [
278
+ * // {
279
+ * // key: "STRING_VALUE",
280
+ * // value: "STRING_VALUE",
281
+ * // },
282
+ * // ],
283
+ * // createdBy: "STRING_VALUE",
284
+ * // enableECSManagedTags: true || false,
285
+ * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
286
+ * // enableExecuteCommand: true || false,
287
+ * // },
288
+ * // };
289
+ *
56
290
  * ```
57
291
  *
58
292
  * @param DeleteServiceCommandInput - {@link DeleteServiceCommandInput}
@@ -80,6 +314,8 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
80
314
  * <p>The specified service wasn't found. You can view your available services with <a>ListServices</a>. Amazon ECS services are cluster specific and Region
81
315
  * specific.</p>
82
316
  *
317
+ * @throws {@link ECSServiceException}
318
+ * <p>Base exception class for all service exceptions from ECS service.</p>
83
319
  *
84
320
  * @example To delete a service
85
321
  * ```javascript
@@ -46,6 +46,279 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
46
46
  * };
47
47
  * const command = new DeleteTaskDefinitionsCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // DeleteTaskDefinitionsResponse
50
+ * // taskDefinitions: [ // TaskDefinitionList
51
+ * // { // TaskDefinition
52
+ * // taskDefinitionArn: "STRING_VALUE",
53
+ * // containerDefinitions: [ // ContainerDefinitions
54
+ * // { // ContainerDefinition
55
+ * // name: "STRING_VALUE",
56
+ * // image: "STRING_VALUE",
57
+ * // repositoryCredentials: { // RepositoryCredentials
58
+ * // credentialsParameter: "STRING_VALUE", // required
59
+ * // },
60
+ * // cpu: Number("int"),
61
+ * // memory: Number("int"),
62
+ * // memoryReservation: Number("int"),
63
+ * // links: [ // StringList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // portMappings: [ // PortMappingList
67
+ * // { // PortMapping
68
+ * // containerPort: Number("int"),
69
+ * // hostPort: Number("int"),
70
+ * // protocol: "tcp" || "udp",
71
+ * // name: "STRING_VALUE",
72
+ * // appProtocol: "http" || "http2" || "grpc",
73
+ * // containerPortRange: "STRING_VALUE",
74
+ * // },
75
+ * // ],
76
+ * // essential: true || false,
77
+ * // entryPoint: [
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // command: [
81
+ * // "STRING_VALUE",
82
+ * // ],
83
+ * // environment: [ // EnvironmentVariables
84
+ * // { // KeyValuePair
85
+ * // name: "STRING_VALUE",
86
+ * // value: "STRING_VALUE",
87
+ * // },
88
+ * // ],
89
+ * // environmentFiles: [ // EnvironmentFiles
90
+ * // { // EnvironmentFile
91
+ * // value: "STRING_VALUE", // required
92
+ * // type: "s3", // required
93
+ * // },
94
+ * // ],
95
+ * // mountPoints: [ // MountPointList
96
+ * // { // MountPoint
97
+ * // sourceVolume: "STRING_VALUE",
98
+ * // containerPath: "STRING_VALUE",
99
+ * // readOnly: true || false,
100
+ * // },
101
+ * // ],
102
+ * // volumesFrom: [ // VolumeFromList
103
+ * // { // VolumeFrom
104
+ * // sourceContainer: "STRING_VALUE",
105
+ * // readOnly: true || false,
106
+ * // },
107
+ * // ],
108
+ * // linuxParameters: { // LinuxParameters
109
+ * // capabilities: { // KernelCapabilities
110
+ * // add: [
111
+ * // "STRING_VALUE",
112
+ * // ],
113
+ * // drop: [
114
+ * // "STRING_VALUE",
115
+ * // ],
116
+ * // },
117
+ * // devices: [ // DevicesList
118
+ * // { // Device
119
+ * // hostPath: "STRING_VALUE", // required
120
+ * // containerPath: "STRING_VALUE",
121
+ * // permissions: [ // DeviceCgroupPermissions
122
+ * // "read" || "write" || "mknod",
123
+ * // ],
124
+ * // },
125
+ * // ],
126
+ * // initProcessEnabled: true || false,
127
+ * // sharedMemorySize: Number("int"),
128
+ * // tmpfs: [ // TmpfsList
129
+ * // { // Tmpfs
130
+ * // containerPath: "STRING_VALUE", // required
131
+ * // size: Number("int"), // required
132
+ * // mountOptions: "<StringList>",
133
+ * // },
134
+ * // ],
135
+ * // maxSwap: Number("int"),
136
+ * // swappiness: Number("int"),
137
+ * // },
138
+ * // secrets: [ // SecretList
139
+ * // { // Secret
140
+ * // name: "STRING_VALUE", // required
141
+ * // valueFrom: "STRING_VALUE", // required
142
+ * // },
143
+ * // ],
144
+ * // dependsOn: [ // ContainerDependencies
145
+ * // { // ContainerDependency
146
+ * // containerName: "STRING_VALUE", // required
147
+ * // condition: "START" || "COMPLETE" || "SUCCESS" || "HEALTHY", // required
148
+ * // },
149
+ * // ],
150
+ * // startTimeout: Number("int"),
151
+ * // stopTimeout: Number("int"),
152
+ * // hostname: "STRING_VALUE",
153
+ * // user: "STRING_VALUE",
154
+ * // workingDirectory: "STRING_VALUE",
155
+ * // disableNetworking: true || false,
156
+ * // privileged: true || false,
157
+ * // readonlyRootFilesystem: true || false,
158
+ * // dnsServers: "<StringList>",
159
+ * // dnsSearchDomains: "<StringList>",
160
+ * // extraHosts: [ // HostEntryList
161
+ * // { // HostEntry
162
+ * // hostname: "STRING_VALUE", // required
163
+ * // ipAddress: "STRING_VALUE", // required
164
+ * // },
165
+ * // ],
166
+ * // dockerSecurityOptions: "<StringList>",
167
+ * // interactive: true || false,
168
+ * // pseudoTerminal: true || false,
169
+ * // dockerLabels: { // DockerLabelsMap
170
+ * // "<keys>": "STRING_VALUE",
171
+ * // },
172
+ * // ulimits: [ // UlimitList
173
+ * // { // Ulimit
174
+ * // name: "core" || "cpu" || "data" || "fsize" || "locks" || "memlock" || "msgqueue" || "nice" || "nofile" || "nproc" || "rss" || "rtprio" || "rttime" || "sigpending" || "stack", // required
175
+ * // softLimit: Number("int"), // required
176
+ * // hardLimit: Number("int"), // required
177
+ * // },
178
+ * // ],
179
+ * // logConfiguration: { // LogConfiguration
180
+ * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
181
+ * // options: { // LogConfigurationOptionsMap
182
+ * // "<keys>": "STRING_VALUE",
183
+ * // },
184
+ * // secretOptions: [
185
+ * // {
186
+ * // name: "STRING_VALUE", // required
187
+ * // valueFrom: "STRING_VALUE", // required
188
+ * // },
189
+ * // ],
190
+ * // },
191
+ * // healthCheck: { // HealthCheck
192
+ * // command: "<StringList>", // required
193
+ * // interval: Number("int"),
194
+ * // timeout: Number("int"),
195
+ * // retries: Number("int"),
196
+ * // startPeriod: Number("int"),
197
+ * // },
198
+ * // systemControls: [ // SystemControls
199
+ * // { // SystemControl
200
+ * // namespace: "STRING_VALUE",
201
+ * // value: "STRING_VALUE",
202
+ * // },
203
+ * // ],
204
+ * // resourceRequirements: [ // ResourceRequirements
205
+ * // { // ResourceRequirement
206
+ * // value: "STRING_VALUE", // required
207
+ * // type: "GPU" || "InferenceAccelerator", // required
208
+ * // },
209
+ * // ],
210
+ * // firelensConfiguration: { // FirelensConfiguration
211
+ * // type: "fluentd" || "fluentbit", // required
212
+ * // options: { // FirelensConfigurationOptionsMap
213
+ * // "<keys>": "STRING_VALUE",
214
+ * // },
215
+ * // },
216
+ * // },
217
+ * // ],
218
+ * // family: "STRING_VALUE",
219
+ * // taskRoleArn: "STRING_VALUE",
220
+ * // executionRoleArn: "STRING_VALUE",
221
+ * // networkMode: "bridge" || "host" || "awsvpc" || "none",
222
+ * // revision: Number("int"),
223
+ * // volumes: [ // VolumeList
224
+ * // { // Volume
225
+ * // name: "STRING_VALUE",
226
+ * // host: { // HostVolumeProperties
227
+ * // sourcePath: "STRING_VALUE",
228
+ * // },
229
+ * // dockerVolumeConfiguration: { // DockerVolumeConfiguration
230
+ * // scope: "task" || "shared",
231
+ * // autoprovision: true || false,
232
+ * // driver: "STRING_VALUE",
233
+ * // driverOpts: { // StringMap
234
+ * // "<keys>": "STRING_VALUE",
235
+ * // },
236
+ * // labels: {
237
+ * // "<keys>": "STRING_VALUE",
238
+ * // },
239
+ * // },
240
+ * // efsVolumeConfiguration: { // EFSVolumeConfiguration
241
+ * // fileSystemId: "STRING_VALUE", // required
242
+ * // rootDirectory: "STRING_VALUE",
243
+ * // transitEncryption: "ENABLED" || "DISABLED",
244
+ * // transitEncryptionPort: Number("int"),
245
+ * // authorizationConfig: { // EFSAuthorizationConfig
246
+ * // accessPointId: "STRING_VALUE",
247
+ * // iam: "ENABLED" || "DISABLED",
248
+ * // },
249
+ * // },
250
+ * // fsxWindowsFileServerVolumeConfiguration: { // FSxWindowsFileServerVolumeConfiguration
251
+ * // fileSystemId: "STRING_VALUE", // required
252
+ * // rootDirectory: "STRING_VALUE", // required
253
+ * // authorizationConfig: { // FSxWindowsFileServerAuthorizationConfig
254
+ * // credentialsParameter: "STRING_VALUE", // required
255
+ * // domain: "STRING_VALUE", // required
256
+ * // },
257
+ * // },
258
+ * // },
259
+ * // ],
260
+ * // status: "ACTIVE" || "INACTIVE" || "DELETE_IN_PROGRESS",
261
+ * // requiresAttributes: [ // RequiresAttributes
262
+ * // { // Attribute
263
+ * // name: "STRING_VALUE", // required
264
+ * // value: "STRING_VALUE",
265
+ * // targetType: "container-instance",
266
+ * // targetId: "STRING_VALUE",
267
+ * // },
268
+ * // ],
269
+ * // placementConstraints: [ // TaskDefinitionPlacementConstraints
270
+ * // { // TaskDefinitionPlacementConstraint
271
+ * // type: "memberOf",
272
+ * // expression: "STRING_VALUE",
273
+ * // },
274
+ * // ],
275
+ * // compatibilities: [ // CompatibilityList
276
+ * // "EC2" || "FARGATE" || "EXTERNAL",
277
+ * // ],
278
+ * // runtimePlatform: { // RuntimePlatform
279
+ * // cpuArchitecture: "X86_64" || "ARM64",
280
+ * // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
281
+ * // },
282
+ * // requiresCompatibilities: [
283
+ * // "EC2" || "FARGATE" || "EXTERNAL",
284
+ * // ],
285
+ * // cpu: "STRING_VALUE",
286
+ * // memory: "STRING_VALUE",
287
+ * // inferenceAccelerators: [ // InferenceAccelerators
288
+ * // { // InferenceAccelerator
289
+ * // deviceName: "STRING_VALUE", // required
290
+ * // deviceType: "STRING_VALUE", // required
291
+ * // },
292
+ * // ],
293
+ * // pidMode: "host" || "task",
294
+ * // ipcMode: "host" || "task" || "none",
295
+ * // proxyConfiguration: { // ProxyConfiguration
296
+ * // type: "APPMESH",
297
+ * // containerName: "STRING_VALUE", // required
298
+ * // properties: [ // ProxyConfigurationProperties
299
+ * // {
300
+ * // name: "STRING_VALUE",
301
+ * // value: "STRING_VALUE",
302
+ * // },
303
+ * // ],
304
+ * // },
305
+ * // registeredAt: new Date("TIMESTAMP"),
306
+ * // deregisteredAt: new Date("TIMESTAMP"),
307
+ * // registeredBy: "STRING_VALUE",
308
+ * // ephemeralStorage: { // EphemeralStorage
309
+ * // sizeInGiB: Number("int"), // required
310
+ * // },
311
+ * // },
312
+ * // ],
313
+ * // failures: [ // Failures
314
+ * // { // Failure
315
+ * // arn: "STRING_VALUE",
316
+ * // reason: "STRING_VALUE",
317
+ * // detail: "STRING_VALUE",
318
+ * // },
319
+ * // ],
320
+ * // };
321
+ *
49
322
  * ```
50
323
  *
51
324
  * @param DeleteTaskDefinitionsCommandInput - {@link DeleteTaskDefinitionsCommandInput}
@@ -69,6 +342,8 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
69
342
  * @throws {@link ServerException} (server fault)
70
343
  * <p>These errors are usually caused by a server issue.</p>
71
344
  *
345
+ * @throws {@link ECSServiceException}
346
+ * <p>Base exception class for all service exceptions from ECS service.</p>
72
347
  *
73
348
  */
74
349
  export declare class DeleteTaskDefinitionsCommand extends $Command<DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput, ECSClientResolvedConfig> {