@aws-sdk/client-sqs 3.299.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.
@@ -65,6 +65,16 @@ 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 = { // AddPermissionRequest
69
+ * QueueUrl: "STRING_VALUE", // required
70
+ * Label: "STRING_VALUE", // required
71
+ * AWSAccountIds: [ // AWSAccountIdList // required
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * Actions: [ // ActionNameList // required
75
+ * "STRING_VALUE",
76
+ * ],
77
+ * };
68
78
  * const command = new AddPermissionCommand(input);
69
79
  * const response = await client.send(command);
70
80
  * ```
@@ -40,6 +40,16 @@ 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 = { // ChangeMessageVisibilityBatchRequest
44
+ * QueueUrl: "STRING_VALUE", // required
45
+ * Entries: [ // ChangeMessageVisibilityBatchRequestEntryList // required
46
+ * { // ChangeMessageVisibilityBatchRequestEntry
47
+ * Id: "STRING_VALUE", // required
48
+ * ReceiptHandle: "STRING_VALUE", // required
49
+ * VisibilityTimeout: Number("int"),
50
+ * },
51
+ * ],
52
+ * };
43
53
  * const command = new ChangeMessageVisibilityBatchCommand(input);
44
54
  * const response = await client.send(command);
45
55
  * ```
@@ -59,6 +59,11 @@ 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 = { // ChangeMessageVisibilityRequest
63
+ * QueueUrl: "STRING_VALUE", // required
64
+ * ReceiptHandle: "STRING_VALUE", // required
65
+ * VisibilityTimeout: Number("int"), // required
66
+ * };
62
67
  * const command = new ChangeMessageVisibilityCommand(input);
63
68
  * const response = await client.send(command);
64
69
  * ```
@@ -77,6 +77,15 @@ 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 = { // CreateQueueRequest
81
+ * QueueName: "STRING_VALUE", // required
82
+ * tags: { // TagMap
83
+ * "<keys>": "STRING_VALUE",
84
+ * },
85
+ * Attributes: { // QueueAttributeMap
86
+ * "<keys>": "STRING_VALUE",
87
+ * },
88
+ * };
80
89
  * const command = new CreateQueueCommand(input);
81
90
  * const response = await client.send(command);
82
91
  * ```
@@ -37,6 +37,15 @@ 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 = { // DeleteMessageBatchRequest
41
+ * QueueUrl: "STRING_VALUE", // required
42
+ * Entries: [ // DeleteMessageBatchRequestEntryList // required
43
+ * { // DeleteMessageBatchRequestEntry
44
+ * Id: "STRING_VALUE", // required
45
+ * ReceiptHandle: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * };
40
49
  * const command = new DeleteMessageBatchCommand(input);
41
50
  * const response = await client.send(command);
42
51
  * ```
@@ -45,6 +45,10 @@ 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 = { // DeleteMessageRequest
49
+ * QueueUrl: "STRING_VALUE", // required
50
+ * ReceiptHandle: "STRING_VALUE", // required
51
+ * };
48
52
  * const command = new DeleteMessageCommand(input);
49
53
  * const response = await client.send(command);
50
54
  * ```
@@ -40,6 +40,9 @@ 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 = { // DeleteQueueRequest
44
+ * QueueUrl: "STRING_VALUE", // required
45
+ * };
43
46
  * const command = new DeleteQueueCommand(input);
44
47
  * const response = await client.send(command);
45
48
  * ```
@@ -29,6 +29,12 @@ 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 = { // GetQueueAttributesRequest
33
+ * QueueUrl: "STRING_VALUE", // required
34
+ * AttributeNames: [ // AttributeNameList
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * };
32
38
  * const command = new GetQueueAttributesCommand(input);
33
39
  * const response = await client.send(command);
34
40
  * ```
@@ -31,6 +31,10 @@ 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 = { // GetQueueUrlRequest
35
+ * QueueName: "STRING_VALUE", // required
36
+ * QueueOwnerAWSAccountId: "STRING_VALUE",
37
+ * };
34
38
  * const command = new GetQueueUrlCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -36,6 +36,11 @@ 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 = { // ListDeadLetterSourceQueuesRequest
40
+ * QueueUrl: "STRING_VALUE", // required
41
+ * NextToken: "STRING_VALUE",
42
+ * MaxResults: Number("int"),
43
+ * };
39
44
  * const command = new ListDeadLetterSourceQueuesCommand(input);
40
45
  * const response = await client.send(command);
41
46
  * ```
@@ -32,6 +32,9 @@ 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 = { // ListQueueTagsRequest
36
+ * QueueUrl: "STRING_VALUE", // required
37
+ * };
35
38
  * const command = new ListQueueTagsCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -39,6 +39,11 @@ 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 = { // ListQueuesRequest
43
+ * QueueNamePrefix: "STRING_VALUE",
44
+ * NextToken: "STRING_VALUE",
45
+ * MaxResults: Number("int"),
46
+ * };
42
47
  * const command = new ListQueuesCommand(input);
43
48
  * const response = await client.send(command);
44
49
  * ```
@@ -39,6 +39,9 @@ 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 = { // PurgeQueueRequest
43
+ * QueueUrl: "STRING_VALUE", // required
44
+ * };
42
45
  * const command = new PurgeQueueCommand(input);
43
46
  * const response = await client.send(command);
44
47
  * ```
@@ -61,6 +61,19 @@ 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 = { // ReceiveMessageRequest
65
+ * QueueUrl: "STRING_VALUE", // required
66
+ * AttributeNames: [ // AttributeNameList
67
+ * "STRING_VALUE",
68
+ * ],
69
+ * MessageAttributeNames: [ // MessageAttributeNameList
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * MaxNumberOfMessages: Number("int"),
73
+ * VisibilityTimeout: Number("int"),
74
+ * WaitTimeSeconds: Number("int"),
75
+ * ReceiveRequestAttemptId: "STRING_VALUE",
76
+ * };
64
77
  * const command = new ReceiveMessageCommand(input);
65
78
  * const response = await client.send(command);
66
79
  * ```
@@ -41,6 +41,10 @@ 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 = { // RemovePermissionRequest
45
+ * QueueUrl: "STRING_VALUE", // required
46
+ * Label: "STRING_VALUE", // required
47
+ * };
44
48
  * const command = new RemovePermissionCommand(input);
45
49
  * const response = await client.send(command);
46
50
  * ```
@@ -44,6 +44,44 @@ 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 = { // SendMessageBatchRequest
48
+ * QueueUrl: "STRING_VALUE", // required
49
+ * Entries: [ // SendMessageBatchRequestEntryList // required
50
+ * { // SendMessageBatchRequestEntry
51
+ * Id: "STRING_VALUE", // required
52
+ * MessageBody: "STRING_VALUE", // required
53
+ * DelaySeconds: Number("int"),
54
+ * MessageAttributes: { // MessageBodyAttributeMap
55
+ * "<keys>": { // MessageAttributeValue
56
+ * StringValue: "STRING_VALUE",
57
+ * BinaryValue: "BLOB_VALUE",
58
+ * StringListValues: [ // StringList
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * BinaryListValues: [ // BinaryList
62
+ * "BLOB_VALUE",
63
+ * ],
64
+ * DataType: "STRING_VALUE", // required
65
+ * },
66
+ * },
67
+ * MessageSystemAttributes: { // MessageBodySystemAttributeMap
68
+ * "<keys>": { // MessageSystemAttributeValue
69
+ * StringValue: "STRING_VALUE",
70
+ * BinaryValue: "BLOB_VALUE",
71
+ * StringListValues: [
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * BinaryListValues: [
75
+ * "BLOB_VALUE",
76
+ * ],
77
+ * DataType: "STRING_VALUE", // required
78
+ * },
79
+ * },
80
+ * MessageDeduplicationId: "STRING_VALUE",
81
+ * MessageGroupId: "STRING_VALUE",
82
+ * },
83
+ * ],
84
+ * };
47
85
  * const command = new SendMessageBatchCommand(input);
48
86
  * const response = await client.send(command);
49
87
  * ```
@@ -33,6 +33,39 @@ 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 = { // SendMessageRequest
37
+ * QueueUrl: "STRING_VALUE", // required
38
+ * MessageBody: "STRING_VALUE", // required
39
+ * DelaySeconds: Number("int"),
40
+ * MessageAttributes: { // MessageBodyAttributeMap
41
+ * "<keys>": { // MessageAttributeValue
42
+ * StringValue: "STRING_VALUE",
43
+ * BinaryValue: "BLOB_VALUE",
44
+ * StringListValues: [ // StringList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * BinaryListValues: [ // BinaryList
48
+ * "BLOB_VALUE",
49
+ * ],
50
+ * DataType: "STRING_VALUE", // required
51
+ * },
52
+ * },
53
+ * MessageSystemAttributes: { // MessageBodySystemAttributeMap
54
+ * "<keys>": { // MessageSystemAttributeValue
55
+ * StringValue: "STRING_VALUE",
56
+ * BinaryValue: "BLOB_VALUE",
57
+ * StringListValues: [
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * BinaryListValues: [
61
+ * "BLOB_VALUE",
62
+ * ],
63
+ * DataType: "STRING_VALUE", // required
64
+ * },
65
+ * },
66
+ * MessageDeduplicationId: "STRING_VALUE",
67
+ * MessageGroupId: "STRING_VALUE",
68
+ * };
36
69
  * const command = new SendMessageCommand(input);
37
70
  * const response = await client.send(command);
38
71
  * ```
@@ -42,6 +42,12 @@ 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 = { // SetQueueAttributesRequest
46
+ * QueueUrl: "STRING_VALUE", // required
47
+ * Attributes: { // QueueAttributeMap // required
48
+ * "<keys>": "STRING_VALUE",
49
+ * },
50
+ * };
45
51
  * const command = new SetQueueAttributesCommand(input);
46
52
  * const response = await client.send(command);
47
53
  * ```
@@ -51,6 +51,12 @@ 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 = { // TagQueueRequest
55
+ * QueueUrl: "STRING_VALUE", // required
56
+ * Tags: { // TagMap // required
57
+ * "<keys>": "STRING_VALUE",
58
+ * },
59
+ * };
54
60
  * const command = new TagQueueCommand(input);
55
61
  * const response = await client.send(command);
56
62
  * ```
@@ -32,6 +32,12 @@ 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 = { // UntagQueueRequest
36
+ * QueueUrl: "STRING_VALUE", // required
37
+ * TagKeys: [ // TagKeyList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
35
41
  * const command = new UntagQueueCommand(input);
36
42
  * const response = await client.send(command);
37
43
  * ```
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.299.0",
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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
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",
@@ -33,13 +33,13 @@
33
33
  "@aws-sdk/middleware-host-header": "3.296.0",
34
34
  "@aws-sdk/middleware-logger": "3.296.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
36
- "@aws-sdk/middleware-retry": "3.296.0",
36
+ "@aws-sdk/middleware-retry": "3.300.0",
37
37
  "@aws-sdk/middleware-sdk-sqs": "3.296.0",
38
38
  "@aws-sdk/middleware-serde": "3.296.0",
39
39
  "@aws-sdk/middleware-signing": "3.299.0",
40
40
  "@aws-sdk/middleware-stack": "3.296.0",
41
41
  "@aws-sdk/middleware-user-agent": "3.299.0",
42
- "@aws-sdk/node-config-provider": "3.296.0",
42
+ "@aws-sdk/node-config-provider": "3.300.0",
43
43
  "@aws-sdk/node-http-handler": "3.296.0",
44
44
  "@aws-sdk/protocol-http": "3.296.0",
45
45
  "@aws-sdk/smithy-client": "3.296.0",
@@ -49,11 +49,11 @@
49
49
  "@aws-sdk/util-body-length-browser": "3.295.0",
50
50
  "@aws-sdk/util-body-length-node": "3.295.0",
51
51
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
52
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
52
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
53
53
  "@aws-sdk/util-endpoints": "3.296.0",
54
54
  "@aws-sdk/util-retry": "3.296.0",
55
55
  "@aws-sdk/util-user-agent-browser": "3.299.0",
56
- "@aws-sdk/util-user-agent-node": "3.299.0",
56
+ "@aws-sdk/util-user-agent-node": "3.300.0",
57
57
  "@aws-sdk/util-utf8": "3.295.0",
58
58
  "fast-xml-parser": "4.1.2",
59
59
  "tslib": "^2.5.0"