You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-sqs/README.md
+7-8
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@
7
7
AWS SDK for JavaScript SQS Client for Node.js, Browser and React Native.
8
8
9
9
<p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
10
-
<p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they
11
-
travel between applications or microservices. Amazon SQS moves data between distributed
12
-
application components and helps you decouple these components.</p>
10
+
<p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel
11
+
between applications or microservices. Amazon SQS moves data between distributed application
12
+
components and helps you decouple these components.</p>
13
13
<p>For information on the permissions you need to use this API, see <ahref="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-authentication-and-access-control.html">Identity and access management</a> in the <i>Amazon SQS Developer
14
14
Guide.</i>
15
15
</p>
16
-
<p>You can use <ahref="http://aws.amazon.com/tools/#sdk">Amazon Web Services
17
-
SDKs</a> to access Amazon SQS using your favorite programming language. The SDKs
18
-
perform tasks such as the following automatically:</p>
16
+
<p>You can use <ahref="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access
17
+
Amazon SQS using your favorite programming language. The SDKs perform tasks such as the
18
+
following automatically:</p>
19
19
<ul>
20
20
<li>
21
21
<p>Cryptographically sign your service requests</p>
@@ -60,8 +60,7 @@ perform tasks such as the following automatically:</p>
60
60
</li>
61
61
<li>
62
62
<p>
63
-
<ahref="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line
64
-
Interface</i>
63
+
<ahref="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line Interface</i>
Copy file name to clipboardExpand all lines: clients/client-sqs/src/SQS.ts
+7-8
Original file line number
Diff line number
Diff line change
@@ -440,15 +440,15 @@ export interface SQS {
440
440
441
441
/**
442
442
* <p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
443
-
* <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they
444
-
* travel between applications or microservices. Amazon SQS moves data between distributed
445
-
* application components and helps you decouple these components.</p>
443
+
* <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel
444
+
* between applications or microservices. Amazon SQS moves data between distributed application
445
+
* components and helps you decouple these components.</p>
446
446
* <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-authentication-and-access-control.html">Identity and access management</a> in the <i>Amazon SQS Developer
447
447
* Guide.</i>
448
448
* </p>
449
-
* <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services
450
-
* SDKs</a> to access Amazon SQS using your favorite programming language. The SDKs
451
-
* perform tasks such as the following automatically:</p>
449
+
* <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access
450
+
* Amazon SQS using your favorite programming language. The SDKs perform tasks such as the
451
+
* following automatically:</p>
452
452
* <ul>
453
453
* <li>
454
454
* <p>Cryptographically sign your service requests</p>
@@ -493,8 +493,7 @@ export interface SQS {
493
493
* </li>
494
494
* <li>
495
495
* <p>
496
-
* <a href="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line
497
-
* Interface</i>
496
+
* <a href="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line Interface</i>
* <p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
353
-
* <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they
354
-
* travel between applications or microservices. Amazon SQS moves data between distributed
355
-
* application components and helps you decouple these components.</p>
353
+
* <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel
354
+
* between applications or microservices. Amazon SQS moves data between distributed application
355
+
* components and helps you decouple these components.</p>
356
356
* <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-authentication-and-access-control.html">Identity and access management</a> in the <i>Amazon SQS Developer
357
357
* Guide.</i>
358
358
* </p>
359
-
* <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services
360
-
* SDKs</a> to access Amazon SQS using your favorite programming language. The SDKs
361
-
* perform tasks such as the following automatically:</p>
359
+
* <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access
360
+
* Amazon SQS using your favorite programming language. The SDKs perform tasks such as the
361
+
* following automatically:</p>
362
362
* <ul>
363
363
* <li>
364
364
* <p>Cryptographically sign your service requests</p>
* <p>When you create a queue, you have full control access rights for the queue. Only you,
33
33
* the owner of the queue, can grant or deny permissions to the queue. For more information
34
-
* about these permissions, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue">Allow Developers to Write Messages to a Shared Queue</a> in the
35
-
* <i>Amazon SQS Developer Guide</i>.</p>
34
+
* about these permissions, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue">Allow Developers to Write Messages to a Shared Queue</a> in the <i>Amazon SQS
* policy. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html">Using Custom Policies with the Amazon SQS Access Policy
45
-
* Language</a> in the <i>Amazon SQS Developer
46
-
* Guide</i>.</p>
44
+
* policy. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html">Using Custom Policies with the Amazon SQS Access Policy Language</a> in
45
+
* the <i>Amazon SQS Developer Guide</i>.</p>
47
46
* </li>
48
47
* <li>
49
-
* <p>An Amazon SQS policy can have a maximum of seven actions per
50
-
* statement.</p>
48
+
* <p>An Amazon SQS policy can have a maximum of seven actions per statement.</p>
51
49
* </li>
52
50
* <li>
53
-
* <p>To remove the ability to change queue permissions, you must deny
54
-
* permission to the <code>AddPermission</code>, <code>RemovePermission</code>,
55
-
* and <code>SetQueueAttributes</code> actions in your IAM policy.</p>
51
+
* <p>To remove the ability to change queue permissions, you must deny permission to the <code>AddPermission</code>, <code>RemovePermission</code>, and <code>SetQueueAttributes</code> actions in your IAM policy.</p>
56
52
* </li>
57
53
* <li>
58
-
* <p>Amazon SQS <code>AddPermission</code> does not support adding a
59
-
* non-account principal.</p>
54
+
* <p>Amazon SQS <code>AddPermission</code> does not support adding a non-account
55
+
* principal.</p>
60
56
* </li>
61
57
* </ul>
62
58
* </note>
63
59
* <note>
64
-
* <p>Cross-account permissions don't apply to this action. For more information, see
65
-
* <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant cross-account permissions to a role and a username</a> in the
66
-
* <i>Amazon SQS Developer Guide</i>.</p>
60
+
* <p>Cross-account permissions don't apply to this action. For more information,
61
+
* see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant
62
+
* cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
67
63
* </note>
68
64
* @example
69
65
* Use a bare-bones client and the command you need to make an API call.
* <p>Because the batch request can result in a combination of successful and
45
-
* unsuccessful actions, you should check for batch errors even when the call returns
46
-
* an HTTP status code of <code>200</code>.</p>
44
+
* <p>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>
47
45
* </important>
48
46
* @example
49
47
* Use a bare-bones client and the command you need to make an API call.
* <p>A message is considered to be <i>stored</i> after it is sent to a queue
54
-
* by a producer, but not yet received from the queue by a consumer (that is, between
55
-
* states 1 and 2). There is no limit to the number of stored messages. A message is
56
-
* considered to be <i>in flight</i> after it is received from a queue by a
57
-
* consumer, but not yet deleted from the queue (that is, between states 2 and 3). There is
58
-
* a limit to the number of in flight messages.</p>
59
-
* <p>Limits that apply to in flight messages are unrelated to the
60
-
* <i>unlimited</i> number of stored messages.</p>
61
-
* <p>For most standard queues (depending on queue traffic and message backlog), there can
62
-
* be a maximum of approximately 120,000 in flight messages (received from a queue by a
63
-
* consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS
64
-
* returns the <code>OverLimit</code> error message. To avoid reaching the limit, you
65
-
* should delete messages from the queue after they're processed. You can also increase the
66
-
* number of queues you use to process your messages. To request a limit increase, <a href="https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-sqs">file a support request</a>.</p>
67
-
* <p>For FIFO queues, there can be a maximum of 20,000 in flight messages (received from a
68
-
* queue by a consumer, but not yet deleted from the queue). If you reach this limit,
69
-
* Amazon SQS returns no error messages.</p>
53
+
* <p>A message is considered to be <i>stored</i> after it is sent to a queue by a producer, but not yet received from the queue by a consumer (that is, between states 1 and 2). There is no limit to the number of stored messages.
54
+
* A message is considered to be <i>in flight</i> after it is received from a queue by a consumer, but not yet deleted from the queue (that is, between states 2 and 3). There is a limit to the number of in flight messages.</p>
55
+
* <p>Limits that apply to in flight messages are unrelated to the <i>unlimited</i> number of stored messages.</p>
56
+
* <p>For most standard queues (depending on queue traffic and message backlog), there can be a maximum of approximately 120,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue).
57
+
* If you reach this limit, Amazon SQS returns the <code>OverLimit</code> error message.
58
+
* To avoid reaching the limit, you should delete messages from the queue after they're processed. You can also increase the number of queues you use to process your messages.
59
+
* To request a limit increase, <a href="https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-sqs">file a support request</a>.</p>
60
+
* <p>For FIFO queues, there can be a maximum of 20,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS returns no error messages.</p>
70
61
* <important>
71
62
* <p>If you attempt to set the <code>VisibilityTimeout</code> to a value greater than
72
63
* the maximum time left, Amazon SQS returns an error. Amazon SQS doesn't automatically
* <p>Cross-account permissions don't apply to this action. For more information, see
80
-
* <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant cross-account permissions to a role and a username</a> in the
81
-
* <i>Amazon SQS Developer Guide</i>.</p>
78
+
* <p>Cross-account permissions don't apply to this action. For more information,
79
+
* see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant
80
+
* cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
82
81
* </note>
83
82
* @example
84
83
* Use a bare-bones client and the command you need to make an API call.
* <a>DeleteMessage</a>.</code> The result of the action on each
33
33
* message is reported individually in the response.</p>
34
34
* <important>
35
-
* <p>Because the batch request can result in a combination of successful and
36
-
* unsuccessful actions, you should check for batch errors even when the call returns
37
-
* an HTTP status code of <code>200</code>.</p>
35
+
* <p>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>
38
36
* </important>
39
37
* @example
40
38
* Use a bare-bones client and the command you need to make an API call.
0 commit comments