@aws-sdk/client-sqs 3.300.0 → 3.301.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 +3 -3
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +3 -3
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +1 -1
- package/dist-types/commands/CreateQueueCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMessageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQueueCommand.d.ts +1 -1
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +2 -2
- package/dist-types/commands/GetQueueUrlCommand.d.ts +1 -1
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +1 -1
- package/dist-types/commands/ListQueueTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
- package/dist-types/commands/PurgeQueueCommand.d.ts +1 -1
- package/dist-types/commands/ReceiveMessageCommand.d.ts +3 -3
- package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
- package/dist-types/commands/SendMessageBatchCommand.d.ts +9 -9
- package/dist-types/commands/SendMessageCommand.d.ts +7 -7
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +2 -2
- package/dist-types/commands/TagQueueCommand.d.ts +2 -2
- package/dist-types/commands/UntagQueueCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -65,13 +65,13 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
|
|
|
65
65
|
* import { SQSClient, AddPermissionCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
66
66
|
* // const { SQSClient, AddPermissionCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
67
67
|
* const client = new SQSClient(config);
|
|
68
|
-
* const input = {
|
|
68
|
+
* const input = { // AddPermissionRequest
|
|
69
69
|
* QueueUrl: "STRING_VALUE", // required
|
|
70
70
|
* Label: "STRING_VALUE", // required
|
|
71
|
-
* AWSAccountIds: [ // required
|
|
71
|
+
* AWSAccountIds: [ // AWSAccountIdList // required
|
|
72
72
|
* "STRING_VALUE",
|
|
73
73
|
* ],
|
|
74
|
-
* Actions: [ // required
|
|
74
|
+
* Actions: [ // ActionNameList // required
|
|
75
75
|
* "STRING_VALUE",
|
|
76
76
|
* ],
|
|
77
77
|
* };
|
|
@@ -40,10 +40,10 @@ export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessage
|
|
|
40
40
|
* import { SQSClient, ChangeMessageVisibilityBatchCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
41
41
|
* // const { SQSClient, ChangeMessageVisibilityBatchCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
42
42
|
* const client = new SQSClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // ChangeMessageVisibilityBatchRequest
|
|
44
44
|
* QueueUrl: "STRING_VALUE", // required
|
|
45
|
-
* Entries: [ // required
|
|
46
|
-
* {
|
|
45
|
+
* Entries: [ // ChangeMessageVisibilityBatchRequestEntryList // required
|
|
46
|
+
* { // ChangeMessageVisibilityBatchRequestEntry
|
|
47
47
|
* Id: "STRING_VALUE", // required
|
|
48
48
|
* ReceiptHandle: "STRING_VALUE", // required
|
|
49
49
|
* VisibilityTimeout: Number("int"),
|
|
@@ -59,7 +59,7 @@ export interface ChangeMessageVisibilityCommandOutput extends __MetadataBearer {
|
|
|
59
59
|
* import { SQSClient, ChangeMessageVisibilityCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
60
60
|
* // const { SQSClient, ChangeMessageVisibilityCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
61
61
|
* const client = new SQSClient(config);
|
|
62
|
-
* const input = {
|
|
62
|
+
* const input = { // ChangeMessageVisibilityRequest
|
|
63
63
|
* QueueUrl: "STRING_VALUE", // required
|
|
64
64
|
* ReceiptHandle: "STRING_VALUE", // required
|
|
65
65
|
* VisibilityTimeout: Number("int"), // required
|
|
@@ -77,12 +77,12 @@ export interface CreateQueueCommandOutput extends CreateQueueResult, __MetadataB
|
|
|
77
77
|
* import { SQSClient, CreateQueueCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
78
78
|
* // const { SQSClient, CreateQueueCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
79
79
|
* const client = new SQSClient(config);
|
|
80
|
-
* const input = {
|
|
80
|
+
* const input = { // CreateQueueRequest
|
|
81
81
|
* QueueName: "STRING_VALUE", // required
|
|
82
|
-
* tags: {
|
|
82
|
+
* tags: { // TagMap
|
|
83
83
|
* "<keys>": "STRING_VALUE",
|
|
84
84
|
* },
|
|
85
|
-
* Attributes: {
|
|
85
|
+
* Attributes: { // QueueAttributeMap
|
|
86
86
|
* "<keys>": "STRING_VALUE",
|
|
87
87
|
* },
|
|
88
88
|
* };
|
|
@@ -37,10 +37,10 @@ export interface DeleteMessageBatchCommandOutput extends DeleteMessageBatchResul
|
|
|
37
37
|
* import { SQSClient, DeleteMessageBatchCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
38
38
|
* // const { SQSClient, DeleteMessageBatchCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
39
39
|
* const client = new SQSClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // DeleteMessageBatchRequest
|
|
41
41
|
* QueueUrl: "STRING_VALUE", // required
|
|
42
|
-
* Entries: [ // required
|
|
43
|
-
* {
|
|
42
|
+
* Entries: [ // DeleteMessageBatchRequestEntryList // required
|
|
43
|
+
* { // DeleteMessageBatchRequestEntry
|
|
44
44
|
* Id: "STRING_VALUE", // required
|
|
45
45
|
* ReceiptHandle: "STRING_VALUE", // required
|
|
46
46
|
* },
|
|
@@ -45,7 +45,7 @@ export interface DeleteMessageCommandOutput extends __MetadataBearer {
|
|
|
45
45
|
* import { SQSClient, DeleteMessageCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
46
46
|
* // const { SQSClient, DeleteMessageCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
47
47
|
* const client = new SQSClient(config);
|
|
48
|
-
* const input = {
|
|
48
|
+
* const input = { // DeleteMessageRequest
|
|
49
49
|
* QueueUrl: "STRING_VALUE", // required
|
|
50
50
|
* ReceiptHandle: "STRING_VALUE", // required
|
|
51
51
|
* };
|
|
@@ -40,7 +40,7 @@ export interface DeleteQueueCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* import { SQSClient, DeleteQueueCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
41
41
|
* // const { SQSClient, DeleteQueueCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
42
42
|
* const client = new SQSClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // DeleteQueueRequest
|
|
44
44
|
* QueueUrl: "STRING_VALUE", // required
|
|
45
45
|
* };
|
|
46
46
|
* const command = new DeleteQueueCommand(input);
|
|
@@ -29,9 +29,9 @@ export interface GetQueueAttributesCommandOutput extends GetQueueAttributesResul
|
|
|
29
29
|
* import { SQSClient, GetQueueAttributesCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
30
30
|
* // const { SQSClient, GetQueueAttributesCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
31
31
|
* const client = new SQSClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // GetQueueAttributesRequest
|
|
33
33
|
* QueueUrl: "STRING_VALUE", // required
|
|
34
|
-
* AttributeNames: [
|
|
34
|
+
* AttributeNames: [ // AttributeNameList
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* };
|
|
@@ -31,7 +31,7 @@ export interface GetQueueUrlCommandOutput extends GetQueueUrlResult, __MetadataB
|
|
|
31
31
|
* import { SQSClient, GetQueueUrlCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
32
32
|
* // const { SQSClient, GetQueueUrlCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
33
33
|
* const client = new SQSClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // GetQueueUrlRequest
|
|
35
35
|
* QueueName: "STRING_VALUE", // required
|
|
36
36
|
* QueueOwnerAWSAccountId: "STRING_VALUE",
|
|
37
37
|
* };
|
|
@@ -36,7 +36,7 @@ export interface ListDeadLetterSourceQueuesCommandOutput extends ListDeadLetterS
|
|
|
36
36
|
* import { SQSClient, ListDeadLetterSourceQueuesCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
37
37
|
* // const { SQSClient, ListDeadLetterSourceQueuesCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
38
38
|
* const client = new SQSClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // ListDeadLetterSourceQueuesRequest
|
|
40
40
|
* QueueUrl: "STRING_VALUE", // required
|
|
41
41
|
* NextToken: "STRING_VALUE",
|
|
42
42
|
* MaxResults: Number("int"),
|
|
@@ -32,7 +32,7 @@ export interface ListQueueTagsCommandOutput extends ListQueueTagsResult, __Metad
|
|
|
32
32
|
* import { SQSClient, ListQueueTagsCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
33
33
|
* // const { SQSClient, ListQueueTagsCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
34
34
|
* const client = new SQSClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListQueueTagsRequest
|
|
36
36
|
* QueueUrl: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ListQueueTagsCommand(input);
|
|
@@ -39,7 +39,7 @@ export interface ListQueuesCommandOutput extends ListQueuesResult, __MetadataBea
|
|
|
39
39
|
* import { SQSClient, ListQueuesCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
40
40
|
* // const { SQSClient, ListQueuesCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
41
41
|
* const client = new SQSClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // ListQueuesRequest
|
|
43
43
|
* QueueNamePrefix: "STRING_VALUE",
|
|
44
44
|
* NextToken: "STRING_VALUE",
|
|
45
45
|
* MaxResults: Number("int"),
|
|
@@ -39,7 +39,7 @@ export interface PurgeQueueCommandOutput extends __MetadataBearer {
|
|
|
39
39
|
* import { SQSClient, PurgeQueueCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
40
40
|
* // const { SQSClient, PurgeQueueCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
41
41
|
* const client = new SQSClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // PurgeQueueRequest
|
|
43
43
|
* QueueUrl: "STRING_VALUE", // required
|
|
44
44
|
* };
|
|
45
45
|
* const command = new PurgeQueueCommand(input);
|
|
@@ -61,12 +61,12 @@ export interface ReceiveMessageCommandOutput extends ReceiveMessageResult, __Met
|
|
|
61
61
|
* import { SQSClient, ReceiveMessageCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
62
62
|
* // const { SQSClient, ReceiveMessageCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
63
63
|
* const client = new SQSClient(config);
|
|
64
|
-
* const input = {
|
|
64
|
+
* const input = { // ReceiveMessageRequest
|
|
65
65
|
* QueueUrl: "STRING_VALUE", // required
|
|
66
|
-
* AttributeNames: [
|
|
66
|
+
* AttributeNames: [ // AttributeNameList
|
|
67
67
|
* "STRING_VALUE",
|
|
68
68
|
* ],
|
|
69
|
-
* MessageAttributeNames: [
|
|
69
|
+
* MessageAttributeNames: [ // MessageAttributeNameList
|
|
70
70
|
* "STRING_VALUE",
|
|
71
71
|
* ],
|
|
72
72
|
* MaxNumberOfMessages: Number("int"),
|
|
@@ -41,7 +41,7 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
|
|
|
41
41
|
* import { SQSClient, RemovePermissionCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
42
42
|
* // const { SQSClient, RemovePermissionCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
43
43
|
* const client = new SQSClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // RemovePermissionRequest
|
|
45
45
|
* QueueUrl: "STRING_VALUE", // required
|
|
46
46
|
* Label: "STRING_VALUE", // required
|
|
47
47
|
* };
|
|
@@ -44,28 +44,28 @@ export interface SendMessageBatchCommandOutput extends SendMessageBatchResult, _
|
|
|
44
44
|
* import { SQSClient, SendMessageBatchCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
45
45
|
* // const { SQSClient, SendMessageBatchCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
46
46
|
* const client = new SQSClient(config);
|
|
47
|
-
* const input = {
|
|
47
|
+
* const input = { // SendMessageBatchRequest
|
|
48
48
|
* QueueUrl: "STRING_VALUE", // required
|
|
49
|
-
* Entries: [ // required
|
|
50
|
-
* {
|
|
49
|
+
* Entries: [ // SendMessageBatchRequestEntryList // required
|
|
50
|
+
* { // SendMessageBatchRequestEntry
|
|
51
51
|
* Id: "STRING_VALUE", // required
|
|
52
52
|
* MessageBody: "STRING_VALUE", // required
|
|
53
53
|
* DelaySeconds: Number("int"),
|
|
54
|
-
* MessageAttributes: {
|
|
55
|
-
* "<keys>": {
|
|
54
|
+
* MessageAttributes: { // MessageBodyAttributeMap
|
|
55
|
+
* "<keys>": { // MessageAttributeValue
|
|
56
56
|
* StringValue: "STRING_VALUE",
|
|
57
57
|
* BinaryValue: "BLOB_VALUE",
|
|
58
|
-
* StringListValues: [
|
|
58
|
+
* StringListValues: [ // StringList
|
|
59
59
|
* "STRING_VALUE",
|
|
60
60
|
* ],
|
|
61
|
-
* BinaryListValues: [
|
|
61
|
+
* BinaryListValues: [ // BinaryList
|
|
62
62
|
* "BLOB_VALUE",
|
|
63
63
|
* ],
|
|
64
64
|
* DataType: "STRING_VALUE", // required
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
|
-
* MessageSystemAttributes: {
|
|
68
|
-
* "<keys>": {
|
|
67
|
+
* MessageSystemAttributes: { // MessageBodySystemAttributeMap
|
|
68
|
+
* "<keys>": { // MessageSystemAttributeValue
|
|
69
69
|
* StringValue: "STRING_VALUE",
|
|
70
70
|
* BinaryValue: "BLOB_VALUE",
|
|
71
71
|
* StringListValues: [
|
|
@@ -33,25 +33,25 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
|
|
|
33
33
|
* import { SQSClient, SendMessageCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
34
34
|
* // const { SQSClient, SendMessageCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
35
35
|
* const client = new SQSClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // SendMessageRequest
|
|
37
37
|
* QueueUrl: "STRING_VALUE", // required
|
|
38
38
|
* MessageBody: "STRING_VALUE", // required
|
|
39
39
|
* DelaySeconds: Number("int"),
|
|
40
|
-
* MessageAttributes: {
|
|
41
|
-
* "<keys>": {
|
|
40
|
+
* MessageAttributes: { // MessageBodyAttributeMap
|
|
41
|
+
* "<keys>": { // MessageAttributeValue
|
|
42
42
|
* StringValue: "STRING_VALUE",
|
|
43
43
|
* BinaryValue: "BLOB_VALUE",
|
|
44
|
-
* StringListValues: [
|
|
44
|
+
* StringListValues: [ // StringList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
|
-
* BinaryListValues: [
|
|
47
|
+
* BinaryListValues: [ // BinaryList
|
|
48
48
|
* "BLOB_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* DataType: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
53
|
-
* MessageSystemAttributes: {
|
|
54
|
-
* "<keys>": {
|
|
53
|
+
* MessageSystemAttributes: { // MessageBodySystemAttributeMap
|
|
54
|
+
* "<keys>": { // MessageSystemAttributeValue
|
|
55
55
|
* StringValue: "STRING_VALUE",
|
|
56
56
|
* BinaryValue: "BLOB_VALUE",
|
|
57
57
|
* StringListValues: [
|
|
@@ -42,9 +42,9 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* import { SQSClient, SetQueueAttributesCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
43
43
|
* // const { SQSClient, SetQueueAttributesCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
44
44
|
* const client = new SQSClient(config);
|
|
45
|
-
* const input = {
|
|
45
|
+
* const input = { // SetQueueAttributesRequest
|
|
46
46
|
* QueueUrl: "STRING_VALUE", // required
|
|
47
|
-
* Attributes: { // required
|
|
47
|
+
* Attributes: { // QueueAttributeMap // required
|
|
48
48
|
* "<keys>": "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* };
|
|
@@ -51,9 +51,9 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
|
|
|
51
51
|
* import { SQSClient, TagQueueCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
52
52
|
* // const { SQSClient, TagQueueCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
53
53
|
* const client = new SQSClient(config);
|
|
54
|
-
* const input = {
|
|
54
|
+
* const input = { // TagQueueRequest
|
|
55
55
|
* QueueUrl: "STRING_VALUE", // required
|
|
56
|
-
* Tags: { // required
|
|
56
|
+
* Tags: { // TagMap // required
|
|
57
57
|
* "<keys>": "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
59
|
* };
|
|
@@ -32,9 +32,9 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* import { SQSClient, UntagQueueCommand } from "@aws-sdk/client-sqs"; // ES Modules import
|
|
33
33
|
* // const { SQSClient, UntagQueueCommand } = require("@aws-sdk/client-sqs"); // CommonJS import
|
|
34
34
|
* const client = new SQSClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // UntagQueueRequest
|
|
36
36
|
* QueueUrl: "STRING_VALUE", // required
|
|
37
|
-
* TagKeys: [ // required
|
|
37
|
+
* TagKeys: [ // TagKeyList // required
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* };
|
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.301.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.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|