@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
package/dist-cjs/index.js CHANGED
@@ -57,7 +57,9 @@ __export(index_exports, {
57
57
  DeleteTaskDefinitionsCommand: () => DeleteTaskDefinitionsCommand,
58
58
  DeleteTaskSetCommand: () => DeleteTaskSetCommand,
59
59
  DeploymentControllerType: () => DeploymentControllerType,
60
+ DeploymentLifecycleHookStage: () => DeploymentLifecycleHookStage,
60
61
  DeploymentRolloutState: () => DeploymentRolloutState,
62
+ DeploymentStrategy: () => DeploymentStrategy,
61
63
  DeregisterContainerInstanceCommand: () => DeregisterContainerInstanceCommand,
62
64
  DeregisterTaskDefinitionCommand: () => DeregisterTaskDefinitionCommand,
63
65
  DescribeCapacityProvidersCommand: () => DescribeCapacityProvidersCommand,
@@ -134,6 +136,7 @@ __export(index_exports, {
134
136
  SchedulingStrategy: () => SchedulingStrategy,
135
137
  Scope: () => Scope,
136
138
  ServerException: () => ServerException,
139
+ ServiceDeploymentLifecycleStage: () => ServiceDeploymentLifecycleStage,
137
140
  ServiceDeploymentNotFoundException: () => ServiceDeploymentNotFoundException,
138
141
  ServiceDeploymentRollbackMonitorsStatus: () => ServiceDeploymentRollbackMonitorsStatus,
139
142
  ServiceDeploymentStatus: () => ServiceDeploymentStatus,
@@ -561,6 +564,19 @@ var AvailabilityZoneRebalancing = {
561
564
  DISABLED: "DISABLED",
562
565
  ENABLED: "ENABLED"
563
566
  };
567
+ var DeploymentLifecycleHookStage = {
568
+ POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
569
+ POST_SCALE_UP: "POST_SCALE_UP",
570
+ POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT",
571
+ PRE_SCALE_UP: "PRE_SCALE_UP",
572
+ PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT",
573
+ RECONCILE_SERVICE: "RECONCILE_SERVICE",
574
+ TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT"
575
+ };
576
+ var DeploymentStrategy = {
577
+ BLUE_GREEN: "BLUE_GREEN",
578
+ ROLLING: "ROLLING"
579
+ };
564
580
  var DeploymentControllerType = {
565
581
  CODE_DEPLOY: "CODE_DEPLOY",
566
582
  ECS: "ECS",
@@ -963,6 +979,18 @@ var ServiceDeploymentRollbackMonitorsStatus = {
963
979
  MONITORING_COMPLETE: "MONITORING_COMPLETE",
964
980
  TRIGGERED: "TRIGGERED"
965
981
  };
982
+ var ServiceDeploymentLifecycleStage = {
983
+ BAKE_TIME: "BAKE_TIME",
984
+ CLEAN_UP: "CLEAN_UP",
985
+ POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
986
+ POST_SCALE_UP: "POST_SCALE_UP",
987
+ POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT",
988
+ PRE_SCALE_UP: "PRE_SCALE_UP",
989
+ PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT",
990
+ RECONCILE_SERVICE: "RECONCILE_SERVICE",
991
+ SCALE_UP: "SCALE_UP",
992
+ TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT"
993
+ };
966
994
  var ServiceDeploymentStatus = {
967
995
  IN_PROGRESS: "IN_PROGRESS",
968
996
  PENDING: "PENDING",
@@ -1230,7 +1258,7 @@ var se_CreateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
1230
1258
  var se_CreateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
1231
1259
  const headers = sharedHeaders("CreateService");
1232
1260
  let body;
1233
- body = JSON.stringify((0, import_smithy_client._json)(input));
1261
+ body = JSON.stringify(se_CreateServiceRequest(input, context));
1234
1262
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1235
1263
  }, "se_CreateServiceCommand");
1236
1264
  var se_CreateTaskSetCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1554,7 +1582,7 @@ var se_UpdateContainerInstancesStateCommand = /* @__PURE__ */ __name(async (inpu
1554
1582
  var se_UpdateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
1555
1583
  const headers = sharedHeaders("UpdateService");
1556
1584
  let body;
1557
- body = JSON.stringify((0, import_smithy_client._json)(input));
1585
+ body = JSON.stringify(se_UpdateServiceRequest(input, context));
1558
1586
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1559
1587
  }, "se_UpdateServiceCommand");
1560
1588
  var se_UpdateServicePrimaryTaskSetCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -2701,6 +2729,36 @@ var se_CreatedAt = /* @__PURE__ */ __name((input, context) => {
2701
2729
  before: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "before")
2702
2730
  });
2703
2731
  }, "se_CreatedAt");
2732
+ var se_CreateServiceRequest = /* @__PURE__ */ __name((input, context) => {
2733
+ return (0, import_smithy_client.take)(input, {
2734
+ availabilityZoneRebalancing: [],
2735
+ capacityProviderStrategy: import_smithy_client._json,
2736
+ clientToken: [],
2737
+ cluster: [],
2738
+ deploymentConfiguration: /* @__PURE__ */ __name((_) => se_DeploymentConfiguration(_, context), "deploymentConfiguration"),
2739
+ deploymentController: import_smithy_client._json,
2740
+ desiredCount: [],
2741
+ enableECSManagedTags: [],
2742
+ enableExecuteCommand: [],
2743
+ healthCheckGracePeriodSeconds: [],
2744
+ launchType: [],
2745
+ loadBalancers: import_smithy_client._json,
2746
+ networkConfiguration: import_smithy_client._json,
2747
+ placementConstraints: import_smithy_client._json,
2748
+ placementStrategy: import_smithy_client._json,
2749
+ platformVersion: [],
2750
+ propagateTags: [],
2751
+ role: [],
2752
+ schedulingStrategy: [],
2753
+ serviceConnectConfiguration: import_smithy_client._json,
2754
+ serviceName: [],
2755
+ serviceRegistries: import_smithy_client._json,
2756
+ tags: import_smithy_client._json,
2757
+ taskDefinition: [],
2758
+ volumeConfigurations: import_smithy_client._json,
2759
+ vpcLatticeConfigurations: import_smithy_client._json
2760
+ });
2761
+ }, "se_CreateServiceRequest");
2704
2762
  var se_CreateTaskSetRequest = /* @__PURE__ */ __name((input, context) => {
2705
2763
  return (0, import_smithy_client.take)(input, {
2706
2764
  capacityProviderStrategy: import_smithy_client._json,
@@ -2718,6 +2776,33 @@ var se_CreateTaskSetRequest = /* @__PURE__ */ __name((input, context) => {
2718
2776
  taskDefinition: []
2719
2777
  });
2720
2778
  }, "se_CreateTaskSetRequest");
2779
+ var se_DeploymentConfiguration = /* @__PURE__ */ __name((input, context) => {
2780
+ return (0, import_smithy_client.take)(input, {
2781
+ alarms: import_smithy_client._json,
2782
+ bakeTimeInMinutes: [],
2783
+ deploymentCircuitBreaker: import_smithy_client._json,
2784
+ lifecycleHooks: /* @__PURE__ */ __name((_) => se_DeploymentLifecycleHookList(_, context), "lifecycleHooks"),
2785
+ maximumPercent: [],
2786
+ minimumHealthyPercent: [],
2787
+ strategy: []
2788
+ });
2789
+ }, "se_DeploymentConfiguration");
2790
+ var se_DeploymentLifecycleHook = /* @__PURE__ */ __name((input, context) => {
2791
+ return (0, import_smithy_client.take)(input, {
2792
+ hookDetails: /* @__PURE__ */ __name((_) => se_HookDetails(_, context), "hookDetails"),
2793
+ hookTargetArn: [],
2794
+ lifecycleStages: import_smithy_client._json,
2795
+ roleArn: []
2796
+ });
2797
+ }, "se_DeploymentLifecycleHook");
2798
+ var se_DeploymentLifecycleHookList = /* @__PURE__ */ __name((input, context) => {
2799
+ return input.filter((e) => e != null).map((entry) => {
2800
+ return se_DeploymentLifecycleHook(entry, context);
2801
+ });
2802
+ }, "se_DeploymentLifecycleHookList");
2803
+ var se_HookDetails = /* @__PURE__ */ __name((input, context) => {
2804
+ return input;
2805
+ }, "se_HookDetails");
2721
2806
  var se_ListServiceDeploymentsRequest = /* @__PURE__ */ __name((input, context) => {
2722
2807
  return (0, import_smithy_client.take)(input, {
2723
2808
  cluster: [],
@@ -2799,6 +2884,32 @@ var se_SubmitTaskStateChangeRequest = /* @__PURE__ */ __name((input, context) =>
2799
2884
  task: []
2800
2885
  });
2801
2886
  }, "se_SubmitTaskStateChangeRequest");
2887
+ var se_UpdateServiceRequest = /* @__PURE__ */ __name((input, context) => {
2888
+ return (0, import_smithy_client.take)(input, {
2889
+ availabilityZoneRebalancing: [],
2890
+ capacityProviderStrategy: import_smithy_client._json,
2891
+ cluster: [],
2892
+ deploymentConfiguration: /* @__PURE__ */ __name((_) => se_DeploymentConfiguration(_, context), "deploymentConfiguration"),
2893
+ deploymentController: import_smithy_client._json,
2894
+ desiredCount: [],
2895
+ enableECSManagedTags: [],
2896
+ enableExecuteCommand: [],
2897
+ forceNewDeployment: [],
2898
+ healthCheckGracePeriodSeconds: [],
2899
+ loadBalancers: import_smithy_client._json,
2900
+ networkConfiguration: import_smithy_client._json,
2901
+ placementConstraints: import_smithy_client._json,
2902
+ placementStrategy: import_smithy_client._json,
2903
+ platformVersion: [],
2904
+ propagateTags: [],
2905
+ service: [],
2906
+ serviceConnectConfiguration: import_smithy_client._json,
2907
+ serviceRegistries: import_smithy_client._json,
2908
+ taskDefinition: [],
2909
+ volumeConfigurations: import_smithy_client._json,
2910
+ vpcLatticeConfigurations: import_smithy_client._json
2911
+ });
2912
+ }, "se_UpdateServiceRequest");
2802
2913
  var se_UpdateTaskSetRequest = /* @__PURE__ */ __name((input, context) => {
2803
2914
  return (0, import_smithy_client.take)(input, {
2804
2915
  cluster: [],
@@ -2919,6 +3030,31 @@ var de_Deployment = /* @__PURE__ */ __name((output, context) => {
2919
3030
  vpcLatticeConfigurations: import_smithy_client._json
2920
3031
  });
2921
3032
  }, "de_Deployment");
3033
+ var de_DeploymentConfiguration = /* @__PURE__ */ __name((output, context) => {
3034
+ return (0, import_smithy_client.take)(output, {
3035
+ alarms: import_smithy_client._json,
3036
+ bakeTimeInMinutes: import_smithy_client.expectInt32,
3037
+ deploymentCircuitBreaker: import_smithy_client._json,
3038
+ lifecycleHooks: /* @__PURE__ */ __name((_) => de_DeploymentLifecycleHookList(_, context), "lifecycleHooks"),
3039
+ maximumPercent: import_smithy_client.expectInt32,
3040
+ minimumHealthyPercent: import_smithy_client.expectInt32,
3041
+ strategy: import_smithy_client.expectString
3042
+ });
3043
+ }, "de_DeploymentConfiguration");
3044
+ var de_DeploymentLifecycleHook = /* @__PURE__ */ __name((output, context) => {
3045
+ return (0, import_smithy_client.take)(output, {
3046
+ hookDetails: /* @__PURE__ */ __name((_) => de_HookDetails(_, context), "hookDetails"),
3047
+ hookTargetArn: import_smithy_client.expectString,
3048
+ lifecycleStages: import_smithy_client._json,
3049
+ roleArn: import_smithy_client.expectString
3050
+ });
3051
+ }, "de_DeploymentLifecycleHook");
3052
+ var de_DeploymentLifecycleHookList = /* @__PURE__ */ __name((output, context) => {
3053
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3054
+ return de_DeploymentLifecycleHook(entry, context);
3055
+ });
3056
+ return retVal;
3057
+ }, "de_DeploymentLifecycleHookList");
2922
3058
  var de_Deployments = /* @__PURE__ */ __name((output, context) => {
2923
3059
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2924
3060
  return de_Deployment(entry, context);
@@ -2983,6 +3119,9 @@ var de_GetTaskProtectionResponse = /* @__PURE__ */ __name((output, context) => {
2983
3119
  protectedTasks: /* @__PURE__ */ __name((_) => de_ProtectedTasks(_, context), "protectedTasks")
2984
3120
  });
2985
3121
  }, "de_GetTaskProtectionResponse");
3122
+ var de_HookDetails = /* @__PURE__ */ __name((output, context) => {
3123
+ return output;
3124
+ }, "de_HookDetails");
2986
3125
  var de_InstanceHealthCheckResult = /* @__PURE__ */ __name((output, context) => {
2987
3126
  return (0, import_smithy_client.take)(output, {
2988
3127
  lastStatusChange: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStatusChange"),
@@ -3083,7 +3222,7 @@ var de_Service = /* @__PURE__ */ __name((output, context) => {
3083
3222
  clusterArn: import_smithy_client.expectString,
3084
3223
  createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
3085
3224
  createdBy: import_smithy_client.expectString,
3086
- deploymentConfiguration: import_smithy_client._json,
3225
+ deploymentConfiguration: /* @__PURE__ */ __name((_) => de_DeploymentConfiguration(_, context), "deploymentConfiguration"),
3087
3226
  deploymentController: import_smithy_client._json,
3088
3227
  deployments: /* @__PURE__ */ __name((_) => de_Deployments(_, context), "deployments"),
3089
3228
  desiredCount: import_smithy_client.expectInt32,
@@ -3118,8 +3257,9 @@ var de_ServiceDeployment = /* @__PURE__ */ __name((output, context) => {
3118
3257
  clusterArn: import_smithy_client.expectString,
3119
3258
  createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
3120
3259
  deploymentCircuitBreaker: import_smithy_client._json,
3121
- deploymentConfiguration: import_smithy_client._json,
3260
+ deploymentConfiguration: /* @__PURE__ */ __name((_) => de_DeploymentConfiguration(_, context), "deploymentConfiguration"),
3122
3261
  finishedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "finishedAt"),
3262
+ lifecycleStage: import_smithy_client.expectString,
3123
3263
  rollback: /* @__PURE__ */ __name((_) => de_Rollback(_, context), "rollback"),
3124
3264
  serviceArn: import_smithy_client.expectString,
3125
3265
  serviceDeploymentArn: import_smithy_client.expectString,
@@ -3183,6 +3323,7 @@ var de_ServiceRevision = /* @__PURE__ */ __name((output, context) => {
3183
3323
  networkConfiguration: import_smithy_client._json,
3184
3324
  platformFamily: import_smithy_client.expectString,
3185
3325
  platformVersion: import_smithy_client.expectString,
3326
+ resolvedConfiguration: import_smithy_client._json,
3186
3327
  serviceArn: import_smithy_client.expectString,
3187
3328
  serviceConnectConfiguration: import_smithy_client._json,
3188
3329
  serviceRegistries: import_smithy_client._json,
@@ -4740,6 +4881,8 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
4740
4881
  NamespaceNotFoundException,
4741
4882
  ClusterNotFoundException,
4742
4883
  AvailabilityZoneRebalancing,
4884
+ DeploymentLifecycleHookStage,
4885
+ DeploymentStrategy,
4743
4886
  DeploymentControllerType,
4744
4887
  LaunchType,
4745
4888
  AssignPublicIp,
@@ -4793,6 +4936,7 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
4793
4936
  ClusterField,
4794
4937
  ContainerInstanceField,
4795
4938
  ServiceDeploymentRollbackMonitorsStatus,
4939
+ ServiceDeploymentLifecycleStage,
4796
4940
  ServiceDeploymentStatus,
4797
4941
  ServiceField,
4798
4942
  TaskDefinitionField,
@@ -140,6 +140,19 @@ export const AvailabilityZoneRebalancing = {
140
140
  DISABLED: "DISABLED",
141
141
  ENABLED: "ENABLED",
142
142
  };
143
+ export const DeploymentLifecycleHookStage = {
144
+ POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
145
+ POST_SCALE_UP: "POST_SCALE_UP",
146
+ POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT",
147
+ PRE_SCALE_UP: "PRE_SCALE_UP",
148
+ PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT",
149
+ RECONCILE_SERVICE: "RECONCILE_SERVICE",
150
+ TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT",
151
+ };
152
+ export const DeploymentStrategy = {
153
+ BLUE_GREEN: "BLUE_GREEN",
154
+ ROLLING: "ROLLING",
155
+ };
143
156
  export const DeploymentControllerType = {
144
157
  CODE_DEPLOY: "CODE_DEPLOY",
145
158
  ECS: "ECS",
@@ -482,6 +495,18 @@ export const ServiceDeploymentRollbackMonitorsStatus = {
482
495
  MONITORING_COMPLETE: "MONITORING_COMPLETE",
483
496
  TRIGGERED: "TRIGGERED",
484
497
  };
498
+ export const ServiceDeploymentLifecycleStage = {
499
+ BAKE_TIME: "BAKE_TIME",
500
+ CLEAN_UP: "CLEAN_UP",
501
+ POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
502
+ POST_SCALE_UP: "POST_SCALE_UP",
503
+ POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT",
504
+ PRE_SCALE_UP: "PRE_SCALE_UP",
505
+ PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT",
506
+ RECONCILE_SERVICE: "RECONCILE_SERVICE",
507
+ SCALE_UP: "SCALE_UP",
508
+ TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT",
509
+ };
485
510
  export const ServiceDeploymentStatus = {
486
511
  IN_PROGRESS: "IN_PROGRESS",
487
512
  PENDING: "PENDING",
@@ -20,7 +20,7 @@ export const se_CreateClusterCommand = async (input, context) => {
20
20
  export const se_CreateServiceCommand = async (input, context) => {
21
21
  const headers = sharedHeaders("CreateService");
22
22
  let body;
23
- body = JSON.stringify(_json(input));
23
+ body = JSON.stringify(se_CreateServiceRequest(input, context));
24
24
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
25
25
  };
26
26
  export const se_CreateTaskSetCommand = async (input, context) => {
@@ -344,7 +344,7 @@ export const se_UpdateContainerInstancesStateCommand = async (input, context) =>
344
344
  export const se_UpdateServiceCommand = async (input, context) => {
345
345
  const headers = sharedHeaders("UpdateService");
346
346
  let body;
347
- body = JSON.stringify(_json(input));
347
+ body = JSON.stringify(se_UpdateServiceRequest(input, context));
348
348
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
349
349
  };
350
350
  export const se_UpdateServicePrimaryTaskSetCommand = async (input, context) => {
@@ -1491,6 +1491,36 @@ const se_CreatedAt = (input, context) => {
1491
1491
  before: (_) => _.getTime() / 1_000,
1492
1492
  });
1493
1493
  };
1494
+ const se_CreateServiceRequest = (input, context) => {
1495
+ return take(input, {
1496
+ availabilityZoneRebalancing: [],
1497
+ capacityProviderStrategy: _json,
1498
+ clientToken: [],
1499
+ cluster: [],
1500
+ deploymentConfiguration: (_) => se_DeploymentConfiguration(_, context),
1501
+ deploymentController: _json,
1502
+ desiredCount: [],
1503
+ enableECSManagedTags: [],
1504
+ enableExecuteCommand: [],
1505
+ healthCheckGracePeriodSeconds: [],
1506
+ launchType: [],
1507
+ loadBalancers: _json,
1508
+ networkConfiguration: _json,
1509
+ placementConstraints: _json,
1510
+ placementStrategy: _json,
1511
+ platformVersion: [],
1512
+ propagateTags: [],
1513
+ role: [],
1514
+ schedulingStrategy: [],
1515
+ serviceConnectConfiguration: _json,
1516
+ serviceName: [],
1517
+ serviceRegistries: _json,
1518
+ tags: _json,
1519
+ taskDefinition: [],
1520
+ volumeConfigurations: _json,
1521
+ vpcLatticeConfigurations: _json,
1522
+ });
1523
+ };
1494
1524
  const se_CreateTaskSetRequest = (input, context) => {
1495
1525
  return take(input, {
1496
1526
  capacityProviderStrategy: _json,
@@ -1508,6 +1538,35 @@ const se_CreateTaskSetRequest = (input, context) => {
1508
1538
  taskDefinition: [],
1509
1539
  });
1510
1540
  };
1541
+ const se_DeploymentConfiguration = (input, context) => {
1542
+ return take(input, {
1543
+ alarms: _json,
1544
+ bakeTimeInMinutes: [],
1545
+ deploymentCircuitBreaker: _json,
1546
+ lifecycleHooks: (_) => se_DeploymentLifecycleHookList(_, context),
1547
+ maximumPercent: [],
1548
+ minimumHealthyPercent: [],
1549
+ strategy: [],
1550
+ });
1551
+ };
1552
+ const se_DeploymentLifecycleHook = (input, context) => {
1553
+ return take(input, {
1554
+ hookDetails: (_) => se_HookDetails(_, context),
1555
+ hookTargetArn: [],
1556
+ lifecycleStages: _json,
1557
+ roleArn: [],
1558
+ });
1559
+ };
1560
+ const se_DeploymentLifecycleHookList = (input, context) => {
1561
+ return input
1562
+ .filter((e) => e != null)
1563
+ .map((entry) => {
1564
+ return se_DeploymentLifecycleHook(entry, context);
1565
+ });
1566
+ };
1567
+ const se_HookDetails = (input, context) => {
1568
+ return input;
1569
+ };
1511
1570
  const se_ListServiceDeploymentsRequest = (input, context) => {
1512
1571
  return take(input, {
1513
1572
  cluster: [],
@@ -1591,6 +1650,32 @@ const se_SubmitTaskStateChangeRequest = (input, context) => {
1591
1650
  task: [],
1592
1651
  });
1593
1652
  };
1653
+ const se_UpdateServiceRequest = (input, context) => {
1654
+ return take(input, {
1655
+ availabilityZoneRebalancing: [],
1656
+ capacityProviderStrategy: _json,
1657
+ cluster: [],
1658
+ deploymentConfiguration: (_) => se_DeploymentConfiguration(_, context),
1659
+ deploymentController: _json,
1660
+ desiredCount: [],
1661
+ enableECSManagedTags: [],
1662
+ enableExecuteCommand: [],
1663
+ forceNewDeployment: [],
1664
+ healthCheckGracePeriodSeconds: [],
1665
+ loadBalancers: _json,
1666
+ networkConfiguration: _json,
1667
+ placementConstraints: _json,
1668
+ placementStrategy: _json,
1669
+ platformVersion: [],
1670
+ propagateTags: [],
1671
+ service: [],
1672
+ serviceConnectConfiguration: _json,
1673
+ serviceRegistries: _json,
1674
+ taskDefinition: [],
1675
+ volumeConfigurations: _json,
1676
+ vpcLatticeConfigurations: _json,
1677
+ });
1678
+ };
1594
1679
  const se_UpdateTaskSetRequest = (input, context) => {
1595
1680
  return take(input, {
1596
1681
  cluster: [],
@@ -1715,6 +1800,33 @@ const de_Deployment = (output, context) => {
1715
1800
  vpcLatticeConfigurations: _json,
1716
1801
  });
1717
1802
  };
1803
+ const de_DeploymentConfiguration = (output, context) => {
1804
+ return take(output, {
1805
+ alarms: _json,
1806
+ bakeTimeInMinutes: __expectInt32,
1807
+ deploymentCircuitBreaker: _json,
1808
+ lifecycleHooks: (_) => de_DeploymentLifecycleHookList(_, context),
1809
+ maximumPercent: __expectInt32,
1810
+ minimumHealthyPercent: __expectInt32,
1811
+ strategy: __expectString,
1812
+ });
1813
+ };
1814
+ const de_DeploymentLifecycleHook = (output, context) => {
1815
+ return take(output, {
1816
+ hookDetails: (_) => de_HookDetails(_, context),
1817
+ hookTargetArn: __expectString,
1818
+ lifecycleStages: _json,
1819
+ roleArn: __expectString,
1820
+ });
1821
+ };
1822
+ const de_DeploymentLifecycleHookList = (output, context) => {
1823
+ const retVal = (output || [])
1824
+ .filter((e) => e != null)
1825
+ .map((entry) => {
1826
+ return de_DeploymentLifecycleHook(entry, context);
1827
+ });
1828
+ return retVal;
1829
+ };
1718
1830
  const de_Deployments = (output, context) => {
1719
1831
  const retVal = (output || [])
1720
1832
  .filter((e) => e != null)
@@ -1781,6 +1893,9 @@ const de_GetTaskProtectionResponse = (output, context) => {
1781
1893
  protectedTasks: (_) => de_ProtectedTasks(_, context),
1782
1894
  });
1783
1895
  };
1896
+ const de_HookDetails = (output, context) => {
1897
+ return output;
1898
+ };
1784
1899
  const de_InstanceHealthCheckResult = (output, context) => {
1785
1900
  return take(output, {
1786
1901
  lastStatusChange: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -1889,7 +2004,7 @@ const de_Service = (output, context) => {
1889
2004
  clusterArn: __expectString,
1890
2005
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1891
2006
  createdBy: __expectString,
1892
- deploymentConfiguration: _json,
2007
+ deploymentConfiguration: (_) => de_DeploymentConfiguration(_, context),
1893
2008
  deploymentController: _json,
1894
2009
  deployments: (_) => de_Deployments(_, context),
1895
2010
  desiredCount: __expectInt32,
@@ -1924,8 +2039,9 @@ const de_ServiceDeployment = (output, context) => {
1924
2039
  clusterArn: __expectString,
1925
2040
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1926
2041
  deploymentCircuitBreaker: _json,
1927
- deploymentConfiguration: _json,
2042
+ deploymentConfiguration: (_) => de_DeploymentConfiguration(_, context),
1928
2043
  finishedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2044
+ lifecycleStage: __expectString,
1929
2045
  rollback: (_) => de_Rollback(_, context),
1930
2046
  serviceArn: __expectString,
1931
2047
  serviceDeploymentArn: __expectString,
@@ -1995,6 +2111,7 @@ const de_ServiceRevision = (output, context) => {
1995
2111
  networkConfiguration: _json,
1996
2112
  platformFamily: __expectString,
1997
2113
  platformVersion: __expectString,
2114
+ resolvedConfiguration: _json,
1998
2115
  serviceArn: __expectString,
1999
2116
  serviceConnectConfiguration: _json,
2000
2117
  serviceRegistries: _json,