@aws-sdk/client-ecs 3.840.0 → 3.845.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 (27) hide show
  1. package/dist-cjs/index.js +148 -4
  2. package/dist-es/models/models_0.js +25 -0
  3. package/dist-es/protocols/Aws_json1_1.js +121 -4
  4. package/dist-types/commands/CreateServiceCommand.d.ts +164 -39
  5. package/dist-types/commands/CreateTaskSetCommand.d.ts +12 -0
  6. package/dist-types/commands/DeleteServiceCommand.d.ts +32 -0
  7. package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -0
  8. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +13 -0
  9. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +22 -0
  10. package/dist-types/commands/DescribeServicesCommand.d.ts +32 -0
  11. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +6 -0
  12. package/dist-types/commands/StopTaskCommand.d.ts +2 -1
  13. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  14. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  15. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  16. package/dist-types/commands/UpdateServiceCommand.d.ts +61 -0
  17. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +6 -0
  18. package/dist-types/commands/UpdateTaskSetCommand.d.ts +6 -0
  19. package/dist-types/models/models_0.d.ts +420 -272
  20. package/dist-types/models/models_1.d.ts +246 -1
  21. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -1
  22. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/models/models_0.d.ts +68 -57
  26. package/dist-types/ts3.4/models/models_1.d.ts +62 -0
  27. package/package.json +14 -14
@@ -66,47 +66,114 @@ declare const CreateServiceCommand_base: {
66
66
  * evaluates the task placement constraints for running tasks. It also stops tasks
67
67
  * that don't meet the placement constraints. When using this strategy, you don't
68
68
  * need to specify a desired number of tasks, a task placement strategy, or use
69
- * Service Auto Scaling policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service scheduler concepts</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
69
+ * Service Auto Scaling policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Amazon ECS services</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
70
+ * </li>
71
+ * </ul>
72
+ * <p>The deployment controller is the mechanism that determines how tasks are deployed for
73
+ * your service. The valid options are:</p>
74
+ * <ul>
75
+ * <li>
76
+ * <p>ECS</p>
77
+ * <p>When you create a service which uses the <code>ECS</code> deployment controller, you can choose between the following deployment strategies:</p>
78
+ * <ul>
79
+ * <li>
80
+ * <p>
81
+ * <code>ROLLING</code>: When you create a service which uses the <i>rolling update</i>
82
+ * (<code>ROLLING</code>) deployment strategy, the Amazon ECS service scheduler replaces the
83
+ * currently running tasks with new tasks. The number of tasks that Amazon ECS adds or
84
+ * removes from the service during a rolling update is controlled by the service
85
+ * deployment configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html">Deploy Amazon ECS services by replacing tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
86
+ * <p>Rolling update deployments are best suited for the following scenarios:</p>
87
+ * <ul>
88
+ * <li>
89
+ * <p>Gradual service updates: You need to
90
+ * update your service incrementally without taking the entire service
91
+ * offline at once.</p>
92
+ * </li>
93
+ * <li>
94
+ * <p>Limited resource requirements: You
95
+ * want to avoid the additional resource costs of running two complete
96
+ * environments simultaneously (as required by blue/green
97
+ * deployments).</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>Acceptable deployment time: Your
101
+ * application can tolerate a longer deployment process, as rolling updates
102
+ * replace tasks one by one.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>No need for instant roll back: Your
106
+ * service can tolerate a rollback process that takes minutes rather than
107
+ * seconds.</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>Simple deployment process: You prefer
111
+ * a straightforward deployment approach without the complexity of managing
112
+ * multiple environments, target groups, and listeners.</p>
113
+ * </li>
114
+ * <li>
115
+ * <p>No load balancer requirement: Your
116
+ * service doesn't use or require a load balancer, Application Load Balancer, Network Load Balancer, or Service Connect (which are required
117
+ * for blue/green deployments).</p>
118
+ * </li>
119
+ * <li>
120
+ * <p>Stateful applications: Your
121
+ * application maintains state that makes it difficult to run two parallel
122
+ * environments.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>Cost sensitivity: You want to
126
+ * minimize deployment costs by not running duplicate environments during
127
+ * deployment.</p>
128
+ * </li>
129
+ * </ul>
130
+ * <p>Rolling updates are the default deployment strategy for services and provide a
131
+ * balance between deployment safety and resource efficiency for many common
132
+ * application scenarios.</p>
133
+ * </li>
134
+ * <li>
135
+ * <p>
136
+ * <code>BLUE_GREEN</code>: A <i>blue/green</i> deployment strategy (<code>BLUE_GREEN</code>) is a release methodology that reduces downtime and
137
+ * risk by running two identical production environments called blue and green.
138
+ * With Amazon ECS blue/green deployments, you can validate new service revisions before
139
+ * directing production traffic to them. This approach provides a safer way to
140
+ * deploy changes with the ability to quickly roll back if needed. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-blue-green.html">Amazon ECS blue/green deployments</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
141
+ * <p>Amazon ECS blue/green deployments are best suited for the following scenarios:</p>
142
+ * <ul>
143
+ * <li>
144
+ * <p>Service validation: When you need to
145
+ * validate new service revisions before directing production traffic to
146
+ * them</p>
147
+ * </li>
148
+ * <li>
149
+ * <p>Zero downtime: When your service
150
+ * requires zero-downtime deployments</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>Instant roll back: When you
154
+ * need the ability to quickly roll back if issues are detected</p>
155
+ * </li>
156
+ * <li>
157
+ * <p>Load balancer requirement: When your
158
+ * service uses Application Load Balancer, Network Load Balancer, or Service Connect</p>
159
+ * </li>
160
+ * </ul>
161
+ * </li>
162
+ * </ul>
163
+ * </li>
164
+ * <li>
165
+ * <p>External</p>
166
+ * <p>Use a third-party deployment controller.</p>
167
+ * </li>
168
+ * <li>
169
+ * <p>Blue/green deployment (powered by CodeDeploy)</p>
170
+ * <p>CodeDeploy installs an updated version of the application as a new replacement task
171
+ * set and reroutes production traffic from the original application task set to
172
+ * the replacement task set. The original task set is terminated after a successful
173
+ * deployment. Use this deployment controller to verify a new deployment of a service
174
+ * before sending production traffic to it.</p>
70
175
  * </li>
