@aws-sdk/client-ecs 3.775.0 → 3.778.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 (61) hide show
  1. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +25 -25
  2. package/dist-types/commands/CreateClusterCommand.d.ts +12 -12
  3. package/dist-types/commands/CreateServiceCommand.d.ts +75 -76
  4. package/dist-types/commands/CreateTaskSetCommand.d.ts +33 -33
  5. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +19 -20
  6. package/dist-types/commands/DeleteAttributesCommand.d.ts +10 -10
  7. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +18 -18
  8. package/dist-types/commands/DeleteClusterCommand.d.ts +12 -12
  9. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -4
  10. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +23 -23
  11. package/dist-types/commands/DeleteTaskSetCommand.d.ts +30 -30
  12. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +9 -6
  13. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +22 -22
  14. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +60 -61
  15. package/dist-types/commands/DescribeClustersCommand.d.ts +9 -9
  16. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +49 -49
  17. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +1 -41
  18. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +1 -41
  19. package/dist-types/commands/DescribeServicesCommand.d.ts +32 -32
  20. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +33 -33
  21. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +30 -30
  22. package/dist-types/commands/DescribeTasksCommand.d.ts +25 -25
  23. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -0
  24. package/dist-types/commands/ExecuteCommandCommand.d.ts +17 -17
  25. package/dist-types/commands/GetTaskProtectionCommand.d.ts +10 -10
  26. package/dist-types/commands/ListAccountSettingsCommand.d.ts +31 -32
  27. package/dist-types/commands/ListAttributesCommand.d.ts +11 -11
  28. package/dist-types/commands/ListClustersCommand.d.ts +5 -5
  29. package/dist-types/commands/ListContainerInstancesCommand.d.ts +5 -5
  30. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +12 -12
  31. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -0
  32. package/dist-types/commands/ListServicesCommand.d.ts +5 -5
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
  34. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +16 -17
  35. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +16 -17
  36. package/dist-types/commands/ListTasksCommand.d.ts +16 -17
  37. package/dist-types/commands/PutAccountSettingCommand.d.ts +21 -22
  38. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +9 -9
  39. package/dist-types/commands/PutAttributesCommand.d.ts +12 -12
  40. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +129 -131
  41. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -0
  42. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +29 -29
  43. package/dist-types/commands/RunTaskCommand.d.ts +19 -19
  44. package/dist-types/commands/StartTaskCommand.d.ts +29 -29
  45. package/dist-types/commands/StopTaskCommand.d.ts +37 -37
  46. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -0
  47. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -0
  48. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -0
  49. package/dist-types/commands/TagResourceCommand.d.ts +10 -7
  50. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  51. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +25 -25
  52. package/dist-types/commands/UpdateClusterCommand.d.ts +103 -104
  53. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +20 -20
  54. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +12 -12
  55. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +90 -90
  56. package/dist-types/commands/UpdateServiceCommand.d.ts +18 -13
  57. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +29 -29
  58. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +35 -37
  59. package/dist-types/commands/UpdateTaskSetCommand.d.ts +32 -32
  60. package/dist-types/models/models_0.d.ts +0 -7
  61. package/package.json +2 -2
