@aws-sdk/client-sqs 3.289.0 → 3.290.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.
@@ -68,6 +68,13 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
68
68
  * @see {@link AddPermissionCommandOutput} for command's `response` shape.
69
69
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
70
70
  *
71
+ * @throws {@link OverLimit} (client fault)
72
+ * <p>The specified action violates a limit. For example, <code>ReceiveMessage</code>
73
+ * returns this error if the maximum number of inflight messages is reached and
74
+ * <code>AddPermission</code> returns this error if the maximum number of permissions
75
+ * for the queue is reached.</p>
76
+ *
77
+ *
71
78
  */
72
79
  export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SQSClientResolvedConfig> {
73
80
  readonly input: AddPermissionCommandInput;
@@ -43,6 +43,19 @@ export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessage
43
43
  * @see {@link ChangeMessageVisibilityBatchCommandOutput} for command's `response` shape.
44
44
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
45
45
  *
46
+ * @throws {@link BatchEntryIdsNotDistinct} (client fault)
47
+ * <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
48
+ *
49
+ * @throws {@link EmptyBatchRequest} (client fault)
50
+ * <p>The batch request doesn't contain any entries.</p>
51
+ *
52
+ * @throws {@link InvalidBatchEntryId} (client fault)
53
+ * <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification.</p>
54
+ *
55
+ * @throws {@link TooManyEntriesInBatchRequest} (client fault)
56
+ * <p>The batch request contains more entries than permissible.</p>
57
+ *
58
+ *
46
59
  */
47
60
  export declare class ChangeMessageVisibilityBatchCommand extends $Command<ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput, SQSClientResolvedConfig> {
48
61
  readonly input: ChangeMessageVisibilityBatchCommandInput;
@@ -62,6 +62,13 @@ export interface ChangeMessageVisibilityCommandOutput extends __MetadataBearer {
62
62
  * @see {@link ChangeMessageVisibilityCommandOutput} for command's `response` shape.
63
63
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
64
64
  *
65
+ * @throws {@link MessageNotInflight} (client fault)
66
+ * <p>The specified message isn't in flight.</p>
67
+ *
68
+ * @throws {@link ReceiptHandleIsInvalid} (client fault)
69
+ * <p>The specified receipt handle isn't valid.</p>
70
+ *
71
+ *
65
72
  */
66
73
  export declare class ChangeMessageVisibilityCommand extends $Command<ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput, SQSClientResolvedConfig> {
67
74
  readonly input: ChangeMessageVisibilityCommandInput;
@@ -80,6 +80,15 @@ export interface CreateQueueCommandOutput extends CreateQueueResult, __MetadataB
80
80
  * @see {@link CreateQueueCommandOutput} for command's `response` shape.
81
81
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
82
82
  *
83
+ * @throws {@link QueueDeletedRecently} (client fault)
84
+ * <p>You must wait 60 seconds after deleting a queue before you can create another queue
85
+ * with the same name.</p>
86
+ *
87
+ * @throws {@link QueueNameExists} (client fault)
88
+ * <p>A queue with this name already exists. Amazon SQS returns this error only if the request
89
+ * includes attributes whose values differ from those of the existing queue.</p>
90
+ *
91
+ *
83
92
  */
84
93
  export declare class CreateQueueCommand extends $Command<CreateQueueCommandInput, CreateQueueCommandOutput, SQSClientResolvedConfig> {
85
94
  readonly input: CreateQueueCommandInput;
@@ -40,6 +40,19 @@ export interface DeleteMessageBatchCommandOutput extends DeleteMessageBatchResul
40
40
  * @see {@link DeleteMessageBatchCommandOutput} for command's `response` shape.
41
41
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
42
42
  *
43
+ * @throws {@link BatchEntryIdsNotDistinct} (client fault)
44
+ * <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
45
+ *
46
+ * @throws {@link EmptyBatchRequest} (client fault)
47
+ * <p>The batch request doesn't contain any entries.</p>
48
+ *
49
+ * @throws {@link InvalidBatchEntryId} (client fault)
50
+ * <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification.</p>
51
+ *
52
+ * @throws {@link TooManyEntriesInBatchRequest} (client fault)
53
+ * <p>The batch request contains more entries than permissible.</p>
54
+ *
55
+ *
43
56
  */
44
57
  export declare class DeleteMessageBatchCommand extends $Command<DeleteMessageBatchCommandInput, DeleteMessageBatchCommandOutput, SQSClientResolvedConfig> {
45
58
  readonly input: DeleteMessageBatchCommandInput;
@@ -48,6 +48,13 @@ export interface DeleteMessageCommandOutput extends __MetadataBearer {
48
48
  * @see {@link DeleteMessageCommandOutput} for command's `response` shape.
49
49
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
50
50
  *
51
+ * @throws {@link InvalidIdFormat} (client fault)
52
+ * <p>The specified receipt handle isn't valid for the current version.</p>
53
+ *
54
+ * @throws {@link ReceiptHandleIsInvalid} (client fault)
55
+ * <p>The specified receipt handle isn't valid.</p>
56
+ *
57
+ *
51
58
  */
52
59
  export declare class DeleteMessageCommand extends $Command<DeleteMessageCommandInput, DeleteMessageCommandOutput, SQSClientResolvedConfig> {
53
60
  readonly input: DeleteMessageCommandInput;
@@ -43,6 +43,7 @@ export interface DeleteQueueCommandOutput extends __MetadataBearer {
43
43
  * @see {@link DeleteQueueCommandOutput} for command's `response` shape.
44
44
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
45
45
  *
46
+ *
46
47
  */
47
48
  export declare class DeleteQueueCommand extends $Command<DeleteQueueCommandInput, DeleteQueueCommandOutput, SQSClientResolvedConfig> {
48
49
  readonly input: DeleteQueueCommandInput;
@@ -32,6 +32,10 @@ export interface GetQueueAttributesCommandOutput extends GetQueueAttributesResul
32
32
  * @see {@link GetQueueAttributesCommandOutput} for command's `response` shape.
33
33
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidAttributeName} (client fault)
36
+ * <p>The specified attribute doesn't exist.</p>
37
+ *
38
+ *
35
39
  */
36
40
  export declare class GetQueueAttributesCommand extends $Command<GetQueueAttributesCommandInput, GetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
37
41
  readonly input: GetQueueAttributesCommandInput;
@@ -34,6 +34,10 @@ export interface GetQueueUrlCommandOutput extends GetQueueUrlResult, __MetadataB
34
34
  * @see {@link GetQueueUrlCommandOutput} for command's `response` shape.
35
35
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
36
36
  *
37
+ * @throws {@link QueueDoesNotExist} (client fault)
38
+ * <p>The specified queue doesn't exist.</p>
39
+ *
40
+ *
37
41
  */
38
42
  export declare class GetQueueUrlCommand extends $Command<GetQueueUrlCommandInput, GetQueueUrlCommandOutput, SQSClientResolvedConfig> {
39
43
  readonly input: GetQueueUrlCommandInput;
@@ -39,6 +39,10 @@ export interface ListDeadLetterSourceQueuesCommandOutput extends ListDeadLetterS
39
39
  * @see {@link ListDeadLetterSourceQueuesCommandOutput} for command's `response` shape.
40
40
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
41
41
  *
42
+ * @throws {@link QueueDoesNotExist} (client fault)
43
+ * <p>The specified queue doesn't exist.</p>
44
+ *
45
+ *
42
46
  */
43
47
  export declare class ListDeadLetterSourceQueuesCommand extends $Command<ListDeadLetterSourceQueuesCommandInput, ListDeadLetterSourceQueuesCommandOutput, SQSClientResolvedConfig> {
44
48
  readonly input: ListDeadLetterSourceQueuesCommandInput;
@@ -35,6 +35,7 @@ export interface ListQueueTagsCommandOutput extends ListQueueTagsResult, __Metad
35
35
  * @see {@link ListQueueTagsCommandOutput} for command's `response` shape.
36
36
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
37
37
  *
38
+ *
38
39
  */
39
40
  export declare class ListQueueTagsCommand extends $Command<ListQueueTagsCommandInput, ListQueueTagsCommandOutput, SQSClientResolvedConfig> {
40
41
  readonly input: ListQueueTagsCommandInput;
@@ -42,6 +42,7 @@ export interface ListQueuesCommandOutput extends ListQueuesResult, __MetadataBea
42
42
  * @see {@link ListQueuesCommandOutput} for command's `response` shape.
43
43
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
44
44
  *
45
+ *
45
46
  */
46
47
  export declare class ListQueuesCommand extends $Command<ListQueuesCommandInput, ListQueuesCommandOutput, SQSClientResolvedConfig> {
47
48
  readonly input: ListQueuesCommandInput;
@@ -42,6 +42,13 @@ export interface PurgeQueueCommandOutput extends __MetadataBearer {
42
42
  * @see {@link PurgeQueueCommandOutput} for command's `response` shape.
43
43
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
44
44
  *
45
+ * @throws {@link PurgeQueueInProgress} (client fault)
46
+ * <p>Indicates that the specified queue previously received a <code>PurgeQueue</code> request within the last 60 seconds (the time it can take to delete the messages in the queue).</p>
47
+ *
48
+ * @throws {@link QueueDoesNotExist} (client fault)
49
+ * <p>The specified queue doesn't exist.</p>
50
+ *
51
+ *
45
52
  */
46
53
  export declare class PurgeQueueCommand extends $Command<PurgeQueueCommandInput, PurgeQueueCommandOutput, SQSClientResolvedConfig> {
47
54
  readonly input: PurgeQueueCommandInput;
@@ -64,6 +64,13 @@ export interface ReceiveMessageCommandOutput extends ReceiveMessageResult, __Met
64
64
  * @see {@link ReceiveMessageCommandOutput} for command's `response` shape.
65
65
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
66
66
  *
67
+ * @throws {@link OverLimit} (client fault)
68
+ * <p>The specified action violates a limit. For example, <code>ReceiveMessage</code>
69
+ * returns this error if the maximum number of inflight messages is reached and
70
+ * <code>AddPermission</code> returns this error if the maximum number of permissions
71
+ * for the queue is reached.</p>
72
+ *
73
+ *
67
74
  */
68
75
  export declare class ReceiveMessageCommand extends $Command<ReceiveMessageCommandInput, ReceiveMessageCommandOutput, SQSClientResolvedConfig> {
69
76
  readonly input: ReceiveMessageCommandInput;
@@ -44,6 +44,7 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
44
44
  * @see {@link RemovePermissionCommandOutput} for command's `response` shape.
45
45
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
46
46
  *
47
+ *
47
48
  */
48
49
  export declare class RemovePermissionCommand extends $Command<RemovePermissionCommandInput, RemovePermissionCommandOutput, SQSClientResolvedConfig> {
49
50
  readonly input: RemovePermissionCommandInput;
@@ -47,6 +47,25 @@ export interface SendMessageBatchCommandOutput extends SendMessageBatchResult, _
47
47
  * @see {@link SendMessageBatchCommandOutput} for command's `response` shape.
48
48
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
49
49
  *
50
+ * @throws {@link BatchEntryIdsNotDistinct} (client fault)
51
+ * <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
52
+ *
53
+ * @throws {@link BatchRequestTooLong} (client fault)
54
+ * <p>The length of all the messages put together is more than the limit.</p>
55
+ *
56
+ * @throws {@link EmptyBatchRequest} (client fault)
57
+ * <p>The batch request doesn't contain any entries.</p>
58
+ *
59
+ * @throws {@link InvalidBatchEntryId} (client fault)
60
+ * <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification.</p>
61
+ *
62
+ * @throws {@link TooManyEntriesInBatchRequest} (client fault)
63
+ * <p>The batch request contains more entries than permissible.</p>
64
+ *
65
+ * @throws {@link UnsupportedOperation} (client fault)
66
+ * <p>Error code 400. Unsupported operation.</p>
67
+ *
68
+ *
50
69
  */
51
70
  export declare class SendMessageBatchCommand extends $Command<SendMessageBatchCommandInput, SendMessageBatchCommandOutput, SQSClientResolvedConfig> {
52
71
  readonly input: SendMessageBatchCommandInput;
@@ -36,6 +36,13 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
36
36
  * @see {@link SendMessageCommandOutput} for command's `response` shape.
37
37
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidMessageContents} (client fault)
40
+ * <p>The message contains characters outside the allowed set.</p>
41
+ *
42
+ * @throws {@link UnsupportedOperation} (client fault)
43
+ * <p>Error code 400. Unsupported operation.</p>
44
+ *
45
+ *
39
46
  */
40
47
  export declare class SendMessageCommand extends $Command<SendMessageCommandInput, SendMessageCommandOutput, SQSClientResolvedConfig> {
41
48
  readonly input: SendMessageCommandInput;
@@ -45,6 +45,10 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
45
45
  * @see {@link SetQueueAttributesCommandOutput} for command's `response` shape.
46
46
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
47
47
  *
48
+ * @throws {@link InvalidAttributeName} (client fault)
49
+ * <p>The specified attribute doesn't exist.</p>
50
+ *
51
+ *
48
52
  */
49
53
  export declare class SetQueueAttributesCommand extends $Command<SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
50
54
  readonly input: SetQueueAttributesCommandInput;
@@ -54,6 +54,7 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
54
54
  * @see {@link TagQueueCommandOutput} for command's `response` shape.
55
55
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
56
56
  *
57
+ *
57
58
  */
58
59
  export declare class TagQueueCommand extends $Command<TagQueueCommandInput, TagQueueCommandOutput, SQSClientResolvedConfig> {
59
60
  readonly input: TagQueueCommandInput;
@@ -35,6 +35,7 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
35
35
  * @see {@link UntagQueueCommandOutput} for command's `response` shape.
36
36
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
37
37
  *
38
+ *
38
39
  */
39
40
  export declare class UntagQueueCommand extends $Command<UntagQueueCommandInput, UntagQueueCommandOutput, SQSClientResolvedConfig> {
40
41
  readonly input: UntagQueueCommandInput;
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.289.0",
4
+ "version": "3.290.0",
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",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/md5-js": "3.289.0",
30
- "@aws-sdk/middleware-content-length": "3.289.0",
31
- "@aws-sdk/middleware-endpoint": "3.289.0",
32
- "@aws-sdk/middleware-host-header": "3.289.0",
33
- "@aws-sdk/middleware-logger": "3.289.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
35
- "@aws-sdk/middleware-retry": "3.289.0",
36
- "@aws-sdk/middleware-sdk-sqs": "3.289.0",
37
- "@aws-sdk/middleware-serde": "3.289.0",
38
- "@aws-sdk/middleware-signing": "3.289.0",
39
- "@aws-sdk/middleware-stack": "3.289.0",
40
- "@aws-sdk/middleware-user-agent": "3.289.0",
41
- "@aws-sdk/node-config-provider": "3.289.0",
42
- "@aws-sdk/node-http-handler": "3.289.0",
43
- "@aws-sdk/protocol-http": "3.289.0",
44
- "@aws-sdk/smithy-client": "3.289.0",
45
- "@aws-sdk/types": "3.289.0",
46
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/md5-js": "3.290.0",
30
+ "@aws-sdk/middleware-content-length": "3.290.0",
31
+ "@aws-sdk/middleware-endpoint": "3.290.0",
32
+ "@aws-sdk/middleware-host-header": "3.290.0",
33
+ "@aws-sdk/middleware-logger": "3.290.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
35
+ "@aws-sdk/middleware-retry": "3.290.0",
36
+ "@aws-sdk/middleware-sdk-sqs": "3.290.0",
37
+ "@aws-sdk/middleware-serde": "3.290.0",
38
+ "@aws-sdk/middleware-signing": "3.290.0",
39
+ "@aws-sdk/middleware-stack": "3.290.0",
40
+ "@aws-sdk/middleware-user-agent": "3.290.0",
41
+ "@aws-sdk/node-config-provider": "3.290.0",
42
+ "@aws-sdk/node-http-handler": "3.290.0",
43
+ "@aws-sdk/protocol-http": "3.290.0",
44
+ "@aws-sdk/smithy-client": "3.290.0",
45
+ "@aws-sdk/types": "3.290.0",
46
+ "@aws-sdk/url-parser": "3.290.0",
47
47
  "@aws-sdk/util-base64": "3.208.0",
48
48
  "@aws-sdk/util-body-length-browser": "3.188.0",
49
49
  "@aws-sdk/util-body-length-node": "3.208.0",
50
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
51
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
52
- "@aws-sdk/util-endpoints": "3.289.0",
53
- "@aws-sdk/util-retry": "3.289.0",
54
- "@aws-sdk/util-user-agent-browser": "3.289.0",
55
- "@aws-sdk/util-user-agent-node": "3.289.0",
50
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
51
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
52
+ "@aws-sdk/util-endpoints": "3.290.0",
53
+ "@aws-sdk/util-retry": "3.290.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
55
+ "@aws-sdk/util-user-agent-node": "3.290.0",
56
56
  "@aws-sdk/util-utf8": "3.254.0",
57
57
  "fast-xml-parser": "4.1.2",
58
58
  "tslib": "^2.3.1"