@aws-sdk/client-sqs 3.689.0 → 3.691.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.
@@ -149,7 +149,7 @@ export interface CancelMessageMoveTaskResult {
149
149
  * <p>The approximate number of messages already moved to the destination queue.</p>
150
150
  * @public
151
151
  */
152
- ApproximateNumberOfMessagesMoved?: number;
152
+ ApproximateNumberOfMessagesMoved?: number | undefined;
153
153
  }
154
154
  /**
155
155
  * <p>One or more specified resources don't exist.</p>
@@ -251,7 +251,7 @@ export interface ChangeMessageVisibilityBatchRequestEntry {
251
251
  * <p>The new value (in seconds) for the message's visibility timeout.</p>
252
252
  * @public
253
253
  */
254
- VisibilityTimeout?: number;
254
+ VisibilityTimeout?: number | undefined;
255
255
  }
256
256
  /**
257
257
  * <p></p>
@@ -296,7 +296,7 @@ export interface BatchResultErrorEntry {
296
296
  * <p>A message explaining why the action failed on this entry.</p>
297
297
  * @public
298
298
  */
299
- Message?: string;
299
+ Message?: string | undefined;
300
300
  }
301
301
  /**
302
302
  * <p>Encloses the <code>Id</code> of an entry in <code>
@@ -673,7 +673,7 @@ export interface CreateQueueRequest {
673
673
  * in the <i>Amazon SQS Developer Guide</i>.</p>
674
674
  * @public
675
675
  */
676
- Attributes?: Partial<Record<QueueAttributeName, string>>;
676
+ Attributes?: Partial<Record<QueueAttributeName, string>> | undefined;
677
677
  /**
678
678
  * <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
679
679
  * Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
@@ -704,7 +704,7 @@ export interface CreateQueueRequest {
704
704
  * </note>
705
705
  * @public
706
706
  */
707
- tags?: Record<string, string>;
707
+ tags?: Record<string, string> | undefined;
708
708
  }
709
709
  /**
710
710
  * <p>Returns the <code>QueueUrl</code> attribute of the created queue.</p>
@@ -715,7 +715,7 @@ export interface CreateQueueResult {
715
715
  * <p>The URL of the created Amazon SQS queue.</p>
716
716
  * @public
717
717
  */
718
- QueueUrl?: string;
718
+ QueueUrl?: string | undefined;
719
719
  }
720
720
  /**
721
721
  * <p>The specified attribute doesn't exist.</p>
@@ -1128,7 +1128,7 @@ export interface GetQueueAttributesRequest {
1128
1128
  * in the <i>Amazon SQS Developer Guide</i>.</p>
1129
1129
  * @public
1130
1130
  */
1131
- AttributeNames?: QueueAttributeName[];
1131
+ AttributeNames?: QueueAttributeName[] | undefined;
1132
1132
  }
1133
1133
  /**
1134
1134
  * <p>A list of returned queue attributes.</p>
@@ -1139,7 +1139,7 @@ export interface GetQueueAttributesResult {
1139
1139
  * <p>A map of attributes to their respective values.</p>
1140
1140
  * @public
1141
1141
  */
1142
- Attributes?: Partial<Record<QueueAttributeName, string>>;
1142
+ Attributes?: Partial<Record<QueueAttributeName, string>> | undefined;
1143
1143
  }
1144
1144
  /**
1145
1145
  * <p></p>
@@ -1158,7 +1158,7 @@ export interface GetQueueUrlRequest {
1158
1158
  * <p>The Amazon Web Services account ID of the account that created the queue.</p>
1159
1159
  * @public
1160
1160
  */
1161
- QueueOwnerAWSAccountId?: string;
1161
+ QueueOwnerAWSAccountId?: string | undefined;
1162
1162
  }
1163
1163
  /**
1164
1164
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-api-responses.html">Interpreting Responses</a> in the <i>Amazon SQS Developer
@@ -1170,7 +1170,7 @@ export interface GetQueueUrlResult {
1170
1170
  * <p>The URL of the queue.</p>
1171
1171
  * @public
1172
1172
  */
1173
- QueueUrl?: string;
1173
+ QueueUrl?: string | undefined;
1174
1174
  }
1175
1175
  /**
1176
1176
  * <p></p>
@@ -1187,14 +1187,14 @@ export interface ListDeadLetterSourceQueuesRequest {
1187
1187
  * <p>Pagination token to request the next set of results.</p>
1188
1188
  * @public
1189
1189
  */
1190
- NextToken?: string;
1190
+ NextToken?: string | undefined;
1191
1191
  /**
1192
1192
  * <p>Maximum number of results to include in the response. Value range is 1 to 1000. You
1193
1193
  * must set <code>MaxResults</code> to receive a value for <code>NextToken</code> in the
1194
1194
  * response.</p>
1195
1195
  * @public
1196
1196
  */
1197
- MaxResults?: number;
1197
+ MaxResults?: number | undefined;
1198
1198
  }
1199
1199
  /**
1200
1200
  * <p>A list of your dead letter source queues.</p>
@@ -1213,7 +1213,7 @@ export interface ListDeadLetterSourceQueuesResult {
1213
1213
  * <code>MaxResults</code> in the request.</p>
1214
1214
  * @public
1215
1215
  */
1216
- NextToken?: string;
1216
+ NextToken?: string | undefined;
1217
1217
  }
