Skip to content

Commit f068d1a

Browse files
committed
chore(client-sqs): restore default client sqs
1 parent 3127615 commit f068d1a

34 files changed

+4010
-4838
lines changed

clients/client-sqs/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
AWS SDK for JavaScript SQS Client for Node.js, Browser and React Native.
88

99
<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>
1313
<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
1414
Guide.</i>
1515
</p>
16-
<p>You can use <a href="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 <a href="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>
1919
<ul>
2020
<li>
2121
<p>Cryptographically sign your service requests</p>
@@ -60,8 +60,7 @@ perform tasks such as the following automatically:</p>
6060
</li>
6161
<li>
6262
<p>
63-
<a href="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line
64-
Interface</i>
63+
<a href="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line Interface</i>
6564
</a>
6665
</p>
6766
</li>

clients/client-sqs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"@smithy/util-endpoints": "^1.0.2",
6060
"@smithy/util-retry": "^2.0.5",
6161
"@smithy/util-utf8": "^2.0.0",
62+
"fast-xml-parser": "4.2.5",
6263
"tslib": "^2.5.0"
6364
},
6465
"devDependencies": {

clients/client-sqs/src/SQS.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -440,15 +440,15 @@ export interface SQS {
440440
/**
441441
* @public
442442
* <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>
446446
* <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
447447
* Guide.</i>
448448
* </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>
452452
* <ul>
453453
* <li>
454454
* <p>Cryptographically sign your service requests</p>
@@ -493,8 +493,7 @@ export interface SQS {
493493
* </li>
494494
* <li>
495495
* <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>
498497
* </a>
499498
* </p>
500499
* </li>

clients/client-sqs/src/SQSClient.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -338,15 +338,15 @@ export interface SQSClientResolvedConfig extends SQSClientResolvedConfigType {}
338338
/**
339339
* @public
340340
* <p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
341-
* <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they
342-
* travel between applications or microservices. Amazon SQS moves data between distributed
343-
* application components and helps you decouple these components.</p>
341+
* <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel
342+
* between applications or microservices. Amazon SQS moves data between distributed application
343+
* components and helps you decouple these components.</p>
344344
* <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
345345
* Guide.</i>
346346
* </p>
347-
* <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services
348-
* SDKs</a> to access Amazon SQS using your favorite programming language. The SDKs
349-
* perform tasks such as the following automatically:</p>
347+
* <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access
348+
* Amazon SQS using your favorite programming language. The SDKs perform tasks such as the
349+
* following automatically:</p>
350350
* <ul>
351351
* <li>
352352
* <p>Cryptographically sign your service requests</p>
@@ -391,8 +391,7 @@ export interface SQSClientResolvedConfig extends SQSClientResolvedConfigType {}
391391
* </li>
392392
* <li>
393393
* <p>
394-
* <a href="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line
395-
* Interface</i>
394+
* <a href="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line Interface</i>
396395
* </a>
397396
* </p>
398397
* </li>

clients/client-sqs/src/commands/AddPermissionCommand.ts

Lines changed: 12 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
} from "@smithy/types";
1616

1717
import { AddPermissionRequest } from "../models/models_0";
18-
import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_json1_0";
18+
import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_query";
1919
import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
2020

2121
/**
@@ -41,8 +41,8 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {}
4141
* access to the queue.</p>
4242
* <p>When you create a queue, you have full control access rights for the queue. Only you,
4343
* the owner of the queue, can grant or deny permissions to the queue. For more information
44-
* 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
45-
* <i>Amazon SQS Developer Guide</i>.</p>
44+
* 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
45+
* Developer Guide</i>.</p>
4646
* <note>
4747
* <ul>
4848
* <li>
@@ -51,29 +51,25 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {}
5151
* <code>
5252
* <a>SetQueueAttributes</a>
5353
* </code> to upload your
54-
* 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
55-
* Language</a> in the <i>Amazon SQS Developer
56-
* Guide</i>.</p>
54+
* 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
55+
* the <i>Amazon SQS Developer Guide</i>.</p>
5756
* </li>
5857
* <li>
59-
* <p>An Amazon SQS policy can have a maximum of seven actions per
60-
* statement.</p>
58+
* <p>An Amazon SQS policy can have a maximum of seven actions per statement.</p>
6159
* </li>
6260
* <li>
63-
* <p>To remove the ability to change queue permissions, you must deny
64-
* permission to the <code>AddPermission</code>, <code>RemovePermission</code>,
65-
* and <code>SetQueueAttributes</code> actions in your IAM policy.</p>
61+
* <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>
6662
* </li>
6763
* <li>
68-
* <p>Amazon SQS <code>AddPermission</code> does not support adding a
69-
* non-account principal.</p>
64+
* <p>Amazon SQS <code>AddPermission</code> does not support adding a non-account
65+
* principal.</p>
7066
* </li>
7167
* </ul>
7268
* </note>
7369
* <note>
74-
* <p>Cross-account permissions don't apply to this action. For more information, see
75-
* <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
76-
* <i>Amazon SQS Developer Guide</i>.</p>
70+
* <p>Cross-account permissions don't apply to this action. For more information,
71+
* 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
72+
* cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
7773
* </note>
7874
* @example
7975
* Use a bare-bones client and the command you need to make an API call.
@@ -103,43 +99,12 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {}
10399
* @see {@link AddPermissionCommandOutput} for command's `response` shape.
104100
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
105101
*
106-
* @throws {@link InvalidAddress} (client fault)
107-
* <p>The <code>accountId</code> is invalid.</p>
108-
*
109-
* @throws {@link InvalidSecurity} (client fault)
110-
* <p>When the request to a queue is not HTTPS and SigV4.</p>
111-
*
112102
* @throws {@link OverLimit} (client fault)
113103
* <p>The specified action violates a limit. For example, <code>ReceiveMessage</code>
114104
* returns this error if the maximum number of in flight messages is reached and
115105
* <code>AddPermission</code> returns this error if the maximum number of permissions
116106
* for the queue is reached.</p>
117107
*
118-
* @throws {@link QueueDoesNotExist} (client fault)
119-
* <p>The specified queue doesn't exist.</p>
120-
*
121-
* @throws {@link RequestThrottled} (client fault)
122-
* <p>The request was denied due to request throttling.</p>
123-
* <ul>
124-
* <li>
125-
* <p>The rate of requests per second exceeds the Amazon Web Services KMS request quota for an
126-
* account and Region. </p>
127-
* </li>
128-
* <li>
129-
* <p>A burst or sustained high rate of requests to change the state of the same KMS
130-
* key. This condition is often known as a "hot key."</p>
131-
* </li>
132-
* <li>
133-
* <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
134-
* might be throttled at a lower-than-expected rate when the Amazon Web Services
135-
* CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
136-
* processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
137-
* </li>
138-
* </ul>
139-
*
140-
* @throws {@link UnsupportedOperation} (client fault)
141-
* <p>Error code 400. Unsupported operation.</p>
142-
*
143108
* @throws {@link SQSServiceException}
144109
* <p>Base exception class for all service exceptions from SQS service.</p>
145110
*

clients/client-sqs/src/commands/CancelMessageMoveTaskCommand.ts

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
} from "@smithy/types";
1616

1717
import { CancelMessageMoveTaskRequest, CancelMessageMoveTaskResult } from "../models/models_0";
18-
import { de_CancelMessageMoveTaskCommand, se_CancelMessageMoveTaskCommand } from "../protocols/Aws_json1_0";
18+
import { de_CancelMessageMoveTaskCommand, se_CancelMessageMoveTaskCommand } from "../protocols/Aws_query";
1919
import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
2020

2121
/**
@@ -81,31 +81,6 @@ export interface CancelMessageMoveTaskCommandOutput extends CancelMessageMoveTas
8181
* @see {@link CancelMessageMoveTaskCommandOutput} for command's `response` shape.
8282
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
8383
*
84-
* @throws {@link InvalidAddress} (client fault)
85-
* <p>The <code>accountId</code> is invalid.</p>
86-
*
87-
* @throws {@link InvalidSecurity} (client fault)
88-
* <p>When the request to a queue is not HTTPS and SigV4.</p>
89-
*
90-
* @throws {@link RequestThrottled} (client fault)
91-
* <p>The request was denied due to request throttling.</p>
92-
* <ul>
93-
* <li>
94-
* <p>The rate of requests per second exceeds the Amazon Web Services KMS request quota for an
95-
* account and Region. </p>
96-
* </li>
97-
* <li>
98-
* <p>A burst or sustained high rate of requests to change the state of the same KMS
99-
* key. This condition is often known as a "hot key."</p>
100-
* </li>
101-
* <li>
102-
* <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
103-
* might be throttled at a lower-than-expected rate when the Amazon Web Services
104-
* CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
105-
* processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
106-
* </li>
107-
* </ul>
108-
*
10984
* @throws {@link ResourceNotFoundException} (client fault)
11085
* <p>One or more specified resources don't exist.</p>
11186
*

clients/client-sqs/src/commands/ChangeMessageVisibilityBatchCommand.ts

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ import {
1515
} from "@smithy/types";
1616

1717
import { ChangeMessageVisibilityBatchRequest, ChangeMessageVisibilityBatchResult } from "../models/models_0";
18-
import {
19-
de_ChangeMessageVisibilityBatchCommand,
20-
se_ChangeMessageVisibilityBatchCommand,
21-
} from "../protocols/Aws_json1_0";
18+
import { de_ChangeMessageVisibilityBatchCommand, se_ChangeMessageVisibilityBatchCommand } from "../protocols/Aws_query";
2219
import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
2320

2421
/**
@@ -51,9 +48,7 @@ export interface ChangeMessageVisibilityBatchCommandOutput
5148
* </code> requests with each
5249
* <code>ChangeMessageVisibilityBatch</code> action.</p>
5350
* <important>
54-
* <p>Because the batch request can result in a combination of successful and
55-
* unsuccessful actions, you should check for batch errors even when the call returns
56-
* an HTTP status code of <code>200</code>.</p>
51+
* <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>
5752
* </important>
5853
* @example
5954
* Use a bare-bones client and the command you need to make an API call.
@@ -103,44 +98,13 @@ export interface ChangeMessageVisibilityBatchCommandOutput
10398
* @throws {@link EmptyBatchRequest} (client fault)
10499
* <p>The batch request doesn't contain any entries.</p>
105100
*
106-
* @throws {@link InvalidAddress} (client fault)
107-
* <p>The <code>accountId</code> is invalid.</p>
108-
*
109101
* @throws {@link InvalidBatchEntryId} (client fault)
110102
* <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the
111103
* specification.</p>
112104
*
113-
* @throws {@link InvalidSecurity} (client fault)
114-
* <p>When the request to a queue is not HTTPS and SigV4.</p>
115-
*
116-
* @throws {@link QueueDoesNotExist} (client fault)
117-
* <p>The specified queue doesn't exist.</p>
118-
*
119-
* @throws {@link RequestThrottled} (client fault)
120-
* <p>The request was denied due to request throttling.</p>
121-
* <ul>
122-
* <li>
123-
* <p>The rate of requests per second exceeds the Amazon Web Services KMS request quota for an
124-
* account and Region. </p>
125-
* </li>
126-
* <li>
127-
* <p>A burst or sustained high rate of requests to change the state of the same KMS
128-
* key. This condition is often known as a "hot key."</p>
129-
* </li>
130-
* <li>
131-
* <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
132-
* might be throttled at a lower-than-expected rate when the Amazon Web Services
133-
* CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
134-
* processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
135-
* </li>
136-
* </ul>
137-
*
138105
* @throws {@link TooManyEntriesInBatchRequest} (client fault)
139106
* <p>The batch request contains more entries than permissible.</p>
140107
*
141-
* @throws {@link UnsupportedOperation} (client fault)
142-
* <p>Error code 400. Unsupported operation.</p>
143-
*
144108
* @throws {@link SQSServiceException}
145109
* <p>Base exception class for all service exceptions from SQS service.</p>
146110
*

0 commit comments

Comments
 (0)