@aws-sdk/client-sqs 3.504.0 → 3.509.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 +129 -905
- package/dist-es/SQSClient.js +8 -5
- package/dist-es/protocols/Aws_json1_0.js +140 -919
- package/dist-types/SQSClient.d.ts +3 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/SQSClient.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +4 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { QueueUrlInputConfig, QueueUrlResolvedConfig } from "@aws-sdk/middleware-sdk-sqs";
|
|
2
3
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
4
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
5
|
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
@@ -160,7 +161,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
160
161
|
/**
|
|
161
162
|
* @public
|
|
162
163
|
*/
|
|
163
|
-
export type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
164
|
+
export type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & QueueUrlInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
164
165
|
/**
|
|
165
166
|
* @public
|
|
166
167
|
*
|
|
@@ -171,7 +172,7 @@ export interface SQSClientConfig extends SQSClientConfigType {
|
|
|
171
172
|
/**
|
|
172
173
|
* @public
|
|
173
174
|
*/
|
|
174
|
-
export type SQSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
175
|
+
export type SQSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & QueueUrlResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
175
176
|
/**
|
|
176
177
|
* @public
|
|
177
178
|
*
|
|
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
38
38
|
tls?: boolean | undefined;
|
|
39
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
40
|
+
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
40
41
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
41
|
+
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
41
42
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
43
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
43
44
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
@@ -36,6 +36,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
37
37
|
tls?: boolean | undefined;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
+
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
39
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
42
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
@@ -2,6 +2,10 @@ import {
|
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
4
|
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
QueueUrlInputConfig,
|
|
7
|
+
QueueUrlResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-sdk-sqs";
|
|
5
9
|
import {
|
|
6
10
|
UserAgentInputConfig,
|
|
7
11
|
UserAgentResolvedConfig,
|
|
@@ -226,6 +230,7 @@ export type SQSClientConfigType = Partial<
|
|
|
226
230
|
EndpointInputConfig<EndpointParameters> &
|
|
227
231
|
RetryInputConfig &
|
|
228
232
|
HostHeaderInputConfig &
|
|
233
|
+
QueueUrlInputConfig &
|
|
229
234
|
UserAgentInputConfig &
|
|
230
235
|
HttpAuthSchemeInputConfig &
|
|
231
236
|
ClientInputEndpointParameters;
|
|
@@ -238,6 +243,7 @@ export type SQSClientResolvedConfigType =
|
|
|
238
243
|
EndpointResolvedConfig<EndpointParameters> &
|
|
239
244
|
RetryResolvedConfig &
|
|
240
245
|
HostHeaderResolvedConfig &
|
|
246
|
+
QueueUrlResolvedConfig &
|
|
241
247
|
UserAgentResolvedConfig &
|
|
242
248
|
HttpAuthSchemeResolvedConfig &
|
|
243
249
|
ClientResolvedEndpointParameters;
|
|
@@ -73,6 +73,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
73
73
|
| import("@smithy/types").RetryStrategy
|
|
74
74
|
| import("@smithy/types").RetryStrategyV2
|
|
75
75
|
| undefined;
|
|
76
|
+
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
76
77
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
77
78
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
78
79
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
78
78
|
| import("@smithy/types").RetryStrategy
|
|
79
79
|
| import("@smithy/types").RetryStrategyV2
|
|
80
80
|
| undefined;
|
|
81
|
+
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
81
82
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
82
83
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
83
84
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
@@ -64,6 +64,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
64
64
|
| import("@smithy/types").RetryStrategy
|
|
65
65
|
| import("@smithy/types").RetryStrategyV2
|
|
66
66
|
| undefined;
|
|
67
|
+
useQueueUrlAsEndpoint?: boolean | undefined;
|
|
67
68
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
68
69
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
69
70
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
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.
|
|
4
|
+
"version": "3.509.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,13 +20,13 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.507.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.509.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.502.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.502.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.502.0",
|
|
29
|
-
"@aws-sdk/middleware-sdk-sqs": "3.
|
|
29
|
+
"@aws-sdk/middleware-sdk-sqs": "3.507.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.502.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.502.0",
|
|
32
32
|
"@aws-sdk/types": "3.502.0",
|