@aws-sdk/client-sts 3.33.0 → 3.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/STS.js +1 -9
- package/dist-cjs/STSClient.js +34 -0
- package/dist-cjs/commands/AssumeRoleCommand.js +38 -0
- package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +36 -0
- package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +36 -0
- package/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +38 -0
- package/dist-cjs/commands/GetAccessKeyInfoCommand.js +38 -0
- package/dist-cjs/commands/GetCallerIdentityCommand.js +38 -0
- package/dist-cjs/commands/GetFederationTokenCommand.js +38 -0
- package/dist-cjs/commands/GetSessionTokenCommand.js +38 -0
- package/{dist/cjs → dist-cjs}/defaultRoleAssumers.js +0 -17
- package/{dist/cjs → dist-cjs}/defaultStsRoleAssumers.js +0 -21
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -88
- package/{dist/cjs → dist-cjs}/protocols/Aws_query.js +22 -25
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/STS.js +2 -10
- package/{dist/es → dist-es}/STSClient.js +2 -15
- package/dist-es/commands/AssumeRoleCommand.js +41 -0
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +39 -0
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +39 -0
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +41 -0
- package/dist-es/commands/GetAccessKeyInfoCommand.js +41 -0
- package/{dist/es → dist-es}/commands/GetCallerIdentityCommand.js +4 -39
- package/dist-es/commands/GetFederationTokenCommand.js +41 -0
- package/dist-es/commands/GetSessionTokenCommand.js +41 -0
- package/dist-es/defaultRoleAssumers.js +16 -0
- package/{dist/es → dist-es}/defaultStsRoleAssumers.js +10 -32
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -88
- package/{dist/es → dist-es}/protocols/Aws_query.js +152 -155
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/STS.d.ts +2 -2
- package/{dist/types → dist-types}/STSClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AssumeRoleCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssumeRoleWithSAMLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DecodeAuthorizationMessageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetAccessKeyInfoCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetCallerIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetFederationTokenCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetSessionTokenCommand.d.ts +3 -3
- package/{dist/types → dist-types}/defaultRoleAssumers.d.ts +0 -0
- package/{dist/types → dist-types}/defaultStsRoleAssumers.d.ts +0 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_query.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/STS.d.ts +45 -0
- package/{dist/types → dist-types}/ts3.4/STSClient.d.ts +32 -101
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/defaultRoleAssumers.d.ts +8 -0
- package/{dist/types → dist-types}/ts3.4/defaultStsRoleAssumers.d.ts +6 -25
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +367 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_query.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/STS.ts +0 -896
- package/STSClient.ts +0 -263
- package/commands/AssumeRoleCommand.ts +0 -176
- package/commands/AssumeRoleWithSAMLCommand.ts +0 -225
- package/commands/AssumeRoleWithWebIdentityCommand.ts +0 -232
- package/commands/DecodeAuthorizationMessageCommand.ts +0 -134
- package/commands/GetAccessKeyInfoCommand.ts +0 -113
- package/commands/GetCallerIdentityCommand.ts +0 -105
- package/commands/GetFederationTokenCommand.ts +0 -234
- package/commands/GetSessionTokenCommand.ts +0 -147
- package/defaultRoleAssumers.spec.ts +0 -148
- package/defaultRoleAssumers.ts +0 -41
- package/defaultStsRoleAssumers.ts +0 -126
- package/dist/cjs/STS.js.map +0 -1
- package/dist/cjs/STSClient.js +0 -47
- package/dist/cjs/STSClient.js.map +0 -1
- package/dist/cjs/commands/AssumeRoleCommand.js +0 -146
- package/dist/cjs/commands/AssumeRoleCommand.js.map +0 -1
- package/dist/cjs/commands/AssumeRoleWithSAMLCommand.js +0 -192
- package/dist/cjs/commands/AssumeRoleWithSAMLCommand.js.map +0 -1
- package/dist/cjs/commands/AssumeRoleWithWebIdentityCommand.js +0 -196
- package/dist/cjs/commands/AssumeRoleWithWebIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/DecodeAuthorizationMessageCommand.js +0 -98
- package/dist/cjs/commands/DecodeAuthorizationMessageCommand.js.map +0 -1
- package/dist/cjs/commands/GetAccessKeyInfoCommand.js +0 -80
- package/dist/cjs/commands/GetAccessKeyInfoCommand.js.map +0 -1
- package/dist/cjs/commands/GetCallerIdentityCommand.js +0 -72
- package/dist/cjs/commands/GetCallerIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/GetFederationTokenCommand.js +0 -201
- package/dist/cjs/commands/GetFederationTokenCommand.js.map +0 -1
- package/dist/cjs/commands/GetSessionTokenCommand.js +0 -114
- package/dist/cjs/commands/GetSessionTokenCommand.js.map +0 -1
- package/dist/cjs/defaultRoleAssumers.js.map +0 -1
- package/dist/cjs/defaultRoleAssumers.spec.js +0 -135
- package/dist/cjs/defaultRoleAssumers.spec.js.map +0 -1
- package/dist/cjs/defaultStsRoleAssumers.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/protocols/Aws_query.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/STS.js.map +0 -1
- package/dist/es/STSClient.js.map +0 -1
- package/dist/es/commands/AssumeRoleCommand.js +0 -150
- package/dist/es/commands/AssumeRoleCommand.js.map +0 -1
- package/dist/es/commands/AssumeRoleWithSAMLCommand.js +0 -196
- package/dist/es/commands/AssumeRoleWithSAMLCommand.js.map +0 -1
- package/dist/es/commands/AssumeRoleWithWebIdentityCommand.js +0 -200
- package/dist/es/commands/AssumeRoleWithWebIdentityCommand.js.map +0 -1
- package/dist/es/commands/DecodeAuthorizationMessageCommand.js +0 -102
- package/dist/es/commands/DecodeAuthorizationMessageCommand.js.map +0 -1
- package/dist/es/commands/GetAccessKeyInfoCommand.js +0 -84
- package/dist/es/commands/GetAccessKeyInfoCommand.js.map +0 -1
- package/dist/es/commands/GetCallerIdentityCommand.js.map +0 -1
- package/dist/es/commands/GetFederationTokenCommand.js +0 -205
- package/dist/es/commands/GetFederationTokenCommand.js.map +0 -1
- package/dist/es/commands/GetSessionTokenCommand.js +0 -118
- package/dist/es/commands/GetSessionTokenCommand.js.map +0 -1
- package/dist/es/defaultRoleAssumers.js +0 -33
- package/dist/es/defaultRoleAssumers.js.map +0 -1
- package/dist/es/defaultRoleAssumers.spec.js +0 -142
- package/dist/es/defaultRoleAssumers.spec.js.map +0 -1
- package/dist/es/defaultStsRoleAssumers.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -13
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/protocols/Aws_query.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/defaultRoleAssumers.spec.d.ts +0 -1
- package/dist/types/ts3.4/STS.d.ts +0 -666
- package/dist/types/ts3.4/commands/AssumeRoleCommand.d.ts +0 -118
- package/dist/types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +0 -166
- package/dist/types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -170
- package/dist/types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +0 -70
- package/dist/types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/GetCallerIdentityCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/GetFederationTokenCommand.d.ts +0 -173
- package/dist/types/ts3.4/commands/GetSessionTokenCommand.d.ts +0 -86
- package/dist/types/ts3.4/defaultRoleAssumers.d.ts +0 -19
- package/dist/types/ts3.4/defaultRoleAssumers.spec.d.ts +0 -1
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1192
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1361
- package/protocols/Aws_query.ts +0 -1513
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
|
+
export interface GetFederationTokenCommandInput extends GetFederationTokenRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetFederationTokenCommandOutput extends GetFederationTokenResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetFederationTokenCommand extends $Command<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig> {
|
|
11
|
+
readonly input: GetFederationTokenCommandInput;
|
|
12
|
+
constructor(input: GetFederationTokenCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFederationTokenCommandInput, GetFederationTokenCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
|
+
export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetSessionTokenCommand extends $Command<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig> {
|
|
11
|
+
readonly input: GetSessionTokenCommandInput;
|
|
12
|
+
constructor(input: GetSessionTokenCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionTokenCommandInput, GetSessionTokenCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity } from "./defaultStsRoleAssumers";
|
|
2
|
+
import { STSClientConfig } from "./STSClient";
|
|
3
|
+
|
|
4
|
+
export declare const getDefaultRoleAssumer: (stsOptions?: Pick<STSClientConfig, "logger" | "region" | "requestHandler">) => RoleAssumer;
|
|
5
|
+
|
|
6
|
+
export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions?: Pick<STSClientConfig, "logger" | "region" | "requestHandler">) => RoleAssumerWithWebIdentity;
|
|
7
|
+
|
|
8
|
+
export declare const decorateDefaultCredentialProvider: (provider: DefaultCredentialProvider) => DefaultCredentialProvider;
|
|
@@ -2,34 +2,15 @@ import { Credentials, Provider } from "@aws-sdk/types";
|
|
|
2
2
|
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
3
3
|
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
4
4
|
import { STSClient, STSClientConfig } from "./STSClient";
|
|
5
|
-
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
5
|
+
|
|
8
6
|
export declare type RoleAssumer = (sourceCreds: Credentials, params: AssumeRoleCommandInput) => Promise<Credentials>;
|
|
9
|
-
|
|
10
|
-
* The default role assumer that used by credential providers when sts:AssumeRole API is needed.
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
7
|
+
|
|
13
8
|
export declare const getDefaultRoleAssumer: (stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">, stsClientCtor: new (options: STSClientConfig) => STSClient) => RoleAssumer;
|
|
14
|
-
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
9
|
+
|
|
17
10
|
export declare type RoleAssumerWithWebIdentity = (params: AssumeRoleWithWebIdentityCommandInput) => Promise<Credentials>;
|
|
18
|
-
|
|
19
|
-
* The default role assumer that used by credential providers when sts:AssumeRoleWithWebIdentity API is needed.
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
11
|
+
|
|
22
12
|
export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">, stsClientCtor: new (options: STSClientConfig) => STSClient) => RoleAssumerWithWebIdentity;
|
|
23
|
-
|
|
24
|
-
* @internal
|
|
25
|
-
*/
|
|
13
|
+
|
|
26
14
|
export declare type DefaultCredentialProvider = (input: any) => Provider<Credentials>;
|
|
27
|
-
|
|
28
|
-
* The default credential providers depend STS client to assume role with desired API: sts:assumeRole,
|
|
29
|
-
* sts:assumeRoleWithWebIdentity, etc. This function decorates the default credential provider with role assumers which
|
|
30
|
-
* encapsulates the process of calling STS commands. This can only be imported by AWS client packages to avoid circular
|
|
31
|
-
* dependencies.
|
|
32
|
-
*
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
15
|
+
|
|
35
16
|
export declare const decorateDefaultCredentialProvider: (provider: DefaultCredentialProvider) => DefaultCredentialProvider;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
export interface AssumedRoleUser {
|
|
4
|
+
|
|
5
|
+
AssumedRoleId: string | undefined;
|
|
6
|
+
|
|
7
|
+
Arn: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace AssumedRoleUser {
|
|
10
|
+
|
|
11
|
+
const filterSensitiveLog: (obj: AssumedRoleUser) => any;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface PolicyDescriptorType {
|
|
15
|
+
|
|
16
|
+
arn?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace PolicyDescriptorType {
|
|
19
|
+
|
|
20
|
+
const filterSensitiveLog: (obj: PolicyDescriptorType) => any;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface Tag {
|
|
24
|
+
|
|
25
|
+
Key: string | undefined;
|
|
26
|
+
|
|
27
|
+
Value: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace Tag {
|
|
30
|
+
|
|
31
|
+
const filterSensitiveLog: (obj: Tag) => any;
|
|
32
|
+
}
|
|
33
|
+
export interface AssumeRoleRequest {
|
|
34
|
+
|
|
35
|
+
RoleArn: string | undefined;
|
|
36
|
+
|
|
37
|
+
RoleSessionName: string | undefined;
|
|
38
|
+
|
|
39
|
+
PolicyArns?: PolicyDescriptorType[];
|
|
40
|
+
|
|
41
|
+
Policy?: string;
|
|
42
|
+
|
|
43
|
+
DurationSeconds?: number;
|
|
44
|
+
|
|
45
|
+
Tags?: Tag[];
|
|
46
|
+
|
|
47
|
+
TransitiveTagKeys?: string[];
|
|
48
|
+
|
|
49
|
+
ExternalId?: string;
|
|
50
|
+
|
|
51
|
+
SerialNumber?: string;
|
|
52
|
+
|
|
53
|
+
TokenCode?: string;
|
|
54
|
+
|
|
55
|
+
SourceIdentity?: string;
|
|
56
|
+
}
|
|
57
|
+
export declare namespace AssumeRoleRequest {
|
|
58
|
+
|
|
59
|
+
const filterSensitiveLog: (obj: AssumeRoleRequest) => any;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface Credentials {
|
|
63
|
+
|
|
64
|
+
AccessKeyId: string | undefined;
|
|
65
|
+
|
|
66
|
+
SecretAccessKey: string | undefined;
|
|
67
|
+
|
|
68
|
+
SessionToken: string | undefined;
|
|
69
|
+
|
|
70
|
+
Expiration: Date | undefined;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace Credentials {
|
|
73
|
+
|
|
74
|
+
const filterSensitiveLog: (obj: Credentials) => any;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface AssumeRoleResponse {
|
|
78
|
+
|
|
79
|
+
Credentials?: Credentials;
|
|
80
|
+
|
|
81
|
+
AssumedRoleUser?: AssumedRoleUser;
|
|
82
|
+
|
|
83
|
+
PackedPolicySize?: number;
|
|
84
|
+
|
|
85
|
+
SourceIdentity?: string;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace AssumeRoleResponse {
|
|
88
|
+
|
|
89
|
+
const filterSensitiveLog: (obj: AssumeRoleResponse) => any;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface ExpiredTokenException extends __SmithyException, $MetadataBearer {
|
|
93
|
+
name: "ExpiredTokenException";
|
|
94
|
+
$fault: "client";
|
|
95
|
+
message?: string;
|
|
96
|
+
}
|
|
97
|
+
export declare namespace ExpiredTokenException {
|
|
98
|
+
|
|
99
|
+
const filterSensitiveLog: (obj: ExpiredTokenException) => any;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface MalformedPolicyDocumentException extends __SmithyException, $MetadataBearer {
|
|
103
|
+
name: "MalformedPolicyDocumentException";
|
|
104
|
+
$fault: "client";
|
|
105
|
+
message?: string;
|
|
106
|
+
}
|
|
107
|
+
export declare namespace MalformedPolicyDocumentException {
|
|
108
|
+
|
|
109
|
+
const filterSensitiveLog: (obj: MalformedPolicyDocumentException) => any;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export interface PackedPolicyTooLargeException extends __SmithyException, $MetadataBearer {
|
|
113
|
+
name: "PackedPolicyTooLargeException";
|
|
114
|
+
$fault: "client";
|
|
115
|
+
message?: string;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace PackedPolicyTooLargeException {
|
|
118
|
+
|
|
119
|
+
const filterSensitiveLog: (obj: PackedPolicyTooLargeException) => any;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface RegionDisabledException extends __SmithyException, $MetadataBearer {
|
|
123
|
+
name: "RegionDisabledException";
|
|
124
|
+
$fault: "client";
|
|
125
|
+
message?: string;
|
|
126
|
+
}
|
|
127
|
+
export declare namespace RegionDisabledException {
|
|
128
|
+
|
|
129
|
+
const filterSensitiveLog: (obj: RegionDisabledException) => any;
|
|
130
|
+
}
|
|
131
|
+
export interface AssumeRoleWithSAMLRequest {
|
|
132
|
+
|
|
133
|
+
RoleArn: string | undefined;
|
|
134
|
+
|
|
135
|
+
PrincipalArn: string | undefined;
|
|
136
|
+
|
|
137
|
+
SAMLAssertion: string | undefined;
|
|
138
|
+
|
|
139
|
+
PolicyArns?: PolicyDescriptorType[];
|
|
140
|
+
|
|
141
|
+
Policy?: string;
|
|
142
|
+
|
|
143
|
+
DurationSeconds?: number;
|
|
144
|
+
}
|
|
145
|
+
export declare namespace AssumeRoleWithSAMLRequest {
|
|
146
|
+
|
|
147
|
+
const filterSensitiveLog: (obj: AssumeRoleWithSAMLRequest) => any;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export interface AssumeRoleWithSAMLResponse {
|
|
151
|
+
|
|
152
|
+
Credentials?: Credentials;
|
|
153
|
+
|
|
154
|
+
AssumedRoleUser?: AssumedRoleUser;
|
|
155
|
+
|
|
156
|
+
PackedPolicySize?: number;
|
|
157
|
+
|
|
158
|
+
Subject?: string;
|
|
159
|
+
|
|
160
|
+
SubjectType?: string;
|
|
161
|
+
|
|
162
|
+
Issuer?: string;
|
|
163
|
+
|
|
164
|
+
Audience?: string;
|
|
165
|
+
|
|
166
|
+
NameQualifier?: string;
|
|
167
|
+
|
|
168
|
+
SourceIdentity?: string;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace AssumeRoleWithSAMLResponse {
|
|
171
|
+
|
|
172
|
+
const filterSensitiveLog: (obj: AssumeRoleWithSAMLResponse) => any;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export interface IDPRejectedClaimException extends __SmithyException, $MetadataBearer {
|
|
176
|
+
name: "IDPRejectedClaimException";
|
|
177
|
+
$fault: "client";
|
|
178
|
+
message?: string;
|
|
179
|
+
}
|
|
180
|
+
export declare namespace IDPRejectedClaimException {
|
|
181
|
+
|
|
182
|
+
const filterSensitiveLog: (obj: IDPRejectedClaimException) => any;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export interface InvalidIdentityTokenException extends __SmithyException, $MetadataBearer {
|
|
186
|
+
name: "InvalidIdentityTokenException";
|
|
187
|
+
$fault: "client";
|
|
188
|
+
message?: string;
|
|
189
|
+
}
|
|
190
|
+
export declare namespace InvalidIdentityTokenException {
|
|
191
|
+
|
|
192
|
+
const filterSensitiveLog: (obj: InvalidIdentityTokenException) => any;
|
|
193
|
+
}
|
|
194
|
+
export interface AssumeRoleWithWebIdentityRequest {
|
|
195
|
+
|
|
196
|
+
RoleArn: string | undefined;
|
|
197
|
+
|
|
198
|
+
RoleSessionName: string | undefined;
|
|
199
|
+
|
|
200
|
+
WebIdentityToken: string | undefined;
|
|
201
|
+
|
|
202
|
+
ProviderId?: string;
|
|
203
|
+
|
|
204
|
+
PolicyArns?: PolicyDescriptorType[];
|
|
205
|
+
|
|
206
|
+
Policy?: string;
|
|
207
|
+
|
|
208
|
+
DurationSeconds?: number;
|
|
209
|
+
}
|
|
210
|
+
export declare namespace AssumeRoleWithWebIdentityRequest {
|
|
211
|
+
|
|
212
|
+
const filterSensitiveLog: (obj: AssumeRoleWithWebIdentityRequest) => any;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export interface AssumeRoleWithWebIdentityResponse {
|
|
216
|
+
|
|
217
|
+
Credentials?: Credentials;
|
|
218
|
+
|
|
219
|
+
SubjectFromWebIdentityToken?: string;
|
|
220
|
+
|
|
221
|
+
AssumedRoleUser?: AssumedRoleUser;
|
|
222
|
+
|
|
223
|
+
PackedPolicySize?: number;
|
|
224
|
+
|
|
225
|
+
Provider?: string;
|
|
226
|
+
|
|
227
|
+
Audience?: string;
|
|
228
|
+
|
|
229
|
+
SourceIdentity?: string;
|
|
230
|
+
}
|
|
231
|
+
export declare namespace AssumeRoleWithWebIdentityResponse {
|
|
232
|
+
|
|
233
|
+
const filterSensitiveLog: (obj: AssumeRoleWithWebIdentityResponse) => any;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export interface IDPCommunicationErrorException extends __SmithyException, $MetadataBearer {
|
|
237
|
+
name: "IDPCommunicationErrorException";
|
|
238
|
+
$fault: "client";
|
|
239
|
+
message?: string;
|
|
240
|
+
}
|
|
241
|
+
export declare namespace IDPCommunicationErrorException {
|
|
242
|
+
|
|
243
|
+
const filterSensitiveLog: (obj: IDPCommunicationErrorException) => any;
|
|
244
|
+
}
|
|
245
|
+
export interface DecodeAuthorizationMessageRequest {
|
|
246
|
+
|
|
247
|
+
EncodedMessage: string | undefined;
|
|
248
|
+
}
|
|
249
|
+
export declare namespace DecodeAuthorizationMessageRequest {
|
|
250
|
+
|
|
251
|
+
const filterSensitiveLog: (obj: DecodeAuthorizationMessageRequest) => any;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export interface DecodeAuthorizationMessageResponse {
|
|
255
|
+
|
|
256
|
+
DecodedMessage?: string;
|
|
257
|
+
}
|
|
258
|
+
export declare namespace DecodeAuthorizationMessageResponse {
|
|
259
|
+
|
|
260
|
+
const filterSensitiveLog: (obj: DecodeAuthorizationMessageResponse) => any;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export interface InvalidAuthorizationMessageException extends __SmithyException, $MetadataBearer {
|
|
264
|
+
name: "InvalidAuthorizationMessageException";
|
|
265
|
+
$fault: "client";
|
|
266
|
+
message?: string;
|
|
267
|
+
}
|
|
268
|
+
export declare namespace InvalidAuthorizationMessageException {
|
|
269
|
+
|
|
270
|
+
const filterSensitiveLog: (obj: InvalidAuthorizationMessageException) => any;
|
|
271
|
+
}
|
|
272
|
+
export interface GetAccessKeyInfoRequest {
|
|
273
|
+
|
|
274
|
+
AccessKeyId: string | undefined;
|
|
275
|
+
}
|
|
276
|
+
export declare namespace GetAccessKeyInfoRequest {
|
|
277
|
+
|
|
278
|
+
const filterSensitiveLog: (obj: GetAccessKeyInfoRequest) => any;
|
|
279
|
+
}
|
|
280
|
+
export interface GetAccessKeyInfoResponse {
|
|
281
|
+
|
|
282
|
+
Account?: string;
|
|
283
|
+
}
|
|
284
|
+
export declare namespace GetAccessKeyInfoResponse {
|
|
285
|
+
|
|
286
|
+
const filterSensitiveLog: (obj: GetAccessKeyInfoResponse) => any;
|
|
287
|
+
}
|
|
288
|
+
export interface GetCallerIdentityRequest {
|
|
289
|
+
}
|
|
290
|
+
export declare namespace GetCallerIdentityRequest {
|
|
291
|
+
|
|
292
|
+
const filterSensitiveLog: (obj: GetCallerIdentityRequest) => any;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export interface GetCallerIdentityResponse {
|
|
296
|
+
|
|
297
|
+
UserId?: string;
|
|
298
|
+
|
|
299
|
+
Account?: string;
|
|
300
|
+
|
|
301
|
+
Arn?: string;
|
|
302
|
+
}
|
|
303
|
+
export declare namespace GetCallerIdentityResponse {
|
|
304
|
+
|
|
305
|
+
const filterSensitiveLog: (obj: GetCallerIdentityResponse) => any;
|
|
306
|
+
}
|
|
307
|
+
export interface GetFederationTokenRequest {
|
|
308
|
+
|
|
309
|
+
Name: string | undefined;
|
|
310
|
+
|
|
311
|
+
Policy?: string;
|
|
312
|
+
|
|
313
|
+
PolicyArns?: PolicyDescriptorType[];
|
|
314
|
+
|
|
315
|
+
DurationSeconds?: number;
|
|
316
|
+
|
|
317
|
+
Tags?: Tag[];
|
|
318
|
+
}
|
|
319
|
+
export declare namespace GetFederationTokenRequest {
|
|
320
|
+
|
|
321
|
+
const filterSensitiveLog: (obj: GetFederationTokenRequest) => any;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export interface FederatedUser {
|
|
325
|
+
|
|
326
|
+
FederatedUserId: string | undefined;
|
|
327
|
+
|
|
328
|
+
Arn: string | undefined;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace FederatedUser {
|
|
331
|
+
|
|
332
|
+
const filterSensitiveLog: (obj: FederatedUser) => any;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export interface GetFederationTokenResponse {
|
|
336
|
+
|
|
337
|
+
Credentials?: Credentials;
|
|
338
|
+
|
|
339
|
+
FederatedUser?: FederatedUser;
|
|
340
|
+
|
|
341
|
+
PackedPolicySize?: number;
|
|
342
|
+
}
|
|
343
|
+
export declare namespace GetFederationTokenResponse {
|
|
344
|
+
|
|
345
|
+
const filterSensitiveLog: (obj: GetFederationTokenResponse) => any;
|
|
346
|
+
}
|
|
347
|
+
export interface GetSessionTokenRequest {
|
|
348
|
+
|
|
349
|
+
DurationSeconds?: number;
|
|
350
|
+
|
|
351
|
+
SerialNumber?: string;
|
|
352
|
+
|
|
353
|
+
TokenCode?: string;
|
|
354
|
+
}
|
|
355
|
+
export declare namespace GetSessionTokenRequest {
|
|
356
|
+
|
|
357
|
+
const filterSensitiveLog: (obj: GetSessionTokenRequest) => any;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export interface GetSessionTokenResponse {
|
|
361
|
+
|
|
362
|
+
Credentials?: Credentials;
|
|
363
|
+
}
|
|
364
|
+
export declare namespace GetSessionTokenResponse {
|
|
365
|
+
|
|
366
|
+
const filterSensitiveLog: (obj: GetSessionTokenResponse) => any;
|
|
367
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "../commands/AssumeRoleCommand";
|
|
2
4
|
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "../commands/AssumeRoleWithSAMLCommand";
|
|
3
5
|
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "../commands/AssumeRoleWithWebIdentityCommand";
|
|
@@ -6,8 +8,6 @@ import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "../
|
|
|
6
8
|
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "../commands/GetCallerIdentityCommand";
|
|
7
9
|
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
|
|
8
10
|
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "../commands/GetSessionTokenCommand";
|
|
9
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
10
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
11
11
|
export declare const serializeAws_queryAssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
12
|
export declare const serializeAws_queryAssumeRoleWithSAMLCommand: (input: AssumeRoleWithSAMLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
13
|
export declare const serializeAws_queryAssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { STSClientConfig } from "./STSClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { STSClientConfig } from "./STSClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
package/package.json
CHANGED
|
@@ -1,66 +1,60 @@
|
|
|
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.36.1",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
25
16
|
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
26
20
|
"sideEffects": false,
|
|
27
21
|
"dependencies": {
|
|
28
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/config-resolver": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
32
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
33
|
-
"@aws-sdk/hash-node": "3.
|
|
34
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
35
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
37
|
-
"@aws-sdk/middleware-logger": "3.
|
|
38
|
-
"@aws-sdk/middleware-retry": "3.
|
|
39
|
-
"@aws-sdk/middleware-sdk-sts": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/config-resolver": "3.36.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.36.1",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.36.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.36.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.36.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.36.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.36.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.36.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.36.0",
|
|
33
|
+
"@aws-sdk/middleware-sdk-sts": "3.36.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.36.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.36.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.36.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.36.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.36.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.36.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.36.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.36.0",
|
|
42
|
+
"@aws-sdk/types": "3.36.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.36.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.36.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.36.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.36.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.36.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.36.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.36.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.36.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.36.0",
|
|
58
52
|
"entities": "2.2.0",
|
|
59
53
|
"fast-xml-parser": "3.19.0",
|
|
60
54
|
"tslib": "^2.3.0"
|
|
61
55
|
},
|
|
62
56
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
57
|
+
"@aws-sdk/client-documentation-generator": "3.36.0",
|
|
64
58
|
"@types/node": "^12.7.5",
|
|
65
59
|
"downlevel-dts": "0.7.0",
|
|
66
60
|
"jest": "^26.1.0",
|
|
@@ -74,16 +68,25 @@
|
|
|
74
68
|
},
|
|
75
69
|
"typesVersions": {
|
|
76
70
|
"<4.0": {
|
|
77
|
-
"dist
|
|
78
|
-
"dist
|
|
71
|
+
"dist-types/*": [
|
|
72
|
+
"dist-types/ts3.4/*"
|
|
79
73
|
]
|
|
80
74
|
}
|
|
81
75
|
},
|
|
76
|
+
"files": [
|
|
77
|
+
"dist-*"
|
|
78
|
+
],
|
|
82
79
|
"author": {
|
|
83
80
|
"name": "AWS SDK for JavaScript Team",
|
|
84
81
|
"url": "https://aws.amazon.com/javascript/"
|
|
85
82
|
},
|
|
86
83
|
"license": "Apache-2.0",
|
|
84
|
+
"browser": {
|
|
85
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
86
|
+
},
|
|
87
|
+
"react-native": {
|
|
88
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
89
|
+
},
|
|
87
90
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",
|
|
88
91
|
"repository": {
|
|
89
92
|
"type": "git",
|