1218
1218
  /**
1219
1219
  * @public
@@ -1229,7 +1229,7 @@ export interface ListMessageMoveTasksRequest {
1229
1229
  * provides the most recent message movement task. The upper limit is 10.</p>
1230
1230
  * @public
1231
1231
  */
1232
- MaxResults?: number;
1232
+ MaxResults?: number | undefined;
1233
1233
  }
1234
1234
  /**
1235
1235
  * <p>Contains the details of a message movement task. </p>
@@ -1242,18 +1242,18 @@ export interface ListMessageMoveTasksResultEntry {
1242
1242
  * tasks that are in RUNNING status.</p>
1243
1243
  * @public
1244
1244
  */
1245
- TaskHandle?: string;
1245
+ TaskHandle?: string | undefined;
1246
1246
  /**
1247
1247
  * <p>The status of the message movement task. Possible values are: RUNNING, COMPLETED,
1248
1248
  * CANCELLING, CANCELLED, and FAILED.</p>
1249
1249
  * @public
1250
1250
  */
1251
- Status?: string;
1251
+ Status?: string | undefined;
1252
1252
  /**
1253
1253
  * <p>The ARN of the queue that contains the messages to be moved to another queue.</p>
1254
1254
  * @public
1255
1255
  */
1256
- SourceArn?: string;
1256
+ SourceArn?: string | undefined;
1257
1257
  /**
1258
1258
  * <p>The ARN of the destination queue if it has been specified in the
1259
1259
  * <code>StartMessageMoveTask</code> request. If a <code>DestinationArn</code> has not
@@ -1261,7 +1261,7 @@ export interface ListMessageMoveTasksResultEntry {
1261
1261
  * be NULL.</p>
1262
1262
  * @public
1263
1263
  */
1264
- DestinationArn?: string;
1264
+ DestinationArn?: string | undefined;
1265
1265
  /**
1266
1266
  * <p>The number of messages to be moved per second (the message movement rate), if it has
1267
1267
  * been specified in the <code>StartMessageMoveTask</code> request. If a
@@ -1269,29 +1269,29 @@ export interface ListMessageMoveTasksResultEntry {
1269
1269
  * <code>StartMessageMoveTask</code> request, this field value will be NULL.</p>
1270
1270
  * @public
1271
1271
  */
1272
- MaxNumberOfMessagesPerSecond?: number;
1272
+ MaxNumberOfMessagesPerSecond?: number | undefined;
1273
1273
  /**
1274
1274
  * <p>The approximate number of messages already moved to the destination queue.</p>
1275
1275
  * @public
1276
1276
  */
1277
- ApproximateNumberOfMessagesMoved?: number;
1277
+ ApproximateNumberOfMessagesMoved?: number | undefined;
1278
1278
  /**
1279
1279
  * <p>The number of messages to be moved from the source queue. This number is obtained at
1280
1280
  * the time of starting the message movement task and is only included after the message
1281
1281
  * movement task is selected to start.</p>
1282
1282
  * @public
1283
1283
  */
1284
- ApproximateNumberOfMessagesToMove?: number;
1284
+ ApproximateNumberOfMessagesToMove?: number | undefined;
1285
1285
  /**
1286
1286
  * <p>The task failure reason (only included if the task status is FAILED).</p>
1287
1287
  * @public
1288
1288
  */
1289
- FailureReason?: string;
1289
+ FailureReason?: string | undefined;
1290
1290
  /**
1291
1291
  * <p>The timestamp of starting the message movement task.</p>
1292
1292
  * @public
1293
1293
  */
1294
- StartedTimestamp?: number;
1294
+ StartedTimestamp?: number | undefined;
1295
1295
  }
1296
1296
  /**
1297
1297
  * @public
@@ -1301,7 +1301,7 @@ export interface ListMessageMoveTasksResult {
1301
1301
  * <p>A list of message movement tasks and their attributes.</p>
1302
1302
  * @public
1303
1303
  */
1304
- Results?: ListMessageMoveTasksResultEntry[];
1304
+ Results?: ListMessageMoveTasksResultEntry[] | undefined;
1305
1305
  }
1306
1306
  /**
1307
1307
  * <p></p>
@@ -1314,19 +1314,19 @@ export interface ListQueuesRequest {
1314
1314
  * <p>Queue URLs and names are case-sensitive.</p>
1315
1315
  * @public
1316
1316
  */
1317
- QueueNamePrefix?: string;
1317
+ QueueNamePrefix?: string | undefined;
1318
1318
  /**
1319
1319
  * <p>Pagination token to request the next set of results.</p>
1320
1320
  * @public
1321
1321
  */
1322
- NextToken?: string;
1322
+ NextToken?: string | undefined;
1323
1323
  /**
1324
1324
  * <p>Maximum number of results to include in the response. Value range is 1 to 1000. You
1325
1325
  * must set <code>MaxResults</code> to receive a value for <code>NextToken</code> in the
1326
1326
  * response.</p>
1327
1327
  * @public
1328
1328
  */
1329
- MaxResults?: number;
1329
+ MaxResults?: number | undefined;
1330
1330
  }
1331
1331
  /**
1332
1332
  * <p>A list of your queues.</p>
@@ -1338,14 +1338,14 @@ export interface ListQueuesResult {
1338
1338
  * that you sent in the request.</p>
1339
1339
  * @public
1340
1340
  */
