@aws-sdk/client-sts 3.1019.0 → 3.1021.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-es/STS.js +2 -2
- package/dist-types/STS.d.ts +11 -11
- package/dist-types/STSClient.d.ts +14 -14
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/ts3.4/STSClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/package.json +15 -15
package/dist-es/STS.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
-
import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
|
|
2
|
+
import { AssumeRoleCommand, } from "./commands/AssumeRoleCommand";
|
|
3
3
|
import { AssumeRoleWithSAMLCommand, } from "./commands/AssumeRoleWithSAMLCommand";
|
|
4
4
|
import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
5
|
-
import { AssumeRootCommand } from "./commands/AssumeRootCommand";
|
|
5
|
+
import { AssumeRootCommand, } from "./commands/AssumeRootCommand";
|
|
6
6
|
import { DecodeAuthorizationMessageCommand, } from "./commands/DecodeAuthorizationMessageCommand";
|
|
7
7
|
import { GetAccessKeyInfoCommand, } from "./commands/GetAccessKeyInfoCommand";
|
|
8
8
|
import { GetCallerIdentityCommand, } from "./commands/GetCallerIdentityCommand";
|
package/dist-types/STS.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
-
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
3
|
-
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
4
|
-
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
5
|
-
import { AssumeRootCommandInput, AssumeRootCommandOutput } from "./commands/AssumeRootCommand";
|
|
6
|
-
import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "./commands/DecodeAuthorizationMessageCommand";
|
|
7
|
-
import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "./commands/GetAccessKeyInfoCommand";
|
|
8
|
-
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
|
|
9
|
-
import { GetDelegatedAccessTokenCommandInput, GetDelegatedAccessTokenCommandOutput } from "./commands/GetDelegatedAccessTokenCommand";
|
|
10
|
-
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
|
|
11
|
-
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
|
12
|
-
import { GetWebIdentityTokenCommandInput, GetWebIdentityTokenCommandOutput } from "./commands/GetWebIdentityTokenCommand";
|
|
2
|
+
import { type AssumeRoleCommandInput, type AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
3
|
+
import { type AssumeRoleWithSAMLCommandInput, type AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
4
|
+
import { type AssumeRoleWithWebIdentityCommandInput, type AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
5
|
+
import { type AssumeRootCommandInput, type AssumeRootCommandOutput } from "./commands/AssumeRootCommand";
|
|
6
|
+
import { type DecodeAuthorizationMessageCommandInput, type DecodeAuthorizationMessageCommandOutput } from "./commands/DecodeAuthorizationMessageCommand";
|
|
7
|
+
import { type GetAccessKeyInfoCommandInput, type GetAccessKeyInfoCommandOutput } from "./commands/GetAccessKeyInfoCommand";
|
|
8
|
+
import { type GetCallerIdentityCommandInput, type GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
|
|
9
|
+
import { type GetDelegatedAccessTokenCommandInput, type GetDelegatedAccessTokenCommandOutput } from "./commands/GetDelegatedAccessTokenCommand";
|
|
10
|
+
import { type GetFederationTokenCommandInput, type GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
|
|
11
|
+
import { type GetSessionTokenCommandInput, type GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
|
12
|
+
import { type GetWebIdentityTokenCommandInput, type GetWebIdentityTokenCommandOutput } from "./commands/GetWebIdentityTokenCommand";
|
|
13
13
|
import { STSClient } from "./STSClient";
|
|
14
14
|
export interface STS {
|
|
15
15
|
/**
|
|
@@ -5,20 +5,20 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import {
|
|
8
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
-
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
11
|
-
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
12
|
-
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
13
|
-
import { AssumeRootCommandInput, AssumeRootCommandOutput } from "./commands/AssumeRootCommand";
|
|
14
|
-
import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "./commands/DecodeAuthorizationMessageCommand";
|
|
15
|
-
import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "./commands/GetAccessKeyInfoCommand";
|
|
16
|
-
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
|
|
17
|
-
import { GetDelegatedAccessTokenCommandInput, GetDelegatedAccessTokenCommandOutput } from "./commands/GetDelegatedAccessTokenCommand";
|
|
18
|
-
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
|
|
19
|
-
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
|
20
|
-
import { GetWebIdentityTokenCommandInput, GetWebIdentityTokenCommandOutput } from "./commands/GetWebIdentityTokenCommand";
|
|
21
|
-
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
10
|
+
import type { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
11
|
+
import type { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
12
|
+
import type { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
13
|
+
import type { AssumeRootCommandInput, AssumeRootCommandOutput } from "./commands/AssumeRootCommand";
|
|
14
|
+
import type { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "./commands/DecodeAuthorizationMessageCommand";
|
|
15
|
+
import type { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "./commands/GetAccessKeyInfoCommand";
|
|
16
|
+
import type { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
|
|
17
|
+
import type { GetDelegatedAccessTokenCommandInput, GetDelegatedAccessTokenCommandOutput } from "./commands/GetDelegatedAccessTokenCommand";
|
|
18
|
+
import type { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
|
|
19
|
+
import type { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
|
20
|
+
import type { GetWebIdentityTokenCommandInput, GetWebIdentityTokenCommandOutput } from "./commands/GetWebIdentityTokenCommand";
|
|
21
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
22
22
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
23
23
|
export { __Client };
|
|
24
24
|
/**
|
|
@@ -127,7 +127,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
127
127
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
128
128
|
* @internal
|
|
129
129
|
*/
|
|
130
|
-
defaultUserAgentProvider?:
|
|
130
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
131
131
|
/**
|
|
132
132
|
* Default credentials provider; Not available in browser runtime.
|
|
133
133
|
* @deprecated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import {
|
|
2
|
+
import type { Client, HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { type STSClientResolvedConfig } from "../STSClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export * from "./STSClient";
|
|
10
10
|
export * from "./STS";
|
|
11
|
-
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
11
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
12
12
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
13
13
|
export type { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
29
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -37,8 +38,6 @@ import {
|
|
|
37
38
|
Provider as __Provider,
|
|
38
39
|
StreamCollector as __StreamCollector,
|
|
39
40
|
UrlParser as __UrlParser,
|
|
40
|
-
AwsCredentialIdentityProvider,
|
|
41
|
-
Provider,
|
|
42
41
|
UserAgent as __UserAgent,
|
|
43
42
|
} from "@smithy/types";
|
|
44
43
|
import {
|
|
@@ -138,7 +137,7 @@ export interface ClientDefaults
|
|
|
138
137
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
139
138
|
region?: string | __Provider<string>;
|
|
140
139
|
profile?: string;
|
|
141
|
-
defaultUserAgentProvider?:
|
|
140
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
142
141
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
143
142
|
maxAttempts?: number | __Provider<number>;
|
|
144
143
|
retryMode?: string | __Provider<string>;
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
AwsSdkSigV4PreviouslyResolved,
|
|
5
5
|
} from "@aws-sdk/core/httpAuthSchemes";
|
|
6
6
|
import {
|
|
7
|
+
Client,
|
|
7
8
|
HandlerExecutionContext,
|
|
8
9
|
HttpAuthScheme,
|
|
9
10
|
HttpAuthSchemeParameters,
|
|
10
11
|
HttpAuthSchemeParametersProvider,
|
|
11
12
|
HttpAuthSchemeProvider,
|
|
12
13
|
Provider,
|
|
13
|
-
Client,
|
|
14
14
|
} from "@smithy/types";
|
|
15
15
|
import { STSClientResolvedConfig } from "../STSClient";
|
|
16
16
|
export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
package/package.json
CHANGED
|
@@ -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.1021.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sts",
|
|
@@ -27,46 +27,46 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.973.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
+
"@aws-sdk/core": "^3.973.26",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.29",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
33
33
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "^3.972.28",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
37
37
|
"@aws-sdk/types": "^3.973.6",
|
|
38
38
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "^3.973.14",
|
|
41
41
|
"@smithy/config-resolver": "^4.4.13",
|
|
42
|
-
"@smithy/core": "^3.23.
|
|
42
|
+
"@smithy/core": "^3.23.13",
|
|
43
43
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
44
44
|
"@smithy/hash-node": "^4.2.12",
|
|
45
45
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
46
46
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
48
|
-
"@smithy/middleware-retry": "^4.4.
|
|
49
|
-
"@smithy/middleware-serde": "^4.2.
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
48
|
+
"@smithy/middleware-retry": "^4.4.46",
|
|
49
|
+
"@smithy/middleware-serde": "^4.2.16",
|
|
50
50
|
"@smithy/middleware-stack": "^4.2.12",
|
|
51
51
|
"@smithy/node-config-provider": "^4.3.12",
|
|
52
|
-
"@smithy/node-http-handler": "^4.5.
|
|
52
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
53
53
|
"@smithy/protocol-http": "^5.3.12",
|
|
54
|
-
"@smithy/smithy-client": "^4.12.
|
|
54
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
55
55
|
"@smithy/types": "^4.13.1",
|
|
56
56
|
"@smithy/url-parser": "^4.2.12",
|
|
57
57
|
"@smithy/util-base64": "^4.3.2",
|
|
58
58
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
59
59
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.3.44",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
62
62
|
"@smithy/util-endpoints": "^3.3.3",
|
|
63
63
|
"@smithy/util-middleware": "^4.2.12",
|
|
64
|
-
"@smithy/util-retry": "^4.2.
|
|
64
|
+
"@smithy/util-retry": "^4.2.13",
|
|
65
65
|
"@smithy/util-utf8": "^4.2.2",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@smithy/snapshot-testing": "^2.0.
|
|
69
|
+
"@smithy/snapshot-testing": "^2.0.4",
|
|
70
70
|
"@tsconfig/node20": "20.1.8",
|
|
71
71
|
"@types/node": "^20.14.8",
|
|
72
72
|
"concurrently": "7.0.0",
|