@aws-sdk/client-ecs 3.791.0 → 3.796.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -567,6 +567,14 @@ StartTask
567
567
 
568
568
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/StartTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/StartTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/StartTaskCommandOutput/)
569
569
 
570
+ </details>
571
+ <details>
572
+ <summary>
573
+ StopServiceDeployment
574
+ </summary>
575
+
576
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/StopServiceDeploymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/StopServiceDeploymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/StopServiceDeploymentCommandOutput/)
577
+
570
578
  </details>
571
579
  <details>
572
580
  <summary>
package/dist-cjs/index.js CHANGED
@@ -134,6 +134,7 @@ __export(index_exports, {
134
134
  SchedulingStrategy: () => SchedulingStrategy,
135
135
  Scope: () => Scope,
136
136
  ServerException: () => ServerException,
137
+ ServiceDeploymentNotFoundException: () => ServiceDeploymentNotFoundException,
137
138
  ServiceDeploymentRollbackMonitorsStatus: () => ServiceDeploymentRollbackMonitorsStatus,
138
139
  ServiceDeploymentStatus: () => ServiceDeploymentStatus,
139
140
  ServiceField: () => ServiceField,
@@ -145,6 +146,8 @@ __export(index_exports, {
145
146
  SortOrder: () => SortOrder,
146
147
  StabilityStatus: () => StabilityStatus,
147
148
  StartTaskCommand: () => StartTaskCommand,
149
+ StopServiceDeploymentCommand: () => StopServiceDeploymentCommand,
150
+ StopServiceDeploymentStopType: () => StopServiceDeploymentStopType,
148
151
  StopTaskCommand: () => StopTaskCommand,
149
152
  SubmitAttachmentStateChangesCommand: () => SubmitAttachmentStateChangesCommand,
150
153
  SubmitContainerStateChangeCommand: () => SubmitContainerStateChangeCommand,
@@ -963,6 +966,7 @@ var ServiceDeploymentStatus = {
963
966
  PENDING: "PENDING",
964
967
  ROLLBACK_FAILED: "ROLLBACK_FAILED",
965
968
  ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
969
+ ROLLBACK_REQUESTED: "ROLLBACK_REQUESTED",
966
970
  ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL",
967
971
  STOPPED: "STOPPED",
968
972
  STOP_REQUESTED: "STOP_REQUESTED",
@@ -1139,6 +1143,28 @@ var ConflictException = class _ConflictException extends ECSServiceException {
1139
1143
  this.resourceIds = opts.resourceIds;
1140
1144
  }
1141
1145
  };
1146
+ var ServiceDeploymentNotFoundException = class _ServiceDeploymentNotFoundException extends ECSServiceException {
1147
+ static {
1148
+ __name(this, "ServiceDeploymentNotFoundException");
1149
+ }
1150
+ name = "ServiceDeploymentNotFoundException";
1151
+ $fault = "client";
1152
+ /**
1153
+ * @internal
1154
+ */
1155
+ constructor(opts) {
1156
+ super({
1157
+ name: "ServiceDeploymentNotFoundException",
1158
+ $fault: "client",
1159
+ ...opts
1160
+ });
1161
+ Object.setPrototypeOf(this, _ServiceDeploymentNotFoundException.prototype);
1162
+ }
1163
+ };
1164
+ var StopServiceDeploymentStopType = {
1165
+ ABORT: "ABORT",
1166
+ ROLLBACK: "ROLLBACK"
1167
+ };
1142
1168
  var SessionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1143
1169
  ...obj,
1144
1170
  ...obj.tokenValue && { tokenValue: import_smithy_client.SENSITIVE_STRING }
@@ -1451,6 +1477,12 @@ var se_StartTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
1451
1477
  body = JSON.stringify((0, import_smithy_client._json)(input));
1452
1478
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1453
1479
  }, "se_StartTaskCommand");
1480
+ var se_StopServiceDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
1481
+ const headers = sharedHeaders("StopServiceDeployment");
1482
+ let body;
1483
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1484
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1485
+ }, "se_StopServiceDeploymentCommand");
1454
1486
  var se_StopTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
1455
1487
  const headers = sharedHeaders("StopTask");
1456
1488
  let body;
@@ -2113,6 +2145,19 @@ var de_StartTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
2113
2145
  };
2114
2146
  return response;
2115
2147
  }, "de_StartTaskCommand");
2148
+ var de_StopServiceDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
2149
+ if (output.statusCode >= 300) {
2150
+ return de_CommandError(output, context);
2151
+ }
2152
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2153
+ let contents = {};
2154
+ contents = (0, import_smithy_client._json)(data);
2155
+ const response = {
2156
+ $metadata: deserializeMetadata(output),
2157
+ ...contents
2158
+ };
2159
+ return response;
2160
+ }, "de_StopServiceDeploymentCommand");
2116
2161
  var de_StopTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
2117
2162
  if (output.statusCode >= 300) {
2118
2163
  return de_CommandError(output, context);
@@ -2387,6 +2432,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2387
2432
  case "ConflictException":
2388
2433
  case "com.amazonaws.ecs#ConflictException":
2389
2434
  throw await de_ConflictExceptionRes(parsedOutput, context);
2435
+ case "ServiceDeploymentNotFoundException":
2436
+ case "com.amazonaws.ecs#ServiceDeploymentNotFoundException":
2437
+ throw await de_ServiceDeploymentNotFoundExceptionRes(parsedOutput, context);
2390
2438
  case "MissingVersionException":
2391
2439
  case "com.amazonaws.ecs#MissingVersionException":
2392
2440
  throw await de_MissingVersionExceptionRes(parsedOutput, context);
@@ -2573,6 +2621,15 @@ var de_ServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context)
2573
2621
  });
2574
2622
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2575
2623
  }, "de_ServerExceptionRes");
2624
+ var de_ServiceDeploymentNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2625
+ const body = parsedOutput.body;
2626
+ const deserialized = (0, import_smithy_client._json)(body);
2627
+ const exception = new ServiceDeploymentNotFoundException({
2628
+ $metadata: deserializeMetadata(parsedOutput),
2629
+ ...deserialized
2630
+ });
2631
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2632
+ }, "de_ServiceDeploymentNotFoundExceptionRes");
2576
2633
  var de_ServiceNotActiveExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2577
2634
  const body = parsedOutput.body;
2578
2635
  const deserialized = (0, import_smithy_client._json)(body);
@@ -3995,6 +4052,21 @@ var StartTaskCommand = class extends import_smithy_client.Command.classBuilder()
3995
4052
  }
3996
4053
  };
3997
4054
 
