@aws-sdk/client-sqs 3.295.0 → 3.297.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.
Files changed (30) hide show
  1. package/dist-cjs/protocols/Aws_query.js +17 -78
  2. package/dist-es/protocols/Aws_query.js +17 -78
  3. package/dist-types/SQS.d.ts +21 -0
  4. package/dist-types/SQSClient.d.ts +24 -4
  5. package/dist-types/commands/AddPermissionCommand.d.ts +16 -0
  6. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +16 -0
  7. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +16 -0
  8. package/dist-types/commands/CreateQueueCommand.d.ts +16 -0
  9. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +16 -0
  10. package/dist-types/commands/DeleteMessageCommand.d.ts +16 -0
  11. package/dist-types/commands/DeleteQueueCommand.d.ts +16 -0
  12. package/dist-types/commands/GetQueueAttributesCommand.d.ts +16 -0
  13. package/dist-types/commands/GetQueueUrlCommand.d.ts +16 -0
  14. package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +16 -0
  15. package/dist-types/commands/ListQueueTagsCommand.d.ts +16 -0
  16. package/dist-types/commands/ListQueuesCommand.d.ts +16 -0
  17. package/dist-types/commands/PurgeQueueCommand.d.ts +16 -0
  18. package/dist-types/commands/ReceiveMessageCommand.d.ts +16 -0
  19. package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
  20. package/dist-types/commands/SendMessageBatchCommand.d.ts +16 -0
  21. package/dist-types/commands/SendMessageCommand.d.ts +16 -0
  22. package/dist-types/commands/SetQueueAttributesCommand.d.ts +16 -0
  23. package/dist-types/commands/TagQueueCommand.d.ts +16 -0
  24. package/dist-types/commands/UntagQueueCommand.d.ts +16 -0
  25. package/dist-types/models/SQSServiceException.d.ts +2 -0
  26. package/dist-types/models/models_0.d.ts +81 -5
  27. package/dist-types/pagination/Interfaces.d.ts +3 -0
  28. package/dist-types/pagination/ListDeadLetterSourceQueuesPaginator.d.ts +3 -0
  29. package/dist-types/pagination/ListQueuesPaginator.d.ts +3 -0
  30. package/package.json +31 -31
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ReceiveMessageRequest, ReceiveMessageResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ReceiveMessageCommand}.
8
10
  */
9
11
  export interface ReceiveMessageCommandInput extends ReceiveMessageRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ReceiveMessageCommand}.
13
17
  */
14
18
  export interface ReceiveMessageCommandOutput extends ReceiveMessageResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Retrieves one or more messages (up to 10), from the specified queue. Using the <code>WaitTimeSeconds</code> parameter enables long-poll support.
18
23
  * For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html">Amazon SQS Long Polling</a> in the <i>Amazon SQS Developer Guide</i>.
19
24
  * </p>
@@ -60,6 +65,8 @@ export interface ReceiveMessageCommandOutput extends ReceiveMessageResult, __Met
60
65
  * const response = await client.send(command);
61
66
  * ```
62
67
  *
68
+ * @param ReceiveMessageCommandInput - {@link ReceiveMessageCommandInput}
69
+ * @returns {@link ReceiveMessageCommandOutput}
63
70
  * @see {@link ReceiveMessageCommandInput} for command's `input` shape.
64
71
  * @see {@link ReceiveMessageCommandOutput} for command's `response` shape.
65
72
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
@@ -75,11 +82,20 @@ export interface ReceiveMessageCommandOutput extends ReceiveMessageResult, __Met
75
82
  export declare class ReceiveMessageCommand extends $Command<ReceiveMessageCommandInput, ReceiveMessageCommandOutput, SQSClientResolvedConfig> {
76
83
  readonly input: ReceiveMessageCommandInput;
77
84
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
78
88
  constructor(input: ReceiveMessageCommandInput);
79
89
  /**
80
90
  * @internal
81
91
  */
82
92
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ReceiveMessageCommandInput, ReceiveMessageCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
83
96
  private serialize;
97
+ /**
98
+ * @internal
99
+ */
84
100
  private deserialize;
85
101
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { RemovePermissionRequest } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link RemovePermissionCommand}.
8
10
  */
9
11
  export interface RemovePermissionCommandInput extends RemovePermissionRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link RemovePermissionCommand}.
13
17
  */
14
18
  export interface RemovePermissionCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Revokes any permissions in the queue policy that matches the specified <code>Label</code> parameter.</p>
18
23
  * <note>
19
24
  * <ul>
@@ -40,6 +45,8 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
40
45
  * const response = await client.send(command);
41
46
  * ```
