@aws-sdk/client-sqs 3.325.0 → 3.327.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.
- package/README.md +10 -7
- package/dist-cjs/commands/AddPermissionCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
- package/dist-cjs/commands/CreateQueueCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
- package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
- package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuesCommand.js +3 -3
- package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
- package/dist-cjs/commands/ReceiveMessageCommand.js +3 -3
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/SendMessageBatchCommand.js +3 -3
- package/dist-cjs/commands/SendMessageCommand.js +3 -3
- package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/TagQueueCommand.js +3 -3
- package/dist-cjs/commands/UntagQueueCommand.js +3 -3
- package/dist-cjs/endpoint/ruleset.js +2 -2
- package/dist-cjs/models/models_0.js +206 -26
- package/dist-cjs/protocols/Aws_json1_0.js +1608 -0
- package/dist-es/commands/AddPermissionCommand.js +1 -1
- package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +1 -1
- package/dist-es/commands/ChangeMessageVisibilityCommand.js +1 -1
- package/dist-es/commands/CreateQueueCommand.js +1 -1
- package/dist-es/commands/DeleteMessageBatchCommand.js +1 -1
- package/dist-es/commands/DeleteMessageCommand.js +1 -1
- package/dist-es/commands/DeleteQueueCommand.js +1 -1
- package/dist-es/commands/GetQueueAttributesCommand.js +1 -1
- package/dist-es/commands/GetQueueUrlCommand.js +1 -1
- package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +1 -1
- package/dist-es/commands/ListQueueTagsCommand.js +1 -1
- package/dist-es/commands/ListQueuesCommand.js +1 -1
- package/dist-es/commands/PurgeQueueCommand.js +1 -1
- package/dist-es/commands/ReceiveMessageCommand.js +1 -1
- package/dist-es/commands/RemovePermissionCommand.js +1 -1
- package/dist-es/commands/SendMessageBatchCommand.js +1 -1
- package/dist-es/commands/SendMessageCommand.js +1 -1
- package/dist-es/commands/SetQueueAttributesCommand.js +1 -1
- package/dist-es/commands/TagQueueCommand.js +1 -1
- package/dist-es/commands/UntagQueueCommand.js +1 -1
- package/dist-es/endpoint/ruleset.js +2 -2
- package/dist-es/models/models_0.js +189 -20
- package/dist-es/protocols/Aws_json1_0.js +1565 -0
- package/dist-types/SQS.d.ts +24 -21
- package/dist-types/SQSClient.d.ts +24 -21
- package/dist-types/commands/AddPermissionCommand.d.ts +55 -26
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +52 -12
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +52 -15
- package/dist-types/commands/CreateQueueCommand.d.ts +64 -24
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +49 -10
- package/dist-types/commands/DeleteMessageCommand.d.ts +33 -1
- package/dist-types/commands/DeleteQueueCommand.d.ts +48 -8
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +37 -1
- package/dist-types/commands/GetQueueUrlCommand.d.ts +41 -4
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +48 -11
- package/dist-types/commands/ListQueueTagsCommand.d.ts +44 -4
- package/dist-types/commands/ListQueuesCommand.d.ts +49 -10
- package/dist-types/commands/PurgeQueueCommand.d.ts +40 -7
- package/dist-types/commands/ReceiveMessageCommand.d.ts +118 -15
- package/dist-types/commands/RemovePermissionCommand.d.ts +41 -5
- package/dist-types/commands/SendMessageBatchCommand.d.ts +99 -16
- package/dist-types/commands/SendMessageCommand.d.ts +72 -3
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +54 -6
- package/dist-types/commands/TagQueueCommand.d.ts +38 -4
- package/dist-types/commands/UntagQueueCommand.d.ts +38 -3
- package/dist-types/models/models_0.d.ts +1039 -493
- package/dist-types/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +40 -40
- package/dist-types/ts3.4/models/models_0.d.ts +119 -52
- package/package.json +8 -9
- package/dist-cjs/protocols/Aws_query.js +0 -2127
- package/dist-es/protocols/Aws_query.js +0 -2084
- /package/dist-types/ts3.4/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +0 -0
|
@@ -21,11 +21,11 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
|
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Delivers a message to the specified queue.</p>
|
|
23
23
|
* <important>
|
|
24
|
-
*
|
|
25
|
-
*
|
|
24
|
+
* <p>A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:</p>
|
|
25
|
+
* <p>
|
|
26
26
|
* <code>#x9</code> | <code>#xA</code> | <code>#xD</code> | <code>#x20</code> to <code>#xD7FF</code> | <code>#xE000</code> to <code>#xFFFD</code> | <code>#x10000</code> to <code>#x10FFFF</code>
|
|
27
27
|
* </p>
|
|
28
|
-
*
|
|
28
|
+
* <p>Any characters not included in this list will be rejected. For more information, see the <a href="http://www.w3.org/TR/REC-xml/#charsets">W3C specification for characters</a>.</p>
|
|
29
29
|
* </important>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -68,6 +68,14 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
|
|
|
68
68
|
* };
|
|
69
69
|
* const command = new SendMessageCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
|
+
* // { // SendMessageResult
|
|
72
|
+
* // MD5OfMessageBody: "STRING_VALUE",
|
|
73
|
+
* // MD5OfMessageAttributes: "STRING_VALUE",
|
|
74
|
+
* // MD5OfMessageSystemAttributes: "STRING_VALUE",
|
|
75
|
+
* // MessageId: "STRING_VALUE",
|
|
76
|
+
* // SequenceNumber: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
71
79
|
* ```
|
|
72
80
|
*
|
|
73
81
|
* @param SendMessageCommandInput - {@link SendMessageCommandInput}
|
|
@@ -79,9 +87,70 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
|
|
|
79
87
|
* @throws {@link InvalidMessageContents} (client fault)
|
|
80
88
|
* <p>The message contains characters outside the allowed set.</p>
|
|
81
89
|
*
|
|
90
|
+
* @throws {@link InvalidSecurity} (client fault)
|
|
91
|
+
* <p>When the request to a queue is not HTTPS and SigV4.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link KmsAccessDenied} (client fault)
|
|
94
|
+
* <p>The caller doesn't have the required KMS access.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link KmsDisabled} (client fault)
|
|
97
|
+
* <p>The request was denied due to request throttling.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link KmsInvalidKeyUsage} (client fault)
|
|
100
|
+
* <p>The request was rejected for one of the following reasons:</p>
|
|
101
|
+
* <ul>
|
|
102
|
+
* <li>
|
|
103
|
+
* <p>The KeyUsage value of the KMS key is incompatible with the API
|
|
104
|
+
* operation.</p>
|
|
105
|
+
* </li>
|
|
106
|
+
* <li>
|
|
107
|
+
* <p>The encryption algorithm or signing algorithm specified for the operation is
|
|
108
|
+
* incompatible with the type of key material in the KMS key (KeySpec).</p>
|
|
109
|
+
* </li>
|
|
110
|
+
* </ul>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link KmsInvalidState} (client fault)
|
|
113
|
+
* <p>The request was rejected because the state of the specified resource is not valid for
|
|
114
|
+
* this request.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link KmsNotFound} (client fault)
|
|
117
|
+
* <p>The request was rejected because the specified entity or resource could not be found.
|
|
118
|
+
* </p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link KmsOptInRequired} (client fault)
|
|
121
|
+
* <p>The request was rejected because the specified key policy isn't syntactically or
|
|
122
|
+
* semantically correct.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link KmsThrottled} (client fault)
|
|
125
|
+
* <p>Amazon Web Services KMS throttles requests for the following conditions.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link QueueDoesNotExist} (client fault)
|
|
128
|
+
* <p>The specified queue doesn't exist.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link RequestThrottled} (client fault)
|
|
131
|
+
* <p>The request was denied due to request throttling.</p>
|
|
132
|
+
* <ul>
|
|
133
|
+
* <li>
|
|
134
|
+
* <p>The rate of requests per second exceeds the AWS KMS request quota for an
|
|
135
|
+
* account and Region. </p>
|
|
136
|
+
* </li>
|
|
137
|
+
* <li>
|
|
138
|
+
* <p>A burst or sustained high rate of requests to change the state of the same KMS
|
|
139
|
+
* key. This condition is often known as a "hot key."</p>
|
|
140
|
+
* </li>
|
|
141
|
+
* <li>
|
|
142
|
+
* <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
|
|
143
|
+
* might be throttled at a lower-than-expected rate when the Amazon Web Services
|
|
144
|
+
* CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
|
|
145
|
+
* processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
|
|
146
|
+
* </li>
|
|
147
|
+
* </ul>
|
|
148
|
+
*
|
|
82
149
|
* @throws {@link UnsupportedOperation} (client fault)
|
|
83
150
|
* <p>Error code 400. Unsupported operation.</p>
|
|
84
151
|
*
|
|
152
|
+
* @throws {@link SQSServiceException}
|
|
153
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
85
154
|
*
|
|
86
155
|
*/
|
|
87
156
|
export declare class SendMessageCommand extends $Command<SendMessageCommandInput, SendMessageCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -19,21 +19,25 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Sets the value of one or more queue attributes. When you change a queue's attributes,
|
|
23
|
-
*
|
|
22
|
+
* <p>Sets the value of one or more queue attributes. When you change a queue's attributes,
|
|
23
|
+
* the change can take up to 60 seconds for most of the attributes to propagate throughout
|
|
24
|
+
* the Amazon SQS system. Changes made to the <code>MessageRetentionPeriod</code> attribute can
|
|
25
|
+
* take up to 15 minutes and will impact existing messages in the queue potentially causing
|
|
26
|
+
* them to be expired and deleted if the <code>MessageRetentionPeriod</code> is reduced
|
|
27
|
+
* below the age of existing messages.</p>
|
|
24
28
|
* <note>
|
|
25
29
|
* <ul>
|
|
26
30
|
* <li>
|
|
27
31
|
* <p>In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.</p>
|
|
28
|
-
*
|
|
32
|
+
* </li>
|
|
29
33
|
* <li>
|
|
30
34
|
* <p>Cross-account permissions don't apply to this action. For more information,
|
|
31
35
|
* 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
|
|
32
|
-
* cross-account permissions to a role and a
|
|
33
|
-
*
|
|
36
|
+
* cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
37
|
+
* </li>
|
|
34
38
|
* <li>
|
|
35
39
|
* <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>
|
|
36
|
-
*
|
|
40
|
+
* </li>
|
|
37
41
|
* </ul>
|
|
38
42
|
* </note>
|
|
39
43
|
* @example
|
|
@@ -50,6 +54,8 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
|
|
|
50
54
|
* };
|
|
51
55
|
* const command = new SetQueueAttributesCommand(input);
|
|
52
56
|
* const response = await client.send(command);
|
|
57
|
+
* // {};
|
|
58
|
+
*
|
|
53
59
|
* ```
|
|
54
60
|
*
|
|
55
61
|
* @param SetQueueAttributesCommandInput - {@link SetQueueAttributesCommandInput}
|
|
@@ -58,9 +64,51 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
|
|
|
58
64
|
* @see {@link SetQueueAttributesCommandOutput} for command's `response` shape.
|
|
59
65
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
60
66
|
*
|
|
67
|
+
* @throws {@link InvalidAddress} (client fault)
|
|
68
|
+
* <p>The <code>accountId</code> is invalid.</p>
|
|
69
|
+
*
|
|
61
70
|
* @throws {@link InvalidAttributeName} (client fault)
|
|
62
71
|
* <p>The specified attribute doesn't exist.</p>
|
|
63
72
|
*
|
|
73
|
+
* @throws {@link InvalidAttributeValue} (client fault)
|
|
74
|
+
* <p>A queue attribute value is invalid.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidSecurity} (client fault)
|
|
77
|
+
* <p>When the request to a queue is not HTTPS and SigV4.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link OverLimit} (client fault)
|
|
80
|
+
* <p>The specified action violates a limit. For example, <code>ReceiveMessage</code>
|
|
81
|
+
* returns this error if the maximum number of in flight messages is reached and
|
|
82
|
+
* <code>AddPermission</code> returns this error if the maximum number of permissions
|
|
83
|
+
* for the queue is reached.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link QueueDoesNotExist} (client fault)
|
|
86
|
+
* <p>The specified queue doesn't exist.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link RequestThrottled} (client fault)
|
|
89
|
+
* <p>The request was denied due to request throttling.</p>
|
|
90
|
+
* <ul>
|
|
91
|
+
* <li>
|
|
92
|
+
* <p>The rate of requests per second exceeds the AWS KMS request quota for an
|
|
93
|
+
* account and Region. </p>
|
|
94
|
+
* </li>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>A burst or sustained high rate of requests to change the state of the same KMS
|
|
97
|
+
* key. This condition is often known as a "hot key."</p>
|
|
98
|
+
* </li>
|
|
99
|
+
* <li>
|
|
100
|
+
* <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
|
|
101
|
+
* might be throttled at a lower-than-expected rate when the Amazon Web Services
|
|
102
|
+
* CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
|
|
103
|
+
* processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
|
|
104
|
+
* </li>
|
|
105
|
+
* </ul>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
108
|
+
* <p>Error code 400. Unsupported operation.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link SQSServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
64
112
|
*
|
|
65
113
|
*/
|
|
66
114
|
export declare class SetQueueAttributesCommand extends $Command<SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -21,7 +21,6 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
|
|
|
21
21
|
* @public
|
|
22
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
|
|
23
23
|
* Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
24
|
-
*
|
|
25
24
|
* <p>When you use queue tags, keep the following guidelines in mind:</p>
|
|
26
25
|
* <ul>
|
|
27
26
|
* <li>
|
|
@@ -40,11 +39,11 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
|
|
|
40
39
|
* <p>For a full list of tag restrictions, see
|
|
41
40
|
* <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues">Quotas related to queues</a>
|
|
42
41
|
* in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
43
|
-
*
|
|
42
|
+
* <note>
|
|
44
43
|
* <p>Cross-account permissions don't apply to this action. For more information,
|
|
45
44
|
* 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
|
|
46
|
-
* cross-account permissions to a role and a
|
|
47
|
-
*
|
|
45
|
+
* cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
46
|
+
* </note>
|
|
48
47
|
* @example
|
|
49
48
|
* Use a bare-bones client and the command you need to make an API call.
|
|
50
49
|
* ```javascript
|
|
@@ -59,6 +58,8 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
|
|
|
59
58
|
* };
|
|
60
59
|
* const command = new TagQueueCommand(input);
|
|
61
60
|
* const response = await client.send(command);
|
|
61
|
+
* // {};
|
|
62
|
+
*
|
|
62
63
|
* ```
|
|
63
64
|
*
|
|
64
65
|
* @param TagQueueCommandInput - {@link TagQueueCommandInput}
|
|
@@ -67,6 +68,39 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
|
|
|
67
68
|
* @see {@link TagQueueCommandOutput} for command's `response` shape.
|
|
68
69
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
69
70
|
*
|
|
71
|
+
* @throws {@link InvalidAddress} (client fault)
|
|
72
|
+
* <p>The <code>accountId</code> is invalid.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidSecurity} (client fault)
|
|
75
|
+
* <p>When the request to a queue is not HTTPS and SigV4.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link QueueDoesNotExist} (client fault)
|
|
78
|
+
* <p>The specified queue doesn't exist.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link RequestThrottled} (client fault)
|
|
81
|
+
* <p>The request was denied due to request throttling.</p>
|
|
82
|
+
* <ul>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>The rate of requests per second exceeds the AWS KMS request quota for an
|
|
85
|
+
* account and Region. </p>
|
|
86
|
+
* </li>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>A burst or sustained high rate of requests to change the state of the same KMS
|
|
89
|
+
* key. This condition is often known as a "hot key."</p>
|
|
90
|
+
* </li>
|
|
91
|
+
* <li>
|
|
92
|
+
* <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
|
|
93
|
+
* might be throttled at a lower-than-expected rate when the Amazon Web Services
|
|
94
|
+
* CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
|
|
95
|
+
* processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
|
|
96
|
+
* </li>
|
|
97
|
+
* </ul>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
100
|
+
* <p>Error code 400. Unsupported operation.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link SQSServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
70
104
|
*
|
|
71
105
|
*/
|
|
72
106
|
export declare class TagQueueCommand extends $Command<TagQueueCommandInput, TagQueueCommandOutput, SQSClientResolvedConfig> {
|
|
@@ -21,11 +21,11 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
|
|
|
21
21
|
* @public
|
|
22
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
|
|
23
23
|
* Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
24
|
-
*
|
|
24
|
+
* <note>
|
|
25
25
|
* <p>Cross-account permissions don't apply to this action. For more information,
|
|
26
26
|
* 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
|
|
27
|
-
* cross-account permissions to a role and a
|
|
28
|
-
*
|
|
27
|
+
* cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
28
|
+
* </note>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -40,6 +40,8 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new UntagQueueCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param UntagQueueCommandInput - {@link UntagQueueCommandInput}
|
|
@@ -48,6 +50,39 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
|
|
|
48
50
|
* @see {@link UntagQueueCommandOutput} for command's `response` shape.
|
|
49
51
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
50
52
|
*
|
|
53
|
+
* @throws {@link InvalidAddress} (client fault)
|
|
54
|
+
* <p>The <code>accountId</code> is invalid.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InvalidSecurity} (client fault)
|
|
57
|
+
* <p>When the request to a queue is not HTTPS and SigV4.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link QueueDoesNotExist} (client fault)
|
|
60
|
+
* <p>The specified queue doesn't exist.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link RequestThrottled} (client fault)
|
|
63
|
+
* <p>The request was denied due to request throttling.</p>
|
|
64
|
+
* <ul>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>The rate of requests per second exceeds the AWS KMS request quota for an
|
|
67
|
+
* account and Region. </p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>A burst or sustained high rate of requests to change the state of the same KMS
|
|
71
|
+
* key. This condition is often known as a "hot key."</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
|
|
75
|
+
* might be throttled at a lower-than-expected rate when the Amazon Web Services
|
|
76
|
+
* CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
|
|
77
|
+
* processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* </ul>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
82
|
+
* <p>Error code 400. Unsupported operation.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link SQSServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from SQS service.</p>
|
|
51
86
|
*
|
|
52
87
|
*/
|
|
53
88
|
export declare class UntagQueueCommand extends $Command<UntagQueueCommandInput, UntagQueueCommandOutput, SQSClientResolvedConfig> {
|