@cdk8s/awscdk-resolver 0.0.225 → 0.0.227
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +610 -478
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +81 -54
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-cloudformation/package.json +44 -44
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +57 -42
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +8 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +15 -5
- package/node_modules/@aws-sdk/client-sso/package.json +40 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +295 -92
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +58 -28
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -42
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +115 -104
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +16 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-sts/package.json +42 -42
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +18 -22
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +3 -4
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -17
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +11 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -5
- package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +13 -17
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
- package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/token-providers/package.json +9 -9
- package/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +10 -10
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +8 -9
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/hash-node/package.json +6 -6
- package/node_modules/@smithy/invalid-dependency/package.json +5 -2
- package/node_modules/@smithy/is-array-buffer/package.json +5 -4
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
- package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/package.json +6 -6
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +4 -4
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
- package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/package.json +9 -9
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -21
- package/node_modules/@smithy/smithy-client/package.json +9 -9
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/url-parser/package.json +6 -3
- package/node_modules/@smithy/util-base64/package.json +8 -7
- package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
- package/node_modules/@smithy/util-body-length-node/package.json +6 -5
- package/node_modules/@smithy/util-buffer-from/package.json +7 -6
- package/node_modules/@smithy/util-config-provider/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
- package/node_modules/@smithy/util-endpoints/package.json +5 -5
- package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
- package/node_modules/@smithy/util-middleware/package.json +4 -4
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
- package/node_modules/@smithy/util-retry/package.json +5 -5
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +10 -10
- package/node_modules/@smithy/util-uri-escape/package.json +5 -4
- package/node_modules/@smithy/util-utf8/package.json +6 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -6
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/package.json +3 -3
@@ -1,98 +1,98 @@
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
2
2
|
import { STSServiceException as __BaseException } from "./STSServiceException";
|
3
3
|
export class ExpiredTokenException extends __BaseException {
|
4
|
+
name = "ExpiredTokenException";
|
5
|
+
$fault = "client";
|
4
6
|
constructor(opts) {
|
5
7
|
super({
|
6
8
|
name: "ExpiredTokenException",
|
7
9
|
$fault: "client",
|
8
10
|
...opts,
|
9
11
|
});
|
10
|
-
this.name = "ExpiredTokenException";
|
11
|
-
this.$fault = "client";
|
12
12
|
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
13
13
|
}
|
14
14
|
}
|
15
15
|
export class MalformedPolicyDocumentException extends __BaseException {
|
16
|
+
name = "MalformedPolicyDocumentException";
|
17
|
+
$fault = "client";
|
16
18
|
constructor(opts) {
|
17
19
|
super({
|
18
20
|
name: "MalformedPolicyDocumentException",
|
19
21
|
$fault: "client",
|
20
22
|
...opts,
|
21
23
|
});
|
22
|
-
this.name = "MalformedPolicyDocumentException";
|
23
|
-
this.$fault = "client";
|
24
24
|
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
25
25
|
}
|
26
26
|
}
|
27
27
|
export class PackedPolicyTooLargeException extends __BaseException {
|
28
|
+
name = "PackedPolicyTooLargeException";
|
29
|
+
$fault = "client";
|
28
30
|
constructor(opts) {
|
29
31
|
super({
|
30
32
|
name: "PackedPolicyTooLargeException",
|
31
33
|
$fault: "client",
|
32
34
|
...opts,
|
33
35
|
});
|
34
|
-
this.name = "PackedPolicyTooLargeException";
|
35
|
-
this.$fault = "client";
|
36
36
|
Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
|
37
37
|
}
|
38
38
|
}
|
39
39
|
export class RegionDisabledException extends __BaseException {
|
40
|
+
name = "RegionDisabledException";
|
41
|
+
$fault = "client";
|
40
42
|
constructor(opts) {
|
41
43
|
super({
|
42
44
|
name: "RegionDisabledException",
|
43
45
|
$fault: "client",
|
44
46
|
...opts,
|
45
47
|
});
|
46
|
-
this.name = "RegionDisabledException";
|
47
|
-
this.$fault = "client";
|
48
48
|
Object.setPrototypeOf(this, RegionDisabledException.prototype);
|
49
49
|
}
|
50
50
|
}
|
51
51
|
export class IDPRejectedClaimException extends __BaseException {
|
52
|
+
name = "IDPRejectedClaimException";
|
53
|
+
$fault = "client";
|
52
54
|
constructor(opts) {
|
53
55
|
super({
|
54
56
|
name: "IDPRejectedClaimException",
|
55
57
|
$fault: "client",
|
56
58
|
...opts,
|
57
59
|
});
|
58
|
-
this.name = "IDPRejectedClaimException";
|
59
|
-
this.$fault = "client";
|
60
60
|
Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
|
61
61
|
}
|
62
62
|
}
|
63
63
|
export class InvalidIdentityTokenException extends __BaseException {
|
64
|
+
name = "InvalidIdentityTokenException";
|
65
|
+
$fault = "client";
|
64
66
|
constructor(opts) {
|
65
67
|
super({
|
66
68
|
name: "InvalidIdentityTokenException",
|
67
69
|
$fault: "client",
|
68
70
|
...opts,
|
69
71
|
});
|
70
|
-
this.name = "InvalidIdentityTokenException";
|
71
|
-
this.$fault = "client";
|
72
72
|
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
73
73
|
}
|
74
74
|
}
|
75
75
|
export class IDPCommunicationErrorException extends __BaseException {
|
76
|
+
name = "IDPCommunicationErrorException";
|
77
|
+
$fault = "client";
|
76
78
|
constructor(opts) {
|
77
79
|
super({
|
78
80
|
name: "IDPCommunicationErrorException",
|
79
81
|
$fault: "client",
|
80
82
|
...opts,
|
81
83
|
});
|
82
|
-
this.name = "IDPCommunicationErrorException";
|
83
|
-
this.$fault = "client";
|
84
84
|
Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
|
85
85
|
}
|
86
86
|
}
|
87
87
|
export class InvalidAuthorizationMessageException extends __BaseException {
|
88
|
+
name = "InvalidAuthorizationMessageException";
|
89
|
+
$fault = "client";
|
88
90
|
constructor(opts) {
|
89
91
|
super({
|
90
92
|
name: "InvalidAuthorizationMessageException",
|
91
93
|
$fault: "client",
|
92
94
|
...opts,
|
93
95
|
});
|
94
|
-
this.name = "InvalidAuthorizationMessageException";
|
95
|
-
this.$fault = "client";
|
96
96
|
Object.setPrototypeOf(this, InvalidAuthorizationMessageException.prototype);
|
97
97
|
}
|
98
98
|
}
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
7
|
runtime: string;
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
9
9
|
runtime: string;
|
10
10
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
12
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
12
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
13
13
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
14
14
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
|
15
15
|
schemeId: string;
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
23
23
|
profile?: string | undefined;
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
28
28
|
logger: import("@smithy/types").Logger;
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
34
|
-
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> | undefined;
|
34
|
+
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;
|
35
35
|
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
37
37
|
} | undefined) => import("@smithy/types").EndpointV2;
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
7
7
|
>;
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
9
|
-
credentialDefaultProvider:
|
10
|
-
input: any
|
11
|
-
|
9
|
+
credentialDefaultProvider:
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
11
|
+
| ((
|
12
|
+
_: unknown
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
12
14
|
defaultUserAgentProvider: (
|
13
15
|
config?:
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
9
9
|
>;
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
11
|
-
credentialDefaultProvider:
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
credentialDefaultProvider:
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
13
|
+
| ((
|
14
|
+
init?:
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
16
|
+
| undefined
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
19
|
+
>);
|
18
20
|
defaultUserAgentProvider: (
|
19
21
|
config?:
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
29
29
|
| undefined
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
31
|
-
credentialDefaultProvider:
|
32
|
-
input: any
|
33
|
-
|
31
|
+
credentialDefaultProvider:
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
33
|
+
| ((
|
34
|
+
_: unknown
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
36
38
|
logger: import("@smithy/types").Logger;
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
51
53
|
| undefined;
|
52
54
|
endpoint?:
|
53
|
-
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
55
|
+
| ((
|
56
|
+
| string
|
57
|
+
| import("@smithy/types").Endpoint
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
59
|
+
| import("@smithy/types").EndpointV2
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
61
|
+
) &
|
62
|
+
(
|
63
|
+
| string
|
64
|
+
| import("@smithy/types").Provider<string>
|
65
|
+
| import("@smithy/types").Endpoint
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
67
|
+
| import("@smithy/types").EndpointV2
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
69
|
+
))
|
58
70
|
| undefined;
|
59
71
|
endpointProvider: (
|
60
72
|
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-sts",
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.723.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-sts",
|
@@ -22,55 +22,55 @@
|
|
22
22
|
"dependencies": {
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
26
|
-
"@aws-sdk/core": "3.
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
33
|
-
"@aws-sdk/types": "3.
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
37
|
-
"@smithy/config-resolver": "^
|
38
|
-
"@smithy/core": "^
|
39
|
-
"@smithy/fetch-http-handler": "^
|
40
|
-
"@smithy/hash-node": "^
|
41
|
-
"@smithy/invalid-dependency": "^
|
42
|
-
"@smithy/middleware-content-length": "^
|
43
|
-
"@smithy/middleware-endpoint": "^
|
44
|
-
"@smithy/middleware-retry": "^
|
45
|
-
"@smithy/middleware-serde": "^
|
46
|
-
"@smithy/middleware-stack": "^
|
47
|
-
"@smithy/node-config-provider": "^
|
48
|
-
"@smithy/node-http-handler": "^
|
49
|
-
"@smithy/protocol-http": "^
|
50
|
-
"@smithy/smithy-client": "^
|
51
|
-
"@smithy/types": "^
|
52
|
-
"@smithy/url-parser": "^
|
53
|
-
"@smithy/util-base64": "^
|
54
|
-
"@smithy/util-body-length-browser": "^
|
55
|
-
"@smithy/util-body-length-node": "^
|
56
|
-
"@smithy/util-defaults-mode-browser": "^
|
57
|
-
"@smithy/util-defaults-mode-node": "^
|
58
|
-
"@smithy/util-endpoints": "^
|
59
|
-
"@smithy/util-middleware": "^
|
60
|
-
"@smithy/util-retry": "^
|
61
|
-
"@smithy/util-utf8": "^
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
26
|
+
"@aws-sdk/core": "3.723.0",
|
27
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
28
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
29
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
32
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
33
|
+
"@aws-sdk/types": "3.723.0",
|
34
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
37
|
+
"@smithy/config-resolver": "^4.0.0",
|
38
|
+
"@smithy/core": "^3.0.0",
|
39
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
40
|
+
"@smithy/hash-node": "^4.0.0",
|
41
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
42
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
43
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
44
|
+
"@smithy/middleware-retry": "^4.0.0",
|
45
|
+
"@smithy/middleware-serde": "^4.0.0",
|
46
|
+
"@smithy/middleware-stack": "^4.0.0",
|
47
|
+
"@smithy/node-config-provider": "^4.0.0",
|
48
|
+
"@smithy/node-http-handler": "^4.0.0",
|
49
|
+
"@smithy/protocol-http": "^5.0.0",
|
50
|
+
"@smithy/smithy-client": "^4.0.0",
|
51
|
+
"@smithy/types": "^4.0.0",
|
52
|
+
"@smithy/url-parser": "^4.0.0",
|
53
|
+
"@smithy/util-base64": "^4.0.0",
|
54
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
55
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
58
|
+
"@smithy/util-endpoints": "^3.0.0",
|
59
|
+
"@smithy/util-middleware": "^4.0.0",
|
60
|
+
"@smithy/util-retry": "^4.0.0",
|
61
|
+
"@smithy/util-utf8": "^4.0.0",
|
62
62
|
"tslib": "^2.6.2"
|
63
63
|
},
|
64
64
|
"devDependencies": {
|
65
|
-
"@tsconfig/
|
66
|
-
"@types/node": "^
|
65
|
+
"@tsconfig/node18": "18.2.4",
|
66
|
+
"@types/node": "^18.19.69",
|
67
67
|
"concurrently": "7.0.0",
|
68
68
|
"downlevel-dts": "0.10.1",
|
69
69
|
"rimraf": "3.0.2",
|
70
|
-
"typescript": "~
|
70
|
+
"typescript": "~5.2.2"
|
71
71
|
},
|
72
72
|
"engines": {
|
73
|
-
"node": ">=
|
73
|
+
"node": ">=18.0.0"
|
74
74
|
},
|
75
75
|
"typesVersions": {
|
76
76
|
"<4.0": {
|
@@ -37,10 +37,7 @@ var import_protocol_http2 = require("@smithy/protocol-http");
|
|
37
37
|
|
38
38
|
// src/submodules/httpAuthSchemes/utils/getDateHeader.ts
|
39
39
|
var import_protocol_http = require("@smithy/protocol-http");
|
40
|
-
var getDateHeader = /* @__PURE__ */ __name((response) =>
|
41
|
-
var _a, _b;
|
42
|
-
return import_protocol_http.HttpResponse.isInstance(response) ? ((_a = response.headers) == null ? void 0 : _a.date) ?? ((_b = response.headers) == null ? void 0 : _b.Date) : void 0;
|
43
|
-
}, "getDateHeader");
|
40
|
+
var getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, "getDateHeader");
|
44
41
|
|
45
42
|
// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts
|
46
43
|
var getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), "getSkewCorrectedDate");
|
@@ -65,21 +62,20 @@ var throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {
|
|
65
62
|
return property;
|
66
63
|
}, "throwSigningPropertyError");
|
67
64
|
var validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {
|
68
|
-
var _a, _b, _c;
|
69
65
|
const context = throwSigningPropertyError(
|
70
66
|
"context",
|
71
67
|
signingProperties.context
|
72
68
|
);
|
73
69
|
const config = throwSigningPropertyError("config", signingProperties.config);
|
74
|
-
const authScheme =
|
70
|
+
const authScheme = context.endpointV2?.properties?.authSchemes?.[0];
|
75
71
|
const signerFunction = throwSigningPropertyError(
|
76
72
|
"signer",
|
77
73
|
config.signer
|
78
74
|
);
|
79
75
|
const signer = await signerFunction(authScheme);
|
80
|
-
const signingRegion = signingProperties
|
81
|
-
const signingRegionSet = signingProperties
|
82
|
-
const signingName = signingProperties
|
76
|
+
const signingRegion = signingProperties?.signingRegion;
|
77
|
+
const signingRegionSet = signingProperties?.signingRegionSet;
|
78
|
+
const signingName = signingProperties?.signingName;
|
83
79
|
return {
|
84
80
|
config,
|
85
81
|
signer,
|
@@ -88,9 +84,11 @@ var validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties)
|
|
88
84
|
signingName
|
89
85
|
};
|
90
86
|
}, "validateSigningProperties");
|
91
|
-
var
|
87
|
+
var AwsSdkSigV4Signer = class {
|
88
|
+
static {
|
89
|
+
__name(this, "AwsSdkSigV4Signer");
|
90
|
+
}
|
92
91
|
async sign(httpRequest, identity, signingProperties) {
|
93
|
-
var _a;
|
94
92
|
if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {
|
95
93
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
96
94
|
}
|
@@ -98,11 +96,11 @@ var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer {
|
|
98
96
|
const { config, signer } = validatedProps;
|
99
97
|
let { signingRegion, signingName } = validatedProps;
|
100
98
|
const handlerExecutionContext = signingProperties.context;
|
101
|
-
if (
|
99
|
+
if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {
|
102
100
|
const [first, second] = handlerExecutionContext.authSchemes;
|
103
|
-
if (
|
104
|
-
signingRegion =
|
105
|
-
signingName =
|
101
|
+
if (first?.name === "sigv4a" && second?.name === "sigv4") {
|
102
|
+
signingRegion = second?.signingRegion ?? signingRegion;
|
103
|
+
signingName = second?.signingName ?? signingName;
|
106
104
|
}
|
107
105
|
}
|
108
106
|
const signedRequest = await signer.sign(httpRequest, {
|
@@ -135,22 +133,22 @@ var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer {
|
|
135
133
|
}
|
136
134
|
}
|
137
135
|
};
|
138
|
-
__name(_AwsSdkSigV4Signer, "AwsSdkSigV4Signer");
|
139
|
-
var AwsSdkSigV4Signer = _AwsSdkSigV4Signer;
|
140
136
|
var AWSSDKSigV4Signer = AwsSdkSigV4Signer;
|
141
137
|
|
142
138
|
// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts
|
143
139
|
var import_protocol_http3 = require("@smithy/protocol-http");
|
144
|
-
var
|
140
|
+
var AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {
|
141
|
+
static {
|
142
|
+
__name(this, "AwsSdkSigV4ASigner");
|
143
|
+
}
|
145
144
|
async sign(httpRequest, identity, signingProperties) {
|
146
|
-
var _a;
|
147
145
|
if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {
|
148
146
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
149
147
|
}
|
150
148
|
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(
|
151
149
|
signingProperties
|
152
150
|
);
|
153
|
-
const configResolvedSigningRegionSet = await
|
151
|
+
const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
|
154
152
|
const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(",");
|
155
153
|
const signedRequest = await signer.sign(httpRequest, {
|
156
154
|
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
@@ -160,8 +158,6 @@ var _AwsSdkSigV4ASigner = class _AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
|
|
160
158
|
return signedRequest;
|
161
159
|
}
|
162
160
|
};
|
163
|
-
__name(_AwsSdkSigV4ASigner, "AwsSdkSigV4ASigner");
|
164
|
-
var AwsSdkSigV4ASigner = _AwsSdkSigV4ASigner;
|
165
161
|
|
166
162
|
// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts
|
167
163
|
var import_core = require("@smithy/core");
|
@@ -111,7 +111,7 @@ var parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyS
|
|
111
111
|
try {
|
112
112
|
return JSON.parse(encoded);
|
113
113
|
} catch (e) {
|
114
|
-
if (
|
114
|
+
if (e?.name === "SyntaxError") {
|
115
115
|
Object.defineProperty(e, "$responseBodyText", {
|
116
116
|
value: encoded
|
117
117
|
});
|
@@ -202,11 +202,10 @@ var parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
202
202
|
return value;
|
203
203
|
}, "parseXmlErrorBody");
|
204
204
|
var loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {
|
205
|
-
|
206
|
-
if (((_a = data == null ? void 0 : data.Error) == null ? void 0 : _a.Code) !== void 0) {
|
205
|
+
if (data?.Error?.Code !== void 0) {
|
207
206
|
return data.Error.Code;
|
208
207
|
}
|
209
|
-
if (
|
208
|
+
if (data?.Code !== void 0) {
|
210
209
|
return data.Code;
|
211
210
|
}
|
212
211
|
if (output.statusCode == 404) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.0",
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
5
5
|
"scripts": {
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
@@ -81,15 +81,15 @@
|
|
81
81
|
},
|
82
82
|
"license": "Apache-2.0",
|
83
83
|
"dependencies": {
|
84
|
-
"@aws-sdk/types": "3.
|
85
|
-
"@smithy/core": "^
|
86
|
-
"@smithy/node-config-provider": "^
|
87
|
-
"@smithy/property-provider": "^
|
88
|
-
"@smithy/protocol-http": "^
|
89
|
-
"@smithy/signature-v4": "^
|
90
|
-
"@smithy/smithy-client": "^
|
91
|
-
"@smithy/types": "^
|
92
|
-
"@smithy/util-middleware": "^
|
84
|
+
"@aws-sdk/types": "3.723.0",
|
85
|
+
"@smithy/core": "^3.0.0",
|
86
|
+
"@smithy/node-config-provider": "^4.0.0",
|
87
|
+
"@smithy/property-provider": "^4.0.0",
|
88
|
+
"@smithy/protocol-http": "^5.0.0",
|
89
|
+
"@smithy/signature-v4": "^5.0.0",
|
90
|
+
"@smithy/smithy-client": "^4.0.0",
|
91
|
+
"@smithy/types": "^4.0.0",
|
92
|
+
"@smithy/util-middleware": "^4.0.0",
|
93
93
|
"fast-xml-parser": "4.4.1",
|
94
94
|
"tslib": "^2.6.2"
|
95
95
|
},
|
@@ -98,10 +98,10 @@
|
|
98
98
|
"concurrently": "7.0.0",
|
99
99
|
"downlevel-dts": "0.10.1",
|
100
100
|
"rimraf": "3.0.2",
|
101
|
-
"typescript": "~
|
101
|
+
"typescript": "~5.2.2"
|
102
102
|
},
|
103
103
|
"engines": {
|
104
|
-
"node": ">=
|
104
|
+
"node": ">=18.0.0"
|
105
105
|
},
|
106
106
|
"typesVersions": {
|
107
107
|
"<4.0": {
|
@@ -41,8 +41,7 @@ var ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION";
|
|
41
41
|
var ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE";
|
42
42
|
var ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID";
|
43
43
|
var fromEnv = /* @__PURE__ */ __name((init) => async () => {
|
44
|
-
|
45
|
-
(_a = init == null ? void 0 : init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-env - fromEnv");
|
44
|
+
init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
|
46
45
|
const accessKeyId = process.env[ENV_KEY];
|
47
46
|
const secretAccessKey = process.env[ENV_SECRET];
|
48
47
|
const sessionToken = process.env[ENV_SESSION];
|
@@ -61,7 +60,7 @@ var fromEnv = /* @__PURE__ */ __name((init) => async () => {
|
|
61
60
|
(0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS", "g");
|
62
61
|
return credentials;
|
63
62
|
}
|
64
|
-
throw new import_property_provider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init
|
63
|
+
throw new import_property_provider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
|
65
64
|
}, "fromEnv");
|
66
65
|
// Annotate the CommonJS export names for ESM import in node:
|
67
66
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,23 +25,23 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
29
|
-
"@aws-sdk/types": "3.
|
30
|
-
"@smithy/property-provider": "^
|
31
|
-
"@smithy/types": "^
|
28
|
+
"@aws-sdk/core": "3.723.0",
|
29
|
+
"@aws-sdk/types": "3.723.0",
|
30
|
+
"@smithy/property-provider": "^4.0.0",
|
31
|
+
"@smithy/types": "^4.0.0",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
35
|
"@tsconfig/recommended": "1.0.1",
|
36
|
-
"@types/node": "^
|
36
|
+
"@types/node": "^18.19.69",
|
37
37
|
"concurrently": "7.0.0",
|
38
38
|
"downlevel-dts": "0.10.1",
|
39
39
|
"rimraf": "3.0.2",
|
40
|
-
"typescript": "~
|
40
|
+
"typescript": "~5.2.2"
|
41
41
|
},
|
42
42
|
"types": "./dist-types/index.d.ts",
|
43
43
|
"engines": {
|
44
|
-
"node": ">=
|
44
|
+
"node": ">=18.0.0"
|
45
45
|
},
|
46
46
|
"typesVersions": {
|
47
47
|
"<4.0": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.0",
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,28 +27,28 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
31
|
-
"@aws-sdk/types": "3.
|
32
|
-
"@smithy/fetch-http-handler": "^
|
33
|
-
"@smithy/node-http-handler": "^
|
34
|
-
"@smithy/property-provider": "^
|
35
|
-
"@smithy/protocol-http": "^
|
36
|
-
"@smithy/smithy-client": "^
|
37
|
-
"@smithy/types": "^
|
38
|
-
"@smithy/util-stream": "^
|
30
|
+
"@aws-sdk/core": "3.723.0",
|
31
|
+
"@aws-sdk/types": "3.723.0",
|
32
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
33
|
+
"@smithy/node-http-handler": "^4.0.0",
|
34
|
+
"@smithy/property-provider": "^4.0.0",
|
35
|
+
"@smithy/protocol-http": "^5.0.0",
|
36
|
+
"@smithy/smithy-client": "^4.0.0",
|
37
|
+
"@smithy/types": "^4.0.0",
|
38
|
+
"@smithy/util-stream": "^4.0.0",
|
39
39
|
"tslib": "^2.6.2"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
42
|
"@tsconfig/recommended": "1.0.1",
|
43
|
-
"@types/node": "^
|
43
|
+
"@types/node": "^18.19.69",
|
44
44
|
"concurrently": "7.0.0",
|
45
45
|
"downlevel-dts": "0.10.1",
|
46
46
|
"rimraf": "3.0.2",
|
47
|
-
"typescript": "~
|
47
|
+
"typescript": "~5.2.2"
|
48
48
|
},
|
49
49
|
"types": "./dist-types/index.d.ts",
|
50
50
|
"engines": {
|
51
|
-
"node": ">=
|
51
|
+
"node": ">=18.0.0"
|
52
52
|
},
|
53
53
|
"typesVersions": {
|
54
54
|
"<4.0": {
|