@aws-sdk/client-sqs 3.52.0 → 3.54.1
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/CHANGELOG.md +30 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SQSServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +211 -1
- package/dist-cjs/protocols/Aws_query.js +160 -460
- package/dist-es/endpoints.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/SQSServiceException.js +12 -0
- package/dist-es/models/models_0.js +194 -1
- package/dist-es/protocols/Aws_query.js +327 -467
- package/dist-types/SQSClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SQSServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +114 -49
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/SQSClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/SQSServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -49
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +29 -29
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
10
10
|
import { ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput } from "./commands/ChangeMessageVisibilityBatchCommand";
|
|
11
11
|
import { ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput } from "./commands/ChangeMessageVisibilityCommand";
|
|
@@ -48,7 +48,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
48
48
|
* A function that can calculate the length of a request body.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
|
-
bodyLengthChecker?:
|
|
51
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
52
52
|
/**
|
|
53
53
|
* A function that converts a stream into an array of bytes.
|
|
54
54
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from SQS service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SQSServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SQSServiceException as __BaseException } from "./SQSServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p></p>
|
|
4
5
|
*/
|
|
@@ -39,9 +40,13 @@ export declare namespace AddPermissionRequest {
|
|
|
39
40
|
* <code>AddPermission</code> returns this error if the maximum number of permissions
|
|
40
41
|
* for the queue is reached.</p>
|
|
41
42
|
*/
|
|
42
|
-
export
|
|
43
|
-
name: "OverLimit";
|
|
44
|
-
$fault: "client";
|
|
43
|
+
export declare class OverLimit extends __BaseException {
|
|
44
|
+
readonly name: "OverLimit";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<OverLimit, __BaseException>);
|
|
45
50
|
}
|
|
46
51
|
export interface ChangeMessageVisibilityRequest {
|
|
47
52
|
/**
|
|
@@ -69,23 +74,35 @@ export declare namespace ChangeMessageVisibilityRequest {
|
|
|
69
74
|
/**
|
|
70
75
|
* <p>The specified message isn't in flight.</p>
|
|
71
76
|
*/
|
|
72
|
-
export
|
|
73
|
-
name: "MessageNotInflight";
|
|
74
|
-
$fault: "client";
|
|
77
|
+
export declare class MessageNotInflight extends __BaseException {
|
|
78
|
+
readonly name: "MessageNotInflight";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
constructor(opts: __ExceptionOptionType<MessageNotInflight, __BaseException>);
|
|
75
84
|
}
|
|
76
85
|
/**
|
|
77
86
|
* <p>The specified receipt handle isn't valid.</p>
|
|
78
87
|
*/
|
|
79
|
-
export
|
|
80
|
-
name: "ReceiptHandleIsInvalid";
|
|
81
|
-
$fault: "client";
|
|
88
|
+
export declare class ReceiptHandleIsInvalid extends __BaseException {
|
|
89
|
+
readonly name: "ReceiptHandleIsInvalid";
|
|
90
|
+
readonly $fault: "client";
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
constructor(opts: __ExceptionOptionType<ReceiptHandleIsInvalid, __BaseException>);
|
|
82
95
|
}
|
|
83
96
|
/**
|
|
84
97
|
* <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
|
|
85
98
|
*/
|
|
86
|
-
export
|
|
87
|
-
name: "BatchEntryIdsNotDistinct";
|
|
88
|
-
$fault: "client";
|
|
99
|
+
export declare class BatchEntryIdsNotDistinct extends __BaseException {
|
|
100
|
+
readonly name: "BatchEntryIdsNotDistinct";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
constructor(opts: __ExceptionOptionType<BatchEntryIdsNotDistinct, __BaseException>);
|
|
89
106
|
}
|
|
90
107
|
/**
|
|
91
108
|
* <p>Encloses a receipt handle and an entry id for each message in <code>
|
|
@@ -223,23 +240,35 @@ export declare namespace ChangeMessageVisibilityBatchResult {
|
|
|
223
240
|
/**
|
|
224
241
|
* <p>The batch request doesn't contain any entries.</p>
|
|
225
242
|
*/
|
|
226
|
-
export
|
|
227
|
-
name: "EmptyBatchRequest";
|
|
228
|
-
$fault: "client";
|
|
243
|
+
export declare class EmptyBatchRequest extends __BaseException {
|
|
244
|
+
readonly name: "EmptyBatchRequest";
|
|
245
|
+
readonly $fault: "client";
|
|
246
|
+
/**
|
|
247
|
+
* @internal
|
|
248
|
+
*/
|
|
249
|
+
constructor(opts: __ExceptionOptionType<EmptyBatchRequest, __BaseException>);
|
|
229
250
|
}
|
|
230
251
|
/**
|
|
231
252
|
* <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification.</p>
|
|
232
253
|
*/
|
|
233
|
-
export
|
|
234
|
-
name: "InvalidBatchEntryId";
|
|
235
|
-
$fault: "client";
|
|
254
|
+
export declare class InvalidBatchEntryId extends __BaseException {
|
|
255
|
+
readonly name: "InvalidBatchEntryId";
|
|
256
|
+
readonly $fault: "client";
|
|
257
|
+
/**
|
|
258
|
+
* @internal
|
|
259
|
+
*/
|
|
260
|
+
constructor(opts: __ExceptionOptionType<InvalidBatchEntryId, __BaseException>);
|
|
236
261
|
}
|
|
237
262
|
/**
|
|
238
263
|
* <p>The batch request contains more entries than permissible.</p>
|
|
239
264
|
*/
|
|
240
|
-
export
|
|
241
|
-
name: "TooManyEntriesInBatchRequest";
|
|
242
|
-
$fault: "client";
|
|
265
|
+
export declare class TooManyEntriesInBatchRequest extends __BaseException {
|
|
266
|
+
readonly name: "TooManyEntriesInBatchRequest";
|
|
267
|
+
readonly $fault: "client";
|
|
268
|
+
/**
|
|
269
|
+
* @internal
|
|
270
|
+
*/
|
|
271
|
+
constructor(opts: __ExceptionOptionType<TooManyEntriesInBatchRequest, __BaseException>);
|
|
243
272
|
}
|
|
244
273
|
export declare type QueueAttributeName = "All" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesDelayed" | "ApproximateNumberOfMessagesNotVisible" | "ContentBasedDeduplication" | "CreatedTimestamp" | "DeduplicationScope" | "DelaySeconds" | "FifoQueue" | "FifoThroughputLimit" | "KmsDataKeyReusePeriodSeconds" | "KmsMasterKeyId" | "LastModifiedTimestamp" | "MaximumMessageSize" | "MessageRetentionPeriod" | "Policy" | "QueueArn" | "ReceiveMessageWaitTimeSeconds" | "RedriveAllowPolicy" | "RedrivePolicy" | "SqsManagedSseEnabled" | "VisibilityTimeout";
|
|
245
274
|
/**
|
|
@@ -489,17 +518,25 @@ export declare namespace CreateQueueResult {
|
|
|
489
518
|
* <p>You must wait 60 seconds after deleting a queue before you can create another queue
|
|
490
519
|
* with the same name.</p>
|
|
491
520
|
*/
|
|
492
|
-
export
|
|
493
|
-
name: "QueueDeletedRecently";
|
|
494
|
-
$fault: "client";
|
|
521
|
+
export declare class QueueDeletedRecently extends __BaseException {
|
|
522
|
+
readonly name: "QueueDeletedRecently";
|
|
523
|
+
readonly $fault: "client";
|
|
524
|
+
/**
|
|
525
|
+
* @internal
|
|
526
|
+
*/
|
|
527
|
+
constructor(opts: __ExceptionOptionType<QueueDeletedRecently, __BaseException>);
|
|
495
528
|
}
|
|
496
529
|
/**
|
|
497
530
|
* <p>A queue with this name already exists. Amazon SQS returns this error only if the request
|
|
498
531
|
* includes attributes whose values differ from those of the existing queue.</p>
|
|
499
532
|
*/
|
|
500
|
-
export
|
|
501
|
-
name: "QueueNameExists";
|
|
502
|
-
$fault: "client";
|
|
533
|
+
export declare class QueueNameExists extends __BaseException {
|
|
534
|
+
readonly name: "QueueNameExists";
|
|
535
|
+
readonly $fault: "client";
|
|
536
|
+
/**
|
|
537
|
+
* @internal
|
|
538
|
+
*/
|
|
539
|
+
constructor(opts: __ExceptionOptionType<QueueNameExists, __BaseException>);
|
|
503
540
|
}
|
|
504
541
|
/**
|
|
505
542
|
* <p></p>
|
|
@@ -524,9 +561,13 @@ export declare namespace DeleteMessageRequest {
|
|
|
524
561
|
/**
|
|
525
562
|
* <p>The specified receipt handle isn't valid for the current version.</p>
|
|
526
563
|
*/
|
|
527
|
-
export
|
|
528
|
-
name: "InvalidIdFormat";
|
|
529
|
-
$fault: "client";
|
|
564
|
+
export declare class InvalidIdFormat extends __BaseException {
|
|
565
|
+
readonly name: "InvalidIdFormat";
|
|
566
|
+
readonly $fault: "client";
|
|
567
|
+
/**
|
|
568
|
+
* @internal
|
|
569
|
+
*/
|
|
570
|
+
constructor(opts: __ExceptionOptionType<InvalidIdFormat, __BaseException>);
|
|
530
571
|
}
|
|
531
572
|
/**
|
|
532
573
|
* <p>Encloses a receipt handle and an identifier for it.</p>
|
|
@@ -840,9 +881,13 @@ export declare namespace GetQueueAttributesResult {
|
|
|
840
881
|
/**
|
|
841
882
|
* <p>The specified attribute doesn't exist.</p>
|
|
842
883
|
*/
|
|
843
|
-
export
|
|
844
|
-
name: "InvalidAttributeName";
|
|
845
|
-
$fault: "client";
|
|
884
|
+
export declare class InvalidAttributeName extends __BaseException {
|
|
885
|
+
readonly name: "InvalidAttributeName";
|
|
886
|
+
readonly $fault: "client";
|
|
887
|
+
/**
|
|
888
|
+
* @internal
|
|
889
|
+
*/
|
|
890
|
+
constructor(opts: __ExceptionOptionType<InvalidAttributeName, __BaseException>);
|
|
846
891
|
}
|
|
847
892
|
/**
|
|
848
893
|
* <p></p>
|
|
@@ -882,9 +927,13 @@ export declare namespace GetQueueUrlResult {
|
|
|
882
927
|
/**
|
|
883
928
|
* <p>The specified queue doesn't exist.</p>
|
|
884
929
|
*/
|
|
885
|
-
export
|
|
886
|
-
name: "QueueDoesNotExist";
|
|
887
|
-
$fault: "client";
|
|
930
|
+
export declare class QueueDoesNotExist extends __BaseException {
|
|
931
|
+
readonly name: "QueueDoesNotExist";
|
|
932
|
+
readonly $fault: "client";
|
|
933
|
+
/**
|
|
934
|
+
* @internal
|
|
935
|
+
*/
|
|
936
|
+
constructor(opts: __ExceptionOptionType<QueueDoesNotExist, __BaseException>);
|
|
888
937
|
}
|
|
889
938
|
/**
|
|
890
939
|
* <p></p>
|
|
@@ -1005,9 +1054,13 @@ export declare namespace ListQueueTagsResult {
|
|
|
1005
1054
|
/**
|
|
1006
1055
|
* <p>Indicates that the specified queue previously received a <code>PurgeQueue</code> request within the last 60 seconds (the time it can take to delete the messages in the queue).</p>
|
|
1007
1056
|
*/
|
|
1008
|
-
export
|
|
1009
|
-
name: "PurgeQueueInProgress";
|
|
1010
|
-
$fault: "client";
|
|
1057
|
+
export declare class PurgeQueueInProgress extends __BaseException {
|
|
1058
|
+
readonly name: "PurgeQueueInProgress";
|
|
1059
|
+
readonly $fault: "client";
|
|
1060
|
+
/**
|
|
1061
|
+
* @internal
|
|
1062
|
+
*/
|
|
1063
|
+
constructor(opts: __ExceptionOptionType<PurgeQueueInProgress, __BaseException>);
|
|
1011
1064
|
}
|
|
1012
1065
|
/**
|
|
1013
1066
|
* <p></p>
|
|
@@ -1362,9 +1415,13 @@ export declare namespace RemovePermissionRequest {
|
|
|
1362
1415
|
/**
|
|
1363
1416
|
* <p>The message contains characters outside the allowed set.</p>
|
|
1364
1417
|
*/
|
|
1365
|
-
export
|
|
1366
|
-
name: "InvalidMessageContents";
|
|
1367
|
-
$fault: "client";
|
|
1418
|
+
export declare class InvalidMessageContents extends __BaseException {
|
|
1419
|
+
readonly name: "InvalidMessageContents";
|
|
1420
|
+
readonly $fault: "client";
|
|
1421
|
+
/**
|
|
1422
|
+
* @internal
|
|
1423
|
+
*/
|
|
1424
|
+
constructor(opts: __ExceptionOptionType<InvalidMessageContents, __BaseException>);
|
|
1368
1425
|
}
|
|
1369
1426
|
export declare type MessageSystemAttributeNameForSends = "AWSTraceHeader";
|
|
1370
1427
|
/**
|
|
@@ -1585,16 +1642,24 @@ export declare namespace SendMessageResult {
|
|
|
1585
1642
|
/**
|
|
1586
1643
|
* <p>Error code 400. Unsupported operation.</p>
|
|
1587
1644
|
*/
|
|
1588
|
-
export
|
|
1589
|
-
name: "UnsupportedOperation";
|
|
1590
|
-
$fault: "client";
|
|
1645
|
+
export declare class UnsupportedOperation extends __BaseException {
|
|
1646
|
+
readonly name: "UnsupportedOperation";
|
|
1647
|
+
readonly $fault: "client";
|
|
1648
|
+
/**
|
|
1649
|
+
* @internal
|
|
1650
|
+
*/
|
|
1651
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
|
|
1591
1652
|
}
|
|
1592
1653
|
/**
|
|
1593
1654
|
* <p>The length of all the messages put together is more than the limit.</p>
|
|
1594
1655
|
*/
|
|
1595
|
-
export
|
|
1596
|
-
name: "BatchRequestTooLong";
|
|
1597
|
-
$fault: "client";
|
|
1656
|
+
export declare class BatchRequestTooLong extends __BaseException {
|
|
1657
|
+
readonly name: "BatchRequestTooLong";
|
|
1658
|
+
readonly $fault: "client";
|
|
1659
|
+
/**
|
|
1660
|
+
* @internal
|
|
1661
|
+
*/
|
|
1662
|
+
constructor(opts: __ExceptionOptionType<BatchRequestTooLong, __BaseException>);
|
|
1598
1663
|
}
|
|
1599
1664
|
/**
|
|
1600
1665
|
* <p>Contains the details of a single Amazon SQS message along with an <code>Id</code>.</p>
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
9
9
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
10
10
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
11
11
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
12
|
-
bodyLengthChecker: (
|
|
12
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
13
13
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
14
14
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
15
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
10
10
|
import { ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput } from "./commands/ChangeMessageVisibilityBatchCommand";
|
|
11
11
|
import { ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput } from "./commands/ChangeMessageVisibilityCommand";
|
|
@@ -36,7 +36,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
36
36
|
|
|
37
37
|
urlParser?: __UrlParser;
|
|
38
38
|
|
|
39
|
-
bodyLengthChecker?:
|
|
39
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
40
40
|
|
|
41
41
|
streamCollector?: __StreamCollector;
|
|
42
42
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SQSServiceException as __BaseException } from "./SQSServiceException";
|
|
2
3
|
|
|
3
4
|
export interface AddPermissionRequest {
|
|
4
5
|
|
|
@@ -15,9 +16,11 @@ export declare namespace AddPermissionRequest {
|
|
|
15
16
|
const filterSensitiveLog: (obj: AddPermissionRequest) => any;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
export
|
|
19
|
-
name: "OverLimit";
|
|
20
|
-
$fault: "client";
|
|
19
|
+
export declare class OverLimit extends __BaseException {
|
|
20
|
+
readonly name: "OverLimit";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
|
|
23
|
+
constructor(opts: __ExceptionOptionType<OverLimit, __BaseException>);
|
|
21
24
|
}
|
|
22
25
|
export interface ChangeMessageVisibilityRequest {
|
|
23
26
|
|
|
@@ -32,19 +35,25 @@ export declare namespace ChangeMessageVisibilityRequest {
|
|
|
32
35
|
const filterSensitiveLog: (obj: ChangeMessageVisibilityRequest) => any;
|
|
33
36
|
}
|
|
34
37
|
|
|
35
|
-
export
|
|
36
|
-
name: "MessageNotInflight";
|
|
37
|
-
$fault: "client";
|
|
38
|
+
export declare class MessageNotInflight extends __BaseException {
|
|
39
|
+
readonly name: "MessageNotInflight";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
|
|
42
|
+
constructor(opts: __ExceptionOptionType<MessageNotInflight, __BaseException>);
|
|
38
43
|
}
|
|
39
44
|
|
|
40
|
-
export
|
|
41
|
-
name: "ReceiptHandleIsInvalid";
|
|
42
|
-
$fault: "client";
|
|
45
|
+
export declare class ReceiptHandleIsInvalid extends __BaseException {
|
|
46
|
+
readonly name: "ReceiptHandleIsInvalid";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
|
|
49
|
+
constructor(opts: __ExceptionOptionType<ReceiptHandleIsInvalid, __BaseException>);
|
|
43
50
|
}
|
|
44
51
|
|
|
45
|
-
export
|
|
46
|
-
name: "BatchEntryIdsNotDistinct";
|
|
47
|
-
$fault: "client";
|
|
52
|
+
export declare class BatchEntryIdsNotDistinct extends __BaseException {
|
|
53
|
+
readonly name: "BatchEntryIdsNotDistinct";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
|
|
56
|
+
constructor(opts: __ExceptionOptionType<BatchEntryIdsNotDistinct, __BaseException>);
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
export interface ChangeMessageVisibilityBatchRequestEntry {
|
|
@@ -106,19 +115,25 @@ export declare namespace ChangeMessageVisibilityBatchResult {
|
|
|
106
115
|
const filterSensitiveLog: (obj: ChangeMessageVisibilityBatchResult) => any;
|
|
107
116
|
}
|
|
108
117
|
|
|
109
|
-
export
|
|
110
|
-
name: "EmptyBatchRequest";
|
|
111
|
-
$fault: "client";
|
|
118
|
+
export declare class EmptyBatchRequest extends __BaseException {
|
|
119
|
+
readonly name: "EmptyBatchRequest";
|
|
120
|
+
readonly $fault: "client";
|
|
121
|
+
|
|
122
|
+
constructor(opts: __ExceptionOptionType<EmptyBatchRequest, __BaseException>);
|
|
112
123
|
}
|
|
113
124
|
|
|
114
|
-
export
|
|
115
|
-
name: "InvalidBatchEntryId";
|
|
116
|
-
$fault: "client";
|
|
125
|
+
export declare class InvalidBatchEntryId extends __BaseException {
|
|
126
|
+
readonly name: "InvalidBatchEntryId";
|
|
127
|
+
readonly $fault: "client";
|
|
128
|
+
|
|
129
|
+
constructor(opts: __ExceptionOptionType<InvalidBatchEntryId, __BaseException>);
|
|
117
130
|
}
|
|
118
131
|
|
|
119
|
-
export
|
|
120
|
-
name: "TooManyEntriesInBatchRequest";
|
|
121
|
-
$fault: "client";
|
|
132
|
+
export declare class TooManyEntriesInBatchRequest extends __BaseException {
|
|
133
|
+
readonly name: "TooManyEntriesInBatchRequest";
|
|
134
|
+
readonly $fault: "client";
|
|
135
|
+
|
|
136
|
+
constructor(opts: __ExceptionOptionType<TooManyEntriesInBatchRequest, __BaseException>);
|
|
122
137
|
}
|
|
123
138
|
export declare type QueueAttributeName = "All" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesDelayed" | "ApproximateNumberOfMessagesNotVisible" | "ContentBasedDeduplication" | "CreatedTimestamp" | "DeduplicationScope" | "DelaySeconds" | "FifoQueue" | "FifoThroughputLimit" | "KmsDataKeyReusePeriodSeconds" | "KmsMasterKeyId" | "LastModifiedTimestamp" | "MaximumMessageSize" | "MessageRetentionPeriod" | "Policy" | "QueueArn" | "ReceiveMessageWaitTimeSeconds" | "RedriveAllowPolicy" | "RedrivePolicy" | "SqsManagedSseEnabled" | "VisibilityTimeout";
|
|
124
139
|
|
|
@@ -148,14 +163,18 @@ export declare namespace CreateQueueResult {
|
|
|
148
163
|
const filterSensitiveLog: (obj: CreateQueueResult) => any;
|
|
149
164
|
}
|
|
150
165
|
|
|
151
|
-
export
|
|
152
|
-
name: "QueueDeletedRecently";
|
|
153
|
-
$fault: "client";
|
|
166
|
+
export declare class QueueDeletedRecently extends __BaseException {
|
|
167
|
+
readonly name: "QueueDeletedRecently";
|
|
168
|
+
readonly $fault: "client";
|
|
169
|
+
|
|
170
|
+
constructor(opts: __ExceptionOptionType<QueueDeletedRecently, __BaseException>);
|
|
154
171
|
}
|
|
155
172
|
|
|
156
|
-
export
|
|
157
|
-
name: "QueueNameExists";
|
|
158
|
-
$fault: "client";
|
|
173
|
+
export declare class QueueNameExists extends __BaseException {
|
|
174
|
+
readonly name: "QueueNameExists";
|
|
175
|
+
readonly $fault: "client";
|
|
176
|
+
|
|
177
|
+
constructor(opts: __ExceptionOptionType<QueueNameExists, __BaseException>);
|
|
159
178
|
}
|
|
160
179
|
|
|
161
180
|
export interface DeleteMessageRequest {
|
|
@@ -169,9 +188,11 @@ export declare namespace DeleteMessageRequest {
|
|
|
169
188
|
const filterSensitiveLog: (obj: DeleteMessageRequest) => any;
|
|
170
189
|
}
|
|
171
190
|
|
|
172
|
-
export
|
|
173
|
-
name: "InvalidIdFormat";
|
|
174
|
-
$fault: "client";
|
|
191
|
+
export declare class InvalidIdFormat extends __BaseException {
|
|
192
|
+
readonly name: "InvalidIdFormat";
|
|
193
|
+
readonly $fault: "client";
|
|
194
|
+
|
|
195
|
+
constructor(opts: __ExceptionOptionType<InvalidIdFormat, __BaseException>);
|
|
175
196
|
}
|
|
176
197
|
|
|
177
198
|
export interface DeleteMessageBatchRequestEntry {
|
|
@@ -247,9 +268,11 @@ export declare namespace GetQueueAttributesResult {
|
|
|
247
268
|
const filterSensitiveLog: (obj: GetQueueAttributesResult) => any;
|
|
248
269
|
}
|
|
249
270
|
|
|
250
|
-
export
|
|
251
|
-
name: "InvalidAttributeName";
|
|
252
|
-
$fault: "client";
|
|
271
|
+
export declare class InvalidAttributeName extends __BaseException {
|
|
272
|
+
readonly name: "InvalidAttributeName";
|
|
273
|
+
readonly $fault: "client";
|
|
274
|
+
|
|
275
|
+
constructor(opts: __ExceptionOptionType<InvalidAttributeName, __BaseException>);
|
|
253
276
|
}
|
|
254
277
|
|
|
255
278
|
export interface GetQueueUrlRequest {
|
|
@@ -272,9 +295,11 @@ export declare namespace GetQueueUrlResult {
|
|
|
272
295
|
const filterSensitiveLog: (obj: GetQueueUrlResult) => any;
|
|
273
296
|
}
|
|
274
297
|
|
|
275
|
-
export
|
|
276
|
-
name: "QueueDoesNotExist";
|
|
277
|
-
$fault: "client";
|
|
298
|
+
export declare class QueueDoesNotExist extends __BaseException {
|
|
299
|
+
readonly name: "QueueDoesNotExist";
|
|
300
|
+
readonly $fault: "client";
|
|
301
|
+
|
|
302
|
+
constructor(opts: __ExceptionOptionType<QueueDoesNotExist, __BaseException>);
|
|
278
303
|
}
|
|
279
304
|
|
|
280
305
|
export interface ListDeadLetterSourceQueuesRequest {
|
|
@@ -343,9 +368,11 @@ export declare namespace ListQueueTagsResult {
|
|
|
343
368
|
const filterSensitiveLog: (obj: ListQueueTagsResult) => any;
|
|
344
369
|
}
|
|
345
370
|
|
|
346
|
-
export
|
|
347
|
-
name: "PurgeQueueInProgress";
|
|
348
|
-
$fault: "client";
|
|
371
|
+
export declare class PurgeQueueInProgress extends __BaseException {
|
|
372
|
+
readonly name: "PurgeQueueInProgress";
|
|
373
|
+
readonly $fault: "client";
|
|
374
|
+
|
|
375
|
+
constructor(opts: __ExceptionOptionType<PurgeQueueInProgress, __BaseException>);
|
|
349
376
|
}
|
|
350
377
|
|
|
351
378
|
export interface PurgeQueueRequest {
|
|
@@ -441,9 +468,11 @@ export declare namespace RemovePermissionRequest {
|
|
|
441
468
|
const filterSensitiveLog: (obj: RemovePermissionRequest) => any;
|
|
442
469
|
}
|
|
443
470
|
|
|
444
|
-
export
|
|
445
|
-
name: "InvalidMessageContents";
|
|
446
|
-
$fault: "client";
|
|
471
|
+
export declare class InvalidMessageContents extends __BaseException {
|
|
472
|
+
readonly name: "InvalidMessageContents";
|
|
473
|
+
readonly $fault: "client";
|
|
474
|
+
|
|
475
|
+
constructor(opts: __ExceptionOptionType<InvalidMessageContents, __BaseException>);
|
|
447
476
|
}
|
|
448
477
|
export declare type MessageSystemAttributeNameForSends = "AWSTraceHeader";
|
|
449
478
|
|
|
@@ -506,14 +535,18 @@ export declare namespace SendMessageResult {
|
|
|
506
535
|
const filterSensitiveLog: (obj: SendMessageResult) => any;
|
|
507
536
|
}
|
|
508
537
|
|
|
509
|
-
export
|
|
510
|
-
name: "UnsupportedOperation";
|
|
511
|
-
$fault: "client";
|
|
538
|
+
export declare class UnsupportedOperation extends __BaseException {
|
|
539
|
+
readonly name: "UnsupportedOperation";
|
|
540
|
+
readonly $fault: "client";
|
|
541
|
+
|
|
542
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
|
|
512
543
|
}
|
|
513
544
|
|
|
514
|
-
export
|
|
515
|
-
name: "BatchRequestTooLong";
|
|
516
|
-
$fault: "client";
|
|
545
|
+
export declare class BatchRequestTooLong extends __BaseException {
|
|
546
|
+
readonly name: "BatchRequestTooLong";
|
|
547
|
+
readonly $fault: "client";
|
|
548
|
+
|
|
549
|
+
constructor(opts: __ExceptionOptionType<BatchRequestTooLong, __BaseException>);
|
|
517
550
|
}
|
|
518
551
|
|
|
519
552
|
export interface SendMessageBatchRequestEntry {
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
7
7
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
-
bodyLengthChecker: (
|
|
10
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|