4055
+ // src/commands/StopServiceDeploymentCommand.ts
4056
+
4057
+
4058
+
4059
+ var StopServiceDeploymentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4060
+ return [
4061
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4062
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4063
+ ];
4064
+ }).s("AmazonEC2ContainerServiceV20141113", "StopServiceDeployment", {}).n("ECSClient", "StopServiceDeploymentCommand").f(void 0, void 0).ser(se_StopServiceDeploymentCommand).de(de_StopServiceDeploymentCommand).build() {
4065
+ static {
4066
+ __name(this, "StopServiceDeploymentCommand");
4067
+ }
4068
+ };
4069
+
3998
4070
  // src/commands/StopTaskCommand.ts
3999
4071
 
4000
4072
 
@@ -4266,6 +4338,7 @@ var commands = {
4266
4338
  RegisterTaskDefinitionCommand,
4267
4339
  RunTaskCommand,
4268
4340
  StartTaskCommand,
4341
+ StopServiceDeploymentCommand,
4269
4342
  StopTaskCommand,
4270
4343
  SubmitAttachmentStateChangesCommand,
4271
4344
  SubmitContainerStateChangeCommand,
@@ -4615,6 +4688,7 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
4615
4688
  RegisterTaskDefinitionCommand,
4616
4689
  RunTaskCommand,
4617
4690
  StartTaskCommand,
4691
+ StopServiceDeploymentCommand,
4618
4692
  StopTaskCommand,
4619
4693
  SubmitAttachmentStateChangesCommand,
4620
4694
  SubmitContainerStateChangeCommand,
@@ -4737,6 +4811,8 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
4737
4811
  PlatformDeviceType,
4738
4812
  BlockedException,
4739
4813
  ConflictException,
4814
+ ServiceDeploymentNotFoundException,
4815
+ StopServiceDeploymentStopType,
4740
4816
  SessionFilterSensitiveLog,
4741
4817
  ExecuteCommandResponseFilterSensitiveLog,
4742
4818
  MissingVersionException,
package/dist-es/ECS.js CHANGED
@@ -43,6 +43,7 @@ import { RegisterContainerInstanceCommand, } from "./commands/RegisterContainerI
43
43
  import { RegisterTaskDefinitionCommand, } from "./commands/RegisterTaskDefinitionCommand";
44
44
  import { RunTaskCommand } from "./commands/RunTaskCommand";
45
45
  import { StartTaskCommand } from "./commands/StartTaskCommand";
46
+ import { StopServiceDeploymentCommand, } from "./commands/StopServiceDeploymentCommand";
46
47
  import { StopTaskCommand } from "./commands/StopTaskCommand";
47
48
  import { SubmitAttachmentStateChangesCommand, } from "./commands/SubmitAttachmentStateChangesCommand";
48
49
  import { SubmitContainerStateChangeCommand, } from "./commands/SubmitContainerStateChangeCommand";
@@ -104,6 +105,7 @@ const commands = {
104
105
  RegisterTaskDefinitionCommand,
105
106
  RunTaskCommand,
106
107
  StartTaskCommand,
108
+ StopServiceDeploymentCommand,
107
109
  StopTaskCommand,
108
110
  SubmitAttachmentStateChangesCommand,
109
111
  SubmitContainerStateChangeCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StopServiceDeploymentCommand, se_StopServiceDeploymentCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class StopServiceDeploymentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2ContainerServiceV20141113", "StopServiceDeployment", {})
17
+ .n("ECSClient", "StopServiceDeploymentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StopServiceDeploymentCommand)
20
+ .de(de_StopServiceDeploymentCommand)
21
+ .build() {
22
+ }
@@ -42,6 +42,7 @@ export * from "./RegisterContainerInstanceCommand";
42
42
  export * from "./RegisterTaskDefinitionCommand";
43
43
  export * from "./RunTaskCommand";
44
44
  export * from "./StartTaskCommand";
45
+ export * from "./StopServiceDeploymentCommand";
45
46
  export * from "./StopTaskCommand";
46
47
  export * from "./SubmitAttachmentStateChangesCommand";
47
48
  export * from "./SubmitContainerStateChangeCommand";
@@ -485,6 +485,7 @@ export const ServiceDeploymentStatus = {
485
485
  PENDING: "PENDING",
486
486
  ROLLBACK_FAILED: "ROLLBACK_FAILED",
487
487
  ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
488
+ ROLLBACK_REQUESTED: "ROLLBACK_REQUESTED",
488
489
  ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL",
489
490
  STOPPED: "STOPPED",
490
491
  STOP_REQUESTED: "STOP_REQUESTED",
@@ -620,6 +621,22 @@ export class ConflictException extends __BaseException {
620
621
  this.resourceIds = opts.resourceIds;
621
622
  }
622
623
  }
624
+ export class ServiceDeploymentNotFoundException extends __BaseException {
625
+ name = "ServiceDeploymentNotFoundException";
626
+ $fault = "client";
627
+ constructor(opts) {
628
+ super({
629
+ name: "ServiceDeploymentNotFoundException",
630
+ $fault: "client",
631
+ ...opts,
632
+ });
633
+ Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
634
+ }
635
+ }
636
+ export const StopServiceDeploymentStopType = {
637
+ ABORT: "ABORT",
638
+ ROLLBACK: "ROLLBACK",
639
+ };
623
640
  export const SessionFilterSensitiveLog = (obj) => ({
624
641
  ...obj,
625
642
  ...(obj.tokenValue && { tokenValue: SENSITIVE_STRING }),
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { ECSServiceException as __BaseException } from "../models/ECSServiceException";
6
- import { AccessDeniedException, AttributeLimitExceededException, BlockedException, ClientException, ClusterContainsContainerInstancesException, ClusterContainsServicesException, ClusterContainsTasksException, ClusterNotFoundException, ConflictException, InvalidParameterException, LimitExceededException, NamespaceNotFoundException, PlatformTaskDefinitionIncompatibilityException, PlatformUnknownException, ResourceInUseException, ResourceNotFoundException, ServerException, ServiceNotActiveException, ServiceNotFoundException, TargetNotConnectedException, TargetNotFoundException, TaskSetNotFoundException, UnsupportedFeatureException, UpdateInProgressException, } from "../models/models_0";
6
+ import { AccessDeniedException, AttributeLimitExceededException, BlockedException, ClientException, ClusterContainsContainerInstancesException, ClusterContainsServicesException, ClusterContainsTasksException, ClusterNotFoundException, ConflictException, InvalidParameterException, LimitExceededException, NamespaceNotFoundException, PlatformTaskDefinitionIncompatibilityException, PlatformUnknownException, ResourceInUseException, ResourceNotFoundException, ServerException, ServiceDeploymentNotFoundException, ServiceNotActiveException, ServiceNotFoundException, TargetNotConnectedException, TargetNotFoundException, TaskSetNotFoundException, UnsupportedFeatureException, UpdateInProgressException, } from "../models/models_0";
7
7
  import { MissingVersionException, NoUpdateAvailableException, } from "../models/models_1";
8
8
  export const se_CreateCapacityProviderCommand = async (input, context) => {
9
9
  const headers = sharedHeaders("CreateCapacityProvider");
@@ -269,6 +269,12 @@ export const se_StartTaskCommand = async (input, context) => {
269
269
  body = JSON.stringify(_json(input));
270
270
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
271
271
  };
272
+ export const se_StopServiceDeploymentCommand = async (input, context) => {
273
+ const headers = sharedHeaders("StopServiceDeployment");
274
+ let body;
275
+ body = JSON.stringify(_json(input));
276
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
277
+ };
272
278
  export const se_StopTaskCommand = async (input, context) => {
273
279
  const headers = sharedHeaders("StopTask");
274
280
  let body;
@@ -931,6 +937,19 @@ export const de_StartTaskCommand = async (output, context) => {
931
937
  };
932
938
  return response;
933
939
  };
940
+ export const de_StopServiceDeploymentCommand = async (output, context) => {
941
+ if (output.statusCode >= 300) {
942
+ return de_CommandError(output, context);
943
+ }
944
+ const data = await parseBody(output.body, context);
945
+ let contents = {};
946
+ contents = _json(data);
947
+ const response = {
948
+ $metadata: deserializeMetadata(output),
949
+ ...contents,
950
+ };
951
+ return response;
952
+ };
934
953
  export const de_StopTaskCommand = async (output, context) => {
935
954
  if (output.statusCode >= 300) {
936
955
  return de_CommandError(output, context);
@@ -1205,6 +1224,9 @@ const de_CommandError = async (output, context) => {
1205
1224
  case "ConflictException":
1206
1225
  case "com.amazonaws.ecs#ConflictException":
1207
1226
  throw await de_ConflictExceptionRes(parsedOutput, context);
1227
+ case "ServiceDeploymentNotFoundException":
1228
+ case "com.amazonaws.ecs#ServiceDeploymentNotFoundException":
1229
+ throw await de_ServiceDeploymentNotFoundExceptionRes(parsedOutput, context);
1208
1230
  case "MissingVersionException":
1209
1231
  case "com.amazonaws.ecs#MissingVersionException":
1210
1232
  throw await de_MissingVersionExceptionRes(parsedOutput, context);
@@ -1391,6 +1413,15 @@ const de_ServerExceptionRes = async (parsedOutput, context) => {
1391
1413
  });
1392
1414
  return __decorateServiceException(exception, body);
1393
1415
  };
1416
+ const de_ServiceDeploymentNotFoundExceptionRes = async (parsedOutput, context) => {
1417
+ const body = parsedOutput.body;
1418
+ const deserialized = _json(body);
1419
+ const exception = new ServiceDeploymentNotFoundException({
1420
+ $metadata: deserializeMetadata(parsedOutput),
1421
+ ...deserialized,
1422
+ });
1423
+ return __decorateServiceException(exception, body);
1424
+ };
1394
1425
  const de_ServiceNotActiveExceptionRes = async (parsedOutput, context) => {
1395
1426
  const body = parsedOutput.body;
1396
1427
  const deserialized = _json(body);
@@ -43,6 +43,7 @@ import { RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommand
43
43
  import { RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput } from "./commands/RegisterTaskDefinitionCommand";
44
44
  import { RunTaskCommandInput, RunTaskCommandOutput } from "./commands/RunTaskCommand";
45
45
  import { StartTaskCommandInput, StartTaskCommandOutput } from "./commands/StartTaskCommand";
46
+ import { StopServiceDeploymentCommandInput, StopServiceDeploymentCommandOutput } from "./commands/StopServiceDeploymentCommand";
46
47
  import { StopTaskCommandInput, StopTaskCommandOutput } from "./commands/StopTaskCommand";
47
48
  import { SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput } from "./commands/SubmitAttachmentStateChangesCommand";
48
49
  import { SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput } from "./commands/SubmitContainerStateChangeCommand";
@@ -336,6 +337,12 @@ export interface ECS {
336
337
  startTask(args: StartTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartTaskCommandOutput>;
337
338
  startTask(args: StartTaskCommandInput, cb: (err: any, data?: StartTaskCommandOutput) => void): void;
338
339
  startTask(args: StartTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTaskCommandOutput) => void): void;
340
+ /**
341
+ * @see {@link StopServiceDeploymentCommand}
342
+ */
343
+ stopServiceDeployment(args: StopServiceDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<StopServiceDeploymentCommandOutput>;
344
+ stopServiceDeployment(args: StopServiceDeploymentCommandInput, cb: (err: any, data?: StopServiceDeploymentCommandOutput) => void): void;
345
+ stopServiceDeployment(args: StopServiceDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopServiceDeploymentCommandOutput) => void): void;
339
346
  /**
340
347
  * @see {@link StopTaskCommand}
341
348
  */
@@ -51,6 +51,7 @@ import { RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommand
51
51
  import { RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput } from "./commands/RegisterTaskDefinitionCommand";
52
52
  import { RunTaskCommandInput, RunTaskCommandOutput } from "./commands/RunTaskCommand";
53
53
  import { StartTaskCommandInput, StartTaskCommandOutput } from "./commands/StartTaskCommand";
54
+ import { StopServiceDeploymentCommandInput, StopServiceDeploymentCommandOutput } from "./commands/StopServiceDeploymentCommand";
54
55
  import { StopTaskCommandInput, StopTaskCommandOutput } from "./commands/StopTaskCommand";
55
56
  import { SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput } from "./commands/SubmitAttachmentStateChangesCommand";
56
57
  import { SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput } from "./commands/SubmitContainerStateChangeCommand";
@@ -72,11 +73,11 @@ export { __Client };
72
73
  /**
73
74
  * @public
74
75
  */
75
- export type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
76
+ export type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
76
77
  /**
77
78
  * @public
78
79
  */
79
- export type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
80
+ export type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
80
81
  /**
81
82
  * @public
82
83
  */
@@ -68,7 +68,7 @@ declare const DescribeServiceDeploymentsCommand_base: {
68
68
  * // runningTaskCount: Number("int"),
69
69
  * // pendingTaskCount: Number("int"),
70
70
  * // },
71
- * // status: "PENDING" || "SUCCESSFUL" || "STOPPED" || "STOP_REQUESTED" || "IN_PROGRESS" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_SUCCESSFUL" || "ROLLBACK_FAILED",
71
+ * // status: "PENDING" || "SUCCESSFUL" || "STOPPED" || "STOP_REQUESTED" || "IN_PROGRESS" || "ROLLBACK_REQUESTED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_SUCCESSFUL" || "ROLLBACK_FAILED",
72
72
  * // statusReason: "STRING_VALUE",
73
73
  * // deploymentConfiguration: { // DeploymentConfiguration
74
74
  * // deploymentCircuitBreaker: { // DeploymentCircuitBreaker
@@ -43,7 +43,7 @@ declare const ListServiceDeploymentsCommand_base: {
43
43
  * service: "STRING_VALUE", // required
44
44
  * cluster: "STRING_VALUE",
45
45
  * status: [ // ServiceDeploymentStatusList
46
- * "PENDING" || "SUCCESSFUL" || "STOPPED" || "STOP_REQUESTED" || "IN_PROGRESS" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_SUCCESSFUL" || "ROLLBACK_FAILED",
46
+ * "PENDING" || "SUCCESSFUL" || "STOPPED" || "STOP_REQUESTED" || "IN_PROGRESS" || "ROLLBACK_REQUESTED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_SUCCESSFUL" || "ROLLBACK_FAILED",
47
47
  * ],
48
48
  * createdAt: { // CreatedAt
49
49
  * before: new Date("TIMESTAMP"),
@@ -64,7 +64,7 @@ declare const ListServiceDeploymentsCommand_base: {
64
64
  * // createdAt: new Date("TIMESTAMP"),
65
65
  * // finishedAt: new Date("TIMESTAMP"),
66
66
  * // targetServiceRevisionArn: "STRING_VALUE",
67
- * // status: "PENDING" || "SUCCESSFUL" || "STOPPED" || "STOP_REQUESTED" || "IN_PROGRESS" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_SUCCESSFUL" || "ROLLBACK_FAILED",
67
+ * // status: "PENDING" || "SUCCESSFUL" || "STOPPED" || "STOP_REQUESTED" || "IN_PROGRESS" || "ROLLBACK_REQUESTED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_SUCCESSFUL" || "ROLLBACK_FAILED",
68
68
  * // statusReason: "STRING_VALUE",
69
69
  * // },
70
70
  * // ],
@@ -63,6 +63,20 @@ declare const RunTaskCommand_base: {
63
63
  * minutes of wait time.</p>
64
64
  * </li>
65
65
  * </ul>
66
+ * <p>If you get a <code>ConflictException</code> error, the <code>RunTask</code> request could
67
+ * not be processed due to conflicts. The provided <code>clientToken</code> is already in
68
+ * use with a different <code>RunTask</code> request. The <code>resourceIds</code> are the
69
+ * existing task ARNs which are already associated with the <code>clientToken</code>. </p>
70
+ * <p>To fix this issue:</p>
71
+ * <ul>
72
+ * <li>
73
+ * <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
77
+ * set of parameters</p>
78
+ * </li>
79
+ * </ul>
66
80
  * @example
67
81
  * Use a bare-bones client and the command you need to make an API call.
68
82
  * ```javascript
@@ -402,20 +416,7 @@ declare const RunTaskCommand_base: {
402
416
  * <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
403
417
  *
404
418
  * @throws {@link ConflictException} (client fault)
405
- * <p>The <code>RunTask</code> request could not be processed due to conflicts. The provided
406
- * <code>clientToken</code> is already in use with a different <code>RunTask</code>
407
- * request. The <code>resourceIds</code> are the existing task ARNs which are already
408
- * associated with the <code>clientToken</code>. </p>
409
- * <p>To fix this issue:</p>
410
- * <ul>
411
- * <li>
412
- * <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
413
- * </li>
414
- * <li>
415
- * <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
416
- * set of parameters</p>
417
- * </li>
418
- * </ul>
419
+ * <p>The request could not be processed because of conflict in the current state of the resource. </p>
419
420
  *
420
421
  * @throws {@link InvalidParameterException} (client fault)
421
422
  * <p>The specified parameter isn't valid. Review the available parameters for the API
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
+ import { StopServiceDeploymentRequest, StopServiceDeploymentResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopServiceDeploymentCommand}.
14
+ */
15
+ export interface StopServiceDeploymentCommandInput extends StopServiceDeploymentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopServiceDeploymentCommand}.
21
+ */
22
+ export interface StopServiceDeploymentCommandOutput extends StopServiceDeploymentResponse, __MetadataBearer {
23
+ }
24
+ declare const StopServiceDeploymentCommand_base: {
25
+ new (input: StopServiceDeploymentCommandInput): import("@smithy/smithy-client").CommandImpl<StopServiceDeploymentCommandInput, StopServiceDeploymentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StopServiceDeploymentCommandInput): import("@smithy/smithy-client").CommandImpl<StopServiceDeploymentCommandInput, StopServiceDeploymentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Stops an ongoing service deployment.</p>
31
+ * <note>
32
+ * <p>StopServiceDeployment isn't currently supported.</p>
33
+ * </note>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { ECSClient, StopServiceDeploymentCommand } from "@aws-sdk/client-ecs"; // ES Modules import
38
+ * // const { ECSClient, StopServiceDeploymentCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
39
+ * const client = new ECSClient(config);
40
+ * const input = { // StopServiceDeploymentRequest
41
+ * serviceDeploymentArn: "STRING_VALUE", // required
42
+ * stopType: "ABORT" || "ROLLBACK",
43
+ * };
44
+ * const command = new StopServiceDeploymentCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // StopServiceDeploymentResponse
47
+ * // serviceDeploymentArn: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param StopServiceDeploymentCommandInput - {@link StopServiceDeploymentCommandInput}
53
+ * @returns {@link StopServiceDeploymentCommandOutput}
54
+ * @see {@link StopServiceDeploymentCommandInput} for command's `input` shape.
55
+ * @see {@link StopServiceDeploymentCommandOutput} for command's `response` shape.
56
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You don't have authorization to perform the requested action.</p>
60
+ *
61
+ * @throws {@link ClientException} (client fault)
62
+ * <p>These errors are usually caused by a client action. This client action might be using
63
+ * an action or resource on behalf of a user that doesn't have permissions to use the
64
+ * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
65
+ * <p>The following list includes additional causes for the error:</p>
66
+ * <ul>
67
+ * <li>
68
+ * <p>The <code>RunTask</code> could not be processed because you use managed
69
+ * scaling and there is a capacity error because the quota of tasks in the
70
+ * <code>PROVISIONING</code> per cluster has been reached. For information
71
+ * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
72
+ * service quotas</a>.</p>
73
+ * </li>
74
+ * </ul>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>The request could not be processed because of conflict in the current state of the resource. </p>
78
+ *
79
+ * @throws {@link InvalidParameterException} (client fault)
80
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
81
+ * request.</p>
82
+ * <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
83
+ *
84
+ * @throws {@link ServerException} (server fault)
85
+ * <p>These errors are usually caused by a server issue.</p>
86
+ *
87
+ * @throws {@link ServiceDeploymentNotFoundException} (client fault)
88
+ * <p>The service deploy ARN that you specified in the <code>StopServiceDeployment</code> doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service deployment ARNs.</p>
89
+ *
90
+ * @throws {@link UnsupportedFeatureException} (client fault)
91
+ * <p>The specified task isn't supported in this Region.</p>
92
+ *
93
+ * @throws {@link ECSServiceException}
94
+ * <p>Base exception class for all service exceptions from ECS service.</p>
95
+ *
96
+ *
97
+ * @example To stop a service deployment
98
+ * ```javascript
99
+ * // This example stops the service deployment using the ROLLBACK option.
100
+ * const input = {
101
+ * serviceDeploymentArn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
102
+ * stopType: "ROLLBACK"
103
+ * };
104
+ * const command = new StopServiceDeploymentCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * {
108
+ * serviceDeploymentArn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r"
109
+ * }
110
+ * *\/
111
+ * ```
112
+ *
113
+ * @public
114
+ */
115
+ export declare class StopServiceDeploymentCommand extends StopServiceDeploymentCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: StopServiceDeploymentRequest;
120
+ output: StopServiceDeploymentResponse;
121
+ };
122
+ sdk: {
123
+ input: StopServiceDeploymentCommandInput;
124
+ output: StopServiceDeploymentCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { TagResourceRequest, TagResourceResponse } 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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -42,6 +42,7 @@ export * from "./RegisterContainerInstanceCommand";
42
42
  export * from "./RegisterTaskDefinitionCommand";
43
43
  export * from "./RunTaskCommand";
44
44
  export * from "./StartTaskCommand";
45
+ export * from "./StopServiceDeploymentCommand";
45
46
  export * from "./StopTaskCommand";
46
47
  export * from "./SubmitAttachmentStateChangesCommand";
47
48
  export * from "./SubmitContainerStateChangeCommand";
@@ -7730,6 +7730,7 @@ export declare const ServiceDeploymentStatus: {
7730
7730
  readonly PENDING: "PENDING";
7731
7731
  readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
7732
7732
  readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
7733
+ readonly ROLLBACK_REQUESTED: "ROLLBACK_REQUESTED";
7733
7734
  readonly ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL";
7734
7735
  readonly STOPPED: "STOPPED";
7735
7736
  readonly STOP_REQUESTED: "STOP_REQUESTED";
@@ -11123,20 +11124,7 @@ export declare class BlockedException extends __BaseException {
11123
11124
  constructor(opts: __ExceptionOptionType<BlockedException, __BaseException>);
11124
11125
  }
11125
11126
  /**
11126
- * <p>The <code>RunTask</code> request could not be processed due to conflicts. The provided
11127
- * <code>clientToken</code> is already in use with a different <code>RunTask</code>
11128
- * request. The <code>resourceIds</code> are the existing task ARNs which are already
11129
- * associated with the <code>clientToken</code>. </p>
11130
- * <p>To fix this issue:</p>
11131
- * <ul>
11132
- * <li>
11133
- * <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
11134
- * </li>
11135
- * <li>
11136
- * <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
11137
- * set of parameters</p>
11138
- * </li>
11139
- * </ul>
11127
+ * <p>The request could not be processed because of conflict in the current state of the resource. </p>
11140
11128
  * @public
11141
11129
  */
11142
11130
  export declare class ConflictException extends __BaseException {
@@ -11382,6 +11370,8 @@ export interface RunTaskRequest {
11382
11370
  /**
11383
11371
  * <p>The short name or full Amazon Resource Name (ARN) of the cluster to run your task on.
11384
11372
  * If you do not specify a cluster, the default cluster is assumed.</p>
11373
+ * <p>Each account receives a default cluster the first time you use the service, but you
11374
+ * may also create other clusters.</p>
11385
11375
  * @public
11386
11376
  */
11387
11377
  cluster?: string | undefined;
@@ -11740,6 +11730,56 @@ export interface StartTaskResponse {
11740
11730
  */
11741
11731
  failures?: Failure[] | undefined;
11742
11732
  }
11733
+ /**
11734
+ * <p>The service deploy ARN that you specified in the <code>StopServiceDeployment</code> doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service deployment ARNs.</p>
11735
+ * @public
11736
+ */
11737
+ export declare class ServiceDeploymentNotFoundException extends __BaseException {
11738
+ readonly name: "ServiceDeploymentNotFoundException";
11739
+ readonly $fault: "client";
11740
+ /**
11741
+ * @internal
11742
+ */
11743
+ constructor(opts: __ExceptionOptionType<ServiceDeploymentNotFoundException, __BaseException>);
11744
+ }
11745
+ /**
11746
+ * @public
11747
+ * @enum
11748
+ */
11749
+ export declare const StopServiceDeploymentStopType: {
11750
+ readonly ABORT: "ABORT";
11751
+ readonly ROLLBACK: "ROLLBACK";
11752
+ };
11753
+ /**
11754
+ * @public
11755
+ */
11756
+ export type StopServiceDeploymentStopType = (typeof StopServiceDeploymentStopType)[keyof typeof StopServiceDeploymentStopType];
11757
+ /**
11758
+ * @public
11759
+ */
11760
+ export interface StopServiceDeploymentRequest {
11761
+ /**
11762
+ * <p>The ARN of the service deployment that you want to stop.</p>
11763
+ * @public
11764
+ */
11765
+ serviceDeploymentArn: string | undefined;
11766
+ /**
11767
+ * <p>How you want Amazon ECS to stop the service. </p>
11768
+ * <p>The ROLLBACK and ABORT stopType aren't supported.</p>
11769
+ * @public
11770
+ */
11771
+ stopType?: StopServiceDeploymentStopType | undefined;
11772
+ }
11773
+ /**
11774
+ * @public
11775
+ */
11776
+ export interface StopServiceDeploymentResponse {
11777
+ /**
11778
+ * <p>The ARN of the stopped service deployment.</p>
11779
+ * @public
11780
+ */
11781
+ serviceDeploymentArn?: string | undefined;
11782
+ }
11743
11783
  /**
11744
11784
  * @public
11745
11785
  */
@@ -12004,93 +12044,6 @@ export interface SubmitTaskStateChangeResponse {
12004
12044
  */
12005
12045
  acknowledgment?: string | undefined;
12006
12046
  }
12007
- /**
12008
- * @public
12009
- */
12010
- export interface TagResourceRequest {
12011
- /**
12012
- * <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are
12013
- * Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container
12014
- * instances.</p>
12015
- * <p>In order to tag a service that has the following ARN format, you need to migrate the
12016
- * service to the long ARN. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-arn-migration.html">Migrate an Amazon ECS short service ARN to a long ARN</a> in the <i>Amazon Elastic Container Service
12017
- * Developer Guide</i>.</p>
12018
- * <p>
12019
- * <code>arn:aws:ecs:region:aws_account_id:service/service-name</code>
12020
- * </p>
12021
- * <p>After the migration is complete, the service has the long ARN format, as shown below. Use this ARN to tag the service.</p>
12022
- * <p>
12023
- * <code>arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name</code>
12024
- * </p>
12025
- * <p>If you try to tag a service with a short ARN, you receive an
12026
- * <code>InvalidParameterException</code> error.</p>
12027
- * @public
12028
- */
12029
- resourceArn: string | undefined;
12030
- /**
12031
- * <p>The tags to add to the resource. A tag is an array of key-value pairs.</p>
12032
- * <p>The following basic restrictions apply to tags:</p>
12033
- * <ul>
12034
- * <li>
12035
- * <p>Maximum number of tags per resource - 50</p>
12036
- * </li>
12037
- * <li>
12038
- * <p>For each resource, each tag key must be unique, and each tag key can have only
12039
- * one value.</p>
12040
- * </li>
12041
- * <li>
12042
- * <p>Maximum key length - 128 Unicode characters in UTF-8</p>
12043
- * </li>
12044
- * <li>
12045
- * <p>Maximum value length - 256 Unicode characters in UTF-8</p>
12046
- * </li>
12047
- * <li>
12048
- * <p>If your tagging schema is used across multiple services and resources,
12049
- * remember that other services may have restrictions on allowed characters.
12050
- * Generally allowed characters are: letters, numbers, and spaces representable in
12051
- * UTF-8, and the following characters: + - = . _ : / @.</p>
12052
- * </li>
12053
- * <li>
12054
- * <p>Tag keys and values are case-sensitive.</p>
12055
- * </li>
12056
- * <li>
12057
- * <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase
12058
- * combination of such as a prefix for either keys or values as it is reserved for
12059
- * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with
12060
- * this prefix do not count against your tags per resource limit.</p>
12061
- * </li>
12062
- * </ul>
12063
- * @public
12064
- */
12065
- tags: Tag[] | undefined;
12066
- }
12067
- /**
12068
- * @public
12069
- */
12070
- export interface TagResourceResponse {
12071
- }
12072
- /**
12073
- * @public
12074
- */
12075
- export interface UntagResourceRequest {
12076
- /**
12077
- * <p>The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resources
12078
- * are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container
12079
- * instances.</p>
12080
- * @public
12081
- */
12082
- resourceArn: string | undefined;
12083
- /**
12084
- * <p>The keys of the tags to be removed.</p>
12085
- * @public
12086
- */
12087
- tagKeys: string[] | undefined;
12088
- }
12089
- /**
12090
- * @public
12091
- */
12092
- export interface UntagResourceResponse {
12093
- }
12094
12047
  /**
12095
12048
  * @internal
12096
12049
  */
@@ -1,6 +1,93 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ECSServiceException as __BaseException } from "./ECSServiceException";
3
- import { AvailabilityZoneRebalancing, CapacityProvider, CapacityProviderStrategyItem, Cluster, ClusterConfiguration, ClusterServiceConnectDefaultsRequest, ClusterSetting, ContainerInstance, ContainerInstanceStatus, DeploymentConfiguration, Failure, LoadBalancer, ManagedDraining, ManagedScaling, ManagedTerminationProtection, NetworkConfiguration, PlacementConstraint, PlacementStrategy, PropagateTags, ProtectedTask, Scale, Service, ServiceConnectConfiguration, ServiceRegistry, ServiceVolumeConfiguration, TaskSet, VpcLatticeConfiguration } from "./models_0";
3
+ import { AvailabilityZoneRebalancing, CapacityProvider, CapacityProviderStrategyItem, Cluster, ClusterConfiguration, ClusterServiceConnectDefaultsRequest, ClusterSetting, ContainerInstance, ContainerInstanceStatus, DeploymentConfiguration, Failure, LoadBalancer, ManagedDraining, ManagedScaling, ManagedTerminationProtection, NetworkConfiguration, PlacementConstraint, PlacementStrategy, PropagateTags, ProtectedTask, Scale, Service, ServiceConnectConfiguration, ServiceRegistry, ServiceVolumeConfiguration, Tag, TaskSet, VpcLatticeConfiguration } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface TagResourceRequest {
8
+ /**
9
+ * <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are
10
+ * Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container
11
+ * instances.</p>
12
+ * <p>In order to tag a service that has the following ARN format, you need to migrate the
13
+ * service to the long ARN. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-arn-migration.html">Migrate an Amazon ECS short service ARN to a long ARN</a> in the <i>Amazon Elastic Container Service
14
+ * Developer Guide</i>.</p>
15
+ * <p>
16
+ * <code>arn:aws:ecs:region:aws_account_id:service/service-name</code>
17
+ * </p>
18
+ * <p>After the migration is complete, the service has the long ARN format, as shown below. Use this ARN to tag the service.</p>
19
+ * <p>
20
+ * <code>arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name</code>
21
+ * </p>
22
+ * <p>If you try to tag a service with a short ARN, you receive an
23
+ * <code>InvalidParameterException</code> error.</p>
24
+ * @public
25
+ */
26
+ resourceArn: string | undefined;
27
+ /**
28
+ * <p>The tags to add to the resource. A tag is an array of key-value pairs.</p>
29
+ * <p>The following basic restrictions apply to tags:</p>
30
+ * <ul>
31
+ * <li>
32
+ * <p>Maximum number of tags per resource - 50</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>For each resource, each tag key must be unique, and each tag key can have only
36
+ * one value.</p>
37
+ * </li>
38
+ * <li>
39
+ * <p>Maximum key length - 128 Unicode characters in UTF-8</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>Maximum value length - 256 Unicode characters in UTF-8</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>If your tagging schema is used across multiple services and resources,
46
+ * remember that other services may have restrictions on allowed characters.
47
+ * Generally allowed characters are: letters, numbers, and spaces representable in
48
+ * UTF-8, and the following characters: + - = . _ : / @.</p>
49
+ * </li>
50
+ * <li>
51
+ * <p>Tag keys and values are case-sensitive.</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase
55
+ * combination of such as a prefix for either keys or values as it is reserved for
56
+ * Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with
57
+ * this prefix do not count against your tags per resource limit.</p>
58
+ * </li>
59
+ * </ul>
60
+ * @public
61
+ */
62
+ tags: Tag[] | undefined;
63
+ }
64
+ /**
65
+ * @public
66
+ */
67
+ export interface TagResourceResponse {
68
+ }
69
+ /**
70
+ * @public
71
+ */
72
+ export interface UntagResourceRequest {
73
+ /**
74
+ * <p>The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resources
75
+ * are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container
76
+ * instances.</p>
77
+ * @public
78
+ */
79
+ resourceArn: string | undefined;
80
+ /**
81
+ * <p>The keys of the tags to be removed.</p>
82
+ * @public
83
+ */
84
+ tagKeys: string[] | undefined;
85
+ }
86
+ /**
87
+ * @public
88
+ */
89
+ export interface UntagResourceResponse {
90
+ }
4
91
  /**
5
92
  * <p>The details of the Auto Scaling group capacity provider to update.</p>
6
93
  * @public
@@ -44,6 +44,7 @@ import { RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommand
44
44
  import { RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput } from "../commands/RegisterTaskDefinitionCommand";
45
45
  import { RunTaskCommandInput, RunTaskCommandOutput } from "../commands/RunTaskCommand";
46
46
  import { StartTaskCommandInput, StartTaskCommandOutput } from "../commands/StartTaskCommand";
47
+ import { StopServiceDeploymentCommandInput, StopServiceDeploymentCommandOutput } from "../commands/StopServiceDeploymentCommand";
47
48
  import { StopTaskCommandInput, StopTaskCommandOutput } from "../commands/StopTaskCommand";
48
49
  import { SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput } from "../commands/SubmitAttachmentStateChangesCommand";
49
50
  import { SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput } from "../commands/SubmitContainerStateChangeCommand";
@@ -235,6 +236,10 @@ export declare const se_RunTaskCommand: (input: RunTaskCommandInput, context: __
235
236
  * serializeAws_json1_1StartTaskCommand
236
237
  */
237
238
  export declare const se_StartTaskCommand: (input: StartTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
239
+ /**
240
+ * serializeAws_json1_1StopServiceDeploymentCommand
241
+ */
242
+ export declare const se_StopServiceDeploymentCommand: (input: StopServiceDeploymentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
238
243
  /**
239
244
  * serializeAws_json1_1StopTaskCommand
240
245
  */
@@ -471,6 +476,10 @@ export declare const de_RunTaskCommand: (output: __HttpResponse, context: __Serd
471
476
  * deserializeAws_json1_1StartTaskCommand
472
477
  */
473
478
  export declare const de_StartTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartTaskCommandOutput>;
479
+ /**
480
+ * deserializeAws_json1_1StopServiceDeploymentCommand
481
+ */
482
+ export declare const de_StopServiceDeploymentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopServiceDeploymentCommandOutput>;
474
483
  /**
475
484
  * deserializeAws_json1_1StopTaskCommand
476
485
  */
@@ -175,6 +175,10 @@ import {
175
175
  StartTaskCommandInput,
176
176
  StartTaskCommandOutput,
177
177
  } from "./commands/StartTaskCommand";
178
+ import {
179
+ StopServiceDeploymentCommandInput,
180
+ StopServiceDeploymentCommandOutput,
181
+ } from "./commands/StopServiceDeploymentCommand";
178
182
  import {
179
183
  StopTaskCommandInput,
180
184
  StopTaskCommandOutput,
@@ -821,6 +825,19 @@ export interface ECS {
821
825
  options: __HttpHandlerOptions,
822
826
  cb: (err: any, data?: StartTaskCommandOutput) => void
823
827
  ): void;
828
+ stopServiceDeployment(
829
+ args: StopServiceDeploymentCommandInput,
830
+ options?: __HttpHandlerOptions
831
+ ): Promise<StopServiceDeploymentCommandOutput>;
832
+ stopServiceDeployment(
833
+ args: StopServiceDeploymentCommandInput,
834
+ cb: (err: any, data?: StopServiceDeploymentCommandOutput) => void
835
+ ): void;
836
+ stopServiceDeployment(
837
+ args: StopServiceDeploymentCommandInput,
838
+ options: __HttpHandlerOptions,
839
+ cb: (err: any, data?: StopServiceDeploymentCommandOutput) => void
840
+ ): void;
824
841
  stopTask(
825
842
  args: StopTaskCommandInput,
826
843
  options?: __HttpHandlerOptions
@@ -221,6 +221,10 @@ import {
221
221
  StartTaskCommandInput,
222
222
  StartTaskCommandOutput,
223
223
  } from "./commands/StartTaskCommand";
224
+ import {
225
+ StopServiceDeploymentCommandInput,
226
+ StopServiceDeploymentCommandOutput,
227
+ } from "./commands/StopServiceDeploymentCommand";
224
228
  import {
225
229
  StopTaskCommandInput,
226
230
  StopTaskCommandOutput,
@@ -333,6 +337,7 @@ export type ServiceInputTypes =
333
337
  | RegisterTaskDefinitionCommandInput
334
338
  | RunTaskCommandInput
335
339
  | StartTaskCommandInput
340
+ | StopServiceDeploymentCommandInput
336
341
  | StopTaskCommandInput
337
342
  | SubmitAttachmentStateChangesCommandInput
338
343
  | SubmitContainerStateChangeCommandInput
@@ -393,6 +398,7 @@ export type ServiceOutputTypes =
393
398
  | RegisterTaskDefinitionCommandOutput
394
399
  | RunTaskCommandOutput
395
400
  | StartTaskCommandOutput
401
+ | StopServiceDeploymentCommandOutput
396
402
  | StopTaskCommandOutput
397
403
  | SubmitAttachmentStateChangesCommandOutput
398
404
  | SubmitContainerStateChangeCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ECSClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ECSClient";
8
+ import {
9
+ StopServiceDeploymentRequest,
10
+ StopServiceDeploymentResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StopServiceDeploymentCommandInput
15
+ extends StopServiceDeploymentRequest {}
16
+ export interface StopServiceDeploymentCommandOutput
17
+ extends StopServiceDeploymentResponse,
18
+ __MetadataBearer {}
19
+ declare const StopServiceDeploymentCommand_base: {
20
+ new (
21
+ input: StopServiceDeploymentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StopServiceDeploymentCommandInput,
24
+ StopServiceDeploymentCommandOutput,
25
+ ECSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: StopServiceDeploymentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StopServiceDeploymentCommandInput,
33
+ StopServiceDeploymentCommandOutput,
34
+ ECSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StopServiceDeploymentCommand extends StopServiceDeploymentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StopServiceDeploymentRequest;
44
+ output: StopServiceDeploymentResponse;
45
+ };
46
+ sdk: {
47
+ input: StopServiceDeploymentCommandInput;
48
+ output: StopServiceDeploymentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ECSClient";
8
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
8
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface TagResourceCommandInput extends TagResourceRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UntagResourceRequest,
10
10
  UntagResourceResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
@@ -42,6 +42,7 @@ export * from "./RegisterContainerInstanceCommand";
42
42
  export * from "./RegisterTaskDefinitionCommand";
43
43
  export * from "./RunTaskCommand";
44
44
  export * from "./StartTaskCommand";
45
+ export * from "./StopServiceDeploymentCommand";
45
46
  export * from "./StopTaskCommand";
46
47
  export * from "./SubmitAttachmentStateChangesCommand";
47
48
  export * from "./SubmitContainerStateChangeCommand";
@@ -1248,6 +1248,7 @@ export declare const ServiceDeploymentStatus: {
1248
1248
  readonly PENDING: "PENDING";
1249
1249
  readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
1250
1250
  readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
1251
+ readonly ROLLBACK_REQUESTED: "ROLLBACK_REQUESTED";
1251
1252
  readonly ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL";
1252
1253
  readonly STOPPED: "STOPPED";
1253
1254
  readonly STOP_REQUESTED: "STOP_REQUESTED";
@@ -1875,6 +1876,29 @@ export interface StartTaskResponse {
1875
1876
  tasks?: Task[] | undefined;
1876
1877
  failures?: Failure[] | undefined;
1877
1878
  }
1879
+ export declare class ServiceDeploymentNotFoundException extends __BaseException {
1880
+ readonly name: "ServiceDeploymentNotFoundException";
1881
+ readonly $fault: "client";
1882
+ constructor(
1883
+ opts: __ExceptionOptionType<
1884
+ ServiceDeploymentNotFoundException,
1885
+ __BaseException
1886
+ >
1887
+ );
1888
+ }
1889
+ export declare const StopServiceDeploymentStopType: {
1890
+ readonly ABORT: "ABORT";
1891
+ readonly ROLLBACK: "ROLLBACK";
1892
+ };
1893
+ export type StopServiceDeploymentStopType =
1894
+ (typeof StopServiceDeploymentStopType)[keyof typeof StopServiceDeploymentStopType];
1895
+ export interface StopServiceDeploymentRequest {
1896
+ serviceDeploymentArn: string | undefined;
1897
+ stopType?: StopServiceDeploymentStopType | undefined;
1898
+ }
1899
+ export interface StopServiceDeploymentResponse {
1900
+ serviceDeploymentArn?: string | undefined;
1901
+ }
1878
1902
  export interface StopTaskRequest {
1879
1903
  cluster?: string | undefined;
1880
1904
  task: string | undefined;
@@ -1937,16 +1961,6 @@ export interface SubmitTaskStateChangeRequest {
1937
1961
  export interface SubmitTaskStateChangeResponse {
1938
1962
  acknowledgment?: string | undefined;
1939
1963
  }
1940
- export interface TagResourceRequest {
1941
- resourceArn: string | undefined;
1942
- tags: Tag[] | undefined;
1943
- }
1944
- export interface TagResourceResponse {}
1945
- export interface UntagResourceRequest {
1946
- resourceArn: string | undefined;
1947
- tagKeys: string[] | undefined;
1948
- }
1949
- export interface UntagResourceResponse {}
1950
1964
  export declare const SessionFilterSensitiveLog: (obj: Session) => any;
1951
1965
  export declare const ExecuteCommandResponseFilterSensitiveLog: (
1952
1966
  obj: ExecuteCommandResponse
@@ -26,9 +26,20 @@ import {
26
26
  ServiceConnectConfiguration,
27
27
  ServiceRegistry,
28
28
  ServiceVolumeConfiguration,
29
+ Tag,
29
30
  TaskSet,
30
31
  VpcLatticeConfiguration,
31
32
  } from "./models_0";
33
+ export interface TagResourceRequest {
34
+ resourceArn: string | undefined;
35
+ tags: Tag[] | undefined;
36
+ }
37
+ export interface TagResourceResponse {}
38
+ export interface UntagResourceRequest {
39
+ resourceArn: string | undefined;
40
+ tagKeys: string[] | undefined;
41
+ }
42
+ export interface UntagResourceResponse {}
32
43
  export interface AutoScalingGroupProviderUpdate {
33
44
  managedScaling?: ManagedScaling | undefined;
34
45
  managedTerminationProtection?: ManagedTerminationProtection | undefined;
@@ -179,6 +179,10 @@ import {
179
179
  StartTaskCommandInput,
180
180
  StartTaskCommandOutput,
181
181
  } from "../commands/StartTaskCommand";
182
+ import {
183
+ StopServiceDeploymentCommandInput,
184
+ StopServiceDeploymentCommandOutput,
185
+ } from "../commands/StopServiceDeploymentCommand";
182
186
  import {
183
187
  StopTaskCommandInput,
184
188
  StopTaskCommandOutput,
@@ -415,6 +419,10 @@ export declare const se_StartTaskCommand: (
415
419
  input: StartTaskCommandInput,
416
420
  context: __SerdeContext
417
421
  ) => Promise<__HttpRequest>;
422
+ export declare const se_StopServiceDeploymentCommand: (
423
+ input: StopServiceDeploymentCommandInput,
424
+ context: __SerdeContext
425
+ ) => Promise<__HttpRequest>;
418
426
  export declare const se_StopTaskCommand: (
419
427
  input: StopTaskCommandInput,
420
428
  context: __SerdeContext
@@ -651,6 +659,10 @@ export declare const de_StartTaskCommand: (
651
659
  output: __HttpResponse,
652
660
  context: __SerdeContext
653
661
  ) => Promise<StartTaskCommandOutput>;
662
+ export declare const de_StopServiceDeploymentCommand: (
663
+ output: __HttpResponse,
664
+ context: __SerdeContext
665
+ ) => Promise<StopServiceDeploymentCommandOutput>;
654
666
  export declare const de_StopTaskCommand: (
655
667
  output: __HttpResponse,
656
668
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
4
- "version": "3.791.0",
4
+ "version": "3.796.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecs",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.787.0",
23
+ "@aws-sdk/core": "3.796.0",
24
+ "@aws-sdk/credential-provider-node": "3.796.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.787.0",
28
+ "@aws-sdk/middleware-user-agent": "3.796.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
31
  "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.787.0",
33
+ "@aws-sdk/util-user-agent-node": "3.796.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",