@aws-sdk/client-sqs 3.446.0 → 3.447.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchRequestTooLong = exports.MessageSystemAttributeNameForSends = exports.InvalidMessageContents = exports.MessageSystemAttributeName = exports.KmsThrottled = exports.KmsOptInRequired = exports.KmsNotFound = exports.KmsInvalidState = exports.KmsInvalidKeyUsage = exports.KmsDisabled = exports.KmsAccessDenied = exports.PurgeQueueInProgress = exports.TaskStatus = exports.InvalidIdFormat = exports.QueueNameExists = exports.QueueDeletedRecently = exports.InvalidAttributeValue = exports.InvalidAttributeName = exports.QueueAttributeName = exports.TooManyEntriesInBatchRequest = exports.InvalidBatchEntryId = exports.EmptyBatchRequest = exports.BatchEntryIdsNotDistinct = exports.ReceiptHandleIsInvalid = exports.MessageNotInflight = exports.ResourceNotFoundException = exports.UnsupportedOperation = exports.RequestThrottled = exports.QueueDoesNotExist = exports.OverLimit = exports.InvalidSecurity = exports.InvalidAddress = void 0;
3
+ exports.BatchRequestTooLong = exports.MessageSystemAttributeNameForSends = exports.InvalidMessageContents = exports.MessageSystemAttributeName = exports.KmsThrottled = exports.KmsOptInRequired = exports.KmsNotFound = exports.KmsInvalidState = exports.KmsInvalidKeyUsage = exports.KmsDisabled = exports.KmsAccessDenied = exports.PurgeQueueInProgress = exports.InvalidIdFormat = exports.QueueNameExists = exports.QueueDeletedRecently = exports.InvalidAttributeValue = exports.InvalidAttributeName = exports.QueueAttributeName = exports.TooManyEntriesInBatchRequest = exports.InvalidBatchEntryId = exports.EmptyBatchRequest = exports.BatchEntryIdsNotDistinct = exports.ReceiptHandleIsInvalid = exports.MessageNotInflight = exports.ResourceNotFoundException = exports.UnsupportedOperation = exports.RequestThrottled = exports.QueueDoesNotExist = exports.OverLimit = exports.InvalidSecurity = exports.InvalidAddress = void 0;
4
4
  const SQSServiceException_1 = require("./SQSServiceException");
5
5
  class InvalidAddress extends SQSServiceException_1.SQSServiceException {
6
6
  constructor(opts) {
@@ -260,13 +260,6 @@ class InvalidIdFormat extends SQSServiceException_1.SQSServiceException {
260
260
  }
261
261
  }
262
262
  exports.InvalidIdFormat = InvalidIdFormat;
263
- exports.TaskStatus = {
264
- CANCELLED: "CANCELLED",
265
- CANCELLING: "CANCELLING",
266
- COMPLETED: "COMPLETED",
267
- FAILED: "FAILED",
268
- RUNNING: "RUNNING",
269
- };
270
263
  class PurgeQueueInProgress extends SQSServiceException_1.SQSServiceException {
271
264
  constructor(opts) {
272
265
  super({
@@ -239,13 +239,6 @@ export class InvalidIdFormat extends __BaseException {
239
239
  Object.setPrototypeOf(this, InvalidIdFormat.prototype);
240
240
  }
241
241
  }
242
- export const TaskStatus = {
243
- CANCELLED: "CANCELLED",
244
- CANCELLING: "CANCELLING",
245
- COMPLETED: "COMPLETED",
246
- FAILED: "FAILED",
247
- RUNNING: "RUNNING",
248
- };
249
242
  export class PurgeQueueInProgress extends __BaseException {
250
243
  constructor(opts) {
251
244
  super({
@@ -58,7 +58,7 @@ export interface ListMessageMoveTasksCommandOutput extends ListMessageMoveTasksR
58
58
  * // Results: [ // ListMessageMoveTasksResultEntryList
59
59
  * // { // ListMessageMoveTasksResultEntry
60
60
  * // TaskHandle: "STRING_VALUE",
61
- * // Status: "RUNNING" || "FAILED" || "CANCELLING" || "CANCELLED" || "COMPLETED",
61
+ * // Status: "STRING_VALUE",
62
62
  * // SourceArn: "STRING_VALUE",
63
63
  * // DestinationArn: "STRING_VALUE",
64
64
  * // MaxNumberOfMessagesPerSecond: Number("int"),
@@ -1271,21 +1271,6 @@ export interface ListMessageMoveTasksRequest {
1271
1271
  */
1272
1272
  MaxResults?: number;
1273
1273
  }
1274
- /**
1275
- * @public
1276
- * @enum
1277
- */
1278
- export declare const TaskStatus: {
1279
- readonly CANCELLED: "CANCELLED";
1280
- readonly CANCELLING: "CANCELLING";
1281
- readonly COMPLETED: "COMPLETED";
1282
- readonly FAILED: "FAILED";
1283
- readonly RUNNING: "RUNNING";
1284
- };
1285
- /**
1286
- * @public
1287
- */
1288
- export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
1289
1274
  /**
1290
1275
  * @public
1291
1276
  * <p>Contains the details of a message movement task. </p>
@@ -1303,7 +1288,7 @@ export interface ListMessageMoveTasksResultEntry {
1303
1288
  * <p>The status of the message movement task. Possible values are: RUNNING, COMPLETED,
1304
1289
  * CANCELLING, CANCELLED, and FAILED.</p>
1305
1290
  */
1306
- Status?: TaskStatus;
1291
+ Status?: string;
1307
1292
  /**
1308
1293
  * @public
1309
1294
  * <p>The ARN of the queue that contains the messages to be moved to another queue.</p>
@@ -230,17 +230,9 @@ export interface ListMessageMoveTasksRequest {
230
230
  SourceArn: string | undefined;
231
231
  MaxResults?: number;
232
232
  }
233
- export declare const TaskStatus: {
234
- readonly CANCELLED: "CANCELLED";
235
- readonly CANCELLING: "CANCELLING";
236
- readonly COMPLETED: "COMPLETED";
237
- readonly FAILED: "FAILED";
238
- readonly RUNNING: "RUNNING";
239
- };
240
- export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
241
233
  export interface ListMessageMoveTasksResultEntry {
242
234
  TaskHandle?: string;
243
- Status?: TaskStatus;
235
+ Status?: string;
244
236
  SourceArn?: string;
245
237
  DestinationArn?: string;
246
238
  MaxNumberOfMessagesPerSecond?: number;
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.446.0",
4
+ "version": "3.447.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",