@aws-sdk/client-ecs 3.722.0 → 3.726.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-cjs/index.js +415 -317
- package/dist-es/ECSClient.js +1 -0
- package/dist-es/models/models_0.js +49 -48
- package/dist-es/models/models_1.js +4 -4
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +40 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +58 -0
- package/dist-types/commands/DeleteAttributesCommand.d.ts +27 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +32 -0
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +47 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +49 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +39 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +86 -0
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +41 -0
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +41 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +53 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +29 -0
- package/dist-types/commands/ListAttributesCommand.d.ts +25 -0
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +28 -0
- package/dist-types/commands/PutAttributesCommand.d.ts +29 -0
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +249 -0
- package/dist-types/commands/StartTaskCommand.d.ts +56 -0
- package/dist-types/commands/StopTaskCommand.d.ts +63 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +40 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +189 -0
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +38 -0
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +25 -0
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +172 -0
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +48 -0
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +52 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +44 -44
|
@@ -196,6 +196,31 @@ declare const UpdateContainerAgentCommand_base: {
|
|
|
196
196
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
197
197
|
*
|
|
198
198
|
* @public
|
|
199
|
+
* @example To update the container agent version on a container instance
|
|
200
|
+
* ```javascript
|
|
201
|
+
* // This example updates the container agent version on the specified container instance in cluster MyCluster.
|
|
202
|
+
* const input = {
|
|
203
|
+
* "cluster": "MyCluster",
|
|
204
|
+
* "containerInstance": "53ac7152-dcd1-4102-81f5-208962864132"
|
|
205
|
+
* };
|
|
206
|
+
* const command = new UpdateContainerAgentCommand(input);
|
|
207
|
+
* const response = await client.send(command);
|
|
208
|
+
* /* response ==
|
|
209
|
+
* {
|
|
210
|
+
* "containerInstance": {
|
|
211
|
+
* "agentConnected": true,
|
|
212
|
+
* "agentUpdateStatus": "PENDING",
|
|
213
|
+
* "versionInfo": {
|
|
214
|
+
* "agentHash": "4023248",
|
|
215
|
+
* "agentVersion": "1.0.0",
|
|
216
|
+
* "dockerVersion": "DockerVersion: 1.5.0"
|
|
217
|
+
* }
|
|
218
|
+
* }
|
|
219
|
+
* }
|
|
220
|
+
* *\/
|
|
221
|
+
* // example id: to-update-the-container-agent-version-on-a-container-instance-1734628653210
|
|
222
|
+
* ```
|
|
223
|
+
*
|
|
199
224
|
*/
|
|
200
225
|
export declare class UpdateContainerAgentCommand extends UpdateContainerAgentCommand_base {
|
|
201
226
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -220,6 +220,178 @@ declare const UpdateContainerInstancesStateCommand_base: {
|
|
|
220
220
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
221
221
|
*
|
|
222
222
|
* @public
|
|
223
|
+
* @example To update the state of a container instance
|
|
224
|
+
* ```javascript
|
|
225
|
+
* // This example updates the state of the specified container instance in the default cluster to DRAINING.
|
|
226
|
+
* const input = {
|
|
227
|
+
* "cluster": "default",
|
|
228
|
+
* "containerInstances": [
|
|
229
|
+
* "1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
|
|
230
|
+
* ],
|
|
231
|
+
* "status": "DRAINING"
|
|
232
|
+
* };
|
|
233
|
+
* const command = new UpdateContainerInstancesStateCommand(input);
|
|
234
|
+
* const response = await client.send(command);
|
|
235
|
+
* /* response ==
|
|
236
|
+
* {
|
|
237
|
+
* "containerInstances": [
|
|
238
|
+
* {
|
|
239
|
+
* "version": 30,
|
|
240
|
+
* "agentConnected": true,
|
|
241
|
+
* "attributes": [
|
|
242
|
+
* {
|
|
243
|
+
* "name": "ecs.availability-zone",
|
|
244
|
+
* "value": "us-west-2b"
|
|
245
|
+
* },
|
|
246
|
+
* {
|
|
247
|
+
* "name": "com.amazonaws.ecs.capability.logging-driver.syslog"
|
|
248
|
+
* },
|
|
249
|
+
* {
|
|
250
|
+
* "name": "ecs.instance-type",
|
|
251
|
+
* "value": "c4.xlarge"
|
|
252
|
+
* },
|
|
253
|
+
* {
|
|
254
|
+
* "name": "ecs.ami-id",
|
|
255
|
+
* "value": "ami-a2ca61c2"
|
|
256
|
+
* },
|
|
257
|
+
* {
|
|
258
|
+
* "name": "com.amazonaws.ecs.capability.task-iam-role-network-host"
|
|
259
|
+
* },
|
|
260
|
+
* {
|
|
261
|
+
* "name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
|
|
262
|
+
* },
|
|
263
|
+
* {
|
|
264
|
+
* "name": "com.amazonaws.ecs.capability.logging-driver.json-file"
|
|
265
|
+
* },
|
|
266
|
+
* {
|
|
267
|
+
* "name": "com.amazonaws.ecs.capability.docker-remote-api.1.17"
|
|
268
|
+
* },
|
|
269
|
+
* {
|
|
270
|
+
* "name": "com.amazonaws.ecs.capability.privileged-container"
|
|
271
|
+
* },
|
|
272
|
+
* {
|
|
273
|
+
* "name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
|
|
274
|
+
* },
|
|
275
|
+
* {
|
|
276
|
+
* "name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
|
|
277
|
+
* },
|
|
278
|
+
* {
|
|
279
|
+
* "name": "com.amazonaws.ecs.capability.ecr-auth"
|
|
280
|
+
* },
|
|
281
|
+
* {
|
|
282
|
+
* "name": "ecs.os-type",
|
|
283
|
+
* "value": "linux"
|
|
284
|
+
* },
|
|
285
|
+
* {
|
|
286
|
+
* "name": "com.amazonaws.ecs.capability.docker-remote-api.1.20"
|
|
287
|
+
* },
|
|
288
|
+
* {
|
|
289
|
+
* "name": "com.amazonaws.ecs.capability.docker-remote-api.1.21"
|
|
290
|
+
* },
|
|
291
|
+
* {
|
|
292
|
+
* "name": "com.amazonaws.ecs.capability.docker-remote-api.1.22"
|
|
293
|
+
* },
|
|
294
|
+
* {
|
|
295
|
+
* "name": "com.amazonaws.ecs.capability.task-iam-role"
|
|
296
|
+
* },
|
|
297
|
+
* {
|
|
298
|
+
* "name": "com.amazonaws.ecs.capability.docker-remote-api.1.23"
|
|
299
|
+
* }
|
|
300
|
+
* ],
|
|
301
|
+
* "containerInstanceArn": "arn:aws:ecs:us-west-2:012345678910:container-instance/default/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34",
|
|
302
|
+
* "ec2InstanceId": "i-05d99c76955727ec6",
|
|
303
|
+
* "pendingTasksCount": 0,
|
|
304
|
+
* "registeredResources": [
|
|
305
|
+
* {
|
|
306
|
+
* "name": "CPU",
|
|
307
|
+
* "type": "INTEGER",
|
|
308
|
+
* "doubleValue": 0,
|
|
309
|
+
* "integerValue": 4096,
|
|
310
|
+
* "longValue": 0
|
|
311
|
+
* },
|
|
312
|
+
* {
|
|
313
|
+
* "name": "MEMORY",
|
|
314
|
+
* "type": "INTEGER",
|
|
315
|
+
* "doubleValue": 0,
|
|
316
|
+
* "integerValue": 7482,
|
|
317
|
+
* "longValue": 0
|
|
318
|
+
* },
|
|
319
|
+
* {
|
|
320
|
+
* "name": "PORTS",
|
|
321
|
+
* "type": "STRINGSET",
|
|
322
|
+
* "doubleValue": 0,
|
|
323
|
+
* "integerValue": 0,
|
|
324
|
+
* "longValue": 0,
|
|
325
|
+
* "stringSetValue": [
|
|
326
|
+
* "22",
|
|
327
|
+
* "2376",
|
|
328
|
+
* "2375",
|
|
329
|
+
* "51678",
|
|
330
|
+
* "51679"
|
|
331
|
+
* ]
|
|
332
|
+
* },
|
|
333
|
+
* {
|
|
334
|
+
* "name": "PORTS_UDP",
|
|
335
|
+
* "type": "STRINGSET",
|
|
336
|
+
* "doubleValue": 0,
|
|
337
|
+
* "integerValue": 0,
|
|
338
|
+
* "longValue": 0,
|
|
339
|
+
* "stringSetValue": []
|
|
340
|
+
* }
|
|
341
|
+
* ],
|
|
342
|
+
* "remainingResources": [
|
|
343
|
+
* {
|
|
344
|
+
* "name": "CPU",
|
|
345
|
+
* "type": "INTEGER",
|
|
346
|
+
* "doubleValue": 0,
|
|
347
|
+
* "integerValue": 4096,
|
|
348
|
+
* "longValue": 0
|
|
349
|
+
* },
|
|
350
|
+
* {
|
|
351
|
+
* "name": "MEMORY",
|
|
352
|
+
* "type": "INTEGER",
|
|
353
|
+
* "doubleValue": 0,
|
|
354
|
+
* "integerValue": 7482,
|
|
355
|
+
* "longValue": 0
|
|
356
|
+
* },
|
|
357
|
+
* {
|
|
358
|
+
* "name": "PORTS",
|
|
359
|
+
* "type": "STRINGSET",
|
|
360
|
+
* "doubleValue": 0,
|
|
361
|
+
* "integerValue": 0,
|
|
362
|
+
* "longValue": 0,
|
|
363
|
+
* "stringSetValue": [
|
|
364
|
+
* "22",
|
|
365
|
+
* "2376",
|
|
366
|
+
* "2375",
|
|
367
|
+
* "51678",
|
|
368
|
+
* "51679"
|
|
369
|
+
* ]
|
|
370
|
+
* },
|
|
371
|
+
* {
|
|
372
|
+
* "name": "PORTS_UDP",
|
|
373
|
+
* "type": "STRINGSET",
|
|
374
|
+
* "doubleValue": 0,
|
|
375
|
+
* "integerValue": 0,
|
|
376
|
+
* "longValue": 0,
|
|
377
|
+
* "stringSetValue": []
|
|
378
|
+
* }
|
|
379
|
+
* ],
|
|
380
|
+
* "runningTasksCount": 0,
|
|
381
|
+
* "status": "DRAINING",
|
|
382
|
+
* "versionInfo": {
|
|
383
|
+
* "agentHash": "efe53c6",
|
|
384
|
+
* "agentVersion": "1.13.1",
|
|
385
|
+
* "dockerVersion": "DockerVersion: 1.11.2"
|
|
386
|
+
* }
|
|
387
|
+
* }
|
|
388
|
+
* ],
|
|
389
|
+
* "failures": []
|
|
390
|
+
* }
|
|
391
|
+
* *\/
|
|
392
|
+
* // example id: to-update-the-state-of-a-container-instance-1734630991280
|
|
393
|
+
* ```
|
|
394
|
+
*
|
|
223
395
|
*/
|
|
224
396
|
export declare class UpdateContainerInstancesStateCommand extends UpdateContainerInstancesStateCommand_base {
|
|
225
397
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -170,6 +170,54 @@ declare const UpdateServicePrimaryTaskSetCommand_base: {
|
|
|
170
170
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
171
171
|
*
|
|
172
172
|
* @public
|
|
173
|
+
* @example To update the primary task set for a service
|
|
174
|
+
* ```javascript
|
|
175
|
+
* // This example updates the primary task set for a service MyService that uses the EXTERNAL deployment controller type.
|
|
176
|
+
* const input = {
|
|
177
|
+
* "cluster": "MyCluster",
|
|
178
|
+
* "primaryTaskSet": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
|
|
179
|
+
* "service": "MyService"
|
|
180
|
+
* };
|
|
181
|
+
* const command = new UpdateServicePrimaryTaskSetCommand(input);
|
|
182
|
+
* const response = await client.send(command);
|
|
183
|
+
* /* response ==
|
|
184
|
+
* {
|
|
185
|
+
* "taskSet": {
|
|
186
|
+
* "computedDesiredCount": 1,
|
|
187
|
+
* "createdAt": 1557128360.711,
|
|
188
|
+
* "id": "ecs-svc/1234567890123456789",
|
|
189
|
+
* "launchType": "EC2",
|
|
190
|
+
* "loadBalancers": [],
|
|
191
|
+
* "networkConfiguration": {
|
|
192
|
+
* "awsvpcConfiguration": {
|
|
193
|
+
* "assignPublicIp": "DISABLED",
|
|
194
|
+
* "securityGroups": [
|
|
195
|
+
* "sg-12344312"
|
|
196
|
+
* ],
|
|
197
|
+
* "subnets": [
|
|
198
|
+
* "subnet-12344321"
|
|
199
|
+
* ]
|
|
200
|
+
* }
|
|
201
|
+
* },
|
|
202
|
+
* "pendingCount": 0,
|
|
203
|
+
* "runningCount": 0,
|
|
204
|
+
* "scale": {
|
|
205
|
+
* "value": 50,
|
|
206
|
+
* "unit": "PERCENT"
|
|
207
|
+
* },
|
|
208
|
+
* "serviceRegistries": [],
|
|
209
|
+
* "stabilityStatus": "STABILIZING",
|
|
210
|
+
* "stabilityStatusAt": 1557129279.914,
|
|
211
|
+
* "status": "PRIMARY",
|
|
212
|
+
* "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/sample-fargate:2",
|
|
213
|
+
* "taskSetArn": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
|
|
214
|
+
* "updatedAt": 1557129412.653
|
|
215
|
+
* }
|
|
216
|
+
* }
|
|
217
|
+
* *\/
|
|
218
|
+
* // example id: to-update-the-primary-task-set-for-a-service-1734637150370
|
|
219
|
+
* ```
|
|
220
|
+
*
|
|
173
221
|
*/
|
|
174
222
|
export declare class UpdateServicePrimaryTaskSetCommand extends UpdateServicePrimaryTaskSetCommand_base {
|
|
175
223
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -172,6 +172,58 @@ declare const UpdateTaskSetCommand_base: {
|
|
|
172
172
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
173
173
|
*
|
|
174
174
|
* @public
|
|
175
|
+
* @example To update a task set
|
|
176
|
+
* ```javascript
|
|
177
|
+
* // This example updates the task set to adjust the scale.
|
|
178
|
+
* const input = {
|
|
179
|
+
* "cluster": "MyCluster",
|
|
180
|
+
* "scale": {
|
|
181
|
+
* "value": 50,
|
|
182
|
+
* "unit": "PERCENT"
|
|
183
|
+
* },
|
|
184
|
+
* "service": "MyService",
|
|
185
|
+
* "taskSet": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789"
|
|
186
|
+
* };
|
|
187
|
+
* const command = new UpdateTaskSetCommand(input);
|
|
188
|
+
* const response = await client.send(command);
|
|
189
|
+
* /* response ==
|
|
190
|
+
* {
|
|
191
|
+
* "taskSet": {
|
|
192
|
+
* "computedDesiredCount": 0,
|
|
193
|
+
* "createdAt": 1557128360.711,
|
|
194
|
+
* "id": "ecs-svc/1234567890123456789",
|
|
195
|
+
* "launchType": "EC2",
|
|
196
|
+
* "loadBalancers": [],
|
|
197
|
+
* "networkConfiguration": {
|
|
198
|
+
* "awsvpcConfiguration": {
|
|
199
|
+
* "assignPublicIp": "DISABLED",
|
|
200
|
+
* "securityGroups": [
|
|
201
|
+
* "sg-12344321"
|
|
202
|
+
* ],
|
|
203
|
+
* "subnets": [
|
|
204
|
+
* "subnet-12344321"
|
|
205
|
+
* ]
|
|
206
|
+
* }
|
|
207
|
+
* },
|
|
208
|
+
* "pendingCount": 0,
|
|
209
|
+
* "runningCount": 0,
|
|
210
|
+
* "scale": {
|
|
211
|
+
* "value": 50,
|
|
212
|
+
* "unit": "PERCENT"
|
|
213
|
+
* },
|
|
214
|
+
* "serviceRegistries": [],
|
|
215
|
+
* "stabilityStatus": "STABILIZING",
|
|
216
|
+
* "stabilityStatusAt": 1557129279.914,
|
|
217
|
+
* "status": "ACTIVE",
|
|
218
|
+
* "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/sample-fargate:2",
|
|
219
|
+
* "taskSetArn": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
|
|
220
|
+
* "updatedAt": 1557129279.914
|
|
221
|
+
* }
|
|
222
|
+
* }
|
|
223
|
+
* *\/
|
|
224
|
+
* // example id: to-update-a-task-set-1734638754368
|
|
225
|
+
* ```
|
|
226
|
+
*
|
|
175
227
|
*/
|
|
176
228
|
export declare class UpdateTaskSetCommand extends UpdateTaskSetCommand_base {
|
|
177
229
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.
|
|
4
|
+
"version": "3.726.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,59 +20,59 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
61
|
-
"@smithy/util-waiter": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
|
+
"@smithy/util-waiter": "^4.0.0",
|
|
62
62
|
"@types/uuid": "^9.0.1",
|
|
63
63
|
"tslib": "^2.6.2",
|
|
64
64
|
"uuid": "^9.0.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@tsconfig/
|
|
68
|
-
"@types/node": "^
|
|
67
|
+
"@tsconfig/node18": "18.2.4",
|
|
68
|
+
"@types/node": "^18.19.69",
|
|
69
69
|
"concurrently": "7.0.0",
|
|
70
70
|
"downlevel-dts": "0.10.1",
|
|
71
71
|
"rimraf": "3.0.2",
|
|
72
|
-
"typescript": "~
|
|
72
|
+
"typescript": "~5.2.2"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
|
-
"node": ">=
|
|
75
|
+
"node": ">=18.0.0"
|
|
76
76
|
},
|
|
77
77
|
"typesVersions": {
|
|
78
78
|
"<4.0": {
|