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