71
176
  * </ul>
72
- * <p>You can optionally specify a deployment configuration for your service. The deployment
73
- * is initiated by changing properties. For example, the deployment might be initiated by
74
- * the task definition or by your desired count of a service. You can use <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>. The default value for a replica service for
75
- * <code>minimumHealthyPercent</code> is 100%. The default value for a daemon service
76
- * for <code>minimumHealthyPercent</code> is 0%.</p>
77
- * <p>If a service uses the <code>ECS</code> deployment controller, the minimum healthy
78
- * percent represents a lower limit on the number of tasks in a service that must remain in
79
- * the <code>RUNNING</code> state during a deployment. Specifically, it represents it as a
80
- * percentage of your desired number of tasks (rounded up to the nearest integer). This
81
- * happens when any of your container instances are in the <code>DRAINING</code> state if
82
- * the service contains tasks using the EC2 launch type. Using this
83
- * parameter, you can deploy without using additional cluster capacity. For example, if you
84
- * set your service to have desired number of four tasks and a minimum healthy percent of
85
- * 50%, the scheduler might stop two existing tasks to free up cluster capacity before
86
- * starting two new tasks. If they're in the <code>RUNNING</code> state, tasks for services
87
- * that don't use a load balancer are considered healthy . If they're in the
88
- * <code>RUNNING</code> state and reported as healthy by the load balancer, tasks for
89
- * services that <i>do</i> use a load balancer are considered healthy . The
90
- * default value for minimum healthy percent is 100%.</p>
91
- * <p>If a service uses the <code>ECS</code> deployment controller, the <b>maximum percent</b> parameter represents an upper limit on the
92
- * number of tasks in a service that are allowed in the <code>RUNNING</code> or
93
- * <code>PENDING</code> state during a deployment. Specifically, it represents it as a
94
- * percentage of the desired number of tasks (rounded down to the nearest integer). This
95
- * happens when any of your container instances are in the <code>DRAINING</code> state if
96
- * the service contains tasks using the EC2 launch type. Using this
97
- * parameter, you can define the deployment batch size. For example, if your service has a
98
- * desired number of four tasks and a maximum percent value of 200%, the scheduler may
99
- * start four new tasks before stopping the four older tasks (provided that the cluster
100
- * resources required to do this are available). The default value for maximum percent is
101
- * 200%.</p>
102
- * <p>If a service uses either the <code>CODE_DEPLOY</code> or <code>EXTERNAL</code>
103
- * deployment controller types and tasks that use the EC2 launch type, the
104
- * <b>minimum healthy percent</b> and <b>maximum percent</b> values are used only to define the lower and upper limit
105
- * on the number of the tasks in the service that remain in the <code>RUNNING</code> state.
106
- * This is while the container instances are in the <code>DRAINING</code> state. If the
107
- * tasks in the service use the Fargate launch type, the minimum healthy
108
- * percent and maximum percent values aren't used. This is the case even if they're
109
- * currently visible when describing your service.</p>
110
177
  * <p>When creating a service that uses the <code>EXTERNAL</code> deployment controller, you