1341
- QueueUrls?: string[];
1341
+ QueueUrls?: string[] | undefined;
1342
1342
  /**
1343
1343
  * <p>Pagination token to include in the next request. Token value is <code>null</code> if
1344
1344
  * there are no additional results to request, or if you did not set
1345
1345
  * <code>MaxResults</code> in the request.</p>
1346
1346
  * @public
1347
1347
  */
1348
- NextToken?: string;
1348
+ NextToken?: string | undefined;
1349
1349
  }
1350
1350
  /**
1351
1351
  * @public
@@ -1365,7 +1365,7 @@ export interface ListQueueTagsResult {
1365
1365
  * <p>The list of all tags added to the specified queue.</p>
1366
1366
  * @public
1367
1367
  */
1368
- Tags?: Record<string, string>;
1368
+ Tags?: Record<string, string> | undefined;
1369
1369
  }
1370
1370
  /**
1371
1371
  * <p>Indicates that the specified queue previously received a <code>PurgeQueue</code>
@@ -1605,7 +1605,7 @@ export interface ReceiveMessageRequest {
1605
1605
  * </ul>
1606
1606
  * @public
1607
1607
  */
1608
- AttributeNames?: QueueAttributeName[];
1608
+ AttributeNames?: QueueAttributeName[] | undefined;
1609
1609
  /**
1610
1610
  * <p>A list of attributes that need to be returned along with each message. These
1611
1611
  * attributes include:</p>
@@ -1682,7 +1682,7 @@ export interface ReceiveMessageRequest {
1682
1682
  * </ul>
1683
1683
  * @public
1684
1684
  */
1685
- MessageSystemAttributeNames?: MessageSystemAttributeName[];
1685
+ MessageSystemAttributeNames?: MessageSystemAttributeName[] | undefined;
1686
1686
  /**
1687
1687
  * <p>The name of the message attribute, where <i>N</i> is the index.</p>
1688
1688
  * <ul>
@@ -1713,20 +1713,20 @@ export interface ReceiveMessageRequest {
1713
1713
  * with a prefix, for example <code>bar.*</code>.</p>
1714
1714
  * @public
1715
1715
  */
1716
- MessageAttributeNames?: string[];
1716
+ MessageAttributeNames?: string[] | undefined;
1717
1717
  /**
1718
1718
  * <p>The maximum number of messages to return. Amazon SQS never returns more messages than this
1719
1719
  * value (however, fewer messages might be returned). Valid values: 1 to 10. Default:
1720
1720
  * 1.</p>
1721
1721
  * @public
1722
1722
  */
1723
- MaxNumberOfMessages?: number;
1723
+ MaxNumberOfMessages?: number | undefined;
1724
1724
  /**
1725
1725
  * <p>The duration (in seconds) that the received messages are hidden from subsequent
1726
1726
  * retrieve requests after being retrieved by a <code>ReceiveMessage</code> request.</p>
1727
1727
  * @public
1728
1728
  */
1729
- VisibilityTimeout?: number;
1729
+ VisibilityTimeout?: number | undefined;
1730
1730
  /**
1731
1731
  * <p>The duration (in seconds) for which the call waits for a message to arrive in the
1732
1732
  * queue before returning. If a message is available, the call returns sooner than
@@ -1740,7 +1740,7 @@ export interface ReceiveMessageRequest {
1740
1740
  * </important>
1741
1741
  * @public
1742
1742
  */
1743
- WaitTimeSeconds?: number;
1743
+ WaitTimeSeconds?: number | undefined;
1744
1744
  /**
1745
1745
  * <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
1746
1746
  * <p>The token used for deduplication of <code>ReceiveMessage</code> calls. If a networking
@@ -1802,7 +1802,7 @@ export interface ReceiveMessageRequest {
1802
1802
  * Developer Guide</i>.</p>
1803
1803
  * @public
1804
1804
  */
1805
- ReceiveRequestAttemptId?: string;
1805
+ ReceiveRequestAttemptId?: string | undefined;
1806
1806
  }
1807
1807
  /**
1808
1808
  * <p>The user-specified message attribute value. For string data types, the
@@ -1823,23 +1823,23 @@ export interface MessageAttributeValue {
1823
1823
  * Characters</a>.</p>
1824
1824
  * @public
1825
1825
  */
1826
- StringValue?: string;
1826
+ StringValue?: string | undefined;
1827
1827
  /**
1828
1828
  * <p>Binary type attributes can store any binary data, such as compressed data, encrypted
1829
1829
  * data, or images.</p>
1830
1830
  * @public
1831
1831
  */
1832
- BinaryValue?: Uint8Array;
1832
+ BinaryValue?: Uint8Array | undefined;
1833
1833
  /**
1834
1834
  * <p>Not implemented. Reserved for future use.</p>
1835
1835
  * @public
1836
1836
  */
1837
- StringListValues?: string[];
1837
+ StringListValues?: string[] | undefined;
1838
1838
  /**
1839
1839
  * <p>Not implemented. Reserved for future use.</p>
1840
1840
  * @public
1841
1841
  */
1842
- BinaryListValues?: Uint8Array[];
1842
+ BinaryListValues?: Uint8Array[] | undefined;
1843
1843
  /**
1844
1844
  * <p>Amazon SQS supports the following logical data types: <code>String</code>,
1845
1845
  * <code>Number</code>, and <code>Binary</code>. For the <code>Number</code> data type,
@@ -1860,24 +1860,24 @@ export interface Message {
1860
1860
  * across all Amazon Web Services accounts for an extended period of time.</p>
1861
1861
  * @public
1862
1862
  */