42
47
  *
48
+ * @param RemovePermissionCommandInput - {@link RemovePermissionCommandInput}
49
+ * @returns {@link RemovePermissionCommandOutput}
43
50
  * @see {@link RemovePermissionCommandInput} for command's `input` shape.
44
51
  * @see {@link RemovePermissionCommandOutput} for command's `response` shape.
45
52
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
@@ -49,11 +56,20 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
49
56
  export declare class RemovePermissionCommand extends $Command<RemovePermissionCommandInput, RemovePermissionCommandOutput, SQSClientResolvedConfig> {
50
57
  readonly input: RemovePermissionCommandInput;
51
58
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
52
62
  constructor(input: RemovePermissionCommandInput);
53
63
  /**
54
64
  * @internal
55
65
  */
56
66
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemovePermissionCommandInput, RemovePermissionCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
57
70
  private serialize;
71
+ /**
72
+ * @internal
73
+ */
58
74
  private deserialize;
59
75
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { SendMessageBatchRequest, SendMessageBatchResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SendMessageBatchCommand}.
8
10
  */
9
11
  export interface SendMessageBatchCommandInput extends SendMessageBatchRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SendMessageBatchCommand}.
13
17
  */
14
18
  export interface SendMessageBatchCommandOutput extends SendMessageBatchResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Delivers up to ten messages to the specified queue. This is a batch version of <code>
18
23
  * <a>SendMessage</a>.</code> For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent.</p>
19
24
  * <p>The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of <code>200</code>.</p>
@@ -43,6 +48,8 @@ export interface SendMessageBatchCommandOutput extends SendMessageBatchResult, _
43
48
  * const response = await client.send(command);
44
49
  * ```
45
50
  *
51
+ * @param SendMessageBatchCommandInput - {@link SendMessageBatchCommandInput}
52
+ * @returns {@link SendMessageBatchCommandOutput}
46
53
  * @see {@link SendMessageBatchCommandInput} for command's `input` shape.
47
54
  * @see {@link SendMessageBatchCommandOutput} for command's `response` shape.
48
55
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
@@ -70,11 +77,20 @@ export interface SendMessageBatchCommandOutput extends SendMessageBatchResult, _
70
77
  export declare class SendMessageBatchCommand extends $Command<SendMessageBatchCommandInput, SendMessageBatchCommandOutput, SQSClientResolvedConfig> {
71
78
  readonly input: SendMessageBatchCommandInput;
72
79
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
73
83
  constructor(input: SendMessageBatchCommandInput);
74
84
  /**
75
85
  * @internal
76
86
  */
77
87
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendMessageBatchCommandInput, SendMessageBatchCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
78
91
  private serialize;
92
+ /**
93
+ * @internal
94
+ */
79
95
  private deserialize;
80
96
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { SendMessageRequest, SendMessageResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SendMessageCommand}.
8
10
  */
9
11
  export interface SendMessageCommandInput extends SendMessageRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SendMessageCommand}.
13
17
  */
14
18
  export interface SendMessageCommandOutput extends SendMessageResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Delivers a message to the specified queue.</p>
18
23
  * <important>
19
24
  * <p>A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:</p>
@@ -32,6 +37,8 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
32
37
  * const response = await client.send(command);
33
38
  * ```
34
39
  *
40
+ * @param SendMessageCommandInput - {@link SendMessageCommandInput}
41
+ * @returns {@link SendMessageCommandOutput}
35
42
  * @see {@link SendMessageCommandInput} for command's `input` shape.
36
43
  * @see {@link SendMessageCommandOutput} for command's `response` shape.
37
44
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
@@ -47,11 +54,20 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
47
54
  export declare class SendMessageCommand extends $Command<SendMessageCommandInput, SendMessageCommandOutput, SQSClientResolvedConfig> {
48
55
  readonly input: SendMessageCommandInput;
49
56
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
57
+ /**
58
+ * @public
59
+ */
50
60
  constructor(input: SendMessageCommandInput);
51
61
  /**
52
62
  * @internal
53
63
  */
54
64
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendMessageCommandInput, SendMessageCommandOutput>;
65
+ /**
66
+ * @internal
67
+ */
55
68
  private serialize;
69
+ /**
70
+ * @internal
71
+ */
56
72
  private deserialize;
57
73
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { SetQueueAttributesRequest } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SetQueueAttributesCommand}.
8
10
  */