111
178
  * can specify only parameters that aren't controlled at the task set level. The only
112
179
  * required parameter is the service name. You control your services using the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html">CreateTaskSet</a>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -131,6 +198,12 @@ declare const CreateServiceCommand_base: {
131
198
  * loadBalancerName: "STRING_VALUE",
132
199
  * containerName: "STRING_VALUE",
133
200
  * containerPort: Number("int"),
201
+ * advancedConfiguration: { // AdvancedConfiguration
202
+ * alternateTargetGroupArn: "STRING_VALUE",
203
+ * productionListenerRule: "STRING_VALUE",
204
+ * testListenerRule: "STRING_VALUE",
205
+ * roleArn: "STRING_VALUE",
206
+ * },
134
207
  * },
135
208
  * ],
136
209
  * serviceRegistries: [ // ServiceRegistries
@@ -167,6 +240,18 @@ declare const CreateServiceCommand_base: {
167
240
  * rollback: true || false, // required
168
241
  * enable: true || false, // required
169
242
  * },
243
+ * strategy: "ROLLING" || "BLUE_GREEN",
244
+ * bakeTimeInMinutes: Number("int"),
245
+ * lifecycleHooks: [ // DeploymentLifecycleHookList
246
+ * { // DeploymentLifecycleHook
247
+ * hookTargetArn: "STRING_VALUE",
248
+ * roleArn: "STRING_VALUE",
249
+ * lifecycleStages: [ // DeploymentLifecycleHookStageList
250
+ * "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
251
+ * ],
252
+ * hookDetails: "DOCUMENT_VALUE",
253
+ * },
254
+ * ],
170
255
  * },