1863
- MessageId?: string;
1863
+ MessageId?: string | undefined;
1864
1864
  /**
1865
1865
  * <p>An identifier associated with the act of receiving the message. A new receipt handle
1866
1866
  * is returned every time you receive a message. When deleting a message, you provide the
1867
1867
  * last received receipt handle to delete the message.</p>
1868
1868
  * @public
1869
1869
  */
1870
- ReceiptHandle?: string;
1870
+ ReceiptHandle?: string | undefined;
1871
1871
  /**
1872
1872
  * <p>An MD5 digest of the non-URL-encoded message body string.</p>
1873
1873
  * @public
1874
1874
  */
1875
- MD5OfBody?: string;
1875
+ MD5OfBody?: string | undefined;
1876
1876
  /**
1877
1877
  * <p>The message's contents (not URL-encoded).</p>
1878
1878
  * @public
1879
1879
  */
1880
- Body?: string;
1880
+ Body?: string | undefined;
1881
1881
  /**
1882
1882
  * <p>A map of the attributes requested in <code>
1883
1883
  * <a>ReceiveMessage</a>
@@ -1926,12 +1926,12 @@ export interface Message {
1926
1926
  * milliseconds.</p>
1927
1927
  * @public
1928
1928
  */
1929
- Attributes?: Partial<Record<MessageSystemAttributeName, string>>;
1929
+ Attributes?: Partial<Record<MessageSystemAttributeName, string>> | undefined;
1930
1930
  /**
1931
1931
  * <p>An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.</p>
1932
1932
  * @public
1933
1933
  */
1934
- MD5OfMessageAttributes?: string;
1934
+ MD5OfMessageAttributes?: string | undefined;
1935
1935
  /**
1936
1936
  * <p>Each message attribute consists of a <code>Name</code>, <code>Type</code>,
1937
1937
  * and <code>Value</code>. For more information, see
@@ -1939,7 +1939,7 @@ export interface Message {
1939
1939
  * message attributes</a> in the <i>Amazon SQS Developer Guide</i>.</p>
1940
1940
  * @public
1941
1941
  */
1942
- MessageAttributes?: Record<string, MessageAttributeValue>;
1942
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
1943
1943
  }
1944
1944
  /**
1945
1945
  * <p>A list of received messages.</p>
@@ -1950,7 +1950,7 @@ export interface ReceiveMessageResult {
1950
1950
  * <p>A list of messages.</p>
1951
1951
  * @public
1952
1952
  */
1953
- Messages?: Message[];
1953
+ Messages?: Message[] | undefined;
1954
1954
  }
1955
1955
  /**
1956
1956
  * <p></p>
@@ -2012,23 +2012,23 @@ export interface MessageSystemAttributeValue {
2012
2012
  * Characters</a>.</p>
2013
2013
  * @public
2014
2014
  */
2015
- StringValue?: string;
2015
+ StringValue?: string | undefined;
2016
2016
  /**
2017
2017
  * <p>Binary type attributes can store any binary data, such as compressed data, encrypted
2018
2018
  * data, or images.</p>
2019
2019
  * @public
2020
2020
  */
2021
- BinaryValue?: Uint8Array;
2021
+ BinaryValue?: Uint8Array | undefined;
2022
2022
  /**
2023
2023
  * <p>Not implemented. Reserved for future use.</p>
2024
2024
  * @public
2025
2025
  */
2026
- StringListValues?: string[];
2026
+ StringListValues?: string[] | undefined;
2027
2027
  /**
2028
2028
  * <p>Not implemented. Reserved for future use.</p>
2029
2029
  * @public
2030
2030
  */
2031
- BinaryListValues?: Uint8Array[];
2031
+ BinaryListValues?: Uint8Array[] | undefined;
2032
2032
  /**
2033
2033
  * <p>Amazon SQS supports the following logical data types: <code>String</code>,
2034
2034
  * <code>Number</code>, and <code>Binary</code>. For the <code>Number</code> data type,
@@ -2073,7 +2073,7 @@ export interface SendMessageRequest {
2073
2073
  * </note>
2074
2074
  * @public
2075
2075
  */
2076
- DelaySeconds?: number;
2076
+ DelaySeconds?: number | undefined;
2077
2077
  /**
2078
2078
  * <p>Each message attribute consists of a <code>Name</code>, <code>Type</code>,
2079
2079
  * and <code>Value</code>. For more information, see
@@ -2081,7 +2081,7 @@ export interface SendMessageRequest {
2081
2081
  * message attributes</a> in the <i>Amazon SQS Developer Guide</i>.</p>
2082
2082
  * @public
2083
2083
  */
2084
- MessageAttributes?: Record<string, MessageAttributeValue>;
2084
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
2085
2085
  /**
2086
2086
  * <p>The message system attribute to send. Each message system attribute consists of a <code>Name</code>, <code>Type</code>, and <code>Value</code>.</p>
2087
2087
  * <important>
@@ -2098,7 +2098,7 @@ export interface SendMessageRequest {
2098
2098
  * </important>
2099
2099
  * @public
2100
2100
  */
