@aws-sdk/client-sqs 3.1076.0 → 3.1077.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 +5 -4
- package/dist-es/runtimeConfig.browser.js +0 -4
- package/dist-es/runtimeConfig.js +1 -3
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +25 -26
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -42
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -11,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
11
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
13
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
14
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
15
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
16
16
|
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256, Md5 } = require("@smithy/core/checksum");
|
|
17
18
|
|
|
18
19
|
const defaultSQSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
20
|
return {
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1076.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -1244,6 +1245,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1244
1245
|
},
|
|
1245
1246
|
],
|
|
1246
1247
|
logger: config?.logger ?? new NoOpLogger(),
|
|
1248
|
+
md5: config?.md5 ?? Md5,
|
|
1247
1249
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
1248
1250
|
protocolSettings: config?.protocolSettings ?? {
|
|
1249
1251
|
defaultNamespace: "com.amazonaws.sqs",
|
|
@@ -1253,6 +1255,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1253
1255
|
awsQueryCompatible: true,
|
|
1254
1256
|
},
|
|
1255
1257
|
serviceId: config?.serviceId ?? "SQS",
|
|
1258
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1256
1259
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1257
1260
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1258
1261
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1279,7 +1282,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1279
1282
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1280
1283
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1281
1284
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1282
|
-
md5: config?.md5 ?? Hash.bind(null, "md5"),
|
|
1283
1285
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1284
1286
|
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1285
1287
|
retryMode: config?.retryMode ??
|
|
@@ -1287,7 +1289,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1287
1289
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1288
1290
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1289
1291
|
}, config),
|
|
1290
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1291
1292
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1292
1293
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1293
1294
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
|
-
import { Md5 } from "@smithy/core/checksum";
|
|
5
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
5
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
@@ -21,11 +19,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
21
19
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
22
20
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
21
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
24
|
-
md5: config?.md5 ?? Md5,
|
|
25
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
26
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
28
|
-
sha256: config?.sha256 ?? Sha256,
|
|
29
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
30
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
31
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -28,7 +28,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
30
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
|
-
md5: config?.md5 ?? Hash.bind(null, "md5"),
|
|
32
31
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
33
32
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
33
|
retryMode: config?.retryMode ??
|
|
@@ -36,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
36
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
37
|
}, config),
|
|
39
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
40
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
42
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Md5, Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -23,6 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
24
|
},
|
|
24
25
|
],
|
|
25
26
|
logger: config?.logger ?? new NoOpLogger(),
|
|
27
|
+
md5: config?.md5 ?? Md5,
|
|
26
28
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
29
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
30
|
defaultNamespace: "com.amazonaws.sqs",
|
|
@@ -32,6 +34,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
34
|
awsQueryCompatible: true,
|
|
33
35
|
},
|
|
34
36
|
serviceId: config?.serviceId ?? "SQS",
|
|
37
|
+
sha256: config?.sha256 ?? Sha256,
|
|
35
38
|
urlParser: config?.urlParser ?? parseUrl,
|
|
36
39
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
40
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -10,11 +10,9 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
|
-
md5: false | import("@smithy/types").HashConstructor;
|
|
14
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
15
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
16
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
18
16
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
17
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
18
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -25,6 +23,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
25
23
|
[setting: string]: unknown;
|
|
26
24
|
};
|
|
27
25
|
apiVersion: string;
|
|
26
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
28
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
30
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -33,6 +32,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
33
32
|
disableHostPrefix: boolean;
|
|
34
33
|
serviceId: string;
|
|
35
34
|
profile?: string;
|
|
35
|
+
md5: false | import("@smithy/types").HashConstructor;
|
|
36
36
|
logger: import("@smithy/types").Logger;
|
|
37
37
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
38
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
2
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
3
2
|
import type { SQSClientConfig } from "./SQSClient";
|
|
4
3
|
/**
|
|
@@ -6,21 +5,19 @@ import type { SQSClientConfig } from "./SQSClient";
|
|
|
6
5
|
*/
|
|
7
6
|
export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
8
7
|
runtime: string;
|
|
9
|
-
defaultsMode: import("@
|
|
10
|
-
authSchemePreference: string[] | import("@
|
|
11
|
-
bodyLengthChecker: import("@
|
|
12
|
-
credentialDefaultProvider: ((input: any) => import("@
|
|
13
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@
|
|
14
|
-
maxAttempts: number | import("@
|
|
15
|
-
|
|
16
|
-
region: string | import("@aws-sdk/types").Provider<string>;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
17
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
18
|
-
retryMode: string | import("@
|
|
19
|
-
sha256: __HashConstructor;
|
|
16
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
20
17
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
21
|
-
useDualstackEndpoint: boolean | import("@
|
|
22
|
-
useFipsEndpoint: boolean | import("@
|
|
23
|
-
userAgentAppId: string | import("@
|
|
18
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
24
21
|
cacheMiddleware?: boolean | undefined;
|
|
25
22
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
26
23
|
protocolSettings: {
|
|
@@ -28,31 +25,33 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
28
25
|
[setting: string]: unknown;
|
|
29
26
|
};
|
|
30
27
|
apiVersion: string;
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
30
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
34
|
-
utf8Decoder: import("@
|
|
32
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
33
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
36
34
|
disableHostPrefix: boolean;
|
|
37
35
|
serviceId: string;
|
|
38
36
|
profile?: string;
|
|
39
|
-
|
|
37
|
+
md5: false | import("@smithy/types").HashConstructor;
|
|
38
|
+
logger: import("@smithy/types").Logger;
|
|
40
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
customUserAgent?: string | import("@
|
|
42
|
-
retryStrategy?: import("@
|
|
43
|
-
endpoint?: ((string | import("@
|
|
40
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
41
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
42
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
44
43
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
45
|
-
logger?: import("@
|
|
46
|
-
}) => import("@
|
|
44
|
+
logger?: import("@smithy/types").Logger;
|
|
45
|
+
}) => import("@smithy/types").EndpointV2;
|
|
47
46
|
tls?: boolean;
|
|
48
47
|
serviceConfiguredEndpoint?: never;
|
|
49
48
|
useQueueUrlAsEndpoint?: boolean;
|
|
50
49
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
51
50
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
52
|
-
credentials?: import("@
|
|
53
|
-
signer?: import("@
|
|
51
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
52
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
54
53
|
signingEscapePath?: boolean;
|
|
55
54
|
systemClockOffset?: number;
|
|
56
55
|
signingRegion?: string;
|
|
57
|
-
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@
|
|
56
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
58
57
|
};
|
|
@@ -4,7 +4,6 @@ import type { SQSClientConfig } from "./SQSClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
8
7
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
8
|
cacheMiddleware?: boolean;
|
|
10
9
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
13
12
|
[setting: string]: unknown;
|
|
14
13
|
};
|
|
15
14
|
apiVersion: string;
|
|
15
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
16
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -15,12 +15,14 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
16
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
17
|
logger: import("@smithy/types").Logger;
|
|
18
|
+
md5: false | import("@smithy/types").HashConstructor;
|
|
18
19
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_0Protocol;
|
|
19
20
|
protocolSettings: {
|
|
20
21
|
[setting: string]: unknown;
|
|
21
22
|
defaultNamespace?: string;
|
|
22
23
|
};
|
|
23
24
|
serviceId: string;
|
|
25
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
27
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
28
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -15,13 +15,11 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
15
15
|
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
-
md5: false | import("@smithy/types").HashConstructor;
|
|
19
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
20
19
|
requestHandler:
|
|
21
20
|
| import("@smithy/core/protocols").HttpHandler<any>
|
|
22
21
|
| RequestHandler;
|
|
23
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
25
23
|
streamCollector: (
|
|
26
24
|
stream:
|
|
27
25
|
| import("stream").Readable
|
|
@@ -43,6 +41,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
43
41
|
[setting: string]: unknown;
|
|
44
42
|
};
|
|
45
43
|
apiVersion: string;
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
46
45
|
urlParser: import("@smithy/types").UrlParser;
|
|
47
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
48
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -51,6 +50,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
51
50
|
disableHostPrefix: boolean;
|
|
52
51
|
serviceId: string;
|
|
53
52
|
profile?: string;
|
|
53
|
+
md5: false | import("@smithy/types").HashConstructor;
|
|
54
54
|
logger: import("@smithy/types").Logger;
|
|
55
55
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
56
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
2
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
3
2
|
import { SQSClientConfig } from "./SQSClient";
|
|
4
3
|
export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
5
4
|
runtime: string;
|
|
6
|
-
defaultsMode: import("@
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
7
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
8
7
|
>;
|
|
9
|
-
authSchemePreference: string[] | import("@
|
|
10
|
-
bodyLengthChecker: import("@
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
10
|
credentialDefaultProvider:
|
|
12
|
-
| ((input: any) => import("@
|
|
11
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
12
|
| ((
|
|
14
13
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
15
14
|
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
16
15
|
defaultUserAgentProvider: (
|
|
17
16
|
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
18
|
-
) => Promise<import("@
|
|
19
|
-
maxAttempts: number | import("@
|
|
20
|
-
|
|
21
|
-
region: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
22
20
|
requestHandler:
|
|
23
21
|
| RequestHandler
|
|
24
22
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
|
-
retryMode: string | import("@
|
|
26
|
-
sha256: __HashConstructor;
|
|
23
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
24
|
streamCollector: (
|
|
28
25
|
stream:
|
|
29
26
|
| import("stream").Readable
|
|
@@ -31,11 +28,9 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
31
28
|
| ReadableStream
|
|
32
29
|
| Blob
|
|
33
30
|
) => Promise<Uint8Array>;
|
|
34
|
-
useDualstackEndpoint: boolean | import("@
|
|
35
|
-
useFipsEndpoint: boolean | import("@
|
|
36
|
-
userAgentAppId:
|
|
37
|
-
| string
|
|
38
|
-
| import("@aws-sdk/types").Provider<string | undefined>;
|
|
31
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
33
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
39
34
|
cacheMiddleware?: boolean | undefined;
|
|
40
35
|
protocol:
|
|
41
36
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
@@ -46,63 +41,63 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
46
41
|
[setting: string]: unknown;
|
|
47
42
|
};
|
|
48
43
|
apiVersion: string;
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
45
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
51
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
52
|
-
utf8Decoder: import("@
|
|
48
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
53
49
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
54
50
|
disableHostPrefix: boolean;
|
|
55
51
|
serviceId: string;
|
|
56
52
|
profile?: string;
|
|
57
|
-
|
|
53
|
+
md5: false | import("@smithy/types").HashConstructor;
|
|
54
|
+
logger: import("@smithy/types").Logger;
|
|
58
55
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
59
|
-
customUserAgent?: string | import("@
|
|
56
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
57
|
retryStrategy?:
|
|
61
|
-
| import("@
|
|
62
|
-
| import("@
|
|
58
|
+
| import("@smithy/types").RetryStrategy
|
|
59
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
63
60
|
endpoint?:
|
|
64
61
|
| ((
|
|
65
62
|
| string
|
|
66
|
-
| import("@
|
|
67
|
-
| import("@
|
|
68
|
-
| import("@
|
|
69
|
-
| import("@
|
|
63
|
+
| import("@smithy/types").Endpoint
|
|
64
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
65
|
+
| import("@smithy/types").EndpointV2
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
70
67
|
) &
|
|
71
68
|
(
|
|
72
69
|
| string
|
|
73
|
-
| import("@
|
|
74
|
-
| import("@
|
|
75
|
-
| import("@
|
|
76
|
-
| import("@
|
|
77
|
-
| import("@
|
|
78
|
-
import("@aws-sdk/types").EndpointV2
|
|
79
|
-
>
|
|
70
|
+
| import("@smithy/types").Provider<string>
|
|
71
|
+
| import("@smithy/types").Endpoint
|
|
72
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
73
|
+
| import("@smithy/types").EndpointV2
|
|
74
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
80
75
|
))
|
|
81
76
|
| undefined;
|
|
82
77
|
endpointProvider: (
|
|
83
78
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
79
|
context?: {
|
|
85
|
-
logger?: import("@
|
|
80
|
+
logger?: import("@smithy/types").Logger;
|
|
86
81
|
}
|
|
87
|
-
) => import("@
|
|
82
|
+
) => import("@smithy/types").EndpointV2;
|
|
88
83
|
tls?: boolean;
|
|
89
84
|
serviceConfiguredEndpoint?: never;
|
|
90
85
|
useQueueUrlAsEndpoint?: boolean;
|
|
91
86
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
92
87
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
93
88
|
credentials?:
|
|
94
|
-
| import("@
|
|
95
|
-
| import("@
|
|
89
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
90
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
96
91
|
signer?:
|
|
97
|
-
| import("@
|
|
92
|
+
| import("@smithy/types").RequestSigner
|
|
98
93
|
| ((
|
|
99
|
-
authScheme?: import("@
|
|
100
|
-
) => Promise<import("@
|
|
94
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
95
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
96
|
signingEscapePath?: boolean;
|
|
102
97
|
systemClockOffset?: number;
|
|
103
98
|
signingRegion?: string;
|
|
104
99
|
signerConstructor?: new (
|
|
105
100
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
101
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
107
|
-
) => import("@
|
|
102
|
+
) => import("@smithy/types").RequestSigner;
|
|
108
103
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SQSClientConfig } from "./SQSClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
3
3
|
runtime: string;
|
|
4
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
5
4
|
requestHandler:
|
|
6
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
6
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
18
17
|
[setting: string]: unknown;
|
|
19
18
|
};
|
|
20
19
|
apiVersion: string;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
@@ -15,6 +15,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SQSHttpAuthSchemeProvider;
|
|
16
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
17
|
logger: import("@smithy/types").Logger;
|
|
18
|
+
md5: false | import("@smithy/types").HashConstructor;
|
|
18
19
|
protocol:
|
|
19
20
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
21
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
@@ -24,6 +25,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
24
25
|
defaultNamespace?: string;
|
|
25
26
|
};
|
|
26
27
|
serviceId: string;
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
30
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
31
|
utf8Encoder: (input: Uint8Array | string) => string;
|
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.1077.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -27,20 +27,18 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-
|
|
31
|
-
"@aws-
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/credential-provider-node": "^3.972.59",
|
|
34
|
-
"@aws-sdk/middleware-sdk-sqs": "^3.972.32",
|
|
30
|
+
"@aws-sdk/core": "^3.974.25",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.60",
|
|
32
|
+
"@aws-sdk/middleware-sdk-sqs": "^3.972.33",
|
|
35
33
|
"@aws-sdk/types": "^3.973.14",
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
38
|
-
"@smithy/node-http-handler": "^4.9.
|
|
34
|
+
"@smithy/core": "^3.28.0",
|
|
35
|
+
"@smithy/fetch-http-handler": "^5.6.1",
|
|
36
|
+
"@smithy/node-http-handler": "^4.9.1",
|
|
39
37
|
"@smithy/types": "^4.15.0",
|
|
40
38
|
"tslib": "^2.6.2"
|
|
41
39
|
},
|
|
42
40
|
"devDependencies": {
|
|
43
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
41
|
+
"@smithy/snapshot-testing": "^2.2.4",
|
|
44
42
|
"@tsconfig/node20": "20.1.8",
|
|
45
43
|
"@types/node": "^20.14.8",
|
|
46
44
|
"concurrently": "7.0.0",
|