@aws-sdk/client-ecs 3.844.0 → 3.846.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 +33 -0
  2. package/dist-es/models/models_0.js +25 -0
  3. package/dist-es/protocols/Aws_json1_1.js +2 -0
  4. package/dist-types/commands/CreateServiceCommand.d.ts +165 -39
  5. package/dist-types/commands/CreateTaskSetCommand.d.ts +12 -0
  6. package/dist-types/commands/DeleteServiceCommand.d.ts +31 -0
  7. package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -0
  8. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +12 -0
  9. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +22 -0
  10. package/dist-types/commands/DescribeServicesCommand.d.ts +31 -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 +59 -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 +428 -274
  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 +66 -57
  26. package/dist-types/ts3.4/models/models_1.d.ts +62 -0
  27. package/package.json +11 -11
@@ -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
  */
@@ -176,6 +176,17 @@ declare const UpdateServiceCommand_base: {
176
176
  * rollback: true || false, // required
177
177
  * enable: true || false, // required
178
178
  * },
179
+ * strategy: "ROLLING" || "BLUE_GREEN",
180
+ * bakeTimeInMinutes: Number("int"),
181
+ * lifecycleHooks: [ // DeploymentLifecycleHookList
182
+ * { // DeploymentLifecycleHook
183
+ * hookTargetArn: "STRING_VALUE",
184
+ * roleArn: "STRING_VALUE",
185
+ * lifecycleStages: [ // DeploymentLifecycleHookStageList
186
+ * "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
187
+ * ],
188
+ * },
189
+ * ],
179
190
  * },
180
191
  * availabilityZoneRebalancing: "ENABLED" || "DISABLED",
