@aws-sdk/client-sqs 3.325.0 → 3.326.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/dist-types/commands/AddPermissionCommand.d.ts +4 -0
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +18 -0
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +4 -0
- package/dist-types/commands/CreateQueueCommand.d.ts +6 -0
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +18 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +4 -0
- package/dist-types/commands/DeleteQueueCommand.d.ts +4 -0
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +8 -0
- package/dist-types/commands/GetQueueUrlCommand.d.ts +6 -0
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +9 -0
- package/dist-types/commands/ListQueueTagsCommand.d.ts +8 -0
- package/dist-types/commands/ListQueuesCommand.d.ts +9 -0
- package/dist-types/commands/PurgeQueueCommand.d.ts +4 -0
- package/dist-types/commands/ReceiveMessageCommand.d.ts +30 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +4 -0
- package/dist-types/commands/SendMessageBatchCommand.d.ts +23 -0
- package/dist-types/commands/SendMessageCommand.d.ts +10 -0
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +4 -0
- package/dist-types/commands/TagQueueCommand.d.ts +4 -0
- package/dist-types/commands/UntagQueueCommand.d.ts +4 -0
- package/package.json +4 -4
|
@@ -77,6 +77,8 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
|
|
|
77
77
|
* };
|
|
78
78
|
* const command = new AddPermissionCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
|
+
* // {};
|
|
81
|
+
*
|
|
80
82
|
* ```
|
|
81
83
|
*
|
|
82
84
|
* @param AddPermissionCommandInput - {@link AddPermissionCommandInput}
|
|
@@ -91,6 +93,8 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
|
|
|
91
93
|
* <code>AddPermission</code> returns this error if the maximum number of permissions
|
|
92
94
|
* for the queue is reached.</p>
|
|
93
95
|
*
|
|
96
|
+
* @throws {@link SQSServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
94
98
|
*
|
|
95
99
|
*/
|
|
96
100
|
export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -52,6 +52,22 @@ export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessage
|
|
|
52
52
|
* };
|
|
53
53
|
* const command = new ChangeMessageVisibilityBatchCommand(input);
|
|
54
54
|
* const response = await client.send(command);
|
|
55
|
+
* // { // ChangeMessageVisibilityBatchResult
|
|
56
|
+
* // Successful: [ // ChangeMessageVisibilityBatchResultEntryList // required
|
|
57
|
+
* // { // ChangeMessageVisibilityBatchResultEntry
|
|
58
|
+
* // Id: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // Failed: [ // BatchResultErrorEntryList // required
|
|
62
|
+
* // { // BatchResultErrorEntry
|
|
63
|
+
* // Id: "STRING_VALUE", // required
|
|
64
|
+
* // SenderFault: true || false, // required
|
|
65
|
+
* // Code: "STRING_VALUE", // required
|
|
66
|
+
* // Message: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
55
71
|
* ```
|
|
56
72
|
*
|
|
57
73
|
* @param ChangeMessageVisibilityBatchCommandInput - {@link ChangeMessageVisibilityBatchCommandInput}
|
|
@@ -72,6 +88,8 @@ export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessage
|
|
|
72
88
|
* @throws {@link TooManyEntriesInBatchRequest} (client fault)
|
|
73
89
|
* <p>The batch request contains more entries than permissible.</p>
|
|
74
90
|
*
|
|
91
|
+
* @throws {@link SQSServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
75
93
|
*
|
|
76
94
|
*/
|
|
77
95
|
export declare class ChangeMessageVisibilityBatchCommand extends $Command<ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -66,6 +66,8 @@ export interface ChangeMessageVisibilityCommandOutput extends __MetadataBearer {
|
|
|
66
66
|
* };
|
|
67
67
|
* const command = new ChangeMessageVisibilityCommand(input);
|
|
68
68
|
* const response = await client.send(command);
|
|
69
|
+
* // {};
|
|
70
|
+
*
|
|
69
71
|
* ```
|
|
70
72
|
*
|
|
71
73
|
* @param ChangeMessageVisibilityCommandInput - {@link ChangeMessageVisibilityCommandInput}
|
|
@@ -80,6 +82,8 @@ export interface ChangeMessageVisibilityCommandOutput extends __MetadataBearer {
|
|
|
80
82
|
* @throws {@link ReceiptHandleIsInvalid} (client fault)
|
|
81
83
|
* <p>The specified receipt handle isn't valid.</p>
|
|
82
84
|
*
|
|
85
|
+
* @throws {@link SQSServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
83
87
|
*
|
|
84
88
|
*/
|
|
85
89
|
export declare class ChangeMessageVisibilityCommand extends $Command<ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -88,6 +88,10 @@ export interface CreateQueueCommandOutput extends CreateQueueResult, __MetadataB
|
|
|
88
88
|
* };
|
|
89
89
|
* const command = new CreateQueueCommand(input);
|
|
90
90
|
* const response = await client.send(command);
|
|
91
|
+
* // { // CreateQueueResult
|
|
92
|
+
* // QueueUrl: "STRING_VALUE",
|
|
93
|
+
* // };
|
|
94
|
+
*
|
|
91
95
|
* ```
|
|
92
96
|
*
|
|
93
97
|
* @param CreateQueueCommandInput - {@link CreateQueueCommandInput}
|
|
@@ -104,6 +108,8 @@ export interface CreateQueueCommandOutput extends CreateQueueResult, __MetadataB
|
|
|
104
108
|
* <p>A queue with this name already exists. Amazon SQS returns this error only if the request
|
|
105
109
|
* includes attributes whose values differ from those of the existing queue.</p>
|
|
106
110
|
*
|
|
111
|
+
* @throws {@link SQSServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
107
113
|
*
|
|
108
114
|
*/
|
|
109
115
|
export declare class CreateQueueCommand extends $Command<CreateQueueCommandInput, CreateQueueCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -48,6 +48,22 @@ export interface DeleteMessageBatchCommandOutput extends DeleteMessageBatchResul
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new DeleteMessageBatchCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // DeleteMessageBatchResult
|
|
52
|
+
* // Successful: [ // DeleteMessageBatchResultEntryList // required
|
|
53
|
+
* // { // DeleteMessageBatchResultEntry
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // Failed: [ // BatchResultErrorEntryList // required
|
|
58
|
+
* // { // BatchResultErrorEntry
|
|
59
|
+
* // Id: "STRING_VALUE", // required
|
|
60
|
+
* // SenderFault: true || false, // required
|
|
61
|
+
* // Code: "STRING_VALUE", // required
|
|
62
|
+
* // Message: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
51
67
|
* ```
|
|
52
68
|
*
|
|
53
69
|
* @param DeleteMessageBatchCommandInput - {@link DeleteMessageBatchCommandInput}
|
|
@@ -68,6 +84,8 @@ export interface DeleteMessageBatchCommandOutput extends DeleteMessageBatchResul
|
|
|
68
84
|
* @throws {@link TooManyEntriesInBatchRequest} (client fault)
|
|
69
85
|
* <p>The batch request contains more entries than permissible.</p>
|
|
70
86
|
*
|
|
87
|
+
* @throws {@link SQSServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
71
89
|
*
|
|
72
90
|
*/
|
|
73
91
|
export declare class DeleteMessageBatchCommand extends $Command<DeleteMessageBatchCommandInput, DeleteMessageBatchCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -51,6 +51,8 @@ export interface DeleteMessageCommandOutput extends __MetadataBearer {
|
|
|
51
51
|
* };
|
|
52
52
|
* const command = new DeleteMessageCommand(input);
|
|
53
53
|
* const response = await client.send(command);
|
|
54
|
+
* // {};
|
|
55
|
+
*
|
|
54
56
|
* ```
|
|
55
57
|
*
|
|
56
58
|
* @param DeleteMessageCommandInput - {@link DeleteMessageCommandInput}
|
|
@@ -65,6 +67,8 @@ export interface DeleteMessageCommandOutput extends __MetadataBearer {
|
|
|
65
67
|
* @throws {@link ReceiptHandleIsInvalid} (client fault)
|
|
66
68
|
* <p>The specified receipt handle isn't valid.</p>
|
|
67
69
|
*
|
|
70
|
+
* @throws {@link SQSServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
68
72
|
*
|
|
69
73
|
*/
|
|
70
74
|
export declare class DeleteMessageCommand extends $Command<DeleteMessageCommandInput, DeleteMessageCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -45,6 +45,8 @@ export interface DeleteQueueCommandOutput extends __MetadataBearer {
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new DeleteQueueCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
48
50
|
* ```
|
|
49
51
|
*
|
|
50
52
|
* @param DeleteQueueCommandInput - {@link DeleteQueueCommandInput}
|
|
@@ -53,6 +55,8 @@ export interface DeleteQueueCommandOutput extends __MetadataBearer {
|
|
|
53
55
|
* @see {@link DeleteQueueCommandOutput} for command's `response` shape.
|
|
54
56
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
55
57
|
*
|
|
58
|
+
* @throws {@link SQSServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
56
60
|
*
|
|
57
61
|
*/
|
|
58
62
|
export declare class DeleteQueueCommand extends $Command<DeleteQueueCommandInput, DeleteQueueCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -37,6 +37,12 @@ export interface GetQueueAttributesCommandOutput extends GetQueueAttributesResul
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetQueueAttributesCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // GetQueueAttributesResult
|
|
41
|
+
* // Attributes: { // QueueAttributeMap
|
|
42
|
+
* // "<keys>": "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
40
46
|
* ```
|
|
41
47
|
*
|
|
42
48
|
* @param GetQueueAttributesCommandInput - {@link GetQueueAttributesCommandInput}
|
|
@@ -48,6 +54,8 @@ export interface GetQueueAttributesCommandOutput extends GetQueueAttributesResul
|
|
|
48
54
|
* @throws {@link InvalidAttributeName} (client fault)
|
|
49
55
|
* <p>The specified attribute doesn't exist.</p>
|
|
50
56
|
*
|
|
57
|
+
* @throws {@link SQSServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
51
59
|
*
|
|
52
60
|
*/
|
|
53
61
|
export declare class GetQueueAttributesCommand extends $Command<GetQueueAttributesCommandInput, GetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -37,6 +37,10 @@ export interface GetQueueUrlCommandOutput extends GetQueueUrlResult, __MetadataB
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetQueueUrlCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // GetQueueUrlResult
|
|
41
|
+
* // QueueUrl: "STRING_VALUE",
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
40
44
|
* ```
|
|
41
45
|
*
|
|
42
46
|
* @param GetQueueUrlCommandInput - {@link GetQueueUrlCommandInput}
|
|
@@ -48,6 +52,8 @@ export interface GetQueueUrlCommandOutput extends GetQueueUrlResult, __MetadataB
|
|
|
48
52
|
* @throws {@link QueueDoesNotExist} (client fault)
|
|
49
53
|
* <p>The specified queue doesn't exist.</p>
|
|
50
54
|
*
|
|
55
|
+
* @throws {@link SQSServiceException}
|
|
56
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
51
57
|
*
|
|
52
58
|
*/
|
|
53
59
|
export declare class GetQueueUrlCommand extends $Command<GetQueueUrlCommandInput, GetQueueUrlCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -43,6 +43,13 @@ export interface ListDeadLetterSourceQueuesCommandOutput extends ListDeadLetterS
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new ListDeadLetterSourceQueuesCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // ListDeadLetterSourceQueuesResult
|
|
47
|
+
* // queueUrls: [ // QueueUrlList // required
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
46
53
|
* ```
|
|
47
54
|
*
|
|
48
55
|
* @param ListDeadLetterSourceQueuesCommandInput - {@link ListDeadLetterSourceQueuesCommandInput}
|
|
@@ -54,6 +61,8 @@ export interface ListDeadLetterSourceQueuesCommandOutput extends ListDeadLetterS
|
|
|
54
61
|
* @throws {@link QueueDoesNotExist} (client fault)
|
|
55
62
|
* <p>The specified queue doesn't exist.</p>
|
|
56
63
|
*
|
|
64
|
+
* @throws {@link SQSServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
57
66
|
*
|
|
58
67
|
*/
|
|
59
68
|
export declare class ListDeadLetterSourceQueuesCommand extends $Command<ListDeadLetterSourceQueuesCommandInput, ListDeadLetterSourceQueuesCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -37,6 +37,12 @@ export interface ListQueueTagsCommandOutput extends ListQueueTagsResult, __Metad
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ListQueueTagsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // ListQueueTagsResult
|
|
41
|
+
* // Tags: { // TagMap
|
|
42
|
+
* // "<keys>": "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
40
46
|
* ```
|
|
41
47
|
*
|
|
42
48
|
* @param ListQueueTagsCommandInput - {@link ListQueueTagsCommandInput}
|
|
@@ -45,6 +51,8 @@ export interface ListQueueTagsCommandOutput extends ListQueueTagsResult, __Metad
|
|
|
45
51
|
* @see {@link ListQueueTagsCommandOutput} for command's `response` shape.
|
|
46
52
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
47
53
|
*
|
|
54
|
+
* @throws {@link SQSServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
48
56
|
*
|
|
49
57
|
*/
|
|
50
58
|
export declare class ListQueueTagsCommand extends $Command<ListQueueTagsCommandInput, ListQueueTagsCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -46,6 +46,13 @@ export interface ListQueuesCommandOutput extends ListQueuesResult, __MetadataBea
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new ListQueuesCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // { // ListQueuesResult
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // QueueUrls: [ // QueueUrlList
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
49
56
|
* ```
|
|
50
57
|
*
|
|
51
58
|
* @param ListQueuesCommandInput - {@link ListQueuesCommandInput}
|
|
@@ -54,6 +61,8 @@ export interface ListQueuesCommandOutput extends ListQueuesResult, __MetadataBea
|
|
|
54
61
|
* @see {@link ListQueuesCommandOutput} for command's `response` shape.
|
|
55
62
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
56
63
|
*
|
|
64
|
+
* @throws {@link SQSServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
57
66
|
*
|
|
58
67
|
*/
|
|
59
68
|
export declare class ListQueuesCommand extends $Command<ListQueuesCommandInput, ListQueuesCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -44,6 +44,8 @@ export interface PurgeQueueCommandOutput extends __MetadataBearer {
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new PurgeQueueCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
47
49
|
* ```
|
|
48
50
|
*
|
|
49
51
|
* @param PurgeQueueCommandInput - {@link PurgeQueueCommandInput}
|
|
@@ -58,6 +60,8 @@ export interface PurgeQueueCommandOutput extends __MetadataBearer {
|
|
|
58
60
|
* @throws {@link QueueDoesNotExist} (client fault)
|
|
59
61
|
* <p>The specified queue doesn't exist.</p>
|
|
60
62
|
*
|
|
63
|
+
* @throws {@link SQSServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
61
65
|
*
|
|
62
66
|
*/
|
|
63
67
|
export declare class PurgeQueueCommand extends $Command<PurgeQueueCommandInput, PurgeQueueCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -76,6 +76,34 @@ export interface ReceiveMessageCommandOutput extends ReceiveMessageResult, __Met
|
|
|
76
76
|
* };
|
|
77
77
|
* const command = new ReceiveMessageCommand(input);
|
|
78
78
|
* const response = await client.send(command);
|
|
79
|
+
* // { // ReceiveMessageResult
|
|
80
|
+
* // Messages: [ // MessageList
|
|
81
|
+
* // { // Message
|
|
82
|
+
* // MessageId: "STRING_VALUE",
|
|
83
|
+
* // ReceiptHandle: "STRING_VALUE",
|
|
84
|
+
* // MD5OfBody: "STRING_VALUE",
|
|
85
|
+
* // Body: "STRING_VALUE",
|
|
86
|
+
* // Attributes: { // MessageSystemAttributeMap
|
|
87
|
+
* // "<keys>": "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // MD5OfMessageAttributes: "STRING_VALUE",
|
|
90
|
+
* // MessageAttributes: { // MessageBodyAttributeMap
|
|
91
|
+
* // "<keys>": { // MessageAttributeValue
|
|
92
|
+
* // StringValue: "STRING_VALUE",
|
|
93
|
+
* // BinaryValue: "BLOB_VALUE",
|
|
94
|
+
* // StringListValues: [ // StringList
|
|
95
|
+
* // "STRING_VALUE",
|
|
96
|
+
* // ],
|
|
97
|
+
* // BinaryListValues: [ // BinaryList
|
|
98
|
+
* // "BLOB_VALUE",
|
|
99
|
+
* // ],
|
|
100
|
+
* // DataType: "STRING_VALUE", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // };
|
|
106
|
+
*
|
|
79
107
|
* ```
|
|
80
108
|
*
|
|
81
109
|
* @param ReceiveMessageCommandInput - {@link ReceiveMessageCommandInput}
|
|
@@ -90,6 +118,8 @@ export interface ReceiveMessageCommandOutput extends ReceiveMessageResult, __Met
|
|
|
90
118
|
* <code>AddPermission</code> returns this error if the maximum number of permissions
|
|
91
119
|
* for the queue is reached.</p>
|
|
92
120
|
*
|
|
121
|
+
* @throws {@link SQSServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
93
123
|
*
|
|
94
124
|
*/
|
|
95
125
|
export declare class ReceiveMessageCommand extends $Command<ReceiveMessageCommandInput, ReceiveMessageCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -47,6 +47,8 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new RemovePermissionCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // {};
|
|
51
|
+
*
|
|
50
52
|
* ```
|
|
51
53
|
*
|
|
52
54
|
* @param RemovePermissionCommandInput - {@link RemovePermissionCommandInput}
|
|
@@ -55,6 +57,8 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
|
|
|
55
57
|
* @see {@link RemovePermissionCommandOutput} for command's `response` shape.
|
|
56
58
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
57
59
|
*
|
|
60
|
+
* @throws {@link SQSServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
58
62
|
*
|
|
59
63
|
*/
|
|
60
64
|
export declare class RemovePermissionCommand extends $Command<RemovePermissionCommandInput, RemovePermissionCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -84,6 +84,27 @@ export interface SendMessageBatchCommandOutput extends SendMessageBatchResult, _
|
|
|
84
84
|
* };
|
|
85
85
|
* const command = new SendMessageBatchCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
+
* // { // SendMessageBatchResult
|
|
88
|
+
* // Successful: [ // SendMessageBatchResultEntryList // required
|
|
89
|
+
* // { // SendMessageBatchResultEntry
|
|
90
|
+
* // Id: "STRING_VALUE", // required
|
|
91
|
+
* // MessageId: "STRING_VALUE", // required
|
|
92
|
+
* // MD5OfMessageBody: "STRING_VALUE", // required
|
|
93
|
+
* // MD5OfMessageAttributes: "STRING_VALUE",
|
|
94
|
+
* // MD5OfMessageSystemAttributes: "STRING_VALUE",
|
|
95
|
+
* // SequenceNumber: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // Failed: [ // BatchResultErrorEntryList // required
|
|
99
|
+
* // { // BatchResultErrorEntry
|
|
100
|
+
* // Id: "STRING_VALUE", // required
|
|
101
|
+
* // SenderFault: true || false, // required
|
|
102
|
+
* // Code: "STRING_VALUE", // required
|
|
103
|
+
* // Message: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // };
|
|
107
|
+
*
|
|
87
108
|
* ```
|
|
88
109
|
*
|
|
89
110
|
* @param SendMessageBatchCommandInput - {@link SendMessageBatchCommandInput}
|
|
@@ -110,6 +131,8 @@ export interface SendMessageBatchCommandOutput extends SendMessageBatchResult, _
|
|
|
110
131
|
* @throws {@link UnsupportedOperation} (client fault)
|
|
111
132
|
* <p>Error code 400. Unsupported operation.</p>
|
|
112
133
|
*
|
|
134
|
+
* @throws {@link SQSServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
113
136
|
*
|
|
114
137
|
*/
|
|
115
138
|
export declare class SendMessageBatchCommand extends $Command<SendMessageBatchCommandInput, SendMessageBatchCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -68,6 +68,14 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
|
|
|
68
68
|
* };
|
|
69
69
|
* const command = new SendMessageCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
|
+
* // { // SendMessageResult
|
|
72
|
+
* // MD5OfMessageBody: "STRING_VALUE",
|
|
73
|
+
* // MD5OfMessageAttributes: "STRING_VALUE",
|
|
74
|
+
* // MD5OfMessageSystemAttributes: "STRING_VALUE",
|
|
75
|
+
* // MessageId: "STRING_VALUE",
|
|
76
|
+
* // SequenceNumber: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
71
79
|
* ```
|
|
72
80
|
*
|
|
73
81
|
* @param SendMessageCommandInput - {@link SendMessageCommandInput}
|
|
@@ -82,6 +90,8 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
|
|
|
82
90
|
* @throws {@link UnsupportedOperation} (client fault)
|
|
83
91
|
* <p>Error code 400. Unsupported operation.</p>
|
|
84
92
|
*
|
|
93
|
+
* @throws {@link SQSServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
85
95
|
*
|
|
86
96
|
*/
|
|
87
97
|
export declare class SendMessageCommand extends $Command<SendMessageCommandInput, SendMessageCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -50,6 +50,8 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
|
|
|
50
50
|
* };
|
|
51
51
|
* const command = new SetQueueAttributesCommand(input);
|
|
52
52
|
* const response = await client.send(command);
|
|
53
|
+
* // {};
|
|
54
|
+
*
|
|
53
55
|
* ```
|
|
54
56
|
*
|
|
55
57
|
* @param SetQueueAttributesCommandInput - {@link SetQueueAttributesCommandInput}
|
|
@@ -61,6 +63,8 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
|
|
|
61
63
|
* @throws {@link InvalidAttributeName} (client fault)
|
|
62
64
|
* <p>The specified attribute doesn't exist.</p>
|
|
63
65
|
*
|
|
66
|
+
* @throws {@link SQSServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
64
68
|
*
|
|
65
69
|
*/
|
|
66
70
|
export declare class SetQueueAttributesCommand extends $Command<SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -59,6 +59,8 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new TagQueueCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // {};
|
|
63
|
+
*
|
|
62
64
|
* ```
|
|
63
65
|
*
|
|
64
66
|
* @param TagQueueCommandInput - {@link TagQueueCommandInput}
|
|
@@ -67,6 +69,8 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
|
|
|
67
69
|
* @see {@link TagQueueCommandOutput} for command's `response` shape.
|
|
68
70
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
69
71
|
*
|
|
72
|
+
* @throws {@link SQSServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
70
74
|
*
|
|
71
75
|
*/
|
|
72
76
|
export declare class TagQueueCommand extends $Command<TagQueueCommandInput, TagQueueCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -40,6 +40,8 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new UntagQueueCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param UntagQueueCommandInput - {@link UntagQueueCommandInput}
|
|
@@ -48,6 +50,8 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
|
|
|
48
50
|
* @see {@link UntagQueueCommandOutput} for command's `response` shape.
|
|
49
51
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
50
52
|
*
|
|
53
|
+
* @throws {@link SQSServiceException}
|
|
54
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
51
55
|
*
|
|
52
56
|
*/
|
|
53
57
|
export declare class UntagQueueCommand extends $Command<UntagQueueCommandInput, UntagQueueCommandOutput, SQSClientResolvedConfig> {
|
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.
|
|
4
|
+
"version": "3.326.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
35
35
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
36
36
|
"@aws-sdk/middleware-retry": "3.325.0",
|
|
37
|
-
"@aws-sdk/middleware-sdk-sqs": "3.
|
|
37
|
+
"@aws-sdk/middleware-sdk-sqs": "3.326.0",
|
|
38
38
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
39
39
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
40
40
|
"@aws-sdk/middleware-stack": "3.325.0",
|