@aws-sdk/client-sqs 3.1087.0 → 3.1089.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/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/SQS.d.ts +79 -106
- package/dist-types/ts3.4/SQSClient.d.ts +23 -57
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/dist-types/ts3.4/commandBuilder.d.ts +11 -21
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/CancelMessageMoveTaskCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ChangeMessageVisibilityBatchCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ChangeMessageVisibilityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteMessageBatchCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/GetQueueAttributesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetQueueUrlCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListDeadLetterSourceQueuesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListMessageMoveTasksCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListQueueTagsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PurgeQueueCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/ReceiveMessageCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/SendMessageBatchCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/SetQueueAttributesCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/StartMessageMoveTaskCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagQueueCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/UntagQueueCommand.d.ts +2 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +12 -36
- package/dist-types/ts3.4/models/models_0.d.ts +2 -6
- package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +40 -40
|
@@ -4,14 +4,18 @@ export { __MetadataBearer };
|
|
|
4
4
|
export interface TagQueueCommandInput extends TagQueueRequest {}
|
|
5
5
|
export interface TagQueueCommandOutput extends __MetadataBearer {}
|
|
6
6
|
declare const TagQueueCommand_base: {
|
|
7
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: TagQueueCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
8
10
|
TagQueueCommandInput,
|
|
9
11
|
TagQueueCommandOutput,
|
|
10
12
|
import("..").SQSClientResolvedConfig,
|
|
11
13
|
import("..").ServiceInputTypes,
|
|
12
14
|
import("..").ServiceOutputTypes
|
|
13
15
|
>;
|
|
14
|
-
new (
|
|
16
|
+
new (
|
|
17
|
+
input: TagQueueCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
15
19
|
TagQueueCommandInput,
|
|
16
20
|
TagQueueCommandOutput,
|
|
17
21
|
import("..").SQSClientResolvedConfig,
|
|
@@ -5,7 +5,7 @@ export interface UntagQueueCommandInput extends UntagQueueRequest {}
|
|
|
5
5
|
export interface UntagQueueCommandOutput extends __MetadataBearer {}
|
|
6
6
|
declare const UntagQueueCommand_base: {
|
|
7
7
|
new (
|
|
8
|
-
input: UntagQueueCommandInput
|
|
8
|
+
input: UntagQueueCommandInput,
|
|
9
9
|
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
UntagQueueCommandInput,
|
|
11
11
|
UntagQueueCommandOutput,
|
|
@@ -14,7 +14,7 @@ declare const UntagQueueCommand_base: {
|
|
|
14
14
|
import("..").ServiceOutputTypes
|
|
15
15
|
>;
|
|
16
16
|
new (
|
|
17
|
-
input: UntagQueueCommandInput
|
|
17
|
+
input: UntagQueueCommandInput,
|
|
18
18
|
): import("@smithy/core/client").CommandImpl<
|
|
19
19
|
UntagQueueCommandInput,
|
|
20
20
|
UntagQueueCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface SQSExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -22,8 +22,7 @@ export declare const QueueAttributeName: {
|
|
|
22
22
|
readonly SqsManagedSseEnabled: "SqsManagedSseEnabled";
|
|
23
23
|
readonly VisibilityTimeout: "VisibilityTimeout";
|
|
24
24
|
};
|
|
25
|
-
export type QueueAttributeName =
|
|
26
|
-
(typeof QueueAttributeName)[keyof typeof QueueAttributeName];
|
|
25
|
+
export type QueueAttributeName = (typeof QueueAttributeName)[keyof typeof QueueAttributeName];
|
|
27
26
|
export declare const MessageSystemAttributeName: {
|
|
28
27
|
readonly AWSTraceHeader: "AWSTraceHeader";
|
|
29
28
|
readonly All: "All";
|
|
@@ -28,16 +28,12 @@ export declare class RequestThrottled extends __BaseException {
|
|
|
28
28
|
export declare class UnsupportedOperation extends __BaseException {
|
|
29
29
|
readonly name: "UnsupportedOperation";
|
|
30
30
|
readonly $fault: "client";
|
|
31
|
-
constructor(
|
|
32
|
-
opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>
|
|
33
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
|
|
34
32
|
}
|
|
35
33
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
36
34
|
readonly name: "ResourceNotFoundException";
|
|
37
35
|
readonly $fault: "client";
|
|
38
|
-
constructor(
|
|
39
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
40
|
-
);
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
41
37
|
}
|
|
42
38
|
export declare class MessageNotInflight extends __BaseException {
|
|
43
39
|
readonly name: "MessageNotInflight";
|
|
@@ -47,16 +43,12 @@ export declare class MessageNotInflight extends __BaseException {
|
|
|
47
43
|
export declare class ReceiptHandleIsInvalid extends __BaseException {
|
|
48
44
|
readonly name: "ReceiptHandleIsInvalid";
|
|
49
45
|
readonly $fault: "client";
|
|
50
|
-
constructor(
|
|
51
|
-
opts: __ExceptionOptionType<ReceiptHandleIsInvalid, __BaseException>
|
|
52
|
-
);
|
|
46
|
+
constructor(opts: __ExceptionOptionType<ReceiptHandleIsInvalid, __BaseException>);
|
|
53
47
|
}
|
|
54
48
|
export declare class BatchEntryIdsNotDistinct extends __BaseException {
|
|
55
49
|
readonly name: "BatchEntryIdsNotDistinct";
|
|
56
50
|
readonly $fault: "client";
|
|
57
|
-
constructor(
|
|
58
|
-
opts: __ExceptionOptionType<BatchEntryIdsNotDistinct, __BaseException>
|
|
59
|
-
);
|
|
51
|
+
constructor(opts: __ExceptionOptionType<BatchEntryIdsNotDistinct, __BaseException>);
|
|
60
52
|
}
|
|
61
53
|
export declare class EmptyBatchRequest extends __BaseException {
|
|
62
54
|
readonly name: "EmptyBatchRequest";
|
|
@@ -66,37 +58,27 @@ export declare class EmptyBatchRequest extends __BaseException {
|
|
|
66
58
|
export declare class InvalidBatchEntryId extends __BaseException {
|
|
67
59
|
readonly name: "InvalidBatchEntryId";
|
|
68
60
|
readonly $fault: "client";
|
|
69
|
-
constructor(
|
|
70
|
-
opts: __ExceptionOptionType<InvalidBatchEntryId, __BaseException>
|
|
71
|
-
);
|
|
61
|
+
constructor(opts: __ExceptionOptionType<InvalidBatchEntryId, __BaseException>);
|
|
72
62
|
}
|
|
73
63
|
export declare class TooManyEntriesInBatchRequest extends __BaseException {
|
|
74
64
|
readonly name: "TooManyEntriesInBatchRequest";
|
|
75
65
|
readonly $fault: "client";
|
|
76
|
-
constructor(
|
|
77
|
-
opts: __ExceptionOptionType<TooManyEntriesInBatchRequest, __BaseException>
|
|
78
|
-
);
|
|
66
|
+
constructor(opts: __ExceptionOptionType<TooManyEntriesInBatchRequest, __BaseException>);
|
|
79
67
|
}
|
|
80
68
|
export declare class InvalidAttributeName extends __BaseException {
|
|
81
69
|
readonly name: "InvalidAttributeName";
|
|
82
70
|
readonly $fault: "client";
|
|
83
|
-
constructor(
|
|
84
|
-
opts: __ExceptionOptionType<InvalidAttributeName, __BaseException>
|
|
85
|
-
);
|
|
71
|
+
constructor(opts: __ExceptionOptionType<InvalidAttributeName, __BaseException>);
|
|
86
72
|
}
|
|
87
73
|
export declare class InvalidAttributeValue extends __BaseException {
|
|
88
74
|
readonly name: "InvalidAttributeValue";
|
|
89
75
|
readonly $fault: "client";
|
|
90
|
-
constructor(
|
|
91
|
-
opts: __ExceptionOptionType<InvalidAttributeValue, __BaseException>
|
|
92
|
-
);
|
|
76
|
+
constructor(opts: __ExceptionOptionType<InvalidAttributeValue, __BaseException>);
|
|
93
77
|
}
|
|
94
78
|
export declare class QueueDeletedRecently extends __BaseException {
|
|
95
79
|
readonly name: "QueueDeletedRecently";
|
|
96
80
|
readonly $fault: "client";
|
|
97
|
-
constructor(
|
|
98
|
-
opts: __ExceptionOptionType<QueueDeletedRecently, __BaseException>
|
|
99
|
-
);
|
|
81
|
+
constructor(opts: __ExceptionOptionType<QueueDeletedRecently, __BaseException>);
|
|
100
82
|
}
|
|
101
83
|
export declare class QueueNameExists extends __BaseException {
|
|
102
84
|
readonly name: "QueueNameExists";
|
|
@@ -111,9 +93,7 @@ export declare class InvalidIdFormat extends __BaseException {
|
|
|
111
93
|
export declare class PurgeQueueInProgress extends __BaseException {
|
|
112
94
|
readonly name: "PurgeQueueInProgress";
|
|
113
95
|
readonly $fault: "client";
|
|
114
|
-
constructor(
|
|
115
|
-
opts: __ExceptionOptionType<PurgeQueueInProgress, __BaseException>
|
|
116
|
-
);
|
|
96
|
+
constructor(opts: __ExceptionOptionType<PurgeQueueInProgress, __BaseException>);
|
|
117
97
|
}
|
|
118
98
|
export declare class KmsAccessDenied extends __BaseException {
|
|
119
99
|
readonly name: "KmsAccessDenied";
|
|
@@ -153,14 +133,10 @@ export declare class KmsThrottled extends __BaseException {
|
|
|
153
133
|
export declare class InvalidMessageContents extends __BaseException {
|
|
154
134
|
readonly name: "InvalidMessageContents";
|
|
155
135
|
readonly $fault: "client";
|
|
156
|
-
constructor(
|
|
157
|
-
opts: __ExceptionOptionType<InvalidMessageContents, __BaseException>
|
|
158
|
-
);
|
|
136
|
+
constructor(opts: __ExceptionOptionType<InvalidMessageContents, __BaseException>);
|
|
159
137
|
}
|
|
160
138
|
export declare class BatchRequestTooLong extends __BaseException {
|
|
161
139
|
readonly name: "BatchRequestTooLong";
|
|
162
140
|
readonly $fault: "client";
|
|
163
|
-
constructor(
|
|
164
|
-
opts: __ExceptionOptionType<BatchRequestTooLong, __BaseException>
|
|
165
|
-
);
|
|
141
|
+
constructor(opts: __ExceptionOptionType<BatchRequestTooLong, __BaseException>);
|
|
166
142
|
}
|
|
@@ -177,9 +177,7 @@ export interface SendMessageRequest {
|
|
|
177
177
|
DelaySeconds?: number | undefined;
|
|
178
178
|
MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
|
|
179
179
|
MessageSystemAttributes?:
|
|
180
|
-
| Partial<
|
|
181
|
-
Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>
|
|
182
|
-
>
|
|
180
|
+
| Partial<Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
|
|
183
181
|
| undefined;
|
|
184
182
|
MessageDeduplicationId?: string | undefined;
|
|
185
183
|
MessageGroupId?: string | undefined;
|
|
@@ -197,9 +195,7 @@ export interface SendMessageBatchRequestEntry {
|
|
|
197
195
|
DelaySeconds?: number | undefined;
|
|
198
196
|
MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
|
|
199
197
|
MessageSystemAttributes?:
|
|
200
|
-
| Partial<
|
|
201
|
-
Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>
|
|
202
|
-
>
|
|
198
|
+
| Partial<Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
|
|
203
199
|
| undefined;
|
|
204
200
|
MessageDeduplicationId?: string | undefined;
|
|
205
201
|
MessageGroupId?: string | undefined;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListQueuesCommandInput,
|
|
4
|
-
ListQueuesCommandOutput,
|
|
5
|
-
} from "../commands/ListQueuesCommand";
|
|
2
|
+
import { ListQueuesCommandInput, ListQueuesCommandOutput } from "../commands/ListQueuesCommand";
|
|
6
3
|
import { SQSPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListQueues: (
|
|
8
5
|
config: SQSPaginationConfiguration,
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -54,13 +46,8 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
57
|
-
userAgentAppId?:
|
|
58
|
-
|
|
59
|
-
| undefined
|
|
60
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
61
|
-
retryStrategy?:
|
|
62
|
-
| import("@smithy/types").RetryStrategy
|
|
63
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
49
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
64
51
|
endpoint?:
|
|
65
52
|
| ((
|
|
66
53
|
| string
|
|
@@ -82,7 +69,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
82
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
83
70
|
context?: {
|
|
84
71
|
logger?: import("@smithy/types").Logger;
|
|
85
|
-
}
|
|
72
|
+
},
|
|
86
73
|
) => import("@smithy/types").EndpointV2;
|
|
87
74
|
tls?: boolean;
|
|
88
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +83,13 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
96
83
|
signer?:
|
|
97
84
|
| import("@smithy/types").RequestSigner
|
|
98
85
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
86
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
87
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
88
|
signingEscapePath?: boolean;
|
|
102
89
|
systemClockOffset?: number;
|
|
103
90
|
signingRegion?: string;
|
|
104
91
|
signerConstructor?: new (
|
|
105
92
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
94
|
) => import("@smithy/types").RequestSigner;
|
|
108
95
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -54,9 +48,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
54
48
|
logger: import("@smithy/types").Logger;
|
|
55
49
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
50
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
57
|
-
retryStrategy?:
|
|
58
|
-
| import("@smithy/types").RetryStrategy
|
|
59
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
51
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
60
52
|
endpoint?:
|
|
61
53
|
| ((
|
|
62
54
|
| string
|
|
@@ -78,7 +70,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
78
70
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
79
71
|
context?: {
|
|
80
72
|
logger?: import("@smithy/types").Logger;
|
|
81
|
-
}
|
|
73
|
+
},
|
|
82
74
|
) => import("@smithy/types").EndpointV2;
|
|
83
75
|
tls?: boolean;
|
|
84
76
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,13 +83,13 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
91
83
|
signer?:
|
|
92
84
|
| import("@smithy/types").RequestSigner
|
|
93
85
|
| ((
|
|
94
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
86
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
95
87
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
96
88
|
signingEscapePath?: boolean;
|
|
97
89
|
systemClockOffset?: number;
|
|
98
90
|
signingRegion?: string;
|
|
99
91
|
signerConstructor?: new (
|
|
100
92
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
102
94
|
) => import("@smithy/types").RequestSigner;
|
|
103
95
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,13 +36,11 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
md5: false | import("@smithy/types").HashConstructor;
|
|
51
45
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
52
46
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -54,17 +48,10 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
defaultsMode:
|
|
56
50
|
| import("@smithy/core/client").DefaultsMode
|
|
57
|
-
| import("@smithy/types").Provider<
|
|
58
|
-
import("@smithy/core/client").DefaultsMode
|
|
59
|
-
>;
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
60
52
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
61
|
-
userAgentAppId?:
|
|
62
|
-
|
|
63
|
-
| undefined
|
|
64
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
65
|
-
retryStrategy?:
|
|
66
|
-
| import("@smithy/types").RetryStrategy
|
|
67
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
68
55
|
endpoint?:
|
|
69
56
|
| ((
|
|
70
57
|
| string
|
|
@@ -86,7 +73,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
86
73
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
87
74
|
context?: {
|
|
88
75
|
logger?: import("@smithy/types").Logger;
|
|
89
|
-
}
|
|
76
|
+
},
|
|
90
77
|
) => import("@smithy/types").EndpointV2;
|
|
91
78
|
tls?: boolean;
|
|
92
79
|
serviceConfiguredEndpoint?: never;
|
|
@@ -100,13 +87,13 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
100
87
|
signer?:
|
|
101
88
|
| import("@smithy/types").RequestSigner
|
|
102
89
|
| ((
|
|
103
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
90
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
104
91
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
105
92
|
signingEscapePath?: boolean;
|
|
106
93
|
systemClockOffset?: number;
|
|
107
94
|
signingRegion?: string;
|
|
108
95
|
signerConstructor?: new (
|
|
109
96
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
110
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
97
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
111
98
|
) => import("@smithy/types").RequestSigner;
|
|
112
99
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var SQSServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var BatchEntryIdsNotDistinct$: StaticErrorSchema;
|
|
9
5
|
export declare var BatchRequestTooLong$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sqs",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sqs",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-sqs"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -22,23 +53,19 @@
|
|
|
22
53
|
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.e2e.mts",
|
|
23
54
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
24
55
|
},
|
|
25
|
-
"main": "./dist-cjs/index.js",
|
|
26
|
-
"types": "./dist-types/index.d.ts",
|
|
27
|
-
"module": "./dist-es/index.js",
|
|
28
|
-
"sideEffects": false,
|
|
29
56
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "^3.975.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
32
|
-
"@aws-sdk/middleware-sdk-sqs": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.974.
|
|
34
|
-
"@smithy/core": "^3.29.
|
|
35
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
36
|
-
"@smithy/node-http-handler": "^4.9.
|
|
57
|
+
"@aws-sdk/core": "^3.975.3",
|
|
58
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
59
|
+
"@aws-sdk/middleware-sdk-sqs": "^3.972.37",
|
|
60
|
+
"@aws-sdk/types": "^3.974.2",
|
|
61
|
+
"@smithy/core": "^3.29.4",
|
|
62
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
63
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
37
64
|
"@smithy/types": "^4.16.1",
|
|
38
65
|
"tslib": "^2.6.2"
|
|
39
66
|
},
|
|
40
67
|
"devDependencies": {
|
|
41
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
68
|
+
"@smithy/snapshot-testing": "^2.2.9",
|
|
42
69
|
"@tsconfig/node20": "20.1.8",
|
|
43
70
|
"@types/node": "^20.14.8",
|
|
44
71
|
"concurrently": "7.0.0",
|
|
@@ -49,32 +76,5 @@
|
|
|
49
76
|
},
|
|
50
77
|
"engines": {
|
|
51
78
|
"node": ">=20.0.0"
|
|
52
|
-
},
|
|
53
|
-
"typesVersions": {
|
|
54
|
-
"<4.5": {
|
|
55
|
-
"dist-types/*": [
|
|
56
|
-
"dist-types/ts3.4/*"
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"files": [
|
|
61
|
-
"dist-*/**"
|
|
62
|
-
],
|
|
63
|
-
"author": {
|
|
64
|
-
"name": "AWS SDK for JavaScript Team",
|
|
65
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
66
|
-
},
|
|
67
|
-
"license": "Apache-2.0",
|
|
68
|
-
"browser": {
|
|
69
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
70
|
-
},
|
|
71
|
-
"react-native": {
|
|
72
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
73
|
-
},
|
|
74
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sqs",
|
|
75
|
-
"repository": {
|
|
76
|
-
"type": "git",
|
|
77
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
78
|
-
"directory": "clients/client-sqs"
|
|
79
79
|
}
|
|
80
80
|
}
|