2101
- MessageSystemAttributes?: Partial<Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>;
2101
+ MessageSystemAttributes?: Partial<Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>> | undefined;
2102
2102
  /**
2103
2103
  * <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
2104
2104
  * <p>The token used for deduplication of sent messages. If a message with a particular
@@ -2162,7 +2162,7 @@ export interface SendMessageRequest {
2162
2162
  * Guide</i>.</p>
2163
2163
  * @public
2164
2164
  */
2165
- MessageDeduplicationId?: string;
2165
+ MessageDeduplicationId?: string | undefined;
2166
2166
  /**
2167
2167
  * <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
2168
2168
  * <p>The tag that specifies that a message belongs to a specific message group. Messages
@@ -2197,7 +2197,7 @@ export interface SendMessageRequest {
2197
2197
  * </important>
2198
2198
  * @public
2199
2199
  */
2200
- MessageGroupId?: string;
2200
+ MessageGroupId?: string | undefined;
2201
2201
  }
2202
2202
  /**
2203
2203
  * <p>The <code>MD5OfMessageBody</code> and <code>MessageId</code> elements.</p>
@@ -2208,25 +2208,25 @@ export interface SendMessageResult {
2208
2208
  * <p>An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.</p>
2209
2209
  * @public
2210
2210
  */
2211
- MD5OfMessageBody?: string;
2211
+ MD5OfMessageBody?: string | undefined;
2212
2212
  /**
2213
2213
  * <p>An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.</p>
2214
2214
  * @public
2215
2215
  */
2216
- MD5OfMessageAttributes?: string;
2216
+ MD5OfMessageAttributes?: string | undefined;
2217
2217
  /**
2218
2218
  * <p>An MD5 digest of the non-URL-encoded message system attribute string. You can use this
2219
2219
  * attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest.</p>
2220
2220
  * @public
2221
2221
  */
2222
- MD5OfMessageSystemAttributes?: string;
2222
+ MD5OfMessageSystemAttributes?: string | undefined;
2223
2223
  /**
2224
2224
  * <p>An attribute containing the <code>MessageId</code> of the message sent to the queue.
2225
2225
  * For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html">Queue and Message Identifiers</a> in the <i>Amazon SQS Developer
2226
2226
  * Guide</i>. </p>
2227
2227
  * @public
2228
2228
  */
2229
- MessageId?: string;
2229
+ MessageId?: string | undefined;
2230
2230
  /**
2231
2231
  * <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
2232
2232
  * <p>The large, non-consecutive number that Amazon SQS assigns to each message.</p>
@@ -2234,7 +2234,7 @@ export interface SendMessageResult {
2234
2234
  * continues to increase for a particular <code>MessageGroupId</code>.</p>
2235
2235
  * @public
2236
2236
  */
2237
- SequenceNumber?: string;
2237
+ SequenceNumber?: string | undefined;
2238
2238
  }
2239
2239
  /**
2240
2240
  * <p>The length of all the messages put together is more than the limit.</p>
@@ -2277,7 +2277,7 @@ export interface SendMessageBatchRequestEntry {
2277
2277
  * </note>
2278
2278
  * @public
2279
2279
  */
2280
- DelaySeconds?: number;
2280
+ DelaySeconds?: number | undefined;
2281
2281
  /**
2282
2282
  * <p>Each message attribute consists of a <code>Name</code>, <code>Type</code>,
2283
2283
  * and <code>Value</code>. For more information, see
@@ -2285,7 +2285,7 @@ export interface SendMessageBatchRequestEntry {
2285
2285
  * message attributes</a> in the <i>Amazon SQS Developer Guide</i>.</p>
2286
2286
  * @public
2287
2287
  */
2288
- MessageAttributes?: Record<string, MessageAttributeValue>;
2288
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
2289
2289
  /**
2290
2290
  * <p>The message system attribute to send Each message system attribute consists of a <code>Name</code>, <code>Type</code>, and <code>Value</code>.</p>
2291
2291
  * <important>
@@ -2302,7 +2302,7 @@ export interface SendMessageBatchRequestEntry {
2302
2302
  * </important>
2303
2303
  * @public
2304
2304
  */
2305
- MessageSystemAttributes?: Partial<Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>;
2305
+ MessageSystemAttributes?: Partial<Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>> | undefined;
2306
2306
  /**
2307
2307
  * <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
2308
2308
  * <p>The token used for deduplication of messages within a 5-minute minimum deduplication
@@ -2366,7 +2366,7 @@ export interface SendMessageBatchRequestEntry {
2366
2366
  * Guide</i>.</p>
2367
2367
  * @public
2368
2368
  */
2369
- MessageDeduplicationId?: string;
2369
+ MessageDeduplicationId?: string | undefined;
2370
2370
  /**
2371
2371
  * <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
2372
2372
  * <p>The tag that specifies that a message belongs to a specific message group. Messages
@@ -2401,7 +2401,7 @@ export interface SendMessageBatchRequestEntry {
2401
2401
  * </important>
2402
2402
  * @public
2403
2403
  */
2404
- MessageGroupId?: string;
2404
+ MessageGroupId?: string | undefined;
2405
2405
  }
2406
2406
  /**
2407
2407
  * <p></p>
@@ -2448,13 +2448,13 @@ export interface SendMessageBatchResultEntry {
2448
2448
  * <p>An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.</p>
2449
2449
  * @public
2450
2450
  */
