@cdk8s/awscdk-resolver 0.0.225 → 0.0.226
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
@@ -72,7 +72,10 @@ var import_EndpointParameters = require("./endpoint/EndpointParameters");
|
|
72
72
|
|
73
73
|
// src/models/STSServiceException.ts
|
74
74
|
var import_smithy_client = require("@smithy/smithy-client");
|
75
|
-
var
|
75
|
+
var STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {
|
76
|
+
static {
|
77
|
+
__name(this, "STSServiceException");
|
78
|
+
}
|
76
79
|
/**
|
77
80
|
* @internal
|
78
81
|
*/
|
@@ -81,11 +84,14 @@ var _STSServiceException = class _STSServiceException extends import_smithy_clie
|
|
81
84
|
Object.setPrototypeOf(this, _STSServiceException.prototype);
|
82
85
|
}
|
83
86
|
};
|
84
|
-
__name(_STSServiceException, "STSServiceException");
|
85
|
-
var STSServiceException = _STSServiceException;
|
86
87
|
|
87
88
|
// src/models/models_0.ts
|
88
|
-
var
|
89
|
+
var ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {
|
90
|
+
static {
|
91
|
+
__name(this, "ExpiredTokenException");
|
92
|
+
}
|
93
|
+
name = "ExpiredTokenException";
|
94
|
+
$fault = "client";
|
89
95
|
/**
|
90
96
|
* @internal
|
91
97
|
*/
|
@@ -95,14 +101,15 @@ var _ExpiredTokenException = class _ExpiredTokenException extends STSServiceExce
|
|
95
101
|
$fault: "client",
|
96
102
|
...opts
|
97
103
|
});
|
98
|
-
this.name = "ExpiredTokenException";
|
99
|
-
this.$fault = "client";
|
100
104
|
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
101
105
|
}
|
102
106
|
};
|
103
|
-
|
104
|
-
|
105
|
-
|
107
|
+
var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {
|
108
|
+
static {
|
109
|
+
__name(this, "MalformedPolicyDocumentException");
|
110
|
+
}
|
111
|
+
name = "MalformedPolicyDocumentException";
|
112
|
+
$fault = "client";
|
106
113
|
/**
|
107
114
|
* @internal
|
108
115
|
*/
|
@@ -112,14 +119,15 @@ var _MalformedPolicyDocumentException = class _MalformedPolicyDocumentException
|
|
112
119
|
$fault: "client",
|
113
120
|
...opts
|
114
121
|
});
|
115
|
-
this.name = "MalformedPolicyDocumentException";
|
116
|
-
this.$fault = "client";
|
117
122
|
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
118
123
|
}
|
119
124
|
};
|
120
|
-
|
121
|
-
|
122
|
-
|
125
|
+
var PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {
|
126
|
+
static {
|
127
|
+
__name(this, "PackedPolicyTooLargeException");
|
128
|
+
}
|
129
|
+
name = "PackedPolicyTooLargeException";
|
130
|
+
$fault = "client";
|
123
131
|
/**
|
124
132
|
* @internal
|
125
133
|
*/
|
@@ -129,14 +137,15 @@ var _PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extend
|
|
129
137
|
$fault: "client",
|
130
138
|
...opts
|
131
139
|
});
|
132
|
-
this.name = "PackedPolicyTooLargeException";
|
133
|
-
this.$fault = "client";
|
134
140
|
Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);
|
135
141
|
}
|
136
142
|
};
|
137
|
-
|
138
|
-
|
139
|
-
|
143
|
+
var RegionDisabledException = class _RegionDisabledException extends STSServiceException {
|
144
|
+
static {
|
145
|
+
__name(this, "RegionDisabledException");
|
146
|
+
}
|
147
|
+
name = "RegionDisabledException";
|
148
|
+
$fault = "client";
|
140
149
|
/**
|
141
150
|
* @internal
|
142
151
|
*/
|
@@ -146,14 +155,15 @@ var _RegionDisabledException = class _RegionDisabledException extends STSService
|
|
146
155
|
$fault: "client",
|
147
156
|
...opts
|
148
157
|
});
|
149
|
-
this.name = "RegionDisabledException";
|
150
|
-
this.$fault = "client";
|
151
158
|
Object.setPrototypeOf(this, _RegionDisabledException.prototype);
|
152
159
|
}
|
153
160
|
};
|
154
|
-
|
155
|
-
|
156
|
-
|
161
|
+
var IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {
|
162
|
+
static {
|
163
|
+
__name(this, "IDPRejectedClaimException");
|
164
|
+
}
|
165
|
+
name = "IDPRejectedClaimException";
|
166
|
+
$fault = "client";
|
157
167
|
/**
|
158
168
|
* @internal
|
159
169
|
*/
|
@@ -163,14 +173,15 @@ var _IDPRejectedClaimException = class _IDPRejectedClaimException extends STSSer
|
|
163
173
|
$fault: "client",
|
164
174
|
...opts
|
165
175
|
});
|
166
|
-
this.name = "IDPRejectedClaimException";
|
167
|
-
this.$fault = "client";
|
168
176
|
Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);
|
169
177
|
}
|
170
178
|
};
|
171
|
-
|
172
|
-
|
173
|
-
|
179
|
+
var InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {
|
180
|
+
static {
|
181
|
+
__name(this, "InvalidIdentityTokenException");
|
182
|
+
}
|
183
|
+
name = "InvalidIdentityTokenException";
|
184
|
+
$fault = "client";
|
174
185
|
/**
|
175
186
|
* @internal
|
176
187
|
*/
|
@@ -180,14 +191,15 @@ var _InvalidIdentityTokenException = class _InvalidIdentityTokenException extend
|
|
180
191
|
$fault: "client",
|
181
192
|
...opts
|
182
193
|
});
|
183
|
-
this.name = "InvalidIdentityTokenException";
|
184
|
-
this.$fault = "client";
|
185
194
|
Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);
|
186
195
|
}
|
187
196
|
};
|
188
|
-
|
189
|
-
|
190
|
-
|
197
|
+
var IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {
|
198
|
+
static {
|
199
|
+
__name(this, "IDPCommunicationErrorException");
|
200
|
+
}
|
201
|
+
name = "IDPCommunicationErrorException";
|
202
|
+
$fault = "client";
|
191
203
|
/**
|
192
204
|
* @internal
|
193
205
|
*/
|
@@ -197,14 +209,15 @@ var _IDPCommunicationErrorException = class _IDPCommunicationErrorException exte
|
|
197
209
|
$fault: "client",
|
198
210
|
...opts
|
199
211
|
});
|
200
|
-
this.name = "IDPCommunicationErrorException";
|
201
|
-
this.$fault = "client";
|
202
212
|
Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);
|
203
213
|
}
|
204
214
|
};
|
205
|
-
|
206
|
-
|
207
|
-
|
215
|
+
var InvalidAuthorizationMessageException = class _InvalidAuthorizationMessageException extends STSServiceException {
|
216
|
+
static {
|
217
|
+
__name(this, "InvalidAuthorizationMessageException");
|
218
|
+
}
|
219
|
+
name = "InvalidAuthorizationMessageException";
|
220
|
+
$fault = "client";
|
208
221
|
/**
|
209
222
|
* @internal
|
210
223
|
*/
|
@@ -214,13 +227,9 @@ var _InvalidAuthorizationMessageException = class _InvalidAuthorizationMessageEx
|
|
214
227
|
$fault: "client",
|
215
228
|
...opts
|
216
229
|
});
|
217
|
-
this.name = "InvalidAuthorizationMessageException";
|
218
|
-
this.$fault = "client";
|
219
230
|
Object.setPrototypeOf(this, _InvalidAuthorizationMessageException.prototype);
|
220
231
|
}
|
221
232
|
};
|
222
|
-
__name(_InvalidAuthorizationMessageException, "InvalidAuthorizationMessageException");
|
223
|
-
var InvalidAuthorizationMessageException = _InvalidAuthorizationMessageException;
|
224
233
|
var CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
225
234
|
...obj,
|
226
235
|
...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client.SENSITIVE_STRING }
|
@@ -582,7 +591,6 @@ var de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
582
591
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
583
592
|
}, "de_RegionDisabledExceptionRes");
|
584
593
|
var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {
|
585
|
-
var _a2, _b, _c, _d;
|
586
594
|
const entries = {};
|
587
595
|
if (input[_RA] != null) {
|
588
596
|
entries[_RA] = input[_RA];
|
@@ -592,7 +600,7 @@ var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {
|
|
592
600
|
}
|
593
601
|
if (input[_PA] != null) {
|
594
602
|
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
595
|
-
if (
|
603
|
+
if (input[_PA]?.length === 0) {
|
596
604
|
entries.PolicyArns = [];
|
597
605
|
}
|
598
606
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -608,7 +616,7 @@ var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {
|
|
608
616
|
}
|
609
617
|
if (input[_T] != null) {
|
610
618
|
const memberEntries = se_tagListType(input[_T], context);
|
611
|
-
if (
|
619
|
+
if (input[_T]?.length === 0) {
|
612
620
|
entries.Tags = [];
|
613
621
|
}
|
614
622
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -618,7 +626,7 @@ var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {
|
|
618
626
|
}
|
619
627
|
if (input[_TTK] != null) {
|
620
628
|
const memberEntries = se_tagKeyListType(input[_TTK], context);
|
621
|
-
if (
|
629
|
+
if (input[_TTK]?.length === 0) {
|
622
630
|
entries.TransitiveTagKeys = [];
|
623
631
|
}
|
624
632
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -640,7 +648,7 @@ var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {
|
|
640
648
|
}
|
641
649
|
if (input[_PC] != null) {
|
642
650
|
const memberEntries = se_ProvidedContextsListType(input[_PC], context);
|
643
|
-
if (
|
651
|
+
if (input[_PC]?.length === 0) {
|
644
652
|
entries.ProvidedContexts = [];
|
645
653
|
}
|
646
654
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -651,7 +659,6 @@ var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {
|
|
651
659
|
return entries;
|
652
660
|
}, "se_AssumeRoleRequest");
|
653
661
|
var se_AssumeRoleWithSAMLRequest = /* @__PURE__ */ __name((input, context) => {
|
654
|
-
var _a2;
|
655
662
|
const entries = {};
|
656
663
|
if (input[_RA] != null) {
|
657
664
|
entries[_RA] = input[_RA];
|
@@ -664,7 +671,7 @@ var se_AssumeRoleWithSAMLRequest = /* @__PURE__ */ __name((input, context) => {
|
|
664
671
|
}
|
665
672
|
if (input[_PA] != null) {
|
666
673
|
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
667
|
-
if (
|
674
|
+
if (input[_PA]?.length === 0) {
|
668
675
|
entries.PolicyArns = [];
|
669
676
|
}
|
670
677
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -681,7 +688,6 @@ var se_AssumeRoleWithSAMLRequest = /* @__PURE__ */ __name((input, context) => {
|
|
681
688
|
return entries;
|
682
689
|
}, "se_AssumeRoleWithSAMLRequest");
|
683
690
|
var se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {
|
684
|
-
var _a2;
|
685
691
|
const entries = {};
|
686
692
|
if (input[_RA] != null) {
|
687
693
|
entries[_RA] = input[_RA];
|
@@ -697,7 +703,7 @@ var se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context
|
|
697
703
|
}
|
698
704
|
if (input[_PA] != null) {
|
699
705
|
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
700
|
-
if (
|
706
|
+
if (input[_PA]?.length === 0) {
|
701
707
|
entries.PolicyArns = [];
|
702
708
|
}
|
703
709
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -749,7 +755,6 @@ var se_GetCallerIdentityRequest = /* @__PURE__ */ __name((input, context) => {
|
|
749
755
|
return entries;
|
750
756
|
}, "se_GetCallerIdentityRequest");
|
751
757
|
var se_GetFederationTokenRequest = /* @__PURE__ */ __name((input, context) => {
|
752
|
-
var _a2, _b;
|
753
758
|
const entries = {};
|
754
759
|
if (input[_N] != null) {
|
755
760
|
entries[_N] = input[_N];
|
@@ -759,7 +764,7 @@ var se_GetFederationTokenRequest = /* @__PURE__ */ __name((input, context) => {
|
|
759
764
|
}
|
760
765
|
if (input[_PA] != null) {
|
761
766
|
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
762
|
-
if (
|
767
|
+
if (input[_PA]?.length === 0) {
|
763
768
|
entries.PolicyArns = [];
|
764
769
|
}
|
765
770
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -772,7 +777,7 @@ var se_GetFederationTokenRequest = /* @__PURE__ */ __name((input, context) => {
|
|
772
777
|
}
|
773
778
|
if (input[_T] != null) {
|
774
779
|
const memberEntries = se_tagListType(input[_T], context);
|
775
|
-
if (
|
780
|
+
if (input[_T]?.length === 0) {
|
776
781
|
entries.Tags = [];
|
777
782
|
}
|
778
783
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -1189,8 +1194,7 @@ var _a = "arn";
|
|
1189
1194
|
var _m = "message";
|
1190
1195
|
var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString");
|
1191
1196
|
var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
|
1192
|
-
|
1193
|
-
if (((_a2 = data.Error) == null ? void 0 : _a2.Code) !== void 0) {
|
1197
|
+
if (data.Error?.Code !== void 0) {
|
1194
1198
|
return data.Error.Code;
|
1195
1199
|
}
|
1196
1200
|
if (output.statusCode == 404) {
|
@@ -1199,135 +1203,144 @@ var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1199
1203
|
}, "loadQueryErrorCode");
|
1200
1204
|
|
1201
1205
|
// src/commands/AssumeRoleCommand.ts
|
1202
|
-
var
|
1206
|
+
var AssumeRoleCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {
|
1203
1207
|
return [
|
1204
1208
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1205
1209
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1206
1210
|
];
|
1207
1211
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {
|
1212
|
+
static {
|
1213
|
+
__name(this, "AssumeRoleCommand");
|
1214
|
+
}
|
1208
1215
|
};
|
1209
|
-
__name(_AssumeRoleCommand, "AssumeRoleCommand");
|
1210
|
-
var AssumeRoleCommand = _AssumeRoleCommand;
|
1211
1216
|
|
1212
1217
|
// src/commands/AssumeRoleWithSAMLCommand.ts
|
1213
1218
|
|
1214
1219
|
|
1215
1220
|
|
1216
1221
|
var import_EndpointParameters2 = require("./endpoint/EndpointParameters");
|
1217
|
-
var
|
1222
|
+
var AssumeRoleWithSAMLCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {
|
1218
1223
|
return [
|
1219
1224
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1220
1225
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1221
1226
|
];
|
1222
1227
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {}).n("STSClient", "AssumeRoleWithSAMLCommand").f(AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog).ser(se_AssumeRoleWithSAMLCommand).de(de_AssumeRoleWithSAMLCommand).build() {
|
1228
|
+
static {
|
1229
|
+
__name(this, "AssumeRoleWithSAMLCommand");
|
1230
|
+
}
|
1223
1231
|
};
|
1224
|
-
__name(_AssumeRoleWithSAMLCommand, "AssumeRoleWithSAMLCommand");
|
1225
|
-
var AssumeRoleWithSAMLCommand = _AssumeRoleWithSAMLCommand;
|
1226
1232
|
|
1227
1233
|
// src/commands/AssumeRoleWithWebIdentityCommand.ts
|
1228
1234
|
|
1229
1235
|
|
1230
1236
|
|
1231
1237
|
var import_EndpointParameters3 = require("./endpoint/EndpointParameters");
|
1232
|
-
var
|
1238
|
+
var AssumeRoleWithWebIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters3.commonParams).m(function(Command, cs, config, o) {
|
1233
1239
|
return [
|
1234
1240
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1235
1241
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1236
1242
|
];
|
1237
1243
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {
|
1244
|
+
static {
|
1245
|
+
__name(this, "AssumeRoleWithWebIdentityCommand");
|
1246
|
+
}
|
1238
1247
|
};
|
1239
|
-
__name(_AssumeRoleWithWebIdentityCommand, "AssumeRoleWithWebIdentityCommand");
|
1240
|
-
var AssumeRoleWithWebIdentityCommand = _AssumeRoleWithWebIdentityCommand;
|
1241
1248
|
|
1242
1249
|
// src/commands/AssumeRootCommand.ts
|
1243
1250
|
|
1244
1251
|
|
1245
1252
|
|
1246
1253
|
var import_EndpointParameters4 = require("./endpoint/EndpointParameters");
|
1247
|
-
var
|
1254
|
+
var AssumeRootCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters4.commonParams).m(function(Command, cs, config, o) {
|
1248
1255
|
return [
|
1249
1256
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1250
1257
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1251
1258
|
];
|
1252
1259
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoot", {}).n("STSClient", "AssumeRootCommand").f(void 0, AssumeRootResponseFilterSensitiveLog).ser(se_AssumeRootCommand).de(de_AssumeRootCommand).build() {
|
1260
|
+
static {
|
1261
|
+
__name(this, "AssumeRootCommand");
|
1262
|
+
}
|
1253
1263
|
};
|
1254
|
-
__name(_AssumeRootCommand, "AssumeRootCommand");
|
1255
|
-
var AssumeRootCommand = _AssumeRootCommand;
|
1256
1264
|
|
1257
1265
|
// src/commands/DecodeAuthorizationMessageCommand.ts
|
1258
1266
|
|
1259
1267
|
|
1260
1268
|
|
1261
1269
|
var import_EndpointParameters5 = require("./endpoint/EndpointParameters");
|
1262
|
-
var
|
1270
|
+
var DecodeAuthorizationMessageCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters5.commonParams).m(function(Command, cs, config, o) {
|
1263
1271
|
return [
|
1264
1272
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1265
1273
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1266
1274
|
];
|
1267
1275
|
}).s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {}).n("STSClient", "DecodeAuthorizationMessageCommand").f(void 0, void 0).ser(se_DecodeAuthorizationMessageCommand).de(de_DecodeAuthorizationMessageCommand).build() {
|
1276
|
+
static {
|
1277
|
+
__name(this, "DecodeAuthorizationMessageCommand");
|
1278
|
+
}
|
1268
1279
|
};
|
1269
|
-
__name(_DecodeAuthorizationMessageCommand, "DecodeAuthorizationMessageCommand");
|
1270
|
-
var DecodeAuthorizationMessageCommand = _DecodeAuthorizationMessageCommand;
|
1271
1280
|
|
1272
1281
|
// src/commands/GetAccessKeyInfoCommand.ts
|
1273
1282
|
|
1274
1283
|
|
1275
1284
|
|
1276
1285
|
var import_EndpointParameters6 = require("./endpoint/EndpointParameters");
|
1277
|
-
var
|
1286
|
+
var GetAccessKeyInfoCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters6.commonParams).m(function(Command, cs, config, o) {
|
1278
1287
|
return [
|
1279
1288
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1280
1289
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1281
1290
|
];
|
1282
1291
|
}).s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {}).n("STSClient", "GetAccessKeyInfoCommand").f(void 0, void 0).ser(se_GetAccessKeyInfoCommand).de(de_GetAccessKeyInfoCommand).build() {
|
1292
|
+
static {
|
1293
|
+
__name(this, "GetAccessKeyInfoCommand");
|
1294
|
+
}
|
1283
1295
|
};
|
1284
|
-
__name(_GetAccessKeyInfoCommand, "GetAccessKeyInfoCommand");
|
1285
|
-
var GetAccessKeyInfoCommand = _GetAccessKeyInfoCommand;
|
1286
1296
|
|
1287
1297
|
// src/commands/GetCallerIdentityCommand.ts
|
1288
1298
|
|
1289
1299
|
|
1290
1300
|
|
1291
1301
|
var import_EndpointParameters7 = require("./endpoint/EndpointParameters");
|
1292
|
-
var
|
1302
|
+
var GetCallerIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters7.commonParams).m(function(Command, cs, config, o) {
|
1293
1303
|
return [
|
1294
1304
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1295
1305
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1296
1306
|
];
|
1297
1307
|
}).s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {}).n("STSClient", "GetCallerIdentityCommand").f(void 0, void 0).ser(se_GetCallerIdentityCommand).de(de_GetCallerIdentityCommand).build() {
|
1308
|
+
static {
|
1309
|
+
__name(this, "GetCallerIdentityCommand");
|
1310
|
+
}
|
1298
1311
|
};
|
1299
|
-
__name(_GetCallerIdentityCommand, "GetCallerIdentityCommand");
|
1300
|
-
var GetCallerIdentityCommand = _GetCallerIdentityCommand;
|
1301
1312
|
|
1302
1313
|
// src/commands/GetFederationTokenCommand.ts
|
1303
1314
|
|
1304
1315
|
|
1305
1316
|
|
1306
1317
|
var import_EndpointParameters8 = require("./endpoint/EndpointParameters");
|
1307
|
-
var
|
1318
|
+
var GetFederationTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters8.commonParams).m(function(Command, cs, config, o) {
|
1308
1319
|
return [
|
1309
1320
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1310
1321
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1311
1322
|
];
|
1312
1323
|
}).s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {}).n("STSClient", "GetFederationTokenCommand").f(void 0, GetFederationTokenResponseFilterSensitiveLog).ser(se_GetFederationTokenCommand).de(de_GetFederationTokenCommand).build() {
|
1324
|
+
static {
|
1325
|
+
__name(this, "GetFederationTokenCommand");
|
1326
|
+
}
|
1313
1327
|
};
|
1314
|
-
__name(_GetFederationTokenCommand, "GetFederationTokenCommand");
|
1315
|
-
var GetFederationTokenCommand = _GetFederationTokenCommand;
|
1316
1328
|
|
1317
1329
|
// src/commands/GetSessionTokenCommand.ts
|
1318
1330
|
|
1319
1331
|
|
1320
1332
|
|
1321
1333
|
var import_EndpointParameters9 = require("./endpoint/EndpointParameters");
|
1322
|
-
var
|
1334
|
+
var GetSessionTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters9.commonParams).m(function(Command, cs, config, o) {
|
1323
1335
|
return [
|
1324
1336
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1325
1337
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1326
1338
|
];
|
1327
1339
|
}).s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {}).n("STSClient", "GetSessionTokenCommand").f(void 0, GetSessionTokenResponseFilterSensitiveLog).ser(se_GetSessionTokenCommand).de(de_GetSessionTokenCommand).build() {
|
1340
|
+
static {
|
1341
|
+
__name(this, "GetSessionTokenCommand");
|
1342
|
+
}
|
1328
1343
|
};
|
1329
|
-
__name(_GetSessionTokenCommand, "GetSessionTokenCommand");
|
1330
|
-
var GetSessionTokenCommand = _GetSessionTokenCommand;
|
1331
1344
|
|
1332
1345
|
// src/STS.ts
|
1333
1346
|
var import_STSClient = require("././STSClient");
|
@@ -1342,10 +1355,11 @@ var commands = {
|
|
1342
1355
|
GetFederationTokenCommand,
|
1343
1356
|
GetSessionTokenCommand
|
1344
1357
|
};
|
1345
|
-
var
|
1358
|
+
var STS = class extends import_STSClient.STSClient {
|
1359
|
+
static {
|
1360
|
+
__name(this, "STS");
|
1361
|
+
}
|
1346
1362
|
};
|
1347
|
-
__name(_STS, "STS");
|
1348
|
-
var STS = _STS;
|
1349
1363
|
(0, import_smithy_client.createAggregatedClient)(commands, STS);
|
1350
1364
|
|
1351
1365
|
// src/index.ts
|
@@ -1355,7 +1369,7 @@ var import_EndpointParameters10 = require("./endpoint/EndpointParameters");
|
|
1355
1369
|
var import_client = require("@aws-sdk/core/client");
|
1356
1370
|
var ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
1357
1371
|
var getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {
|
1358
|
-
if (typeof
|
1372
|
+
if (typeof assumedRoleUser?.Arn === "string") {
|
1359
1373
|
const arnComponents = assumedRoleUser.Arn.split(":");
|
1360
1374
|
if (arnComponents.length > 4 && arnComponents[4] !== "") {
|
1361
1375
|
return arnComponents[4];
|
@@ -1364,11 +1378,9 @@ var getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) =
|
|
1364
1378
|
return void 0;
|
1365
1379
|
}, "getAccountIdFromAssumedRoleUser");
|
1366
1380
|
var resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {
|
1367
|
-
var _a2;
|
1368
1381
|
const region = typeof _region === "function" ? await _region() : _region;
|
1369
1382
|
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
1370
|
-
|
1371
|
-
credentialProviderLogger,
|
1383
|
+
credentialProviderLogger?.debug?.(
|
1372
1384
|
"@aws-sdk/client-sts::resolveRegion",
|
1373
1385
|
"accepting first of:",
|
1374
1386
|
`${region} (provider)`,
|
@@ -1381,18 +1393,17 @@ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) =
|
|
1381
1393
|
let stsClient;
|
1382
1394
|
let closureSourceCreds;
|
1383
1395
|
return async (sourceCreds, params) => {
|
1384
|
-
var _a2, _b, _c;
|
1385
1396
|
closureSourceCreds = sourceCreds;
|
1386
1397
|
if (!stsClient) {
|
1387
1398
|
const {
|
1388
|
-
logger =
|
1399
|
+
logger = stsOptions?.parentClientConfig?.logger,
|
1389
1400
|
region,
|
1390
|
-
requestHandler =
|
1401
|
+
requestHandler = stsOptions?.parentClientConfig?.requestHandler,
|
1391
1402
|
credentialProviderLogger
|
1392
1403
|
} = stsOptions;
|
1393
1404
|
const resolvedRegion = await resolveRegion(
|
1394
1405
|
region,
|
1395
|
-
|
1406
|
+
stsOptions?.parentClientConfig?.region,
|
1396
1407
|
credentialProviderLogger
|
1397
1408
|
);
|
1398
1409
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
@@ -1425,17 +1436,16 @@ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) =
|
|
1425
1436
|
var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, stsClientCtor) => {
|
1426
1437
|
let stsClient;
|
1427
1438
|
return async (params) => {
|
1428
|
-
var _a2, _b, _c;
|
1429
1439
|
if (!stsClient) {
|
1430
1440
|
const {
|
1431
|
-
logger =
|
1441
|
+
logger = stsOptions?.parentClientConfig?.logger,
|
1432
1442
|
region,
|
1433
|
-
requestHandler =
|
1443
|
+
requestHandler = stsOptions?.parentClientConfig?.requestHandler,
|
1434
1444
|
credentialProviderLogger
|
1435
1445
|
} = stsOptions;
|
1436
1446
|
const resolvedRegion = await resolveRegion(
|
1437
1447
|
region,
|
1438
|
-
|
1448
|
+
stsOptions?.parentClientConfig?.region,
|
1439
1449
|
credentialProviderLogger
|
1440
1450
|
);
|
1441
1451
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
@@ -1467,25 +1477,26 @@ var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, s
|
|
1467
1477
|
};
|
1468
1478
|
}, "getDefaultRoleAssumerWithWebIdentity");
|
1469
1479
|
var isH2 = /* @__PURE__ */ __name((requestHandler) => {
|
1470
|
-
|
1471
|
-
return ((_a2 = requestHandler == null ? void 0 : requestHandler.metadata) == null ? void 0 : _a2.handlerProtocol) === "h2";
|
1480
|
+
return requestHandler?.metadata?.handlerProtocol === "h2";
|
1472
1481
|
}, "isH2");
|
1473
1482
|
|
1474
1483
|
// src/defaultRoleAssumers.ts
|
1475
1484
|
var import_STSClient2 = require("././STSClient");
|
1476
1485
|
var getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {
|
1477
|
-
var _a2;
|
1478
1486
|
if (!customizations)
|
1479
1487
|
return baseCtor;
|
1480
1488
|
else
|
1481
|
-
return
|
1489
|
+
return class CustomizableSTSClient extends baseCtor {
|
1490
|
+
static {
|
1491
|
+
__name(this, "CustomizableSTSClient");
|
1492
|
+
}
|
1482
1493
|
constructor(config) {
|
1483
1494
|
super(config);
|
1484
1495
|
for (const customization of customizations) {
|
1485
1496
|
this.middlewareStack.use(customization);
|
1486
1497
|
}
|
1487
1498
|
}
|
1488
|
-
}
|
1499
|
+
};
|
1489
1500
|
}, "getCustomizableStsClientCtor");
|
1490
1501
|
var getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), "getDefaultRoleAssumer");
|
1491
1502
|
var getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), "getDefaultRoleAssumerWithWebIdentity");
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
15
15
|
export { __Client };
|
16
16
|
export class STSClient extends __Client {
|
17
|
+
config;
|
17
18
|
constructor(...[configuration]) {
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|