@psnext/slingcli 3.0.20260811-3 → 3.0.20260820-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/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +9 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +9 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +5 -13
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-websocket/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +9 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +9 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +5 -13
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +27 -27
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js +4 -1
- package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/node_modules/@hono/node-server/dist/index.cjs +151 -9
- package/node_modules/@hono/node-server/dist/index.mjs +151 -9
- package/node_modules/@hono/node-server/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +23 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +23 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +17 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +19 -19
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +3 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/package.json +3 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +9 -9
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +9 -9
- package/node_modules/@smithy/signature-v4/package.json +4 -12
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/package.json +29 -39
- package/node_modules/body-parser/node_modules/content-type/README.md +2 -0
- package/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +20 -0
- package/node_modules/body-parser/node_modules/content-type/dist/index.js +20 -14
- package/node_modules/body-parser/node_modules/content-type/dist/index.js.map +1 -1
- package/node_modules/body-parser/node_modules/content-type/package.json +1 -1
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
- package/node_modules/gaxios/package.json +3 -3
- package/node_modules/hono/dist/cjs/client/client.js +3 -3
- package/node_modules/hono/dist/cjs/client/utils.js +1 -1
- package/node_modules/hono/dist/cjs/context.js +4 -0
- package/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/cors/index.js +16 -13
- package/node_modules/hono/dist/cjs/middleware/csrf/index.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/etag/digest.js +47 -1
- package/node_modules/hono/dist/cjs/middleware/etag/index.js +2 -2
- package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +3 -1
- package/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +6 -3
- package/node_modules/hono/dist/cjs/router/linear-router/router.js +7 -2
- package/node_modules/hono/dist/cjs/router/pattern-router/router.js +3 -9
- package/node_modules/hono/dist/cjs/router/trie-router/node.js +43 -67
- package/node_modules/hono/dist/cjs/router/trie-router/router.js +3 -11
- package/node_modules/hono/dist/cjs/utils/ipaddr.js +5 -3
- package/node_modules/hono/dist/cjs/utils/url.js +2 -2
- package/node_modules/hono/dist/client/client.js +3 -3
- package/node_modules/hono/dist/client/utils.js +1 -1
- package/node_modules/hono/dist/context.js +4 -0
- package/node_modules/hono/dist/jsx/intrinsic-element/components.js +1 -1
- package/node_modules/hono/dist/middleware/cors/index.js +16 -13
- package/node_modules/hono/dist/middleware/csrf/index.js +1 -1
- package/node_modules/hono/dist/middleware/etag/digest.js +47 -1
- package/node_modules/hono/dist/middleware/etag/index.js +2 -2
- package/node_modules/hono/dist/middleware/pretty-json/index.js +3 -1
- package/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +6 -3
- package/node_modules/hono/dist/router/linear-router/router.js +7 -2
- package/node_modules/hono/dist/router/pattern-router/router.js +3 -9
- package/node_modules/hono/dist/router/trie-router/node.js +43 -67
- package/node_modules/hono/dist/router/trie-router/router.js +3 -11
- package/node_modules/hono/dist/types/context.d.ts +4 -0
- package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +3 -3
- package/node_modules/hono/dist/types/router/trie-router/node.d.ts +1 -2
- package/node_modules/hono/dist/types/router/trie-router/router.d.ts +0 -1
- package/node_modules/hono/dist/utils/ipaddr.js +5 -3
- package/node_modules/hono/dist/utils/url.js +2 -2
- package/node_modules/hono/package.json +1 -1
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +4 -3
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +4 -3
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +4 -3
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +4 -3
- package/node_modules/jose/dist/types/types.d.ts +4 -2
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +7 -3
- package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +6 -2
- package/node_modules/jose/package.json +1 -1
- package/node_modules/type-is/node_modules/content-type/README.md +2 -0
- package/node_modules/type-is/node_modules/content-type/dist/index.d.ts +20 -0
- package/node_modules/type-is/node_modules/content-type/dist/index.js +20 -14
- package/node_modules/type-is/node_modules/content-type/dist/index.js.map +1 -1
- package/node_modules/type-is/node_modules/content-type/package.json +1 -1
- package/package.json +2 -2
- package/slingshot/index.js +295 -279
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts
CHANGED
|
@@ -4,6 +4,74 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
|
4
4
|
import { IdentityProviderConfig } from "@smithy/types";
|
|
5
5
|
import { STSClientConfig } from "./STSClient";
|
|
6
6
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
8
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
9
|
+
endpoint?:
|
|
10
|
+
| ((
|
|
11
|
+
| string
|
|
12
|
+
| import("@smithy/types").Endpoint
|
|
13
|
+
| import("@smithy/types").EndpointV2
|
|
14
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
15
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
16
|
+
) &
|
|
17
|
+
(
|
|
18
|
+
| string
|
|
19
|
+
| import("@smithy/types").Endpoint
|
|
20
|
+
| import("@smithy/types").EndpointV2
|
|
21
|
+
| import("@smithy/types").Provider<string>
|
|
22
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
23
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
24
|
+
))
|
|
25
|
+
| undefined;
|
|
26
|
+
tls?: boolean;
|
|
27
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
28
|
+
serviceConfiguredEndpoint?: never;
|
|
29
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
30
|
+
credentials?:
|
|
31
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
32
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
33
|
+
signer?:
|
|
34
|
+
| import("@smithy/types").RequestSigner
|
|
35
|
+
| ((
|
|
36
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
37
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
38
|
+
signingEscapePath?: boolean;
|
|
39
|
+
systemClockOffset?: number;
|
|
40
|
+
signingRegion?: string;
|
|
41
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
42
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
43
|
+
apiVersion: string;
|
|
44
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
45
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
46
|
+
disableHostPrefix: boolean;
|
|
47
|
+
endpointProvider: (
|
|
48
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
49
|
+
context?: {
|
|
50
|
+
logger?: import("@smithy/types").Logger;
|
|
51
|
+
},
|
|
52
|
+
) => import("@smithy/types").EndpointV2;
|
|
53
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
55
|
+
logger: import("@smithy/types").Logger;
|
|
56
|
+
protocol:
|
|
57
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
58
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
59
|
+
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
60
|
+
protocolSettings: {
|
|
61
|
+
[setting: string]: unknown;
|
|
62
|
+
defaultNamespace?: string;
|
|
63
|
+
};
|
|
64
|
+
serviceId: string;
|
|
65
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
66
|
+
signerConstructor:
|
|
67
|
+
| (new (
|
|
68
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
69
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
70
|
+
) => import("@smithy/types").RequestSigner)
|
|
71
|
+
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
72
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
73
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
74
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
7
75
|
runtime: string;
|
|
8
76
|
defaultsMode: import("@smithy/types").Provider<
|
|
9
77
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -46,74 +114,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
46
114
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
47
115
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
48
116
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
-
cacheMiddleware?: boolean | undefined;
|
|
50
|
-
protocol:
|
|
51
|
-
| import("@smithy/types").ClientProtocol<any, any>
|
|
52
|
-
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
53
|
-
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
54
|
-
protocolSettings: {
|
|
55
|
-
defaultNamespace?: string;
|
|
56
|
-
[setting: string]: unknown;
|
|
57
|
-
};
|
|
58
|
-
apiVersion: string;
|
|
59
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
60
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
61
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
62
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
63
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
64
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
65
|
-
disableHostPrefix: boolean;
|
|
66
|
-
serviceId: string;
|
|
67
117
|
profile?: string;
|
|
68
118
|
credentialDefaultProvider?: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
69
|
-
logger: import("@smithy/types").Logger;
|
|
70
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
71
|
-
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
72
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
73
|
-
endpoint?:
|
|
74
|
-
| ((
|
|
75
|
-
| string
|
|
76
|
-
| import("@smithy/types").Endpoint
|
|
77
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
78
|
-
| import("@smithy/types").EndpointV2
|
|
79
|
-
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
80
|
-
) &
|
|
81
|
-
(
|
|
82
|
-
| string
|
|
83
|
-
| import("@smithy/types").Provider<string>
|
|
84
|
-
| import("@smithy/types").Endpoint
|
|
85
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
86
|
-
| import("@smithy/types").EndpointV2
|
|
87
|
-
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
88
|
-
))
|
|
89
|
-
| undefined;
|
|
90
|
-
endpointProvider: (
|
|
91
|
-
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
92
|
-
context?: {
|
|
93
|
-
logger?: import("@smithy/types").Logger;
|
|
94
|
-
},
|
|
95
|
-
) => import("@smithy/types").EndpointV2;
|
|
96
|
-
tls?: boolean;
|
|
97
|
-
ignoreConfiguredEndpointUrls?: boolean;
|
|
98
|
-
serviceConfiguredEndpoint?: never;
|
|
99
|
-
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
100
|
-
credentials?:
|
|
101
|
-
| import("@smithy/types").AwsCredentialIdentity
|
|
102
|
-
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
103
|
-
signer?:
|
|
104
|
-
| import("@smithy/types").RequestSigner
|
|
105
|
-
| ((
|
|
106
|
-
authScheme?: import("@smithy/types").AuthScheme,
|
|
107
|
-
) => Promise<import("@smithy/types").RequestSigner>);
|
|
108
|
-
signingEscapePath?: boolean;
|
|
109
|
-
systemClockOffset?: number;
|
|
110
|
-
signingRegion?: string;
|
|
111
|
-
signerConstructor:
|
|
112
|
-
| (new (
|
|
113
|
-
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
114
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
115
|
-
) => import("@smithy/types").RequestSigner)
|
|
116
|
-
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
117
|
-
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
118
|
-
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
119
119
|
};
|
|
@@ -1,83 +1,59 @@
|
|
|
1
1
|
import { STSClientConfig } from "./STSClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
3
|
-
runtime: string;
|
|
4
|
-
requestHandler:
|
|
5
|
-
| import("@smithy/types").NodeHttpHandlerOptions
|
|
6
|
-
| import("@smithy/types").FetchHttpHandlerOptions
|
|
7
|
-
| Record<string, unknown>
|
|
8
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
9
|
-
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
10
3
|
cacheMiddleware?: boolean;
|
|
11
|
-
protocol:
|
|
12
|
-
| import("@smithy/types").ClientProtocol<any, any>
|
|
13
|
-
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
14
|
-
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
15
|
-
protocolSettings: {
|
|
16
|
-
defaultNamespace?: string;
|
|
17
|
-
[setting: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
apiVersion: string;
|
|
20
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
21
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
-
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
|
-
streamCollector: (
|
|
24
|
-
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
25
|
-
) => Promise<Uint8Array>;
|
|
26
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
27
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
28
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
30
|
-
disableHostPrefix: boolean;
|
|
31
|
-
serviceId: string;
|
|
32
|
-
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
|
-
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
34
|
-
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
35
|
-
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
36
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
37
|
-
profile?: string;
|
|
38
|
-
defaultUserAgentProvider: (
|
|
39
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
40
|
-
) => Promise<import("@smithy/types").UserAgent>;
|
|
41
|
-
credentialDefaultProvider:
|
|
42
|
-
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
43
|
-
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
44
|
-
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
45
|
-
retryMode: string | import("@smithy/types").Provider<string>;
|
|
46
|
-
logger: import("@smithy/types").Logger;
|
|
47
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
48
|
-
defaultsMode:
|
|
49
|
-
| import("@smithy/core/client").DefaultsMode
|
|
50
|
-
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
51
4
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
52
5
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
54
6
|
endpoint?:
|
|
55
7
|
| ((
|
|
56
8
|
| string
|
|
57
9
|
| import("@smithy/types").Endpoint
|
|
58
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
10
|
| import("@smithy/types").EndpointV2
|
|
11
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
60
12
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
13
|
) &
|
|
62
14
|
(
|
|
63
15
|
| string
|
|
64
|
-
| import("@smithy/types").Provider<string>
|
|
65
16
|
| import("@smithy/types").Endpoint
|
|
66
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
17
|
| import("@smithy/types").EndpointV2
|
|
18
|
+
| import("@smithy/types").Provider<string>
|
|
19
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
68
20
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
21
|
))
|
|
70
22
|
| undefined;
|
|
23
|
+
tls?: boolean;
|
|
24
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
25
|
+
serviceConfiguredEndpoint?: never;
|
|
26
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
27
|
+
sigv4aSigningRegionSet?:
|
|
28
|
+
| string[]
|
|
29
|
+
| undefined
|
|
30
|
+
| import("@smithy/types").Provider<string[] | undefined>;
|
|
31
|
+
credentials?:
|
|
32
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
33
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
34
|
+
signer?:
|
|
35
|
+
| import("@smithy/types").RequestSigner
|
|
36
|
+
| ((
|
|
37
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
38
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
39
|
+
signingEscapePath?: boolean;
|
|
40
|
+
systemClockOffset?: number;
|
|
41
|
+
signingRegion?: string;
|
|
42
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
43
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
44
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
apiVersion: string;
|
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
47
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
48
|
+
disableHostPrefix: boolean;
|
|
71
49
|
endpointProvider: (
|
|
72
|
-
|
|
50
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
73
51
|
context?: {
|
|
74
52
|
logger?: import("@smithy/types").Logger;
|
|
75
53
|
},
|
|
76
54
|
) => import("@smithy/types").EndpointV2;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
serviceConfiguredEndpoint?: never;
|
|
80
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
55
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
81
57
|
httpAuthSchemes:
|
|
82
58
|
| import("@smithy/types").HttpAuthScheme[]
|
|
83
59
|
| (
|
|
@@ -100,28 +76,50 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
100
76
|
signer: import("@smithy/core").NoAuthSigner;
|
|
101
77
|
}
|
|
102
78
|
)[];
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
| import("@smithy/types")
|
|
106
|
-
| import("@smithy/types")
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
signingRegion?: string;
|
|
79
|
+
logger: import("@smithy/types").Logger;
|
|
80
|
+
protocol:
|
|
81
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
82
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
83
|
+
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
84
|
+
protocolSettings: {
|
|
85
|
+
[setting: string]: unknown;
|
|
86
|
+
defaultNamespace?: string;
|
|
87
|
+
};
|
|
88
|
+
serviceId: string;
|
|
89
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
115
90
|
signerConstructor:
|
|
116
91
|
| (new (
|
|
117
92
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
118
93
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
119
94
|
) => import("@smithy/types").RequestSigner)
|
|
120
95
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
96
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
97
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
98
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
99
|
+
profile?: string;
|
|
100
|
+
defaultsMode:
|
|
101
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
|
|
102
|
+
| import("@smithy/core/client").DefaultsMode;
|
|
103
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
104
|
+
credentialDefaultProvider:
|
|
105
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
106
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
107
|
+
defaultUserAgentProvider: (
|
|
108
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
109
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
110
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
111
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
112
|
+
requestHandler:
|
|
113
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler
|
|
114
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
115
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
116
|
+
| Record<string, unknown>
|
|
117
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
118
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
119
|
+
streamCollector: (
|
|
120
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
121
|
+
) => Promise<Uint8Array>;
|
|
122
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
123
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
124
|
+
runtime: string;
|
|
127
125
|
};
|
|
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
10
10
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
11
11
|
disableHostPrefix: boolean;
|
|
12
12
|
endpointProvider: (
|
|
13
|
-
|
|
13
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
14
14
|
context?: {
|
|
15
15
|
logger?: import("@smithy/types").Logger;
|
|
16
16
|
},
|
|
@@ -41,8 +41,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
41
41
|
)[];
|
|
42
42
|
logger: import("@smithy/types").Logger;
|
|
43
43
|
protocol:
|
|
44
|
-
| import("@smithy/types")
|
|
45
|
-
| import("@smithy/types")
|
|
44
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
45
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
46
46
|
| typeof AwsQueryProtocol;
|
|
47
47
|
protocolSettings: {
|
|
48
48
|
[setting: string]: unknown;
|
|
@@ -266,6 +266,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
266
266
|
this.config = await this.configProvider;
|
|
267
267
|
}
|
|
268
268
|
const config = this.config;
|
|
269
|
+
const logger = config.logger;
|
|
269
270
|
const isSSL = request.protocol === "https:";
|
|
270
271
|
if (!isSSL && !this.config.httpAgent) {
|
|
271
272
|
this.config.httpAgent = await this.config.httpAgentProvider();
|
|
@@ -309,7 +310,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
309
310
|
});
|
|
310
311
|
}
|
|
311
312
|
socketWarningTimeoutId = timing.setTimeout(() => {
|
|
312
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
313
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
|
|
313
314
|
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
|
|
314
315
|
const queryString = request.query ? buildQueryString(request.query) : "";
|
|
315
316
|
let auth = undefined;
|
|
@@ -376,7 +377,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
376
377
|
}
|
|
377
378
|
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
378
379
|
connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
|
|
379
|
-
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout,
|
|
380
|
+
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
|
|
380
381
|
socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
|
|
381
382
|
const httpAgent = nodeHttpsOptions.agent;
|
|
382
383
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
@@ -394,6 +395,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
394
395
|
updateHttpClientConfig(key, value) {
|
|
395
396
|
this.config = undefined;
|
|
396
397
|
this.configProvider = this.configProvider.then((config) => {
|
|
398
|
+
if (key === Symbol.for("logger")) {
|
|
399
|
+
return {
|
|
400
|
+
...config,
|
|
401
|
+
logger: config.logger ?? value,
|
|
402
|
+
};
|
|
403
|
+
}
|
|
397
404
|
return {
|
|
398
405
|
...config,
|
|
399
406
|
[key]: value,
|
|
@@ -70,6 +70,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
70
70
|
this.config = await this.configProvider;
|
|
71
71
|
}
|
|
72
72
|
const config = this.config;
|
|
73
|
+
const logger = config.logger;
|
|
73
74
|
const isSSL = request.protocol === "https:";
|
|
74
75
|
if (!isSSL && !this.config.httpAgent) {
|
|
75
76
|
this.config.httpAgent = await this.config.httpAgentProvider();
|
|
@@ -113,7 +114,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
113
114
|
});
|
|
114
115
|
}
|
|
115
116
|
socketWarningTimeoutId = timing.setTimeout(() => {
|
|
116
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
117
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
|
|
117
118
|
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
|
|
118
119
|
const queryString = request.query ? buildQueryString(request.query) : "";
|
|
119
120
|
let auth = undefined;
|
|
@@ -180,7 +181,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
180
181
|
}
|
|
181
182
|
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
182
183
|
connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
|
|
183
|
-
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout,
|
|
184
|
+
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
|
|
184
185
|
socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
|
|
185
186
|
const httpAgent = nodeHttpsOptions.agent;
|
|
186
187
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
@@ -198,6 +199,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
198
199
|
updateHttpClientConfig(key, value) {
|
|
199
200
|
this.config = undefined;
|
|
200
201
|
this.configProvider = this.configProvider.then((config) => {
|
|
202
|
+
if (key === Symbol.for("logger")) {
|
|
203
|
+
return {
|
|
204
|
+
...config,
|
|
205
|
+
logger: config.logger ?? value,
|
|
206
|
+
};
|
|
207
|
+
}
|
|
201
208
|
return {
|
|
202
209
|
...config,
|
|
203
210
|
[key]: value,
|
|
@@ -64,7 +64,7 @@ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOpt
|
|
|
64
64
|
* @returns the input if it is an HttpHandler of any class,
|
|
65
65
|
* or instantiates a new instance of this handler.
|
|
66
66
|
*/
|
|
67
|
-
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): HttpHandler<any
|
|
67
|
+
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): NodeHttp2Handler | HttpHandler<any>;
|
|
68
68
|
constructor(options?: NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>);
|
|
69
69
|
destroy(): void;
|
|
70
70
|
handle(request: HttpRequest, { abortSignal, requestTimeout, isEventStream }?: HttpHandlerOptions & EventStreamSignal): Promise<{
|
|
@@ -64,7 +64,7 @@ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOpt
|
|
|
64
64
|
* @returns the input if it is an HttpHandler of any class,
|
|
65
65
|
* or instantiates a new instance of this handler.
|
|
66
66
|
*/
|
|
67
|
-
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): HttpHandler<any
|
|
67
|
+
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): NodeHttp2Handler | HttpHandler<any>;
|
|
68
68
|
constructor(options?: NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>);
|
|
69
69
|
destroy(): void;
|
|
70
70
|
handle(request: HttpRequest, { abortSignal, requestTimeout, isEventStream }?: HttpHandlerOptions & EventStreamSignal): Promise<{
|
package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.2",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,9 +28,6 @@
|
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"publishConfig": {
|
|
32
|
-
"directory": ".release/package"
|
|
33
|
-
},
|
|
34
31
|
"scripts": {
|
|
35
32
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
36
33
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
@@ -38,25 +35,20 @@
|
|
|
38
35
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
39
36
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
40
37
|
"extract:docs": "api-extractor run --local",
|
|
41
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
42
38
|
"test": "yarn g:vitest run",
|
|
43
39
|
"test:watch": "yarn g:vitest watch"
|
|
44
40
|
},
|
|
45
41
|
"dependencies": {
|
|
46
|
-
"@smithy/core": "^3.
|
|
47
|
-
"@smithy/types": "^4.
|
|
42
|
+
"@smithy/core": "^3.33.2",
|
|
43
|
+
"@smithy/types": "^4.17.2",
|
|
48
44
|
"tslib": "^2.6.2"
|
|
49
45
|
},
|
|
50
46
|
"devDependencies": {
|
|
51
|
-
"@smithy/abort-controller": "^4.
|
|
47
|
+
"@smithy/abort-controller": "^4.4.2",
|
|
52
48
|
"@types/node": "^18.11.9",
|
|
53
49
|
"concurrently": "7.0.0",
|
|
54
50
|
"downlevel-dts": "0.10.1",
|
|
55
|
-
"premove": "4.0.0"
|
|
56
|
-
"typedoc": "0.23.23"
|
|
57
|
-
},
|
|
58
|
-
"typedoc": {
|
|
59
|
-
"entryPoint": "src/index.ts"
|
|
51
|
+
"premove": "4.0.0"
|
|
60
52
|
},
|
|
61
53
|
"engines": {
|
|
62
54
|
"node": ">=18.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.43",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.977.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
105
|
-
"@aws-sdk/types": "^3.974.
|
|
103
|
+
"@aws-sdk/core": "^3.977.8",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.45",
|
|
105
|
+
"@aws-sdk/types": "^3.974.4",
|
|
106
106
|
"@smithy/core": "^3.31.1",
|
|
107
107
|
"@smithy/fetch-http-handler": "^5.6.13",
|
|
108
108
|
"@smithy/node-http-handler": "^4.9.13",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"concurrently": "7.0.0",
|
|
114
114
|
"downlevel-dts": "0.10.1",
|
|
115
115
|
"premove": "4.0.0",
|
|
116
|
-
"typescript": "~
|
|
116
|
+
"typescript": "~7.0.2"
|
|
117
117
|
},
|
|
118
118
|
"engines": {
|
|
119
119
|
"node": ">=20.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.45",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@aws-sdk/types": "^3.974.
|
|
45
|
+
"@aws-sdk/types": "^3.974.4",
|
|
46
46
|
"@smithy/signature-v4": "^5.6.12",
|
|
47
47
|
"@smithy/types": "^4.16.1",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"concurrently": "7.0.0",
|
|
53
53
|
"downlevel-dts": "0.10.1",
|
|
54
54
|
"premove": "4.0.0",
|
|
55
|
-
"typescript": "~
|
|
55
|
+
"typescript": "~7.0.2"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=20.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.974.
|
|
3
|
+
"version": "3.974.4",
|
|
4
4
|
"description": "Types for the AWS SDK",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"concurrently": "7.0.0",
|
|
50
50
|
"downlevel-dts": "0.10.1",
|
|
51
51
|
"premove": "4.0.0",
|
|
52
|
-
"typescript": "~
|
|
52
|
+
"typescript": "~7.0.2"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">=20.0.0"
|
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-locate-window",
|
|
3
|
-
"version": "3.965.
|
|
3
|
+
"version": "3.965.10",
|
|
4
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-locate-window",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "AWS SDK for JavaScript Team",
|
|
8
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
13
|
+
"directory": "packages-internal/util-locate-window"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist-*/**"
|
|
17
|
+
],
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"main": "./dist-cjs/index.js",
|
|
20
|
+
"module": "./dist-es/index.js",
|
|
21
|
+
"types": "./dist-types/index.d.ts",
|
|
22
|
+
"typesVersions": {
|
|
23
|
+
"<4.5": {
|
|
24
|
+
"dist-types/*": [
|
|
25
|
+
"dist-types/ts3.4/*"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
4
29
|
"scripts": {
|
|
5
30
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
31
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -12,12 +37,6 @@
|
|
|
12
37
|
"test": "yarn g:vitest run",
|
|
13
38
|
"test:watch": "yarn g:vitest watch"
|
|
14
39
|
},
|
|
15
|
-
"sideEffects": false,
|
|
16
|
-
"author": {
|
|
17
|
-
"name": "AWS SDK for JavaScript Team",
|
|
18
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
19
|
-
},
|
|
20
|
-
"license": "Apache-2.0",
|
|
21
40
|
"dependencies": {
|
|
22
41
|
"tslib": "^2.6.2"
|
|
23
42
|
},
|
|
@@ -27,28 +46,9 @@
|
|
|
27
46
|
"concurrently": "7.0.0",
|
|
28
47
|
"downlevel-dts": "0.10.1",
|
|
29
48
|
"premove": "4.0.0",
|
|
30
|
-
"typescript": "~
|
|
49
|
+
"typescript": "~7.0.2"
|
|
31
50
|
},
|
|
32
|
-
"main": "./dist-cjs/index.js",
|
|
33
|
-
"module": "./dist-es/index.js",
|
|
34
|
-
"types": "./dist-types/index.d.ts",
|
|
35
51
|
"engines": {
|
|
36
52
|
"node": ">=20.0.0"
|
|
37
|
-
},
|
|
38
|
-
"typesVersions": {
|
|
39
|
-
"<4.5": {
|
|
40
|
-
"dist-types/*": [
|
|
41
|
-
"dist-types/ts3.4/*"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"files": [
|
|
46
|
-
"dist-*/**"
|
|
47
|
-
],
|
|
48
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-locate-window",
|
|
49
|
-
"repository": {
|
|
50
|
-
"type": "git",
|
|
51
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
52
|
-
"directory": "packages-internal/util-locate-window"
|
|
53
53
|
}
|
|
54
54
|
}
|