171
256
  * placementConstraints: [ // PlacementConstraints
172
257
  * { // PlacementConstraint
@@ -216,6 +301,14 @@ declare const CreateServiceCommand_base: {
216
301
  * { // ServiceConnectClientAlias
217
302
  * port: Number("int"), // required
218
303
  * dnsName: "STRING_VALUE",
304
+ * testTrafficRules: { // ServiceConnectTestTrafficRules
305
+ * header: { // ServiceConnectTestTrafficHeaderRules
306
+ * name: "STRING_VALUE", // required
307
+ * value: { // ServiceConnectTestTrafficHeaderMatchRules
308
+ * exact: "STRING_VALUE", // required
309
+ * },
310
+ * },
311
+ * },
219
312
  * },
220
313
  * ],
221
314
  * ingressPortOverride: Number("int"),
@@ -295,6 +388,12 @@ declare const CreateServiceCommand_base: {
295
388
  * // loadBalancerName: "STRING_VALUE",
296
389
  * // containerName: "STRING_VALUE",
297
390
  * // containerPort: Number("int"),
391
+ * // advancedConfiguration: { // AdvancedConfiguration
392
+ * // alternateTargetGroupArn: "STRING_VALUE",
393
+ * // productionListenerRule: "STRING_VALUE",
394
+ * // testListenerRule: "STRING_VALUE",
395
+ * // roleArn: "STRING_VALUE",
396
+ * // },
298
397
  * // },
299
398
  * // ],
300
399
  * // serviceRegistries: [ // ServiceRegistries
@@ -334,6 +433,18 @@ declare const CreateServiceCommand_base: {
334
433
  * // rollback: true || false, // required
335
434
  * // enable: true || false, // required
336
435
  * // },
436
+ * // strategy: "ROLLING" || "BLUE_GREEN",
437
+ * // bakeTimeInMinutes: Number("int"),
438
+ * // lifecycleHooks: [ // DeploymentLifecycleHookList
439
+ * // { // DeploymentLifecycleHook
440
+ * // hookTargetArn: "STRING_VALUE",
441
+ * // roleArn: "STRING_VALUE",
442
+ * // lifecycleStages: [ // DeploymentLifecycleHookStageList
443
+ * // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
444
+ * // ],
445
+ * // hookDetails: "DOCUMENT_VALUE",
446
+ * // },
447
+ * // ],
337
448
  * // },
338
449
  * // taskSets: [ // TaskSets
339
450
  * // { // TaskSet
@@ -377,6 +488,12 @@ declare const CreateServiceCommand_base: {
377
488
  * // loadBalancerName: "STRING_VALUE",
378
489
  * // containerName: "STRING_VALUE",
379
490
  * // containerPort: Number("int"),
491
+ * // advancedConfiguration: {
492
+ * // alternateTargetGroupArn: "STRING_VALUE",
493
+ * // productionListenerRule: "STRING_VALUE",
494
+ * // testListenerRule: "STRING_VALUE",
495
+ * // roleArn: "STRING_VALUE",
496
+ * // },
380
497
  * // },
381
498
  * // ],
382
499
  * // serviceRegistries: [
@@ -449,6 +566,14 @@ declare const CreateServiceCommand_base: {
449
566
  * // { // ServiceConnectClientAlias
450
567
  * // port: Number("int"), // required
451
568
  * // dnsName: "STRING_VALUE",
569
+ * // testTrafficRules: { // ServiceConnectTestTrafficRules
570
+ * // header: { // ServiceConnectTestTrafficHeaderRules
571
+ * // name: "STRING_VALUE", // required
572
+ * // value: { // ServiceConnectTestTrafficHeaderMatchRules
573
+ * // exact: "STRING_VALUE", // required
574
+ * // },
575
+ * // },
576
+ * // },
452
577
  * // },
453
578
  * // ],
454
579
  * // ingressPortOverride: Number("int"),
@@ -64,6 +64,12 @@ declare const CreateTaskSetCommand_base: {
64
64
  * loadBalancerName: "STRING_VALUE",
65
65
  * containerName: "STRING_VALUE",
66
66
  * containerPort: Number("int"),
67
+ * advancedConfiguration: { // AdvancedConfiguration
68
+ * alternateTargetGroupArn: "STRING_VALUE",
69
+ * productionListenerRule: "STRING_VALUE",
70
+ * testListenerRule: "STRING_VALUE",
71
+ * roleArn: "STRING_VALUE",
72
+ * },
67
73
  * },
68
74
  * ],
69
75
  * serviceRegistries: [ // ServiceRegistries
@@ -139,6 +145,12 @@ declare const CreateTaskSetCommand_base: {
139
145
  * // loadBalancerName: "STRING_VALUE",
140
146
  * // containerName: "STRING_VALUE",
141
147
  * // containerPort: Number("int"),
148
+ * // advancedConfiguration: { // AdvancedConfiguration
149
+ * // alternateTargetGroupArn: "STRING_VALUE",
150
+ * // productionListenerRule: "STRING_VALUE",
151
+ * // testListenerRule: "STRING_VALUE",
152
+ * // roleArn: "STRING_VALUE",
153
+ * // },
142
154
  * // },
143
155
  * // ],
144
156
  * // serviceRegistries: [ // ServiceRegistries
@@ -72,6 +72,12 @@ declare const DeleteServiceCommand_base: {
72
72
  * // loadBalancerName: "STRING_VALUE",
73
73
  * // containerName: "STRING_VALUE",
74
74
  * // containerPort: Number("int"),
75
+ * // advancedConfiguration: { // AdvancedConfiguration
76
+ * // alternateTargetGroupArn: "STRING_VALUE",
77
+ * // productionListenerRule: "STRING_VALUE",
78
+ * // testListenerRule: "STRING_VALUE",
79
+ * // roleArn: "STRING_VALUE",
80
+ * // },
75
81
  * // },
76
82
  * // ],
77
83
  * // serviceRegistries: [ // ServiceRegistries
@@ -111,6 +117,18 @@ declare const DeleteServiceCommand_base: {
111
117
  * // rollback: true || false, // required
112
118
  * // enable: true || false, // required
113
119
  * // },
120
+ * // strategy: "ROLLING" || "BLUE_GREEN",
121
+ * // bakeTimeInMinutes: Number("int"),
122
+ * // lifecycleHooks: [ // DeploymentLifecycleHookList
123
+ * // { // DeploymentLifecycleHook
124
+ * // hookTargetArn: "STRING_VALUE",
125
+ * // roleArn: "STRING_VALUE",
126
+ * // lifecycleStages: [ // DeploymentLifecycleHookStageList
127
+ * // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
128
+ * // ],
129
+ * // hookDetails: "DOCUMENT_VALUE",
130
+ * // },
131
+ * // ],
114
132
  * // },
115
133
  * // taskSets: [ // TaskSets
116
134
  * // { // TaskSet
@@ -154,6 +172,12 @@ declare const DeleteServiceCommand_base: {
154
172
  * // loadBalancerName: "STRING_VALUE",
155
173
  * // containerName: "STRING_VALUE",
156
174
  * // containerPort: Number("int"),
175
+ * // advancedConfiguration: {
176
+ * // alternateTargetGroupArn: "STRING_VALUE",
177
+ * // productionListenerRule: "STRING_VALUE",
178
+ * // testListenerRule: "STRING_VALUE",
179
+ * // roleArn: "STRING_VALUE",
180
+ * // },
157
181
  * // },
158
182
  * // ],
159
183
  * // serviceRegistries: [
@@ -226,6 +250,14 @@ declare const DeleteServiceCommand_base: {
226
250
  * // { // ServiceConnectClientAlias
227
251
  * // port: Number("int"), // required
228
252
  * // dnsName: "STRING_VALUE",
253
+ * // testTrafficRules: { // ServiceConnectTestTrafficRules
254
+ * // header: { // ServiceConnectTestTrafficHeaderRules
255
+ * // name: "STRING_VALUE", // required
256
+ * // value: { // ServiceConnectTestTrafficHeaderMatchRules
257
+ * // exact: "STRING_VALUE", // required
258
+ * // },
259
+ * // },
260
+ * // },
229
261
  * // },
230
262
  * // ],
231
263
  * // ingressPortOverride: Number("int"),
@@ -85,6 +85,12 @@ declare const DeleteTaskSetCommand_base: {
85
85
  * // loadBalancerName: "STRING_VALUE",
86
86
  * // containerName: "STRING_VALUE",
87
87
  * // containerPort: Number("int"),
88
+ * // advancedConfiguration: { // AdvancedConfiguration
89
+ * // alternateTargetGroupArn: "STRING_VALUE",
90
+ * // productionListenerRule: "STRING_VALUE",
91
+ * // testListenerRule: "STRING_VALUE",
92
+ * // roleArn: "STRING_VALUE",
93
+ * // },
88
94
  * // },
89
95
  * // ],
90
96
  * // serviceRegistries: [ // ServiceRegistries
@@ -70,6 +70,7 @@ declare const DescribeServiceDeploymentsCommand_base: {
70
70
  * // },
71
71
  * // status: "PENDING" || "SUCCESSFUL" || "STOPPED" || "STOP_REQUESTED" || "IN_PROGRESS" || "ROLLBACK_REQUESTED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_SUCCESSFUL" || "ROLLBACK_FAILED",
72
72
  * // statusReason: "STRING_VALUE",
73
+ * // lifecycleStage: "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT" || "BAKE_TIME" || "CLEAN_UP",
73
74
  * // deploymentConfiguration: { // DeploymentConfiguration
74
75
  * // deploymentCircuitBreaker: { // DeploymentCircuitBreaker
75
76
  * // enable: true || false, // required
@@ -84,6 +85,18 @@ declare const DescribeServiceDeploymentsCommand_base: {
84
85
  * // rollback: true || false, // required
85
86
  * // enable: true || false, // required
86
87
  * // },
88
+ * // strategy: "ROLLING" || "BLUE_GREEN",
89
+ * // bakeTimeInMinutes: Number("int"),
90
+ * // lifecycleHooks: [ // DeploymentLifecycleHookList
91
+ * // { // DeploymentLifecycleHook
92
+ * // hookTargetArn: "STRING_VALUE",
93
+ * // roleArn: "STRING_VALUE",
94
+ * // lifecycleStages: [ // DeploymentLifecycleHookStageList
95
+ * // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
96
+ * // ],
97
+ * // hookDetails: "DOCUMENT_VALUE",
98
+ * // },
99
+ * // ],
87
100
  * // },
88
101
  * // rollback: { // Rollback
89
102
  * // reason: "STRING_VALUE",
@@ -68,6 +68,12 @@ declare const DescribeServiceRevisionsCommand_base: {
68
68
  * // loadBalancerName: "STRING_VALUE",
69
69
  * // containerName: "STRING_VALUE",
70
70
  * // containerPort: Number("int"),
71
+ * // advancedConfiguration: { // AdvancedConfiguration
72
+ * // alternateTargetGroupArn: "STRING_VALUE",
73
+ * // productionListenerRule: "STRING_VALUE",
74
+ * // testListenerRule: "STRING_VALUE",
75
+ * // roleArn: "STRING_VALUE",
76
+ * // },
71
77
  * // },
72
78
  * // ],
73
79
  * // serviceRegistries: [ // ServiceRegistries
@@ -108,6 +114,14 @@ declare const DescribeServiceRevisionsCommand_base: {
108
114
  * // { // ServiceConnectClientAlias
109
115
  * // port: Number("int"), // required
110
116
  * // dnsName: "STRING_VALUE",
117
+ * // testTrafficRules: { // ServiceConnectTestTrafficRules
118
+ * // header: { // ServiceConnectTestTrafficHeaderRules
119
+ * // name: "STRING_VALUE", // required
120
+ * // value: { // ServiceConnectTestTrafficHeaderMatchRules
121
+ * // exact: "STRING_VALUE", // required
122
+ * // },
123
+ * // },
124
+ * // },
111
125
  * // },
112
126
  * // ],
113
127
  * // ingressPortOverride: Number("int"),
@@ -177,6 +191,14 @@ declare const DescribeServiceRevisionsCommand_base: {
177
191
  * // portName: "STRING_VALUE", // required
178
192
  * // },
179
193
  * // ],
194
+ * // resolvedConfiguration: { // ResolvedConfiguration
195
+ * // loadBalancers: [ // ServiceRevisionLoadBalancers
196
+ * // { // ServiceRevisionLoadBalancer
197
+ * // targetGroupArn: "STRING_VALUE",
198
+ * // productionListenerRule: "STRING_VALUE",
199
+ * // },
200
+ * // ],
201
+ * // },
180
202
  * // },
181
203
  * // ],
182
204
  * // failures: [ // Failures
@@ -57,6 +57,12 @@ declare const DescribeServicesCommand_base: {
57
57
  * // loadBalancerName: "STRING_VALUE",
58
58
  * // containerName: "STRING_VALUE",
59
59
  * // containerPort: Number("int"),
60
+ * // advancedConfiguration: { // AdvancedConfiguration
61
+ * // alternateTargetGroupArn: "STRING_VALUE",
62
+ * // productionListenerRule: "STRING_VALUE",
63
+ * // testListenerRule: "STRING_VALUE",
64
+ * // roleArn: "STRING_VALUE",
65
+ * // },
60
66
  * // },
61
67
  * // ],
62
68
  * // serviceRegistries: [ // ServiceRegistries
@@ -96,6 +102,18 @@ declare const DescribeServicesCommand_base: {
96
102
  * // rollback: true || false, // required
97
103
  * // enable: true || false, // required
98
104
  * // },
105
+ * // strategy: "ROLLING" || "BLUE_GREEN",
106
+ * // bakeTimeInMinutes: Number("int"),
107
+ * // lifecycleHooks: [ // DeploymentLifecycleHookList
108
+ * // { // DeploymentLifecycleHook
109
+ * // hookTargetArn: "STRING_VALUE",
110
+ * // roleArn: "STRING_VALUE",
111
+ * // lifecycleStages: [ // DeploymentLifecycleHookStageList
112
+ * // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
113
+ * // ],
114
+ * // hookDetails: "DOCUMENT_VALUE",
115
+ * // },
116
+ * // ],
99
117
  * // },
100
118
  * // taskSets: [ // TaskSets
101
119
  * // { // TaskSet
@@ -139,6 +157,12 @@ declare const DescribeServicesCommand_base: {
139
157
  * // loadBalancerName: "STRING_VALUE",
140
158
  * // containerName: "STRING_VALUE",
141
159
  * // containerPort: Number("int"),
160
+ * // advancedConfiguration: {
161
+ * // alternateTargetGroupArn: "STRING_VALUE",
162
+ * // productionListenerRule: "STRING_VALUE",
163
+ * // testListenerRule: "STRING_VALUE",
164
+ * // roleArn: "STRING_VALUE",
165
+ * // },
142
166
  * // },
143
167
  * // ],
144
168
  * // serviceRegistries: [
@@ -211,6 +235,14 @@ declare const DescribeServicesCommand_base: {
211
235
  * // { // ServiceConnectClientAlias
212
236
  * // port: Number("int"), // required
213
237
  * // dnsName: "STRING_VALUE",
238
+ * // testTrafficRules: { // ServiceConnectTestTrafficRules
239
+ * // header: { // ServiceConnectTestTrafficHeaderRules
240
+ * // name: "STRING_VALUE", // required
241
+ * // value: { // ServiceConnectTestTrafficHeaderMatchRules
242
+ * // exact: "STRING_VALUE", // required
243
+ * // },
244
+ * // },
245
+ * // },
214
246
  * // },
215
247
  * // ],
216
248
  * // ingressPortOverride: Number("int"),
@@ -92,6 +92,12 @@ declare const DescribeTaskSetsCommand_base: {
92
92
  * // loadBalancerName: "STRING_VALUE",
93
93
  * // containerName: "STRING_VALUE",
94
94
  * // containerPort: Number("int"),
95
+ * // advancedConfiguration: { // AdvancedConfiguration
96
+ * // alternateTargetGroupArn: "STRING_VALUE",
97
+ * // productionListenerRule: "STRING_VALUE",
98
+ * // testListenerRule: "STRING_VALUE",
99
+ * // roleArn: "STRING_VALUE",
100
+ * // },
95
101
  * // },
96
102
  * // ],
97
103
  * // serviceRegistries: [ // ServiceRegistries
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { StopTaskRequest, StopTaskResponse } from "../models/models_0";
4
+ import { StopTaskRequest } from "../models/models_0";
5
+ import { StopTaskResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { SubmitAttachmentStateChangesRequest, SubmitAttachmentStateChangesResponse } from "../models/models_0";
4
+ import { SubmitAttachmentStateChangesRequest, SubmitAttachmentStateChangesResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { SubmitContainerStateChangeRequest, SubmitContainerStateChangeResponse } from "../models/models_0";
4
+ import { SubmitContainerStateChangeRequest, SubmitContainerStateChangeResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { SubmitTaskStateChangeRequest, SubmitTaskStateChangeResponse } from "../models/models_0";
4
+ import { SubmitTaskStateChangeRequest, SubmitTaskStateChangeResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */