@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.
- package/dist-cjs/models/models_0.js +14 -14
- package/dist-cjs/protocols/Aws_json1_1.js +6 -0
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_json1_1.js +6 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +29 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +75 -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 +75 -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 +12 -12
- package/dist-types/ts3.4/models/models_0.d.ts +7 -7
- package/package.json +7 -7
|
@@ -252,6 +252,240 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
252
252
|
* };
|
|
253
253
|
* const command = new UpdateServiceCommand(input);
|
|
254
254
|
* const response = await client.send(command);
|
|
255
|
+
* // { // UpdateServiceResponse
|
|
256
|
+
* // service: { // Service
|
|
257
|
+
* // serviceArn: "STRING_VALUE",
|
|
258
|
+
* // serviceName: "STRING_VALUE",
|
|
259
|
+
* // clusterArn: "STRING_VALUE",
|
|
260
|
+
* // loadBalancers: [ // LoadBalancers
|
|
261
|
+
* // { // LoadBalancer
|
|
262
|
+
* // targetGroupArn: "STRING_VALUE",
|
|
263
|
+
* // loadBalancerName: "STRING_VALUE",
|
|
264
|
+
* // containerName: "STRING_VALUE",
|
|
265
|
+
* // containerPort: Number("int"),
|
|
266
|
+
* // },
|
|
267
|
+
* // ],
|
|
268
|
+
* // serviceRegistries: [ // ServiceRegistries
|
|
269
|
+
* // { // ServiceRegistry
|
|
270
|
+
* // registryArn: "STRING_VALUE",
|
|
271
|
+
* // port: Number("int"),
|
|
272
|
+
* // containerName: "STRING_VALUE",
|
|
273
|
+
* // containerPort: Number("int"),
|
|
274
|
+
* // },
|
|
275
|
+
* // ],
|
|
276
|
+
* // status: "STRING_VALUE",
|
|
277
|
+
* // desiredCount: Number("int"),
|
|
278
|
+
* // runningCount: Number("int"),
|
|
279
|
+
* // pendingCount: Number("int"),
|
|
280
|
+
* // launchType: "EC2" || "FARGATE" || "EXTERNAL",
|
|
281
|
+
* // capacityProviderStrategy: [ // CapacityProviderStrategy
|
|
282
|
+
* // { // CapacityProviderStrategyItem
|
|
283
|
+
* // capacityProvider: "STRING_VALUE", // required
|
|
284
|
+
* // weight: Number("int"),
|
|
285
|
+
* // base: Number("int"),
|
|
286
|
+
* // },
|
|
287
|
+
* // ],
|
|
288
|
+
* // platformVersion: "STRING_VALUE",
|
|
289
|
+
* // platformFamily: "STRING_VALUE",
|
|
290
|
+
* // taskDefinition: "STRING_VALUE",
|
|
291
|
+
* // deploymentConfiguration: { // DeploymentConfiguration
|
|
292
|
+
* // deploymentCircuitBreaker: { // DeploymentCircuitBreaker
|
|
293
|
+
* // enable: true || false, // required
|
|
294
|
+
* // rollback: true || false, // required
|
|
295
|
+
* // },
|
|
296
|
+
* // maximumPercent: Number("int"),
|
|
297
|
+
* // minimumHealthyPercent: Number("int"),
|
|
298
|
+
* // alarms: { // DeploymentAlarms
|
|
299
|
+
* // alarmNames: [ // StringList // required
|
|
300
|
+
* // "STRING_VALUE",
|
|
301
|
+
* // ],
|
|
302
|
+
* // enable: true || false, // required
|
|
303
|
+
* // rollback: true || false, // required
|
|
304
|
+
* // },
|
|
305
|
+
* // },
|
|
306
|
+
* // taskSets: [ // TaskSets
|
|
307
|
+
* // { // TaskSet
|
|
308
|
+
* // id: "STRING_VALUE",
|
|
309
|
+
* // taskSetArn: "STRING_VALUE",
|
|
310
|
+
* // serviceArn: "STRING_VALUE",
|
|
311
|
+
* // clusterArn: "STRING_VALUE",
|
|
312
|
+
* // startedBy: "STRING_VALUE",
|
|
313
|
+
* // externalId: "STRING_VALUE",
|
|
314
|
+
* // status: "STRING_VALUE",
|
|
315
|
+
* // taskDefinition: "STRING_VALUE",
|
|
316
|
+
* // computedDesiredCount: Number("int"),
|
|
317
|
+
* // pendingCount: Number("int"),
|
|
318
|
+
* // runningCount: Number("int"),
|
|
319
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
320
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
321
|
+
* // launchType: "EC2" || "FARGATE" || "EXTERNAL",
|
|
322
|
+
* // capacityProviderStrategy: [
|
|
323
|
+
* // {
|
|
324
|
+
* // capacityProvider: "STRING_VALUE", // required
|
|
325
|
+
* // weight: Number("int"),
|
|
326
|
+
* // base: Number("int"),
|
|
327
|
+
* // },
|
|
328
|
+
* // ],
|
|
329
|
+
* // platformVersion: "STRING_VALUE",
|
|
330
|
+
* // platformFamily: "STRING_VALUE",
|
|
331
|
+
* // networkConfiguration: { // NetworkConfiguration
|
|
332
|
+
* // awsvpcConfiguration: { // AwsVpcConfiguration
|
|
333
|
+
* // subnets: [ // required
|
|
334
|
+
* // "STRING_VALUE",
|
|
335
|
+
* // ],
|
|
336
|
+
* // securityGroups: [
|
|
337
|
+
* // "STRING_VALUE",
|
|
338
|
+
* // ],
|
|
339
|
+
* // assignPublicIp: "ENABLED" || "DISABLED",
|
|
340
|
+
* // },
|
|
341
|
+
* // },
|
|
342
|
+
* // loadBalancers: [
|
|
343
|
+
* // {
|
|
344
|
+
* // targetGroupArn: "STRING_VALUE",
|
|
345
|
+
* // loadBalancerName: "STRING_VALUE",
|
|
346
|
+
* // containerName: "STRING_VALUE",
|
|
347
|
+
* // containerPort: Number("int"),
|
|
348
|
+
* // },
|
|
349
|
+
* // ],
|
|
350
|
+
* // serviceRegistries: [
|
|
351
|
+
* // {
|
|
352
|
+
* // registryArn: "STRING_VALUE",
|
|
353
|
+
* // port: Number("int"),
|
|
354
|
+
* // containerName: "STRING_VALUE",
|
|
355
|
+
* // containerPort: Number("int"),
|
|
356
|
+
* // },
|
|
357
|
+
* // ],
|
|
358
|
+
* // scale: { // Scale
|
|
359
|
+
* // value: Number("double"),
|
|
360
|
+
* // unit: "PERCENT",
|
|
361
|
+
* // },
|
|
362
|
+
* // stabilityStatus: "STEADY_STATE" || "STABILIZING",
|
|
363
|
+
* // stabilityStatusAt: new Date("TIMESTAMP"),
|
|
364
|
+
* // tags: [ // Tags
|
|
365
|
+
* // { // Tag
|
|
366
|
+
* // key: "STRING_VALUE",
|
|
367
|
+
* // value: "STRING_VALUE",
|
|
368
|
+
* // },
|
|
369
|
+
* // ],
|
|
370
|
+
* // },
|
|
371
|
+
* // ],
|
|
372
|
+
* // deployments: [ // Deployments
|
|
373
|
+
* // { // Deployment
|
|
374
|
+
* // id: "STRING_VALUE",
|
|
375
|
+
* // status: "STRING_VALUE",
|
|
376
|
+
* // taskDefinition: "STRING_VALUE",
|
|
377
|
+
* // desiredCount: Number("int"),
|
|
378
|
+
* // pendingCount: Number("int"),
|
|
379
|
+
* // runningCount: Number("int"),
|
|
380
|
+
* // failedTasks: Number("int"),
|
|
381
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
382
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
383
|
+
* // capacityProviderStrategy: [
|
|
384
|
+
* // {
|
|
385
|
+
* // capacityProvider: "STRING_VALUE", // required
|
|
386
|
+
* // weight: Number("int"),
|
|
387
|
+
* // base: Number("int"),
|
|
388
|
+
* // },
|
|
389
|
+
* // ],
|
|
390
|
+
* // launchType: "EC2" || "FARGATE" || "EXTERNAL",
|
|
391
|
+
* // platformVersion: "STRING_VALUE",
|
|
392
|
+
* // platformFamily: "STRING_VALUE",
|
|
393
|
+
* // networkConfiguration: {
|
|
394
|
+
* // awsvpcConfiguration: {
|
|
395
|
+
* // subnets: [ // required
|
|
396
|
+
* // "STRING_VALUE",
|
|
397
|
+
* // ],
|
|
398
|
+
* // securityGroups: [
|
|
399
|
+
* // "STRING_VALUE",
|
|
400
|
+
* // ],
|
|
401
|
+
* // assignPublicIp: "ENABLED" || "DISABLED",
|
|
402
|
+
* // },
|
|
403
|
+
* // },
|
|
404
|
+
* // rolloutState: "COMPLETED" || "FAILED" || "IN_PROGRESS",
|
|
405
|
+
* // rolloutStateReason: "STRING_VALUE",
|
|
406
|
+
* // serviceConnectConfiguration: { // ServiceConnectConfiguration
|
|
407
|
+
* // enabled: true || false, // required
|
|
408
|
+
* // namespace: "STRING_VALUE",
|
|
409
|
+
* // services: [ // ServiceConnectServiceList
|
|
410
|
+
* // { // ServiceConnectService
|
|
411
|
+
* // portName: "STRING_VALUE", // required
|
|
412
|
+
* // discoveryName: "STRING_VALUE",
|
|
413
|
+
* // clientAliases: [ // ServiceConnectClientAliasList
|
|
414
|
+
* // { // ServiceConnectClientAlias
|
|
415
|
+
* // port: Number("int"), // required
|
|
416
|
+
* // dnsName: "STRING_VALUE",
|
|
417
|
+
* // },
|
|
418
|
+
* // ],
|
|
419
|
+
* // ingressPortOverride: Number("int"),
|
|
420
|
+
* // },
|
|
421
|
+
* // ],
|
|
422
|
+
* // logConfiguration: { // LogConfiguration
|
|
423
|
+
* // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
|
|
424
|
+
* // options: { // LogConfigurationOptionsMap
|
|
425
|
+
* // "<keys>": "STRING_VALUE",
|
|
426
|
+
* // },
|
|
427
|
+
* // secretOptions: [ // SecretList
|
|
428
|
+
* // { // Secret
|
|
429
|
+
* // name: "STRING_VALUE", // required
|
|
430
|
+
* // valueFrom: "STRING_VALUE", // required
|
|
431
|
+
* // },
|
|
432
|
+
* // ],
|
|
433
|
+
* // },
|
|
434
|
+
* // },
|
|
435
|
+
* // serviceConnectResources: [ // ServiceConnectServiceResourceList
|
|
436
|
+
* // { // ServiceConnectServiceResource
|
|
437
|
+
* // discoveryName: "STRING_VALUE",
|
|
438
|
+
* // discoveryArn: "STRING_VALUE",
|
|
439
|
+
* // },
|
|
440
|
+
* // ],
|
|
441
|
+
* // },
|
|
442
|
+
* // ],
|
|
443
|
+
* // roleArn: "STRING_VALUE",
|
|
444
|
+
* // events: [ // ServiceEvents
|
|
445
|
+
* // { // ServiceEvent
|
|
446
|
+
* // id: "STRING_VALUE",
|
|
447
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
448
|
+
* // message: "STRING_VALUE",
|
|
449
|
+
* // },
|
|
450
|
+
* // ],
|
|
451
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
452
|
+
* // placementConstraints: [ // PlacementConstraints
|
|
453
|
+
* // { // PlacementConstraint
|
|
454
|
+
* // type: "distinctInstance" || "memberOf",
|
|
455
|
+
* // expression: "STRING_VALUE",
|
|
456
|
+
* // },
|
|
457
|
+
* // ],
|
|
458
|
+
* // placementStrategy: [ // PlacementStrategies
|
|
459
|
+
* // { // PlacementStrategy
|
|
460
|
+
* // type: "random" || "spread" || "binpack",
|
|
461
|
+
* // field: "STRING_VALUE",
|
|
462
|
+
* // },
|
|
463
|
+
* // ],
|
|
464
|
+
* // networkConfiguration: {
|
|
465
|
+
* // awsvpcConfiguration: {
|
|
466
|
+
* // subnets: "<StringList>", // required
|
|
467
|
+
* // securityGroups: "<StringList>",
|
|
468
|
+
* // assignPublicIp: "ENABLED" || "DISABLED",
|
|
469
|
+
* // },
|
|
470
|
+
* // },
|
|
471
|
+
* // healthCheckGracePeriodSeconds: Number("int"),
|
|
472
|
+
* // schedulingStrategy: "REPLICA" || "DAEMON",
|
|
473
|
+
* // deploymentController: { // DeploymentController
|
|
474
|
+
* // type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
|
|
475
|
+
* // },
|
|
476
|
+
* // tags: [
|
|
477
|
+
* // {
|
|
478
|
+
* // key: "STRING_VALUE",
|
|
479
|
+
* // value: "STRING_VALUE",
|
|
480
|
+
* // },
|
|
481
|
+
* // ],
|
|
482
|
+
* // createdBy: "STRING_VALUE",
|
|
483
|
+
* // enableECSManagedTags: true || false,
|
|
484
|
+
* // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
|
|
485
|
+
* // enableExecuteCommand: true || false,
|
|
486
|
+
* // },
|
|
487
|
+
* // };
|
|
488
|
+
*
|
|
255
489
|
* ```
|
|
256
490
|
*
|
|
257
491
|
* @param UpdateServiceCommandInput - {@link UpdateServiceCommandInput}
|
|
@@ -296,6 +530,8 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
296
530
|
* <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
|
|
297
531
|
* specific.</p>
|
|
298
532
|
*
|
|
533
|
+
* @throws {@link ECSServiceException}
|
|
534
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
299
535
|
*
|
|
300
536
|
* @example To change the task definition used in a service
|
|
301
537
|
* ```javascript
|
|
@@ -37,6 +37,73 @@ export interface UpdateServicePrimaryTaskSetCommandOutput extends UpdateServiceP
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UpdateServicePrimaryTaskSetCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // UpdateServicePrimaryTaskSetResponse
|
|
41
|
+
* // taskSet: { // TaskSet
|
|
42
|
+
* // id: "STRING_VALUE",
|
|
43
|
+
* // taskSetArn: "STRING_VALUE",
|
|
44
|
+
* // serviceArn: "STRING_VALUE",
|
|
45
|
+
* // clusterArn: "STRING_VALUE",
|
|
46
|
+
* // startedBy: "STRING_VALUE",
|
|
47
|
+
* // externalId: "STRING_VALUE",
|
|
48
|
+
* // status: "STRING_VALUE",
|
|
49
|
+
* // taskDefinition: "STRING_VALUE",
|
|
50
|
+
* // computedDesiredCount: Number("int"),
|
|
51
|
+
* // pendingCount: Number("int"),
|
|
52
|
+
* // runningCount: Number("int"),
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // launchType: "EC2" || "FARGATE" || "EXTERNAL",
|
|
56
|
+
* // capacityProviderStrategy: [ // CapacityProviderStrategy
|
|
57
|
+
* // { // CapacityProviderStrategyItem
|
|
58
|
+
* // capacityProvider: "STRING_VALUE", // required
|
|
59
|
+
* // weight: Number("int"),
|
|
60
|
+
* // base: Number("int"),
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // platformVersion: "STRING_VALUE",
|
|
64
|
+
* // platformFamily: "STRING_VALUE",
|
|
65
|
+
* // networkConfiguration: { // NetworkConfiguration
|
|
66
|
+
* // awsvpcConfiguration: { // AwsVpcConfiguration
|
|
67
|
+
* // subnets: [ // StringList // required
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // securityGroups: [
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // assignPublicIp: "ENABLED" || "DISABLED",
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // loadBalancers: [ // LoadBalancers
|
|
77
|
+
* // { // LoadBalancer
|
|
78
|
+
* // targetGroupArn: "STRING_VALUE",
|
|
79
|
+
* // loadBalancerName: "STRING_VALUE",
|
|
80
|
+
* // containerName: "STRING_VALUE",
|
|
81
|
+
* // containerPort: Number("int"),
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // serviceRegistries: [ // ServiceRegistries
|
|
85
|
+
* // { // ServiceRegistry
|
|
86
|
+
* // registryArn: "STRING_VALUE",
|
|
87
|
+
* // port: Number("int"),
|
|
88
|
+
* // containerName: "STRING_VALUE",
|
|
89
|
+
* // containerPort: Number("int"),
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // scale: { // Scale
|
|
93
|
+
* // value: Number("double"),
|
|
94
|
+
* // unit: "PERCENT",
|
|
95
|
+
* // },
|
|
96
|
+
* // stabilityStatus: "STEADY_STATE" || "STABILIZING",
|
|
97
|
+
* // stabilityStatusAt: new Date("TIMESTAMP"),
|
|
98
|
+
* // tags: [ // Tags
|
|
99
|
+
* // { // Tag
|
|
100
|
+
* // key: "STRING_VALUE",
|
|
101
|
+
* // value: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // };
|
|
106
|
+
*
|
|
40
107
|
* ```
|
|
41
108
|
*
|
|
42
109
|
* @param UpdateServicePrimaryTaskSetCommandInput - {@link UpdateServicePrimaryTaskSetCommandInput}
|
|
@@ -78,6 +145,8 @@ export interface UpdateServicePrimaryTaskSetCommandOutput extends UpdateServiceP
|
|
|
78
145
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
79
146
|
* <p>The specified task isn't supported in this Region.</p>
|
|
80
147
|
*
|
|
148
|
+
* @throws {@link ECSServiceException}
|
|
149
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
81
150
|
*
|
|
82
151
|
*/
|
|
83
152
|
export declare class UpdateServicePrimaryTaskSetCommand extends $Command<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, ECSClientResolvedConfig> {
|
|
@@ -62,6 +62,23 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
62
62
|
* };
|
|
63
63
|
* const command = new UpdateTaskProtectionCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
65
|
+
* // { // UpdateTaskProtectionResponse
|
|
66
|
+
* // protectedTasks: [ // ProtectedTasks
|
|
67
|
+
* // { // ProtectedTask
|
|
68
|
+
* // taskArn: "STRING_VALUE",
|
|
69
|
+
* // protectionEnabled: true || false,
|
|
70
|
+
* // expirationDate: new Date("TIMESTAMP"),
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // failures: [ // Failures
|
|
74
|
+
* // { // Failure
|
|
75
|
+
* // arn: "STRING_VALUE",
|
|
76
|
+
* // reason: "STRING_VALUE",
|
|
77
|
+
* // detail: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
65
82
|
* ```
|
|
66
83
|
*
|
|
67
84
|
* @param UpdateTaskProtectionCommandInput - {@link UpdateTaskProtectionCommandInput}
|
|
@@ -94,6 +111,8 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
94
111
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
95
112
|
* <p>The specified task isn't supported in this Region.</p>
|
|
96
113
|
*
|
|
114
|
+
* @throws {@link ECSServiceException}
|
|
115
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
97
116
|
*
|
|
98
117
|
* @example To set task scale-in protection for a task for 60 minutes
|
|
99
118
|
* ```javascript
|
|
@@ -39,6 +39,73 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new UpdateTaskSetCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateTaskSetResponse
|
|
43
|
+
* // taskSet: { // TaskSet
|
|
44
|
+
* // id: "STRING_VALUE",
|
|
45
|
+
* // taskSetArn: "STRING_VALUE",
|
|
46
|
+
* // serviceArn: "STRING_VALUE",
|
|
47
|
+
* // clusterArn: "STRING_VALUE",
|
|
48
|
+
* // startedBy: "STRING_VALUE",
|
|
49
|
+
* // externalId: "STRING_VALUE",
|
|
50
|
+
* // status: "STRING_VALUE",
|
|
51
|
+
* // taskDefinition: "STRING_VALUE",
|
|
52
|
+
* // computedDesiredCount: Number("int"),
|
|
53
|
+
* // pendingCount: Number("int"),
|
|
54
|
+
* // runningCount: Number("int"),
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // launchType: "EC2" || "FARGATE" || "EXTERNAL",
|
|
58
|
+
* // capacityProviderStrategy: [ // CapacityProviderStrategy
|
|
59
|
+
* // { // CapacityProviderStrategyItem
|
|
60
|
+
* // capacityProvider: "STRING_VALUE", // required
|
|
61
|
+
* // weight: Number("int"),
|
|
62
|
+
* // base: Number("int"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // platformVersion: "STRING_VALUE",
|
|
66
|
+
* // platformFamily: "STRING_VALUE",
|
|
67
|
+
* // networkConfiguration: { // NetworkConfiguration
|
|
68
|
+
* // awsvpcConfiguration: { // AwsVpcConfiguration
|
|
69
|
+
* // subnets: [ // StringList // required
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // securityGroups: [
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // assignPublicIp: "ENABLED" || "DISABLED",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // loadBalancers: [ // LoadBalancers
|
|
79
|
+
* // { // LoadBalancer
|
|
80
|
+
* // targetGroupArn: "STRING_VALUE",
|
|
81
|
+
* // loadBalancerName: "STRING_VALUE",
|
|
82
|
+
* // containerName: "STRING_VALUE",
|
|
83
|
+
* // containerPort: Number("int"),
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // serviceRegistries: [ // ServiceRegistries
|
|
87
|
+
* // { // ServiceRegistry
|
|
88
|
+
* // registryArn: "STRING_VALUE",
|
|
89
|
+
* // port: Number("int"),
|
|
90
|
+
* // containerName: "STRING_VALUE",
|
|
91
|
+
* // containerPort: Number("int"),
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // scale: { // Scale
|
|
95
|
+
* // value: Number("double"),
|
|
96
|
+
* // unit: "PERCENT",
|
|
97
|
+
* // },
|
|
98
|
+
* // stabilityStatus: "STEADY_STATE" || "STABILIZING",
|
|
99
|
+
* // stabilityStatusAt: new Date("TIMESTAMP"),
|
|
100
|
+
* // tags: [ // Tags
|
|
101
|
+
* // { // Tag
|
|
102
|
+
* // key: "STRING_VALUE",
|
|
103
|
+
* // value: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // };
|
|
108
|
+
*
|
|
42
109
|
* ```
|
|
43
110
|
*
|
|
44
111
|
* @param UpdateTaskSetCommandInput - {@link UpdateTaskSetCommandInput}
|
|
@@ -80,6 +147,8 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
|
|
|
80
147
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
81
148
|
* <p>The specified task isn't supported in this Region.</p>
|
|
82
149
|
*
|
|
150
|
+
* @throws {@link ECSServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
83
152
|
*
|
|
84
153
|
*/
|
|
85
154
|
export declare class UpdateTaskSetCommand extends $Command<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, ECSClientResolvedConfig> {
|
|
@@ -1012,6 +1012,18 @@ export interface CreateClusterResponse {
|
|
|
1012
1012
|
*/
|
|
1013
1013
|
cluster?: Cluster;
|
|
1014
1014
|
}
|
|
1015
|
+
/**
|
|
1016
|
+
* @public
|
|
1017
|
+
* <p>The specified namespace wasn't found.</p>
|
|
1018
|
+
*/
|
|
1019
|
+
export declare class NamespaceNotFoundException extends __BaseException {
|
|
1020
|
+
readonly name: "NamespaceNotFoundException";
|
|
1021
|
+
readonly $fault: "client";
|
|
1022
|
+
/**
|
|
1023
|
+
* @internal
|
|
1024
|
+
*/
|
|
1025
|
+
constructor(opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>);
|
|
1026
|
+
}
|
|
1015
1027
|
/**
|
|
1016
1028
|
* @public
|
|
1017
1029
|
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
@@ -2736,18 +2748,6 @@ export interface CreateServiceResponse {
|
|
|
2736
2748
|
*/
|
|
2737
2749
|
service?: Service;
|
|
2738
2750
|
}
|
|
2739
|
-
/**
|
|
2740
|
-
* @public
|
|
2741
|
-
* <p>The specified namespace wasn't found.</p>
|
|
2742
|
-
*/
|
|
2743
|
-
export declare class NamespaceNotFoundException extends __BaseException {
|
|
2744
|
-
readonly name: "NamespaceNotFoundException";
|
|
2745
|
-
readonly $fault: "client";
|
|
2746
|
-
/**
|
|
2747
|
-
* @internal
|
|
2748
|
-
*/
|
|
2749
|
-
constructor(opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>);
|
|
2750
|
-
}
|
|
2751
2751
|
/**
|
|
2752
2752
|
* @public
|
|
2753
2753
|
* <p>The specified platform version doesn't satisfy the required capabilities of the task
|
|
@@ -191,6 +191,13 @@ export interface Cluster {
|
|
|
191
191
|
export interface CreateClusterResponse {
|
|
192
192
|
cluster?: Cluster;
|
|
193
193
|
}
|
|
194
|
+
export declare class NamespaceNotFoundException extends __BaseException {
|
|
195
|
+
readonly name: "NamespaceNotFoundException";
|
|
196
|
+
readonly $fault: "client";
|
|
197
|
+
constructor(
|
|
198
|
+
opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>
|
|
199
|
+
);
|
|
200
|
+
}
|
|
194
201
|
export declare class ClusterNotFoundException extends __BaseException {
|
|
195
202
|
readonly name: "ClusterNotFoundException";
|
|
196
203
|
readonly $fault: "client";
|
|
@@ -461,13 +468,6 @@ export interface Service {
|
|
|
461
468
|
export interface CreateServiceResponse {
|
|
462
469
|
service?: Service;
|
|
463
470
|
}
|
|
464
|
-
export declare class NamespaceNotFoundException extends __BaseException {
|
|
465
|
-
readonly name: "NamespaceNotFoundException";
|
|
466
|
-
readonly $fault: "client";
|
|
467
|
-
constructor(
|
|
468
|
-
opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>
|
|
469
|
-
);
|
|
470
|
-
}
|
|
471
471
|
export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
|
|
472
472
|
readonly name: "PlatformTaskDefinitionIncompatibilityException";
|
|
473
473
|
readonly $fault: "client";
|
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.327.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.327.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.327.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|