2451
- MD5OfMessageAttributes?: string;
2451
+ MD5OfMessageAttributes?: string | undefined;
2452
2452
  /**
2453
2453
  * <p>An MD5 digest of the non-URL-encoded message system attribute string. You can use this
2454
2454
  * attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.</p>
2455
2455
  * @public
2456
2456
  */
2457
- MD5OfMessageSystemAttributes?: string;
2457
+ MD5OfMessageSystemAttributes?: string | undefined;
2458
2458
  /**
2459
2459
  * <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
2460
2460
  * <p>The large, non-consecutive number that Amazon SQS assigns to each message.</p>
@@ -2462,7 +2462,7 @@ export interface SendMessageBatchResultEntry {
2462
2462
  * continues to increase for a particular <code>MessageGroupId</code>.</p>
2463
2463
  * @public
2464
2464
  */
2465
- SequenceNumber?: string;
2465
+ SequenceNumber?: string | undefined;
2466
2466
  }
2467
2467
  /**
2468
2468
  * <p>For each message in the batch, the response contains a <code>
@@ -2755,7 +2755,7 @@ export interface StartMessageMoveTaskRequest {
2755
2755
  * queues.</p>
2756
2756
  * @public
2757
2757
  */
2758
- DestinationArn?: string;
2758
+ DestinationArn?: string | undefined;
2759
2759
  /**
2760
2760
  * <p>The number of messages to be moved per second (the message movement rate). You can use
2761
2761
  * this field to define a fixed message movement rate. The maximum value for messages per
@@ -2764,7 +2764,7 @@ export interface StartMessageMoveTaskRequest {
2764
2764
  * movement task.</p>
2765
2765
  * @public
2766
2766
  */
2767
- MaxNumberOfMessagesPerSecond?: number;
2767
+ MaxNumberOfMessagesPerSecond?: number | undefined;
2768
2768
  }
2769
2769
  /**
2770
2770
  * @public
@@ -2776,7 +2776,7 @@ export interface StartMessageMoveTaskResult {
2776
2776
  * action.</p>
2777
2777
  * @public
2778
2778
  */
2779
- TaskHandle?: string;
2779
+ TaskHandle?: string | undefined;
2780
2780
  }
