@aws-sdk/client-sts 3.50.0 → 3.51.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sts
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-sts
@@ -0,0 +1,45 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
3
+ import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
4
+ import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
5
+ import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "./commands/DecodeAuthorizationMessageCommand";
6
+ import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "./commands/GetAccessKeyInfoCommand";
7
+ import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
8
+ import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
9
+ import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
10
+ import { STSClient } from "./STSClient";
11
+
12
+ export declare class STS extends STSClient {
13
+
14
+ assumeRole(args: AssumeRoleCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleCommandOutput>;
15
+ assumeRole(args: AssumeRoleCommandInput, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
16
+ assumeRole(args: AssumeRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
17
+
18
+ assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleWithSAMLCommandOutput>;
19
+ assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void): void;
20
+ assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void): void;
21
+
22
+ assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleWithWebIdentityCommandOutput>;
23
+ assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
24
+ assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
25
+
26
+ decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, options?: __HttpHandlerOptions): Promise<DecodeAuthorizationMessageCommandOutput>;
27
+ decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void): void;
28
+ decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void): void;
29
+
30
+ getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessKeyInfoCommandOutput>;
31
+ getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void): void;
32
+ getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void): void;
33
+
34
+ getCallerIdentity(args: GetCallerIdentityCommandInput, options?: __HttpHandlerOptions): Promise<GetCallerIdentityCommandOutput>;
35
+ getCallerIdentity(args: GetCallerIdentityCommandInput, cb: (err: any, data?: GetCallerIdentityCommandOutput) => void): void;
36
+ getCallerIdentity(args: GetCallerIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCallerIdentityCommandOutput) => void): void;
37
+
38
+ getFederationToken(args: GetFederationTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetFederationTokenCommandOutput>;
39
+ getFederationToken(args: GetFederationTokenCommandInput, cb: (err: any, data?: GetFederationTokenCommandOutput) => void): void;
40
+ getFederationToken(args: GetFederationTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFederationTokenCommandOutput) => void): void;
41
+
42
+ getSessionToken(args: GetSessionTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionTokenCommandOutput>;
43
+ getSessionToken(args: GetSessionTokenCommandInput, cb: (err: any, data?: GetSessionTokenCommandOutput) => void): void;
44
+ getSessionToken(args: GetSessionTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionTokenCommandOutput) => void): void;
45
+ }
@@ -0,0 +1,81 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { StsAuthInputConfig, StsAuthResolvedConfig } from "@aws-sdk/middleware-sdk-sts";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
10
+ import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
11
+ import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
12
+ import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "./commands/DecodeAuthorizationMessageCommand";
13
+ import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "./commands/GetAccessKeyInfoCommand";
14
+ import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
15
+ import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
16
+ import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
17
+ export declare type ServiceInputTypes = AssumeRoleCommandInput | AssumeRoleWithSAMLCommandInput | AssumeRoleWithWebIdentityCommandInput | DecodeAuthorizationMessageCommandInput | GetAccessKeyInfoCommandInput | GetCallerIdentityCommandInput | GetFederationTokenCommandInput | GetSessionTokenCommandInput;
18
+ export declare type ServiceOutputTypes = AssumeRoleCommandOutput | AssumeRoleWithSAMLCommandOutput | AssumeRoleWithWebIdentityCommandOutput | DecodeAuthorizationMessageCommandOutput | GetAccessKeyInfoCommandOutput | GetCallerIdentityCommandOutput | GetFederationTokenCommandOutput | GetSessionTokenCommandOutput;
19
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
20
+
21
+ requestHandler?: __HttpHandler;
22
+
23
+ sha256?: __HashConstructor;
24
+
25
+ urlParser?: __UrlParser;
26
+
27
+ bodyLengthChecker?: (body: any) => number | undefined;
28
+
29
+ streamCollector?: __StreamCollector;
30
+
31
+ base64Decoder?: __Decoder;
32
+
33
+ base64Encoder?: __Encoder;
34
+
35
+ utf8Decoder?: __Decoder;
36
+
37
+ utf8Encoder?: __Encoder;
38
+
39
+ runtime?: string;
40
+
41
+ disableHostPrefix?: boolean;
42
+
43
+ maxAttempts?: number | __Provider<number>;
44
+
45
+ retryMode?: string | __Provider<string>;
46
+
47
+ logger?: __Logger;
48
+
49
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
50
+
51
+ useFipsEndpoint?: boolean | __Provider<boolean>;
52
+
53
+ serviceId?: string;
54
+
55
+ region?: string | __Provider<string>;
56
+
57
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
58
+
59
+ regionInfoProvider?: RegionInfoProvider;
60
+
61
+ defaultUserAgentProvider?: Provider<__UserAgent>;
62
+
63
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
64
+ }
65
+ declare type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & StsAuthInputConfig & UserAgentInputConfig;
66
+
67
+ export interface STSClientConfig extends STSClientConfigType {
68
+ }
69
+ declare type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & StsAuthResolvedConfig & UserAgentResolvedConfig;
70
+
71
+ export interface STSClientResolvedConfig extends STSClientResolvedConfigType {
72
+ }
73
+
74
+ export declare class STSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig> {
75
+
76
+ readonly config: STSClientResolvedConfig;
77
+ constructor(configuration: STSClientConfig);
78
+
79
+ destroy(): void;
80
+ }
81
+ export {};
@@ -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 { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
+ export interface AssumeRoleCommandInput extends AssumeRoleRequest {
6
+ }
7
+ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class AssumeRoleCommand extends $Command<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig> {
11
+ readonly input: AssumeRoleCommandInput;
12
+ constructor(input: AssumeRoleCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssumeRoleCommandInput, AssumeRoleCommandOutput>;
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 { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
+ export interface AssumeRoleWithSAMLCommandInput extends AssumeRoleWithSAMLRequest {
6
+ }
7
+ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class AssumeRoleWithSAMLCommand extends $Command<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig> {
11
+ readonly input: AssumeRoleWithSAMLCommandInput;
12
+ constructor(input: AssumeRoleWithSAMLCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput>;
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 { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
+ export interface AssumeRoleWithWebIdentityCommandInput extends AssumeRoleWithWebIdentityRequest {
6
+ }
7
+ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWebIdentityResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class AssumeRoleWithWebIdentityCommand extends $Command<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig> {
11
+ readonly input: AssumeRoleWithWebIdentityCommandInput;
12
+ constructor(input: AssumeRoleWithWebIdentityCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput>;
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 { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
+ export interface DecodeAuthorizationMessageCommandInput extends DecodeAuthorizationMessageRequest {
6
+ }
7
+ export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthorizationMessageResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DecodeAuthorizationMessageCommand extends $Command<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig> {
11
+ readonly input: DecodeAuthorizationMessageCommandInput;
12
+ constructor(input: DecodeAuthorizationMessageCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput>;
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 { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
+ export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {
6
+ }
7
+ export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetAccessKeyInfoCommand extends $Command<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig> {
11
+ readonly input: GetAccessKeyInfoCommandInput;
12
+ constructor(input: GetAccessKeyInfoCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput>;
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 { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
+ export interface GetCallerIdentityCommandInput extends GetCallerIdentityRequest {
6
+ }
7
+ export interface GetCallerIdentityCommandOutput extends GetCallerIdentityResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetCallerIdentityCommand extends $Command<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig> {
11
+ readonly input: GetCallerIdentityCommandInput;
12
+ constructor(input: GetCallerIdentityCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput>;
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 { 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
+ export * from "./AssumeRoleCommand";
2
+ export * from "./AssumeRoleWithSAMLCommand";
3
+ export * from "./AssumeRoleWithWebIdentityCommand";
4
+ export * from "./DecodeAuthorizationMessageCommand";
5
+ export * from "./GetAccessKeyInfoCommand";
6
+ export * from "./GetCallerIdentityCommand";
7
+ export * from "./GetFederationTokenCommand";
8
+ export * from "./GetSessionTokenCommand";
@@ -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;
@@ -0,0 +1,16 @@
1
+ import { Credentials, Provider } from "@aws-sdk/types";
2
+ import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
3
+ import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
4
+ import { STSClient, STSClientConfig } from "./STSClient";
5
+
6
+ export declare type RoleAssumer = (sourceCreds: Credentials, params: AssumeRoleCommandInput) => Promise<Credentials>;
7
+
8
+ export declare const getDefaultRoleAssumer: (stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">, stsClientCtor: new (options: STSClientConfig) => STSClient) => RoleAssumer;
9
+
10
+ export declare type RoleAssumerWithWebIdentity = (params: AssumeRoleWithWebIdentityCommandInput) => Promise<Credentials>;
11
+
12
+ export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">, stsClientCtor: new (options: STSClientConfig) => STSClient) => RoleAssumerWithWebIdentity;
13
+
14
+ export declare type DefaultCredentialProvider = (input: any) => Provider<Credentials>;
15
+
16
+ export declare const decorateDefaultCredentialProvider: (provider: DefaultCredentialProvider) => DefaultCredentialProvider;
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,5 @@
1
+ export * from "./STS";
2
+ export * from "./STSClient";
3
+ export * from "./commands";
4
+ export * from "./defaultRoleAssumers";
5
+ export * from "./models";
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,335 @@
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
+
98
+ export interface MalformedPolicyDocumentException extends __SmithyException, $MetadataBearer {
99
+ name: "MalformedPolicyDocumentException";
100
+ $fault: "client";
101
+ message?: string;
102
+ }
103
+
104
+ export interface PackedPolicyTooLargeException extends __SmithyException, $MetadataBearer {
105
+ name: "PackedPolicyTooLargeException";
106
+ $fault: "client";
107
+ message?: string;
108
+ }
109
+
110
+ export interface RegionDisabledException extends __SmithyException, $MetadataBearer {
111
+ name: "RegionDisabledException";
112
+ $fault: "client";
113
+ message?: string;
114
+ }
115
+ export interface AssumeRoleWithSAMLRequest {
116
+
117
+ RoleArn: string | undefined;
118
+
119
+ PrincipalArn: string | undefined;
120
+
121
+ SAMLAssertion: string | undefined;
122
+
123
+ PolicyArns?: PolicyDescriptorType[];
124
+
125
+ Policy?: string;
126
+
127
+ DurationSeconds?: number;
128
+ }
129
+ export declare namespace AssumeRoleWithSAMLRequest {
130
+
131
+ const filterSensitiveLog: (obj: AssumeRoleWithSAMLRequest) => any;
132
+ }
133
+
134
+ export interface AssumeRoleWithSAMLResponse {
135
+
136
+ Credentials?: Credentials;
137
+
138
+ AssumedRoleUser?: AssumedRoleUser;
139
+
140
+ PackedPolicySize?: number;
141
+
142
+ Subject?: string;
143
+
144
+ SubjectType?: string;
145
+
146
+ Issuer?: string;
147
+
148
+ Audience?: string;
149
+
150
+ NameQualifier?: string;
151
+
152
+ SourceIdentity?: string;
153
+ }
154
+ export declare namespace AssumeRoleWithSAMLResponse {
155
+
156
+ const filterSensitiveLog: (obj: AssumeRoleWithSAMLResponse) => any;
157
+ }
158
+
159
+ export interface IDPRejectedClaimException extends __SmithyException, $MetadataBearer {
160
+ name: "IDPRejectedClaimException";
161
+ $fault: "client";
162
+ message?: string;
163
+ }
164
+
165
+ export interface InvalidIdentityTokenException extends __SmithyException, $MetadataBearer {
166
+ name: "InvalidIdentityTokenException";
167
+ $fault: "client";
168
+ message?: string;
169
+ }
170
+ export interface AssumeRoleWithWebIdentityRequest {
171
+
172
+ RoleArn: string | undefined;
173
+
174
+ RoleSessionName: string | undefined;
175
+
176
+ WebIdentityToken: string | undefined;
177
+
178
+ ProviderId?: string;
179
+
180
+ PolicyArns?: PolicyDescriptorType[];
181
+
182
+ Policy?: string;
183
+
184
+ DurationSeconds?: number;
185
+ }
186
+ export declare namespace AssumeRoleWithWebIdentityRequest {
187
+
188
+ const filterSensitiveLog: (obj: AssumeRoleWithWebIdentityRequest) => any;
189
+ }
190
+
191
+ export interface AssumeRoleWithWebIdentityResponse {
192
+
193
+ Credentials?: Credentials;
194
+
195
+ SubjectFromWebIdentityToken?: string;
196
+
197
+ AssumedRoleUser?: AssumedRoleUser;
198
+
199
+ PackedPolicySize?: number;
200
+
201
+ Provider?: string;
202
+
203
+ Audience?: string;
204
+
205
+ SourceIdentity?: string;
206
+ }
207
+ export declare namespace AssumeRoleWithWebIdentityResponse {
208
+
209
+ const filterSensitiveLog: (obj: AssumeRoleWithWebIdentityResponse) => any;
210
+ }
211
+
212
+ export interface IDPCommunicationErrorException extends __SmithyException, $MetadataBearer {
213
+ name: "IDPCommunicationErrorException";
214
+ $fault: "client";
215
+ message?: string;
216
+ }
217
+ export interface DecodeAuthorizationMessageRequest {
218
+
219
+ EncodedMessage: string | undefined;
220
+ }
221
+ export declare namespace DecodeAuthorizationMessageRequest {
222
+
223
+ const filterSensitiveLog: (obj: DecodeAuthorizationMessageRequest) => any;
224
+ }
225
+
226
+ export interface DecodeAuthorizationMessageResponse {
227
+
228
+ DecodedMessage?: string;
229
+ }
230
+ export declare namespace DecodeAuthorizationMessageResponse {
231
+
232
+ const filterSensitiveLog: (obj: DecodeAuthorizationMessageResponse) => any;
233
+ }
234
+
235
+ export interface InvalidAuthorizationMessageException extends __SmithyException, $MetadataBearer {
236
+ name: "InvalidAuthorizationMessageException";
237
+ $fault: "client";
238
+ message?: string;
239
+ }
240
+ export interface GetAccessKeyInfoRequest {
241
+
242
+ AccessKeyId: string | undefined;
243
+ }
244
+ export declare namespace GetAccessKeyInfoRequest {
245
+
246
+ const filterSensitiveLog: (obj: GetAccessKeyInfoRequest) => any;
247
+ }
248
+ export interface GetAccessKeyInfoResponse {
249
+
250
+ Account?: string;
251
+ }
252
+ export declare namespace GetAccessKeyInfoResponse {
253
+
254
+ const filterSensitiveLog: (obj: GetAccessKeyInfoResponse) => any;
255
+ }
256
+ export interface GetCallerIdentityRequest {
257
+ }
258
+ export declare namespace GetCallerIdentityRequest {
259
+
260
+ const filterSensitiveLog: (obj: GetCallerIdentityRequest) => any;
261
+ }
262
+
263
+ export interface GetCallerIdentityResponse {
264
+
265
+ UserId?: string;
266
+
267
+ Account?: string;
268
+
269
+ Arn?: string;
270
+ }
271
+ export declare namespace GetCallerIdentityResponse {
272
+
273
+ const filterSensitiveLog: (obj: GetCallerIdentityResponse) => any;
274
+ }
275
+ export interface GetFederationTokenRequest {
276
+
277
+ Name: string | undefined;
278
+
279
+ Policy?: string;
280
+
281
+ PolicyArns?: PolicyDescriptorType[];
282
+
283
+ DurationSeconds?: number;
284
+
285
+ Tags?: Tag[];
286
+ }
287
+ export declare namespace GetFederationTokenRequest {
288
+
289
+ const filterSensitiveLog: (obj: GetFederationTokenRequest) => any;
290
+ }
291
+
292
+ export interface FederatedUser {
293
+
294
+ FederatedUserId: string | undefined;
295
+
296
+ Arn: string | undefined;
297
+ }
298
+ export declare namespace FederatedUser {
299
+
300
+ const filterSensitiveLog: (obj: FederatedUser) => any;
301
+ }
302
+
303
+ export interface GetFederationTokenResponse {
304
+
305
+ Credentials?: Credentials;
306
+
307
+ FederatedUser?: FederatedUser;
308
+
309
+ PackedPolicySize?: number;
310
+ }
311
+ export declare namespace GetFederationTokenResponse {
312
+
313
+ const filterSensitiveLog: (obj: GetFederationTokenResponse) => any;
314
+ }
315
+ export interface GetSessionTokenRequest {
316
+
317
+ DurationSeconds?: number;
318
+
319
+ SerialNumber?: string;
320
+
321
+ TokenCode?: string;
322
+ }
323
+ export declare namespace GetSessionTokenRequest {
324
+
325
+ const filterSensitiveLog: (obj: GetSessionTokenRequest) => any;
326
+ }
327
+
328
+ export interface GetSessionTokenResponse {
329
+
330
+ Credentials?: Credentials;
331
+ }
332
+ export declare namespace GetSessionTokenResponse {
333
+
334
+ const filterSensitiveLog: (obj: GetSessionTokenResponse) => any;
335
+ }
@@ -0,0 +1,26 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "../commands/AssumeRoleCommand";
4
+ import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "../commands/AssumeRoleWithSAMLCommand";
5
+ import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "../commands/AssumeRoleWithWebIdentityCommand";
6
+ import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "../commands/DecodeAuthorizationMessageCommand";
7
+ import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "../commands/GetAccessKeyInfoCommand";
8
+ import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "../commands/GetCallerIdentityCommand";
9
+ import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
10
+ import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "../commands/GetSessionTokenCommand";
11
+ export declare const serializeAws_queryAssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
+ export declare const serializeAws_queryAssumeRoleWithSAMLCommand: (input: AssumeRoleWithSAMLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ export declare const serializeAws_queryAssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ export declare const serializeAws_queryDecodeAuthorizationMessageCommand: (input: DecodeAuthorizationMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ export declare const serializeAws_queryGetAccessKeyInfoCommand: (input: GetAccessKeyInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
+ export declare const serializeAws_queryGetCallerIdentityCommand: (input: GetCallerIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ export declare const serializeAws_queryGetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ export declare const serializeAws_queryGetSessionTokenCommand: (input: GetSessionTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ export declare const deserializeAws_queryAssumeRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleCommandOutput>;
20
+ export declare const deserializeAws_queryAssumeRoleWithSAMLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithSAMLCommandOutput>;
21
+ export declare const deserializeAws_queryAssumeRoleWithWebIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
22
+ export declare const deserializeAws_queryDecodeAuthorizationMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DecodeAuthorizationMessageCommandOutput>;
23
+ export declare const deserializeAws_queryGetAccessKeyInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccessKeyInfoCommandOutput>;
24
+ export declare const deserializeAws_queryGetCallerIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallerIdentityCommandOutput>;
25
+ export declare const deserializeAws_queryGetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
26
+ export declare const deserializeAws_queryGetSessionTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionTokenCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { STSClientConfig } from "./STSClient";
3
+
4
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,38 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { STSClientConfig } from "./STSClient";
3
+
4
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: import("./defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,37 @@
1
+ import { STSClientConfig } from "./STSClient";
2
+
3
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
4
+ runtime: string;
5
+ sha256: import("@aws-sdk/types").HashConstructor;
6
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
+ apiVersion: string;
8
+ urlParser: import("@aws-sdk/types").UrlParser;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ streamCollector: import("@aws-sdk/types").StreamCollector;
11
+ base64Decoder: import("@aws-sdk/types").Decoder;
12
+ base64Encoder: import("@aws-sdk/types").Encoder;
13
+ utf8Decoder: import("@aws-sdk/types").Decoder;
14
+ utf8Encoder: import("@aws-sdk/types").Encoder;
15
+ disableHostPrefix: boolean;
16
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -0,0 +1,11 @@
1
+ import { Logger as __Logger } from "@aws-sdk/types";
2
+ import { STSClientConfig } from "./STSClient";
3
+
4
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
5
+ apiVersion: string;
6
+ disableHostPrefix: boolean;
7
+ logger: __Logger;
8
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
9
+ serviceId: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ };
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.50.0",
4
+ "version": "3.51.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,21 +18,21 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/config-resolver": "3.50.0",
22
- "@aws-sdk/credential-provider-node": "3.50.0",
21
+ "@aws-sdk/config-resolver": "3.51.0",
22
+ "@aws-sdk/credential-provider-node": "3.51.0",
23
23
  "@aws-sdk/fetch-http-handler": "3.50.0",
24
24
  "@aws-sdk/hash-node": "3.50.0",
25
25
  "@aws-sdk/invalid-dependency": "3.50.0",
26
26
  "@aws-sdk/middleware-content-length": "3.50.0",
27
27
  "@aws-sdk/middleware-host-header": "3.50.0",
28
28
  "@aws-sdk/middleware-logger": "3.50.0",
29
- "@aws-sdk/middleware-retry": "3.50.0",
29
+ "@aws-sdk/middleware-retry": "3.51.0",
30
30
  "@aws-sdk/middleware-sdk-sts": "3.50.0",
31
31
  "@aws-sdk/middleware-serde": "3.50.0",
32
32
  "@aws-sdk/middleware-signing": "3.50.0",
33
33
  "@aws-sdk/middleware-stack": "3.50.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.50.0",
35
+ "@aws-sdk/node-config-provider": "3.51.0",
36
36
  "@aws-sdk/node-http-handler": "3.50.0",
37
37
  "@aws-sdk/protocol-http": "3.50.0",
38
38
  "@aws-sdk/smithy-client": "3.50.0",
@@ -43,9 +43,9 @@
43
43
  "@aws-sdk/util-body-length-browser": "3.49.0",
44
44
  "@aws-sdk/util-body-length-node": "3.49.0",
45
45
  "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.50.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.50.0",
48
+ "@aws-sdk/util-user-agent-node": "3.51.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.49.0",
50
50
  "@aws-sdk/util-utf8-node": "3.49.0",
51
51
  "entities": "2.2.0",