@@ -135,47 +135,47 @@ declare const CreateCapacityProviderCommand_base: {
135
135
  * @throws {@link ECSServiceException}
136
136
  * <p>Base exception class for all service exceptions from ECS service.</p>
137
137
  *
138
- * @public
138
+ *
139
139
  * @example To create a capacity provider
140
140
  * ```javascript
141
141
  * // This example creates a capacity provider that uses the specified Auto Scaling group MyASG and has managed scaling and manager termination protection enabled.
142
142
  * const input = {
143
- * "name": "MyCapacityProvider",
144
- * "autoScalingGroupProvider": {
145
- * "autoScalingGroupArn": "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:57ffcb94-11f0-4d6d-bf60-3bac5EXAMPLE:autoScalingGroupName/MyASG",
146
- * "managedScaling": {
147
- * "status": "ENABLED",
148
- * "targetCapacity": 100
143
+ * autoScalingGroupProvider: {
144
+ * autoScalingGroupArn: "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:57ffcb94-11f0-4d6d-bf60-3bac5EXAMPLE:autoScalingGroupName/MyASG",
145
+ * managedScaling: {
146
+ * status: "ENABLED",
147
+ * targetCapacity: 100
149
148
  * },
150
- * "managedTerminationProtection": "ENABLED"
151
- * }
149
+ * managedTerminationProtection: "ENABLED"
150
+ * },
151
+ * name: "MyCapacityProvider"
152
152
  * };
153
153
  * const command = new CreateCapacityProviderCommand(input);
154
154
  * const response = await client.send(command);
155
- * /* response ==
155
+ * /* response is
156
156
  * {
157
- * "capacityProvider": {
158
- * "name": "MyCapacityProvider",
159
- * "autoScalingGroupProvider": {
160
- * "autoScalingGroupArn": "arn:aws:autoscaling:us-east-1:132456789012:autoScalingGroup:57ffcb94-11f0-4d6d-bf60-3bac5EXAMPLE:autoScalingGroupName/MyASG",
161
- * "managedScaling": {
162
- * "instanceWarmupPeriod": 300,
163
- * "maximumScalingStepSize": 10000,
164
- * "minimumScalingStepSize": 1,
165
- * "status": "ENABLED",
166
- * "targetCapacity": 100
157
+ * capacityProvider: {
158
+ * autoScalingGroupProvider: {
159
+ * autoScalingGroupArn: "arn:aws:autoscaling:us-east-1:132456789012:autoScalingGroup:57ffcb94-11f0-4d6d-bf60-3bac5EXAMPLE:autoScalingGroupName/MyASG",
160
+ * managedScaling: {
161
+ * instanceWarmupPeriod: 300,
162
+ * maximumScalingStepSize: 10000,
163
+ * minimumScalingStepSize: 1,
164
+ * status: "ENABLED",
165
+ * targetCapacity: 100
167
166
  * },
168
- * "managedTerminationProtection": "ENABLED"
167
+ * managedTerminationProtection: "ENABLED"
169
168
  * },
170
- * "capacityProviderArn": "arn:aws:ecs:us-east-1:123456789012:capacity-provider/MyCapacityProvider",
171
- * "status": "ACTIVE",
172
- * "tags": []
169
+ * capacityProviderArn: "arn:aws:ecs:us-east-1:123456789012:capacity-provider/MyCapacityProvider",
170
+ * name: "MyCapacityProvider",
171
+ * status: "ACTIVE",
172
+ * tags: []
173
173
  * }
174
174
  * }
175
175
  * *\/
176
- * // example id: to-create-a-capacity-provider--1733861347945
177
176
  * ```
178
177
  *
178
+ * @public
179
179
  */
180
180
  export declare class CreateCapacityProviderCommand extends CreateCapacityProviderCommand_base {
181
181
  /** @internal type navigation helper, not in runtime. */
@@ -202,31 +202,31 @@ declare const CreateClusterCommand_base: {
202
202
  * @throws {@link ECSServiceException}
203
203
  * <p>Base exception class for all service exceptions from ECS service.</p>
204
204
  *
205
- * @public
205
+ *
206
206
  * @example To create a new cluster
207
207
  * ```javascript
208
208
  * // This example creates a cluster in your default region.
209
209
  * const input = {
210
- * "clusterName": "my_cluster"
210
+ * clusterName: "my_cluster"
211
211
  * };
212
212
  * const command = new CreateClusterCommand(input);
213
213
  * const response = await client.send(command);
214
- * /* response ==
214
+ * /* response is
215
215
  * {
216
- * "cluster": {
217
- * "activeServicesCount": 0,
218
- * "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster",
219
- * "clusterName": "my_cluster",
220
- * "pendingTasksCount": 0,
221
- * "registeredContainerInstancesCount": 0,
222
- * "runningTasksCount": 0,
223
- * "status": "ACTIVE"
216
+ * cluster: {
217
+ * activeServicesCount: 0,
218
+ * clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster",
219
+ * clusterName: "my_cluster",
220
+ * pendingTasksCount: 0,
221
+ * registeredContainerInstancesCount: 0,
222
+ * runningTasksCount: 0,
223
+ * status: "ACTIVE"
224
224
  * }
225
225
  * }
226
226
  * *\/
227
- * // example id: to-create-a-new-cluster-1472514079365
228
227
  * ```
229
228
  *
229
+ * @public
230
230
  */
231
231
  export declare class CreateClusterCommand extends CreateClusterCommand_base {
232
232
  /** @internal type navigation helper, not in runtime. */
@@ -618,124 +618,123 @@ declare const CreateServiceCommand_base: {
618
618
  * @throws {@link ECSServiceException}
619
619
  * <p>Base exception class for all service exceptions from ECS service.</p>
620
620
  *
621
- * @public
621
+ *
622
622
  * @example To create a new service
623
623
  * ```javascript
624
624
  * // This example creates a service in your default region called ``ecs-simple-service``. The service uses the ``hello_world`` task definition and it maintains 10 copies of that task.
625
625
  * const input = {
626
- * "desiredCount": 10,
627
- * "serviceName": "ecs-simple-service",
628
- * "taskDefinition": "hello_world"
626
+ * desiredCount: 10,
627
+ * serviceName: "ecs-simple-service",
628
+ * taskDefinition: "hello_world"
629
629
  * };
630
630
  * const command = new CreateServiceCommand(input);
631
631
  * const response = await client.send(command);
632
- * /* response ==
632
+ * /* response is
633
633
  * {
634
- * "service": {
635
- * "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/default",
636
- * "createdAt": "2016-08-29T16:13:47.298Z",
637
- * "deploymentConfiguration": {
638
- * "maximumPercent": 200,
639
- * "minimumHealthyPercent": 100
634
+ * service: {
635
+ * clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/default",
636
+ * createdAt: "2016-08-29T16:13:47.298Z",
637
+ * deploymentConfiguration: {
638
+ * maximumPercent: 200,
639
+ * minimumHealthyPercent: 100
640
640
  * },
641
- * "deployments": [
641
+ * deployments: [
642
642
  * {
643
- * "createdAt": "2016-08-29T16:13:47.298Z",
644
- * "desiredCount": 10,
645
- * "id": "ecs-svc/9223370564342348388",
646
- * "pendingCount": 0,
647
- * "runningCount": 0,
648
- * "status": "PRIMARY",
649
- * "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
650
- * "updatedAt": "2016-08-29T16:13:47.298Z"
643
+ * createdAt: "2016-08-29T16:13:47.298Z",
644
+ * desiredCount: 10,
645
+ * id: "ecs-svc/9223370564342348388",
646
+ * pendingCount: 0,
647
+ * runningCount: 0,
648
+ * status: "PRIMARY",
649
+ * taskDefinition: "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
650
+ * updatedAt: "2016-08-29T16:13:47.298Z"
651
651
  * },
652
652
  * {
653
- * "createdAt": "2016-08-29T15:52:44.481Z",
654
- * "desiredCount": 0,
655
- * "id": "ecs-svc/9223370564343611322",
656
- * "pendingCount": 0,
657
- * "runningCount": 0,
658
- * "status": "ACTIVE",
659
- * "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
660
- * "updatedAt": "2016-08-29T16:11:38.941Z"
653
+ * createdAt: "2016-08-29T15:52:44.481Z",
654
+ * desiredCount: 0,
655
+ * id: "ecs-svc/9223370564343611322",
656
+ * pendingCount: 0,
657
+ * runningCount: 0,
658
+ * status: "ACTIVE",
659
+ * taskDefinition: "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
660
+ * updatedAt: "2016-08-29T16:11:38.941Z"
661
661
  * }
662
662
  * ],
663
- * "desiredCount": 10,
664
- * "events": [],
665
- * "loadBalancers": [],
666
- * "pendingCount": 0,
667
- * "runningCount": 0,
668
- * "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service",
669
- * "serviceName": "ecs-simple-service",
670
- * "status": "ACTIVE",
671
- * "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/default/hello_world:6"
663
+ * desiredCount: 10,
664
+ * events: [],
665
+ * loadBalancers: [],
666
+ * pendingCount: 0,
667
+ * runningCount: 0,
668
+ * serviceArn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service",
669
+ * serviceName: "ecs-simple-service",
670
+ * status: "ACTIVE",
671
+ * taskDefinition: "arn:aws:ecs:us-east-1:012345678910:task-definition/default/hello_world:6"
672
672
  * }
673
673
  * }
674
674
  * *\/
675
- * // example id: to-create-a-new-service-1472512584282
676
675
  * ```
677
676
  *
678
677
  * @example To create a new service behind a load balancer
679
678
  * ```javascript
680
679
  * // This example creates a service in your default region called ``ecs-simple-service-elb``. The service uses the ``ecs-demo`` task definition and it maintains 10 copies of that task. You must reference an existing load balancer in the same region by its name.
681
680
  * const input = {
682
- * "desiredCount": 10,
683
- * "loadBalancers": [
681
+ * desiredCount: 10,
682
+ * loadBalancers: [
684
683
  * {
685
- * "containerName": "simple-app",
686
- * "containerPort": 80,
687
- * "loadBalancerName": "EC2Contai-EcsElast-15DCDAURT3ZO2"
684
+ * containerName: "simple-app",
685
+ * containerPort: 80,
686
+ * loadBalancerName: "EC2Contai-EcsElast-15DCDAURT3ZO2"
688
687
  * }
689
688
  * ],
690
- * "role": "ecsServiceRole",
691
- * "serviceName": "ecs-simple-service-elb",
692
- * "taskDefinition": "console-sample-app-static"
689
+ * role: "ecsServiceRole",
690
+ * serviceName: "ecs-simple-service-elb",
691
+ * taskDefinition: "console-sample-app-static"
693
692
  * };
694
693
  * const command = new CreateServiceCommand(input);
695
694
  * const response = await client.send(command);
696
- * /* response ==
695
+ * /* response is
697
696
  * {
698
- * "service": {
699
- * "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/default",
700
- * "createdAt": "2016-08-29T16:02:54.884Z",
701
- * "deploymentConfiguration": {
702
- * "maximumPercent": 200,
703
- * "minimumHealthyPercent": 100
697
+ * service: {
698
+ * clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/default",
699
+ * createdAt: "2016-08-29T16:02:54.884Z",
700
+ * deploymentConfiguration: {
701
+ * maximumPercent: 200,
702
+ * minimumHealthyPercent: 100
704
703
  * },
705
- * "deployments": [
704
+ * deployments: [
706
705
  * {
707
- * "createdAt": "2016-08-29T16:02:54.884Z",
708
- * "desiredCount": 10,
709
- * "id": "ecs-svc/9223370564343000923",
710
- * "pendingCount": 0,
711
- * "runningCount": 0,
712
- * "status": "PRIMARY",
713
- * "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6",
714
- * "updatedAt": "2016-08-29T16:02:54.884Z"
706
+ * createdAt: "2016-08-29T16:02:54.884Z",
707
+ * desiredCount: 10,
708
+ * id: "ecs-svc/9223370564343000923",
709
+ * pendingCount: 0,
710
+ * runningCount: 0,
711
+ * status: "PRIMARY",
712
+ * taskDefinition: "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6",
713
+ * updatedAt: "2016-08-29T16:02:54.884Z"
715
714
  * }
716
715
  * ],
717
- * "desiredCount": 10,
718
- * "events": [],
719
- * "loadBalancers": [
716
+ * desiredCount: 10,
717
+ * events: [],
718
+ * loadBalancers: [
720
719
  * {
721
- * "containerName": "simple-app",
722
- * "containerPort": 80,
723
- * "loadBalancerName": "EC2Contai-EcsElast-15DCDAURT3ZO2"
720
+ * containerName: "simple-app",
721
+ * containerPort: 80,
722
+ * loadBalancerName: "EC2Contai-EcsElast-15DCDAURT3ZO2"
724
723
  * }
725
724
  * ],
726
- * "pendingCount": 0,
727
- * "roleArn": "arn:aws:iam::012345678910:role/ecsServiceRole",
728
- * "runningCount": 0,
729
- * "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service-elb",
730
- * "serviceName": "ecs-simple-service-elb",
731
- * "status": "ACTIVE",
732
- * "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/default/console-sample-app-static:6"
725
+ * pendingCount: 0,
726
+ * roleArn: "arn:aws:iam::012345678910:role/ecsServiceRole",
727
+ * runningCount: 0,
728
+ * serviceArn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service-elb",
729
+ * serviceName: "ecs-simple-service-elb",
730
+ * status: "ACTIVE",
731
+ * taskDefinition: "arn:aws:ecs:us-east-1:012345678910:task-definition/default/console-sample-app-static:6"
733
732
  * }
734
733
  * }
735
734
  * *\/
736
- * // example id: to-create-a-new-service-behind-a-load-balancer-1472512484823
737
735
  * ```
738
736
  *
737
+ * @public
739
738
  */
740
739
  export declare class CreateServiceCommand extends CreateServiceCommand_base {
741
740
  /** @internal type navigation helper, not in runtime. */
@@ -228,65 +228,65 @@ declare const CreateTaskSetCommand_base: {
228
228
  * @throws {@link ECSServiceException}
229
229
  * <p>Base exception class for all service exceptions from ECS service.</p>
230
230
  *
231
- * @public
231
+ *
232
232
  * @example To create a task set
233
233
  * ```javascript
234
234
  * // This example creates a task set in a service that uses the EXTERNAL deployment controller.
235
235
  * const input = {
236
- * "cluster": "MyCluster",
237
- * "networkConfiguration": {
238
- * "awsvpcConfiguration": {
239
- * "securityGroups": [
236
+ * cluster: "MyCluster",
237
+ * networkConfiguration: {
238
+ * awsvpcConfiguration: {
239
+ * securityGroups: [
240
240
  * "sg-12344321"
241
241
  * ],
242
- * "subnets": [
242
+ * subnets: [
243
243
  * "subnet-12344321"
244
244
  * ]
245
245
  * }
246
246
  * },
247
- * "service": "MyService",
248
- * "taskDefinition": "MyTaskDefinition:2"
247
+ * service: "MyService",
248
+ * taskDefinition: "MyTaskDefinition:2"
249
249
  * };
250
250
  * const command = new CreateTaskSetCommand(input);
251
251
  * const response = await client.send(command);
252
- * /* response ==
252
+ * /* response is
253
253
  * {
254
- * "taskSet": {
255
- * "computedDesiredCount": 0,
256
- * "createdAt": 1557128360.711,
257
- * "id": "ecs-svc/1234567890123456789",
258
- * "launchType": "EC2",
259
- * "loadBalancers": [],
260
- * "networkConfiguration": {
261
- * "awsvpcConfiguration": {
262
- * "assignPublicIp": "DISABLED",
263
- * "securityGroups": [
254
+ * taskSet: {
255
+ * computedDesiredCount: 0,
256
+ * createdAt: 1.557128360711E9,
257
+ * id: "ecs-svc/1234567890123456789",
258
+ * launchType: "EC2",
259
+ * loadBalancers: [],
260
+ * networkConfiguration: {
261
+ * awsvpcConfiguration: {
262
+ * assignPublicIp: "DISABLED",
263
+ * securityGroups: [
264
264
  * "sg-12344321"
265
265
  * ],
266
- * "subnets": [
266
+ * subnets: [
267
267
  * "subnet-12344321"
268
268
  * ]
269
269
  * }
270
270
  * },
271
- * "pendingCount": 0,
272
- * "runningCount": 0,
273
- * "scale": {
274
- * "value": 0,
275
- * "unit": "PERCENT"
271
+ * pendingCount: 0,
272
+ * runningCount: 0,
273
+ * scale: {
274
+ * unit: "PERCENT",
275
+ * value: 0
276
276
  * },
277
- * "serviceRegistries": [],
278
- * "stabilityStatus": "STABILIZING",
279
- * "stabilityStatusAt": 1557128360.711,
280
- * "status": "ACTIVE",
281
- * "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/MyTaskDefinition:2",
282
- * "taskSetArn": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
283
- * "updatedAt": 1557128360.711
277
+ * serviceRegistries: [],
278
+ * stabilityStatus: "STABILIZING",
279
+ * stabilityStatusAt: 1.557128360711E9,
280
+ * status: "ACTIVE",
281
+ * taskDefinition: "arn:aws:ecs:us-west-2:123456789012:task-definition/MyTaskDefinition:2",
282
+ * taskSetArn: "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
283
+ * updatedAt: 1.557128360711E9
284
284
  * }
285
285
  * }
286
286
  * *\/
287
- * // example id: to-create-a-task-set-1733864092815
288
287
  * ```
289
288
  *
289
+ * @public
290
290
  */
291
291
  export declare class CreateTaskSetCommand extends CreateTaskSetCommand_base {
292
292
  /** @internal type navigation helper, not in runtime. */
@@ -84,48 +84,47 @@ declare const DeleteAccountSettingCommand_base: {
84
84
  * @throws {@link ECSServiceException}
85
85
  * <p>Base exception class for all service exceptions from ECS service.</p>
86
86
  *
87
- * @public
88
- * @example To delete your account setting
87
+ *
88
+ * @example To delete the account settings for a specific IAM user or IAM role
89
89
  * ```javascript
90
- * // This example deletes the account setting for your user for the specified resource type.
90
+ * // This example deletes the account setting for a specific IAM user or IAM role for the specified resource type. Only the root user can view or modify the account settings for another user.
91
91
  * const input = {
92
- * "name": "serviceLongArnFormat"
92
+ * name: "containerInstanceLongArnFormat",
93
+ * principalArn: "arn:aws:iam::<aws_account_id>:user/principalName"
93
94
  * };
94
95
  * const command = new DeleteAccountSettingCommand(input);
95
96
  * const response = await client.send(command);
96
- * /* response ==
97
+ * /* response is
97
98
  * {
98
- * "setting": {
99
- * "name": "serviceLongArnFormat",
100
- * "value": "enabled",
101
- * "principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
99
+ * setting: {
100
+ * name: "containerInstanceLongArnFormat",
101
+ * principalArn: "arn:aws:iam::<aws_account_id>:user/principalName",
102
+ * value: "enabled"
102
103
  * }
103
104
  * }
104
105
  * *\/
105
- * // example id: to-delete-the-account-setting-for-your-user-account-1549524548115
106
106
  * ```
107
107
  *
108
- * @example To delete the account settings for a specific IAM user or IAM role
108
+ * @example To delete your account setting
109
109
  * ```javascript
110
- * // This example deletes the account setting for a specific IAM user or IAM role for the specified resource type. Only the root user can view or modify the account settings for another user.
110
+ * // This example deletes the account setting for your user for the specified resource type.
111
111
  * const input = {
112
- * "name": "containerInstanceLongArnFormat",
113
- * "principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
112
+ * name: "serviceLongArnFormat"
114
113
  * };
115
114
  * const command = new DeleteAccountSettingCommand(input);
116
115
  * const response = await client.send(command);
117
- * /* response ==
116
+ * /* response is
118
117
  * {
119
- * "setting": {
120
- * "name": "containerInstanceLongArnFormat",
121
- * "value": "enabled",
122
- * "principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
118
+ * setting: {
119
+ * name: "serviceLongArnFormat",
120
+ * principalArn: "arn:aws:iam::<aws_account_id>:user/principalName",
121
+ * value: "enabled"
123
122
  * }
124
123
  * }
125
124
  * *\/
126
- * // example id: to-delete-the-account-setting-for-a-specific-iam-user-or-iam-role-1549524612917
127
125
  * ```
128
126
  *
127
+ * @public
129
128
  */
130
129
  export declare class DeleteAccountSettingCommand extends DeleteAccountSettingCommand_base {
131
130
  /** @internal type navigation helper, not in runtime. */
@@ -82,34 +82,34 @@ declare const DeleteAttributesCommand_base: {
82
82
  * @throws {@link ECSServiceException}
83
83
  * <p>Base exception class for all service exceptions from ECS service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example To delete a custom attribute from an Amazon ECS instance
87
87
  * ```javascript
88
88
  * // This example deletes an attribute named stack from a container instance.
89
89
  * const input = {
90
- * "attributes": [
90
+ * attributes: [
91
91
  * {
92
- * "name": "stack",
93
- * "targetId": "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
92
+ * name: "stack",
93
+ * targetId: "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
94
94
  * }
95
95
  * ]
96
96
  * };
97
97
  * const command = new DeleteAttributesCommand(input);
98
98
  * const response = await client.send(command);
99
- * /* response ==
99
+ * /* response is
100
100
  * {
101
- * "attributes": [
101
+ * attributes: [
102
102
  * {
103
- * "name": "stack",
104
- * "value": "production",
105
- * "targetId": "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
103
+ * name: "stack",
104
+ * targetId: "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34",
105
+ * value: "production"
106
106
  * }
107
107
  * ]
108
108
  * }
109
109
  * *\/
110
- * // example id: to-delete-a-custom-attribute-from-an-amazon-ecs-instance-1733867267541
111
110
  * ```
112
111
  *
112
+ * @public
113
113
  */
114
114
  export declare class DeleteAttributesCommand extends DeleteAttributesCommand_base {
115
115
  /** @internal type navigation helper, not in runtime. */
@@ -114,39 +114,39 @@ declare const DeleteCapacityProviderCommand_base: {
114
114
  * @throws {@link ECSServiceException}
115
115
  * <p>Base exception class for all service exceptions from ECS service.</p>
116
116
  *
117
- * @public
117
+ *
118
118
  * @example To delete a specified capacity provider
119
119
  * ```javascript
120
120
  * // This example deletes a specified capacity provider.
121
121
  * const input = {
122
- * "capacityProvider": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/ExampleCapacityProvider"
122
+ * capacityProvider: "arn:aws:ecs:us-west-2:123456789012:capacity-provider/ExampleCapacityProvider"
123
123
  * };
124
124
  * const command = new DeleteCapacityProviderCommand(input);
125
125
  * const response = await client.send(command);
126
- * /* response ==
126
+ * /* response is
127
127
  * {
128
- * "capacityProvider": {
129
- * "name": "ExampleCapacityProvider",
130
- * "autoScalingGroupProvider": {
131
- * "autoScalingGroupArn": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup",
132
- * "managedScaling": {
133
- * "maximumScalingStepSize": 10000,
134
- * "minimumScalingStepSize": 1,
135
- * "status": "ENABLED",
136
- * "targetCapacity": 100
128
+ * capacityProvider: {
129
+ * autoScalingGroupProvider: {
130
+ * autoScalingGroupArn: "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup",
131
+ * managedScaling: {
132
+ * maximumScalingStepSize: 10000,
133
+ * minimumScalingStepSize: 1,
134
+ * status: "ENABLED",
135
+ * targetCapacity: 100
137
136
  * },
138
- * "managedTerminationProtection": "DISABLED"
137
+ * managedTerminationProtection: "DISABLED"
139
138
  * },
140
- * "capacityProviderArn": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/ExampleCapacityProvider",
141
- * "status": "ACTIVE",
142
- * "tags": [],
143
- * "updateStatus": "DELETE_IN_PROGRESS"
139
+ * capacityProviderArn: "arn:aws:ecs:us-west-2:123456789012:capacity-provider/ExampleCapacityProvider",
140
+ * name: "ExampleCapacityProvider",
141
+ * status: "ACTIVE",
142
+ * tags: [],
143
+ * updateStatus: "DELETE_IN_PROGRESS"
144
144
  * }
145
145
  * }
146
146
  * *\/
147
- * // example id: to-delete-a-specified-capacity-provider-1733868702678
148
147
  * ```
149
148
  *
149
+ * @public
150
150
  */
151
151
  export declare class DeleteCapacityProviderCommand extends DeleteCapacityProviderCommand_base {
152
152
  /** @internal type navigation helper, not in runtime. */
@@ -176,31 +176,31 @@ declare const DeleteClusterCommand_base: {
176
176
  * @throws {@link ECSServiceException}
177
177
  * <p>Base exception class for all service exceptions from ECS service.</p>
178
178
  *
179
- * @public
179
+ *
180
180
  * @example To delete an empty cluster
181
181
  * ```javascript
182
182
  * // This example deletes an empty cluster in your default region.
183
183
  * const input = {
184
- * "cluster": "my_cluster"
184
+ * cluster: "my_cluster"
185
185
  * };
186
186
  * const command = new DeleteClusterCommand(input);
187
187
  * const response = await client.send(command);
188
- * /* response ==
188
+ * /* response is
189
189
  * {
190
- * "cluster": {
191
- * "activeServicesCount": 0,
192
- * "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster",
193
- * "clusterName": "my_cluster",
194
- * "pendingTasksCount": 0,
195
- * "registeredContainerInstancesCount": 0,
196
- * "runningTasksCount": 0,
197
- * "status": "INACTIVE"
190
+ * cluster: {
191
+ * activeServicesCount: 0,
192
+ * clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster",
193
+ * clusterName: "my_cluster",
194
+ * pendingTasksCount: 0,
195
+ * registeredContainerInstancesCount: 0,
196
+ * runningTasksCount: 0,
197
+ * status: "INACTIVE"
198
198
  * }
199
199
  * }
200
200
  * *\/
201
- * // example id: to-delete-an-empty-cluster-1472512705352
202
201
  * ```
203
202
  *
203
+ * @public
204
204
  */
205
205
  export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
206
206
  /** @internal type navigation helper, not in runtime. */