181
192
  * networkConfiguration: { // NetworkConfiguration
@@ -204,6 +215,9 @@ declare const UpdateServiceCommand_base: {
204
215
  * platformVersion: "STRING_VALUE",
205
216
  * forceNewDeployment: true || false,
206
217
  * healthCheckGracePeriodSeconds: Number("int"),
218
+ * deploymentController: { // DeploymentController
219
+ * type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
220
+ * },
207
221
  * enableExecuteCommand: true || false,
208
222
  * enableECSManagedTags: true || false,
209
223
  * loadBalancers: [ // LoadBalancers
@@ -212,6 +226,12 @@ declare const UpdateServiceCommand_base: {
212
226
  * loadBalancerName: "STRING_VALUE",
213
227
  * containerName: "STRING_VALUE",
214
228
  * containerPort: Number("int"),
229
+ * advancedConfiguration: { // AdvancedConfiguration
230
+ * alternateTargetGroupArn: "STRING_VALUE",
231
+ * productionListenerRule: "STRING_VALUE",
232
+ * testListenerRule: "STRING_VALUE",
233
+ * roleArn: "STRING_VALUE",
234
+ * },
215
235
  * },
216
236
  * ],
217
237
  * propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
@@ -234,6 +254,14 @@ declare const UpdateServiceCommand_base: {
234
254
  * { // ServiceConnectClientAlias
235
255
  * port: Number("int"), // required
236
256
  * dnsName: "STRING_VALUE",
257
+ * testTrafficRules: { // ServiceConnectTestTrafficRules
258
+ * header: { // ServiceConnectTestTrafficHeaderRules
259
+ * name: "STRING_VALUE", // required
260
+ * value: { // ServiceConnectTestTrafficHeaderMatchRules
261
+ * exact: "STRING_VALUE", // required
262
+ * },
263
+ * },
264
+ * },
237
265
  * },
238
266
  * ],
239
267
  * ingressPortOverride: Number("int"),
@@ -313,6 +341,12 @@ declare const UpdateServiceCommand_base: {
313
341
  * // loadBalancerName: "STRING_VALUE",
314
342
  * // containerName: "STRING_VALUE",
315
343
  * // containerPort: Number("int"),
344
+ * // advancedConfiguration: { // AdvancedConfiguration
345
+ * // alternateTargetGroupArn: "STRING_VALUE",
346
+ * // productionListenerRule: "STRING_VALUE",
347
+ * // testListenerRule: "STRING_VALUE",
348
+ * // roleArn: "STRING_VALUE",
349
+ * // },
316
350
  * // },
317
351
  * // ],
318
352
  * // serviceRegistries: [ // ServiceRegistries
@@ -352,6 +386,17 @@ declare const UpdateServiceCommand_base: {
352
386
  * // rollback: true || false, // required
353
387
  * // enable: true || false, // required
354
388
  * // },
389
+ * // strategy: "ROLLING" || "BLUE_GREEN",
390
+ * // bakeTimeInMinutes: Number("int"),
391
+ * // lifecycleHooks: [ // DeploymentLifecycleHookList
392
+ * // { // DeploymentLifecycleHook
393
+ * // hookTargetArn: "STRING_VALUE",
394
+ * // roleArn: "STRING_VALUE",
395
+ * // lifecycleStages: [ // DeploymentLifecycleHookStageList
396
+ * // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
397
+ * // ],
398
+ * // },
399
+ * // ],
355
400
  * // },
356
401
  * // taskSets: [ // TaskSets
357
402
  * // { // TaskSet
@@ -395,6 +440,12 @@ declare const UpdateServiceCommand_base: {
395
440
  * // loadBalancerName: "STRING_VALUE",
396
441
  * // containerName: "STRING_VALUE",
397
442
  * // containerPort: Number("int"),
443
+ * // advancedConfiguration: {
444
+ * // alternateTargetGroupArn: "STRING_VALUE",
445
+ * // productionListenerRule: "STRING_VALUE",
446
+ * // testListenerRule: "STRING_VALUE",
447
+ * // roleArn: "STRING_VALUE",
448
+ * // },
398
449
  * // },
399
450
  * // ],
400
451
  * // serviceRegistries: [
@@ -467,6 +518,14 @@ declare const UpdateServiceCommand_base: {
467
518
  * // { // ServiceConnectClientAlias
468
519
  * // port: Number("int"), // required
469
520
  * // dnsName: "STRING_VALUE",
521
+ * // testTrafficRules: { // ServiceConnectTestTrafficRules
522
+ * // header: { // ServiceConnectTestTrafficHeaderRules
523
+ * // name: "STRING_VALUE", // required
524
+ * // value: { // ServiceConnectTestTrafficHeaderMatchRules
525
+ * // exact: "STRING_VALUE", // required
526
+ * // },
527
+ * // },
528
+ * // },
470
529
  * // },
471
530
  * // ],
472
531
  * // ingressPortOverride: Number("int"),
@@ -87,6 +87,12 @@ declare const UpdateServicePrimaryTaskSetCommand_base: {
87
87
  * // loadBalancerName: "STRING_VALUE",
88
88
  * // containerName: "STRING_VALUE",
89
89
  * // containerPort: Number("int"),
90
+ * // advancedConfiguration: { // AdvancedConfiguration
91
+ * // alternateTargetGroupArn: "STRING_VALUE",
92
+ * // productionListenerRule: "STRING_VALUE",
93
+ * // testListenerRule: "STRING_VALUE",
94
+ * // roleArn: "STRING_VALUE",
95
+ * // },
90
96
  * // },
91
97
  * // ],
92
98
  * // serviceRegistries: [ // ServiceRegistries
@@ -89,6 +89,12 @@ declare const UpdateTaskSetCommand_base: {
89
89
  * // loadBalancerName: "STRING_VALUE",
90
90
  * // containerName: "STRING_VALUE",
91
91
  * // containerPort: Number("int"),
92
+ * // advancedConfiguration: { // AdvancedConfiguration
93
+ * // alternateTargetGroupArn: "STRING_VALUE",
94
+ * // productionListenerRule: "STRING_VALUE",
95
+ * // testListenerRule: "STRING_VALUE",
96
+ * // roleArn: "STRING_VALUE",
97
+ * // },
92
98
  * // },
93
99
  * // ],
94
100
  * // serviceRegistries: [ // ServiceRegistries