9
11
  export interface SetQueueAttributesCommandInput extends SetQueueAttributesRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SetQueueAttributesCommand}.
13
17
  */
14
18
  export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system.
18
23
  * Changes made to the <code>MessageRetentionPeriod</code> attribute can take up to 15 minutes.</p>
19
24
  * <note>
@@ -41,6 +46,8 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
41
46
  * const response = await client.send(command);
42
47
  * ```
43
48
  *
49
+ * @param SetQueueAttributesCommandInput - {@link SetQueueAttributesCommandInput}
50
+ * @returns {@link SetQueueAttributesCommandOutput}
44
51
  * @see {@link SetQueueAttributesCommandInput} for command's `input` shape.
45
52
  * @see {@link SetQueueAttributesCommandOutput} for command's `response` shape.
46
53
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
@@ -53,11 +60,20 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
53
60
  export declare class SetQueueAttributesCommand extends $Command<SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
54
61
  readonly input: SetQueueAttributesCommandInput;
55
62
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
56
66
  constructor(input: SetQueueAttributesCommandInput);
57
67
  /**
58
68
  * @internal
59
69
  */
60
70
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
61
74
  private serialize;
75
+ /**
76
+ * @internal
77
+ */
62
78
  private deserialize;
63
79
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { TagQueueRequest } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link TagQueueCommand}.
8
10
  */
9
11
  export interface TagQueueCommandInput extends TagQueueRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link TagQueueCommand}.
13
17
  */
14
18
  export interface TagQueueCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Add cost allocation tags to the specified Amazon SQS queue. For an overview, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
18
23
  * Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
19
24
  *
@@ -50,6 +55,8 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
50
55
  * const response = await client.send(command);
51
56
  * ```
52
57
  *
58
+ * @param TagQueueCommandInput - {@link TagQueueCommandInput}
59
+ * @returns {@link TagQueueCommandOutput}
53
60
  * @see {@link TagQueueCommandInput} for command's `input` shape.
54
61
  * @see {@link TagQueueCommandOutput} for command's `response` shape.
55
62
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
@@ -59,11 +66,20 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
59
66
  export declare class TagQueueCommand extends $Command<TagQueueCommandInput, TagQueueCommandOutput, SQSClientResolvedConfig> {
60
67
  readonly input: TagQueueCommandInput;
61
68
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
62
72
  constructor(input: TagQueueCommandInput);
63
73
  /**
64
74
  * @internal
65
75
  */
66
76
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagQueueCommandInput, TagQueueCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
67
80
  private serialize;
81
+ /**
82
+ * @internal
83
+ */
68
84
  private deserialize;
69
85
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { UntagQueueRequest } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UntagQueueCommand}.
8
10
  */
9
11
  export interface UntagQueueCommandInput extends UntagQueueRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UntagQueueCommand}.
13
17
  */
14
18
  export interface UntagQueueCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
18
23
  * Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
19
24
  * <note>
@@ -31,6 +36,8 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
31
36
  * const response = await client.send(command);
32
37
  * ```
33
38
  *
39
+ * @param UntagQueueCommandInput - {@link UntagQueueCommandInput}
40
+ * @returns {@link UntagQueueCommandOutput}
34
41
  * @see {@link UntagQueueCommandInput} for command's `input` shape.
35
42
  * @see {@link UntagQueueCommandOutput} for command's `response` shape.
36
43
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
@@ -40,11 +47,20 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
40
47
  export declare class UntagQueueCommand extends $Command<UntagQueueCommandInput, UntagQueueCommandOutput, SQSClientResolvedConfig> {
41
48
  readonly input: UntagQueueCommandInput;
42
49
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
50
+ /**
51
+ * @public
52
+ */
43
53
  constructor(input: UntagQueueCommandInput);
44
54
  /**
45
55
  * @internal
46
56
  */
47
57
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagQueueCommandInput, UntagQueueCommandOutput>;
58
+ /**
59
+ * @internal
60
+ */
48
61
  private serialize;
62
+ /**
63
+ * @internal
64
+ */
49
65
  private deserialize;
50
66
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from SQS service.
4
6
  */
5
7
  export declare class SQSServiceException extends __ServiceException {