@aws-sdk/client-sqs 3.378.0 → 3.379.1

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.
@@ -23,17 +23,24 @@ export interface CancelMessageMoveTaskCommandOutput extends CancelMessageMoveTas
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Cancels a specified message movement task.</p>
26
+ * <p>Cancels a specified message movement task. A message movement can only be cancelled
27
+ * when the current status is RUNNING. Cancelling a message movement task does not revert
28
+ * the messages that have already been moved. It can only stop the messages that have not
29
+ * been moved yet.</p>
27
30
  * <note>
28
31
  * <ul>
29
32
  * <li>
30
- * <p>A message movement can only be cancelled when the current status is
31
- * RUNNING.</p>
33
+ * <p>This action is currently limited to supporting message redrive from <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">dead-letter queues (DLQs)</a> only. In this context, the source
34
+ * queue is the dead-letter queue (DLQ), while the destination queue can be the
35
+ * original source queue (from which the messages were driven to the
36
+ * dead-letter-queue), or a custom destination queue. </p>
32
37
  * </li>
33
38
  * <li>
34
- * <p>Cancelling a message movement task does not revert the messages that have
35
- * already been moved. It can only stop the messages that have not been moved
36
- * yet.</p>
39
+ * <p>Currently, only standard queues are supported.</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>Only one active message movement task is supported per queue at any given
43
+ * time.</p>
37
44
  * </li>
38
45
  * </ul>
39
46
  * </note>
@@ -25,6 +25,23 @@ export interface ListMessageMoveTasksCommandOutput extends ListMessageMoveTasksR
25
25
  * @public
26
26
  * <p>Gets the most recent message movement tasks (up to 10) under a specific source
27
27
  * queue.</p>
28
+ * <note>
29
+ * <ul>
30
+ * <li>
31
+ * <p>This action is currently limited to supporting message redrive from <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">dead-letter queues (DLQs)</a> only. In this context, the source
32
+ * queue is the dead-letter queue (DLQ), while the destination queue can be the
33
+ * original source queue (from which the messages were driven to the
34
+ * dead-letter-queue), or a custom destination queue. </p>
35
+ * </li>
36
+ * <li>
37
+ * <p>Currently, only standard queues are supported.</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>Only one active message movement task is supported per queue at any given
41
+ * time.</p>
42
+ * </li>
43
+ * </ul>
44
+ * </note>
28
45
  * @example
29
46
  * Use a bare-bones client and the command you need to make an API call.
30
47
  * ```javascript
@@ -23,8 +23,8 @@ export interface PurgeQueueCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes the messages in a queue specified by the <code>QueueURL</code>
27
- * parameter.</p>
26
+ * <p>Deletes available messages in a queue (including in-flight messages) specified by the
27
+ * <code>QueueURL</code> parameter.</p>
28
28
  * <important>
29
29
  * <p>When you use the <code>PurgeQueue</code> action, you can't retrieve any messages
30
30
  * deleted from a queue.</p>
@@ -28,14 +28,20 @@ export interface StartMessageMoveTaskCommandOutput extends StartMessageMoveTaskR
28
28
  * <note>
29
29
  * <ul>
30
30
  * <li>
31
- * <p>This action is currently limited to supporting message redrive from
32
- * dead-letter queues (DLQs) only. In this context, the source queue is the
33
- * dead-letter queue (DLQ), while the destination queue can be the original
34
- * source queue (from which the messages were driven to the dead-letter-queue),
35
- * or a custom destination queue. </p>
31
+ * <p>This action is currently limited to supporting message redrive from queues
32
+ * that are configured as <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">dead-letter queues (DLQs)</a> of other Amazon SQS queues only. Non-SQS
33
+ * queue sources of dead-letter queues, such as Lambda or Amazon SNS topics, are
34
+ * currently not supported.</p>
36
35
  * </li>
37
36
  * <li>
38
- * <p>Currently, only standard queues are supported.</p>
37
+ * <p>In dead-letter queues redrive context, the
38
+ * <code>StartMessageMoveTask</code> the source queue is the DLQ, while the
39
+ * destination queue can be the original source queue (from which the messages
40
+ * were driven to the dead-letter-queue), or a custom destination queue.</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>Currently, only standard queues support redrive. FIFO queues don't support
44
+ * redrive.</p>
39
45
  * </li>
40
46
  * <li>
41
47
  * <p>Only one active message movement task is supported per queue at any given
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -76,6 +76,7 @@
76
76
  */
77
77
  export * from "./SQSClient";
78
78
  export * from "./SQS";
79
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
79
80
  export * from "./commands";
80
81
  export * from "./pagination";
81
82
  export * from "./models";
@@ -1212,8 +1212,8 @@ export interface ListQueuesResult {
1212
1212
  */
1213
1213
  NextToken?: string;
1214
1214
  /**
1215
- * <p>A list of queue URLs, up to 1,000 entries, or the value of <code>MaxResults</code> that you sent in
1216
- * the request.</p>
1215
+ * <p>A list of queue URLs, up to 1,000 entries, or the value of <code>MaxResults</code>
1216
+ * that you sent in the request.</p>
1217
1217
  */
1218
1218
  QueueUrls?: string[];
1219
1219
  }
@@ -2374,7 +2374,9 @@ export interface SetQueueAttributesRequest {
2374
2374
  export interface StartMessageMoveTaskRequest {
2375
2375
  /**
2376
2376
  * <p>The ARN of the queue that contains the messages to be moved to another queue.
2377
- * Currently, only dead-letter queue (DLQ) ARNs are accepted.</p>
2377
+ * Currently, only ARNs of dead-letter queues (DLQs) whose sources are other Amazon SQS queues
2378
+ * are accepted. DLQs whose sources are non-SQS queues, such as Lambda or Amazon SNS topics, are
2379
+ * not currently supported.</p>
2378
2380
  */
2379
2381
  SourceArn: string | undefined;
2380
2382
  /**
@@ -1,5 +1,6 @@
1
1
  export * from "./SQSClient";
2
2
  export * from "./SQS";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
3
4
  export * from "./commands";
4
5
  export * from "./pagination";
5
6
  export * from "./models";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sqs",
3
3
  "description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
4
- "version": "3.378.0",
4
+ "version": "3.379.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,14 +21,14 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.378.0",
25
- "@aws-sdk/credential-provider-node": "3.378.0",
26
- "@aws-sdk/middleware-host-header": "3.378.0",
24
+ "@aws-sdk/client-sts": "3.379.1",
25
+ "@aws-sdk/credential-provider-node": "3.379.1",
26
+ "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
29
  "@aws-sdk/middleware-sdk-sqs": "3.378.0",
30
- "@aws-sdk/middleware-signing": "3.378.0",
31
- "@aws-sdk/middleware-user-agent": "3.378.0",
30
+ "@aws-sdk/middleware-signing": "3.379.1",
31
+ "@aws-sdk/middleware-user-agent": "3.379.1",
32
32
  "@aws-sdk/types": "3.378.0",
33
33
  "@aws-sdk/util-endpoints": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.378.0",