@aws-sdk/client-sqs 3.296.0 → 3.298.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 (73) hide show
  1. package/dist-cjs/commands/AddPermissionCommand.js +2 -3
  2. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +2 -3
  3. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +2 -3
  4. package/dist-cjs/commands/CreateQueueCommand.js +2 -3
  5. package/dist-cjs/commands/DeleteMessageBatchCommand.js +2 -3
  6. package/dist-cjs/commands/DeleteMessageCommand.js +2 -3
  7. package/dist-cjs/commands/DeleteQueueCommand.js +2 -3
  8. package/dist-cjs/commands/GetQueueAttributesCommand.js +2 -3
  9. package/dist-cjs/commands/GetQueueUrlCommand.js +2 -3
  10. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +2 -3
  11. package/dist-cjs/commands/ListQueueTagsCommand.js +2 -3
  12. package/dist-cjs/commands/ListQueuesCommand.js +2 -3
  13. package/dist-cjs/commands/PurgeQueueCommand.js +2 -3
  14. package/dist-cjs/commands/ReceiveMessageCommand.js +2 -3
  15. package/dist-cjs/commands/RemovePermissionCommand.js +2 -3
  16. package/dist-cjs/commands/SendMessageBatchCommand.js +2 -3
  17. package/dist-cjs/commands/SendMessageCommand.js +2 -3
  18. package/dist-cjs/commands/SetQueueAttributesCommand.js +2 -3
  19. package/dist-cjs/commands/TagQueueCommand.js +2 -3
  20. package/dist-cjs/commands/UntagQueueCommand.js +2 -3
  21. package/dist-cjs/models/models_0.js +1 -166
  22. package/dist-cjs/protocols/Aws_query.js +17 -78
  23. package/dist-es/commands/AddPermissionCommand.js +2 -3
  24. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +2 -3
  25. package/dist-es/commands/ChangeMessageVisibilityCommand.js +2 -3
  26. package/dist-es/commands/CreateQueueCommand.js +2 -3
  27. package/dist-es/commands/DeleteMessageBatchCommand.js +2 -3
  28. package/dist-es/commands/DeleteMessageCommand.js +2 -3
  29. package/dist-es/commands/DeleteQueueCommand.js +2 -3
  30. package/dist-es/commands/GetQueueAttributesCommand.js +2 -3
  31. package/dist-es/commands/GetQueueUrlCommand.js +2 -3
  32. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +2 -3
  33. package/dist-es/commands/ListQueueTagsCommand.js +2 -3
  34. package/dist-es/commands/ListQueuesCommand.js +2 -3
  35. package/dist-es/commands/PurgeQueueCommand.js +2 -3
  36. package/dist-es/commands/ReceiveMessageCommand.js +2 -3
  37. package/dist-es/commands/RemovePermissionCommand.js +2 -3
  38. package/dist-es/commands/SendMessageBatchCommand.js +2 -3
  39. package/dist-es/commands/SendMessageCommand.js +2 -3
  40. package/dist-es/commands/SetQueueAttributesCommand.js +2 -3
  41. package/dist-es/commands/TagQueueCommand.js +2 -3
  42. package/dist-es/commands/UntagQueueCommand.js +2 -3
  43. package/dist-es/models/models_0.js +0 -123
  44. package/dist-es/protocols/Aws_query.js +17 -78
  45. package/dist-types/SQS.d.ts +21 -0
  46. package/dist-types/SQSClient.d.ts +24 -4
  47. package/dist-types/commands/AddPermissionCommand.d.ts +16 -0
  48. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +16 -0
  49. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +16 -0
  50. package/dist-types/commands/CreateQueueCommand.d.ts +16 -0
  51. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +16 -0
  52. package/dist-types/commands/DeleteMessageCommand.d.ts +16 -0
  53. package/dist-types/commands/DeleteQueueCommand.d.ts +16 -0
  54. package/dist-types/commands/GetQueueAttributesCommand.d.ts +16 -0
  55. package/dist-types/commands/GetQueueUrlCommand.d.ts +16 -0
  56. package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +16 -0
  57. package/dist-types/commands/ListQueueTagsCommand.d.ts +16 -0
  58. package/dist-types/commands/ListQueuesCommand.d.ts +16 -0
  59. package/dist-types/commands/PurgeQueueCommand.d.ts +16 -0
  60. package/dist-types/commands/ReceiveMessageCommand.d.ts +16 -0
  61. package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
  62. package/dist-types/commands/SendMessageBatchCommand.d.ts +16 -0
  63. package/dist-types/commands/SendMessageCommand.d.ts +16 -0
  64. package/dist-types/commands/SetQueueAttributesCommand.d.ts +16 -0
  65. package/dist-types/commands/TagQueueCommand.d.ts +16 -0
  66. package/dist-types/commands/UntagQueueCommand.d.ts +16 -0
  67. package/dist-types/models/SQSServiceException.d.ts +2 -0
  68. package/dist-types/models/models_0.d.ts +81 -169
  69. package/dist-types/pagination/Interfaces.d.ts +3 -0
  70. package/dist-types/pagination/ListDeadLetterSourceQueuesPaginator.d.ts +3 -0
  71. package/dist-types/pagination/ListQueuesPaginator.d.ts +3 -0
  72. package/dist-types/ts3.4/models/models_0.d.ts +0 -121
  73. package/package.json +4 -3
@@ -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 {