@aws-sdk/client-ecs 3.795.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.
@@ -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
@@ -28,18 +28,9 @@ declare const StopServiceDeploymentCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Stops an ongoing service deployment.</p>
31
- * <p>The following stop types are avaiable:</p>
32
- * <ul>
33
- * <li>
34
- * <p>ROLLBACK - This option rolls back the service deployment to the previous
35
- * service revision. </p>
36
- * <p>You can use this option even if you didn't configure the service deployment
37
- * for the rollback option. </p>
38
- * </li>
39
- * </ul>
40
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html">Stopping Amazon ECS
41
- * service deployments</a> in the <i>Amazon Elastic Container Service Developer
42
- * Guide</i>.</p>
31
+ * <note>
32
+ * <p>StopServiceDeployment isn't currently supported.</p>
33
+ * </note>
43
34
  * @example
44
35
  * Use a bare-bones client and the command you need to make an API call.
45
36
  * ```javascript
@@ -83,20 +74,7 @@ declare const StopServiceDeploymentCommand_base: {
83
74
  * </ul>
84
75
  *
85
76
  * @throws {@link ConflictException} (client fault)
86
- * <p>The <code>RunTask</code> request could not be processed due to conflicts. The provided
87
- * <code>clientToken</code> is already in use with a different <code>RunTask</code>
88
- * request. The <code>resourceIds</code> are the existing task ARNs which are already
89
- * associated with the <code>clientToken</code>. </p>
90
- * <p>To fix this issue:</p>
91
- * <ul>
92
- * <li>
93
- * <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
94
- * </li>
95
- * <li>
96
- * <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
97
- * set of parameters</p>
98
- * </li>
99
- * </ul>
77
+ * <p>The request could not be processed because of conflict in the current state of the resource. </p>
100
78
  *
101
79
  * @throws {@link InvalidParameterException} (client fault)
102
80
  * <p>The specified parameter isn't valid. Review the available parameters for the API
@@ -11124,20 +11124,7 @@ export declare class BlockedException extends __BaseException {
11124
11124
  constructor(opts: __ExceptionOptionType<BlockedException, __BaseException>);
11125
11125
  }
11126
11126
  /**
11127
- * <p>The <code>RunTask</code> request could not be processed due to conflicts. The provided
11128
- * <code>clientToken</code> is already in use with a different <code>RunTask</code>
11129
- * request. The <code>resourceIds</code> are the existing task ARNs which are already
11130
- * associated with the <code>clientToken</code>. </p>
11131
- * <p>To fix this issue:</p>
11132
- * <ul>
11133
- * <li>
11134
- * <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
11135
- * </li>
11136
- * <li>
11137
- * <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
11138
- * set of parameters</p>
11139
- * </li>
11140
- * </ul>
11127
+ * <p>The request could not be processed because of conflict in the current state of the resource. </p>
11141
11128
  * @public
11142
11129
  */
11143
11130
  export declare class ConflictException extends __BaseException {
@@ -11777,8 +11764,8 @@ export interface StopServiceDeploymentRequest {
11777
11764
  */
11778
11765
  serviceDeploymentArn: string | undefined;
11779
11766
  /**
11780
- * <p>How you want Amazon ECS to stop the task. </p>
11781
- * <p>The valid values are <code>ROLLBACK</code>.</p>
11767
+ * <p>How you want Amazon ECS to stop the service. </p>
11768
+ * <p>The ROLLBACK and ABORT stopType aren't supported.</p>
11782
11769
  * @public
11783
11770
  */
11784
11771
  stopType?: StopServiceDeploymentStopType | undefined;
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.795.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",