2781
2781
  /**
2782
2782
  * @public
@@ -42,7 +42,7 @@ export interface CancelMessageMoveTaskRequest {
42
42
  TaskHandle: string | undefined;
43
43
  }
44
44
  export interface CancelMessageMoveTaskResult {
45
- ApproximateNumberOfMessagesMoved?: number;
45
+ ApproximateNumberOfMessagesMoved?: number | undefined;
46
46
  }
47
47
  export declare class ResourceNotFoundException extends __BaseException {
48
48
  readonly name: "ResourceNotFoundException";
@@ -78,7 +78,7 @@ export declare class BatchEntryIdsNotDistinct extends __BaseException {
78
78
  export interface ChangeMessageVisibilityBatchRequestEntry {
79
79
  Id: string | undefined;
80
80
  ReceiptHandle: string | undefined;
81
- VisibilityTimeout?: number;
81
+ VisibilityTimeout?: number | undefined;
82
82
  }
83
83
  export interface ChangeMessageVisibilityBatchRequest {
84
84
  QueueUrl: string | undefined;
@@ -88,7 +88,7 @@ export interface BatchResultErrorEntry {
88
88
  Id: string | undefined;
89
89
  SenderFault: boolean | undefined;
90
90
  Code: string | undefined;
91
- Message?: string;
91
+ Message?: string | undefined;
92
92
  }
93
93
  export interface ChangeMessageVisibilityBatchResultEntry {
94
94
  Id: string | undefined;
@@ -144,11 +144,11 @@ export type QueueAttributeName =
144
144
  (typeof QueueAttributeName)[keyof typeof QueueAttributeName];
145
145
  export interface CreateQueueRequest {
146
146
  QueueName: string | undefined;
147
- Attributes?: Partial<Record<QueueAttributeName, string>>;
148
- tags?: Record<string, string>;
147
+ Attributes?: Partial<Record<QueueAttributeName, string>> | undefined;
148
+ tags?: Record<string, string> | undefined;
149
149
  }
150
150
  export interface CreateQueueResult {
151
- QueueUrl?: string;
151
+ QueueUrl?: string | undefined;
152
152
  }
153
153
  export declare class InvalidAttributeName extends __BaseException {
154
154
  readonly name: "InvalidAttributeName";
@@ -205,59 +205,59 @@ export interface DeleteQueueRequest {
205
205
  }
206
206
  export interface GetQueueAttributesRequest {
207
207
  QueueUrl: string | undefined;
208
- AttributeNames?: QueueAttributeName[];
208
+ AttributeNames?: QueueAttributeName[] | undefined;
209
209
  }
210
210
  export interface GetQueueAttributesResult {
211
- Attributes?: Partial<Record<QueueAttributeName, string>>;
211
+ Attributes?: Partial<Record<QueueAttributeName, string>> | undefined;
212
212
  }
213
213
  export interface GetQueueUrlRequest {
214
214
  QueueName: string | undefined;
215
- QueueOwnerAWSAccountId?: string;
215
+ QueueOwnerAWSAccountId?: string | undefined;
216
216
  }
217
217
  export interface GetQueueUrlResult {
218
- QueueUrl?: string;
218
+ QueueUrl?: string | undefined;
219
219
  }
220
220
  export interface ListDeadLetterSourceQueuesRequest {
221
221
  QueueUrl: string | undefined;
222
- NextToken?: string;
223
- MaxResults?: number;
222
+ NextToken?: string | undefined;
223
+ MaxResults?: number | undefined;
224
224
  }
225
225
  export interface ListDeadLetterSourceQueuesResult {
226
226
  queueUrls: string[] | undefined;
227
- NextToken?: string;
227
+ NextToken?: string | undefined;
228
228
  }
229
229
  export interface ListMessageMoveTasksRequest {
230
230
  SourceArn: string | undefined;
231
- MaxResults?: number;
231
+ MaxResults?: number | undefined;
232
232
  }
233
233
  export interface ListMessageMoveTasksResultEntry {
234
- TaskHandle?: string;
235
- Status?: string;
236
- SourceArn?: string;
237
- DestinationArn?: string;
238
- MaxNumberOfMessagesPerSecond?: number;
239
- ApproximateNumberOfMessagesMoved?: number;
240
- ApproximateNumberOfMessagesToMove?: number;
241
- FailureReason?: string;
242
- StartedTimestamp?: number;
234
+ TaskHandle?: string | undefined;
235
+ Status?: string | undefined;
236
+ SourceArn?: string | undefined;
237
+ DestinationArn?: string | undefined;
238
+ MaxNumberOfMessagesPerSecond?: number | undefined;
239
+ ApproximateNumberOfMessagesMoved?: number | undefined;
240
+ ApproximateNumberOfMessagesToMove?: number | undefined;
241
+ FailureReason?: string | undefined;
242
+ StartedTimestamp?: number | undefined;
243
243
  }
244
244
  export interface ListMessageMoveTasksResult {
245
- Results?: ListMessageMoveTasksResultEntry[];
245
+ Results?: ListMessageMoveTasksResultEntry[] | undefined;
246
246
  }
247
247
  export interface ListQueuesRequest {
248
- QueueNamePrefix?: string;
249
- NextToken?: string;
250
- MaxResults?: number;
248
+ QueueNamePrefix?: string | undefined;
249
+ NextToken?: string | undefined;
250
+ MaxResults?: number | undefined;
251
251
  }
252
252
  export interface ListQueuesResult {
253
- QueueUrls?: string[];
254
- NextToken?: string;
253
+ QueueUrls?: string[] | undefined;
254
+ NextToken?: string | undefined;
255
255
  }
256
256
  export interface ListQueueTagsRequest {
257
257
  QueueUrl: string | undefined;
258
258
  }
259
259
  export interface ListQueueTagsResult {
260
- Tags?: Record<string, string>;
260
+ Tags?: Record<string, string> | undefined;
261
261
  }
262
262
  export declare class PurgeQueueInProgress extends __BaseException {
263
263
  readonly name: "PurgeQueueInProgress";
@@ -320,32 +320,32 @@ export type MessageSystemAttributeName =
320
320
  (typeof MessageSystemAttributeName)[keyof typeof MessageSystemAttributeName];
321
321
  export interface ReceiveMessageRequest {
322
322
  QueueUrl: string | undefined;
323
- AttributeNames?: QueueAttributeName[];
324
- MessageSystemAttributeNames?: MessageSystemAttributeName[];
325
- MessageAttributeNames?: string[];
326
- MaxNumberOfMessages?: number;
327
- VisibilityTimeout?: number;
328
- WaitTimeSeconds?: number;
329
- ReceiveRequestAttemptId?: string;
323
+ AttributeNames?: QueueAttributeName[] | undefined;
324
+ MessageSystemAttributeNames?: MessageSystemAttributeName[] | undefined;
325
+ MessageAttributeNames?: string[] | undefined;
326
+ MaxNumberOfMessages?: number | undefined;
327
+ VisibilityTimeout?: number | undefined;
328
+ WaitTimeSeconds?: number | undefined;
329
+ ReceiveRequestAttemptId?: string | undefined;
330
330
  }
331
331
  export interface MessageAttributeValue {
332
- StringValue?: string;
333
- BinaryValue?: Uint8Array;
334
- StringListValues?: string[];
335
- BinaryListValues?: Uint8Array[];
332
+ StringValue?: string | undefined;
333
+ BinaryValue?: Uint8Array | undefined;
334
+ StringListValues?: string[] | undefined;
335
+ BinaryListValues?: Uint8Array[] | undefined;
336
336
  DataType: string | undefined;
337
337
  }
338
338
  export interface Message {
339
- MessageId?: string;
340
- ReceiptHandle?: string;
341
- MD5OfBody?: string;
342
- Body?: string;
343
- Attributes?: Partial<Record<MessageSystemAttributeName, string>>;
344
- MD5OfMessageAttributes?: string;
345
- MessageAttributes?: Record<string, MessageAttributeValue>;
339
+ MessageId?: string | undefined;
340
+ ReceiptHandle?: string | undefined;
341
+ MD5OfBody?: string | undefined;
342
+ Body?: string | undefined;
343
+ Attributes?: Partial<Record<MessageSystemAttributeName, string>> | undefined;
344
+ MD5OfMessageAttributes?: string | undefined;
345
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
346
346
  }
347
347
  export interface ReceiveMessageResult {
348
- Messages?: Message[];
348
+ Messages?: Message[] | undefined;
349
349
  }
350
350
  export interface RemovePermissionRequest {
351
351
  QueueUrl: string | undefined;
@@ -364,29 +364,31 @@ export declare const MessageSystemAttributeNameForSends: {
364
364
  export type MessageSystemAttributeNameForSends =
365
365
  (typeof MessageSystemAttributeNameForSends)[keyof typeof MessageSystemAttributeNameForSends];
366
366
  export interface MessageSystemAttributeValue {
367
- StringValue?: string;
368
- BinaryValue?: Uint8Array;
369
- StringListValues?: string[];
370
- BinaryListValues?: Uint8Array[];
367
+ StringValue?: string | undefined;
368
+ BinaryValue?: Uint8Array | undefined;
369
+ StringListValues?: string[] | undefined;
370
+ BinaryListValues?: Uint8Array[] | undefined;
371
371
  DataType: string | undefined;
372
372
  }
373
373
  export interface SendMessageRequest {
374
374
  QueueUrl: string | undefined;
375
375
  MessageBody: string | undefined;
376
- DelaySeconds?: number;
377
- MessageAttributes?: Record<string, MessageAttributeValue>;
378
- MessageSystemAttributes?: Partial<
379
- Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>
380
- >;
381
- MessageDeduplicationId?: string;
382
- MessageGroupId?: string;
376
+ DelaySeconds?: number | undefined;
377
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
378
+ MessageSystemAttributes?:
379
+ | Partial<
380
+ Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>
381
+ >
382
+ | undefined;
383
+ MessageDeduplicationId?: string | undefined;
384
+ MessageGroupId?: string | undefined;
383
385
  }
384
386
  export interface SendMessageResult {
385
- MD5OfMessageBody?: string;
386
- MD5OfMessageAttributes?: string;
387
- MD5OfMessageSystemAttributes?: string;
388
- MessageId?: string;
389
- SequenceNumber?: string;
387
+ MD5OfMessageBody?: string | undefined;
388
+ MD5OfMessageAttributes?: string | undefined;
389
+ MD5OfMessageSystemAttributes?: string | undefined;
390
+ MessageId?: string | undefined;
391
+ SequenceNumber?: string | undefined;
390
392
  }
391
393
  export declare class BatchRequestTooLong extends __BaseException {
392
394
  readonly name: "BatchRequestTooLong";
@@ -398,13 +400,15 @@ export declare class BatchRequestTooLong extends __BaseException {
398
400
  export interface SendMessageBatchRequestEntry {
399
401
  Id: string | undefined;
400
402
  MessageBody: string | undefined;
401
- DelaySeconds?: number;
402
- MessageAttributes?: Record<string, MessageAttributeValue>;
403
- MessageSystemAttributes?: Partial<
404
- Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>
405
- >;
406
- MessageDeduplicationId?: string;
407
- MessageGroupId?: string;
403
+ DelaySeconds?: number | undefined;
404
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
405
+ MessageSystemAttributes?:
406
+ | Partial<
407
+ Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>
408
+ >
409
+ | undefined;
410
+ MessageDeduplicationId?: string | undefined;
411
+ MessageGroupId?: string | undefined;
408
412
  }
409
413
  export interface SendMessageBatchRequest {
410
414
  QueueUrl: string | undefined;
@@ -414,9 +418,9 @@ export interface SendMessageBatchResultEntry {
414
418
  Id: string | undefined;
415
419
  MessageId: string | undefined;
416
420
  MD5OfMessageBody: string | undefined;
417
- MD5OfMessageAttributes?: string;
418
- MD5OfMessageSystemAttributes?: string;
419
- SequenceNumber?: string;
421
+ MD5OfMessageAttributes?: string | undefined;
422
+ MD5OfMessageSystemAttributes?: string | undefined;
423
+ SequenceNumber?: string | undefined;
420
424
  }
421
425
  export interface SendMessageBatchResult {
422
426
  Successful: SendMessageBatchResultEntry[] | undefined;
@@ -428,11 +432,11 @@ export interface SetQueueAttributesRequest {
428
432
  }
429
433
  export interface StartMessageMoveTaskRequest {
430
434
  SourceArn: string | undefined;
431
- DestinationArn?: string;
432
- MaxNumberOfMessagesPerSecond?: number;
435
+ DestinationArn?: string | undefined;
436
+ MaxNumberOfMessagesPerSecond?: number | undefined;
433
437
  }
434
438
  export interface StartMessageMoveTaskResult {
435
- TaskHandle?: string;
439
+ TaskHandle?: string | undefined;
436
440
  }
437
441
  export interface TagQueueRequest {
438
442
  QueueUrl: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sqs",
3
3
  "description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
4
- "version": "3.689.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sqs",
@@ -20,20 +20,20 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
30
  "@aws-sdk/middleware-sdk-sqs": "3.689.0",
31
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
+ "@aws-sdk/middleware-user-agent": "3.691.0",
32
32
  "@aws-sdk/region-config-resolver": "3.686.0",
33
33
  "@aws-sdk/types": "3.686.0",
34
34
  "@aws-sdk/util-endpoints": "3.686.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.686.0",
36
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
+ "@aws-sdk/util-user-agent-node": "3.691.0",
37
37
  "@smithy/config-resolver": "^3.0.10",
38
38
  "@smithy/core": "^2.5.1",
39
39
  "@smithy/fetch-http-handler": "^4.0.0",