@aws-sdk/client-sts 3.169.0 → 3.171.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,22 @@
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.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sts
9
+
10
+
11
+
12
+
13
+
14
+ # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-sts
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-sts
@@ -1,45 +1,140 @@
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
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ AssumeRoleCommandInput,
4
+ AssumeRoleCommandOutput,
5
+ } from "./commands/AssumeRoleCommand";
6
+ import {
7
+ AssumeRoleWithSAMLCommandInput,
8
+ AssumeRoleWithSAMLCommandOutput,
9
+ } from "./commands/AssumeRoleWithSAMLCommand";
10
+ import {
11
+ AssumeRoleWithWebIdentityCommandInput,
12
+ AssumeRoleWithWebIdentityCommandOutput,
13
+ } from "./commands/AssumeRoleWithWebIdentityCommand";
14
+ import {
15
+ DecodeAuthorizationMessageCommandInput,
16
+ DecodeAuthorizationMessageCommandOutput,
17
+ } from "./commands/DecodeAuthorizationMessageCommand";
18
+ import {
19
+ GetAccessKeyInfoCommandInput,
20
+ GetAccessKeyInfoCommandOutput,
21
+ } from "./commands/GetAccessKeyInfoCommand";
22
+ import {
23
+ GetCallerIdentityCommandInput,
24
+ GetCallerIdentityCommandOutput,
25
+ } from "./commands/GetCallerIdentityCommand";
26
+ import {
27
+ GetFederationTokenCommandInput,
28
+ GetFederationTokenCommandOutput,
29
+ } from "./commands/GetFederationTokenCommand";
30
+ import {
31
+ GetSessionTokenCommandInput,
32
+ GetSessionTokenCommandOutput,
33
+ } from "./commands/GetSessionTokenCommand";
34
+ import { STSClient } from "./STSClient";
35
+ export declare class STS extends STSClient {
36
+ assumeRole(
37
+ args: AssumeRoleCommandInput,
38
+ options?: __HttpHandlerOptions
39
+ ): Promise<AssumeRoleCommandOutput>;
40
+ assumeRole(
41
+ args: AssumeRoleCommandInput,
42
+ cb: (err: any, data?: AssumeRoleCommandOutput) => void
43
+ ): void;
44
+ assumeRole(
45
+ args: AssumeRoleCommandInput,
46
+ options: __HttpHandlerOptions,
47
+ cb: (err: any, data?: AssumeRoleCommandOutput) => void
48
+ ): void;
49
+ assumeRoleWithSAML(
50
+ args: AssumeRoleWithSAMLCommandInput,
51
+ options?: __HttpHandlerOptions
52
+ ): Promise<AssumeRoleWithSAMLCommandOutput>;
53
+ assumeRoleWithSAML(
54
+ args: AssumeRoleWithSAMLCommandInput,
55
+ cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
56
+ ): void;
57
+ assumeRoleWithSAML(
58
+ args: AssumeRoleWithSAMLCommandInput,
59
+ options: __HttpHandlerOptions,
60
+ cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
61
+ ): void;
62
+ assumeRoleWithWebIdentity(
63
+ args: AssumeRoleWithWebIdentityCommandInput,
64
+ options?: __HttpHandlerOptions
65
+ ): Promise<AssumeRoleWithWebIdentityCommandOutput>;
66
+ assumeRoleWithWebIdentity(
67
+ args: AssumeRoleWithWebIdentityCommandInput,
68
+ cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
69
+ ): void;
70
+ assumeRoleWithWebIdentity(
71
+ args: AssumeRoleWithWebIdentityCommandInput,
72
+ options: __HttpHandlerOptions,
73
+ cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
74
+ ): void;
75
+ decodeAuthorizationMessage(
76
+ args: DecodeAuthorizationMessageCommandInput,
77
+ options?: __HttpHandlerOptions
78
+ ): Promise<DecodeAuthorizationMessageCommandOutput>;
79
+ decodeAuthorizationMessage(
80
+ args: DecodeAuthorizationMessageCommandInput,
81
+ cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
82
+ ): void;
83
+ decodeAuthorizationMessage(
84
+ args: DecodeAuthorizationMessageCommandInput,
85
+ options: __HttpHandlerOptions,
86
+ cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
87
+ ): void;
88
+ getAccessKeyInfo(
89
+ args: GetAccessKeyInfoCommandInput,
90
+ options?: __HttpHandlerOptions
91
+ ): Promise<GetAccessKeyInfoCommandOutput>;
92
+ getAccessKeyInfo(
93
+ args: GetAccessKeyInfoCommandInput,
94
+ cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
95
+ ): void;
96
+ getAccessKeyInfo(
97
+ args: GetAccessKeyInfoCommandInput,
98
+ options: __HttpHandlerOptions,
99
+ cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
100
+ ): void;
101
+ getCallerIdentity(
102
+ args: GetCallerIdentityCommandInput,
103
+ options?: __HttpHandlerOptions
104
+ ): Promise<GetCallerIdentityCommandOutput>;
105
+ getCallerIdentity(
106
+ args: GetCallerIdentityCommandInput,
107
+ cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
108
+ ): void;
109
+ getCallerIdentity(
110
+ args: GetCallerIdentityCommandInput,
111
+ options: __HttpHandlerOptions,
112
+ cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
113
+ ): void;
114
+ getFederationToken(
115
+ args: GetFederationTokenCommandInput,
116
+ options?: __HttpHandlerOptions
117
+ ): Promise<GetFederationTokenCommandOutput>;
118
+ getFederationToken(
119
+ args: GetFederationTokenCommandInput,
120
+ cb: (err: any, data?: GetFederationTokenCommandOutput) => void
121
+ ): void;
122
+ getFederationToken(
123
+ args: GetFederationTokenCommandInput,
124
+ options: __HttpHandlerOptions,
125
+ cb: (err: any, data?: GetFederationTokenCommandOutput) => void
126
+ ): void;
127
+ getSessionToken(
128
+ args: GetSessionTokenCommandInput,
129
+ options?: __HttpHandlerOptions
130
+ ): Promise<GetSessionTokenCommandOutput>;
131
+ getSessionToken(
132
+ args: GetSessionTokenCommandInput,
133
+ cb: (err: any, data?: GetSessionTokenCommandOutput) => void
134
+ ): void;
135
+ getSessionToken(
136
+ args: GetSessionTokenCommandInput,
137
+ options: __HttpHandlerOptions,
138
+ cb: (err: any, data?: GetSessionTokenCommandOutput) => void
139
+ ): void;
140
+ }
@@ -1,81 +1,151 @@
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 { BodyLengthCalculator as __BodyLengthCalculator, 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?: __BodyLengthCalculator;
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 {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ StsAuthInputConfig,
17
+ StsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-sdk-sts";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ AssumeRoleCommandInput,
47
+ AssumeRoleCommandOutput,
48
+ } from "./commands/AssumeRoleCommand";
49
+ import {
50
+ AssumeRoleWithSAMLCommandInput,
51
+ AssumeRoleWithSAMLCommandOutput,
52
+ } from "./commands/AssumeRoleWithSAMLCommand";
53
+ import {
54
+ AssumeRoleWithWebIdentityCommandInput,
55
+ AssumeRoleWithWebIdentityCommandOutput,
56
+ } from "./commands/AssumeRoleWithWebIdentityCommand";
57
+ import {
58
+ DecodeAuthorizationMessageCommandInput,
59
+ DecodeAuthorizationMessageCommandOutput,
60
+ } from "./commands/DecodeAuthorizationMessageCommand";
61
+ import {
62
+ GetAccessKeyInfoCommandInput,
63
+ GetAccessKeyInfoCommandOutput,
64
+ } from "./commands/GetAccessKeyInfoCommand";
65
+ import {
66
+ GetCallerIdentityCommandInput,
67
+ GetCallerIdentityCommandOutput,
68
+ } from "./commands/GetCallerIdentityCommand";
69
+ import {
70
+ GetFederationTokenCommandInput,
71
+ GetFederationTokenCommandOutput,
72
+ } from "./commands/GetFederationTokenCommand";
73
+ import {
74
+ GetSessionTokenCommandInput,
75
+ GetSessionTokenCommandOutput,
76
+ } from "./commands/GetSessionTokenCommand";
77
+ export declare type ServiceInputTypes =
78
+ | AssumeRoleCommandInput
79
+ | AssumeRoleWithSAMLCommandInput
80
+ | AssumeRoleWithWebIdentityCommandInput
81
+ | DecodeAuthorizationMessageCommandInput
82
+ | GetAccessKeyInfoCommandInput
83
+ | GetCallerIdentityCommandInput
84
+ | GetFederationTokenCommandInput
85
+ | GetSessionTokenCommandInput;
86
+ export declare type ServiceOutputTypes =
87
+ | AssumeRoleCommandOutput
88
+ | AssumeRoleWithSAMLCommandOutput
89
+ | AssumeRoleWithWebIdentityCommandOutput
90
+ | DecodeAuthorizationMessageCommandOutput
91
+ | GetAccessKeyInfoCommandOutput
92
+ | GetCallerIdentityCommandOutput
93
+ | GetFederationTokenCommandOutput
94
+ | GetSessionTokenCommandOutput;
95
+ export interface ClientDefaults
96
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
97
+ requestHandler?: __HttpHandler;
98
+ sha256?: __HashConstructor;
99
+ urlParser?: __UrlParser;
100
+ bodyLengthChecker?: __BodyLengthCalculator;
101
+ streamCollector?: __StreamCollector;
102
+ base64Decoder?: __Decoder;
103
+ base64Encoder?: __Encoder;
104
+ utf8Decoder?: __Decoder;
105
+ utf8Encoder?: __Encoder;
106
+ runtime?: string;
107
+ disableHostPrefix?: boolean;
108
+ maxAttempts?: number | __Provider<number>;
109
+ retryMode?: string | __Provider<string>;
110
+ logger?: __Logger;
111
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
112
+ useFipsEndpoint?: boolean | __Provider<boolean>;
113
+ serviceId?: string;
114
+ region?: string | __Provider<string>;
115
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
116
+ regionInfoProvider?: RegionInfoProvider;
117
+ defaultUserAgentProvider?: Provider<__UserAgent>;
118
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
119
+ }
120
+ declare type STSClientConfigType = Partial<
121
+ __SmithyConfiguration<__HttpHandlerOptions>
122
+ > &
123
+ ClientDefaults &
124
+ RegionInputConfig &
125
+ EndpointsInputConfig &
126
+ RetryInputConfig &
127
+ HostHeaderInputConfig &
128
+ StsAuthInputConfig &
129
+ UserAgentInputConfig;
130
+ export interface STSClientConfig extends STSClientConfigType {}
131
+ declare type STSClientResolvedConfigType =
132
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
133
+ Required<ClientDefaults> &
134
+ RegionResolvedConfig &
135
+ EndpointsResolvedConfig &
136
+ RetryResolvedConfig &
137
+ HostHeaderResolvedConfig &
138
+ StsAuthResolvedConfig &
139
+ UserAgentResolvedConfig;
140
+ export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
141
+ export declare class STSClient extends __Client<
142
+ __HttpHandlerOptions,
143
+ ServiceInputTypes,
144
+ ServiceOutputTypes,
145
+ STSClientResolvedConfig
146
+ > {
147
+ readonly config: STSClientResolvedConfig;
148
+ constructor(configuration: STSClientConfig);
149
+ destroy(): void;
150
+ }
151
+ export {};
@@ -1,17 +1,32 @@
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
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
9
+ import {
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ STSClientResolvedConfig,
13
+ } from "../STSClient";
14
+ export interface AssumeRoleCommandInput extends AssumeRoleRequest {}
15
+ export interface AssumeRoleCommandOutput
16
+ extends AssumeRoleResponse,
17
+ __MetadataBearer {}
18
+ export declare class AssumeRoleCommand extends $Command<
19
+ AssumeRoleCommandInput,
20
+ AssumeRoleCommandOutput,
21
+ STSClientResolvedConfig
22
+ > {
23
+ readonly input: AssumeRoleCommandInput;
24
+ constructor(input: AssumeRoleCommandInput);
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: STSClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<AssumeRoleCommandInput, AssumeRoleCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -1,17 +1,36 @@
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
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ AssumeRoleWithSAMLRequest,
10
+ AssumeRoleWithSAMLResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ STSClientResolvedConfig,
16
+ } from "../STSClient";
17
+ export interface AssumeRoleWithSAMLCommandInput
18
+ extends AssumeRoleWithSAMLRequest {}
19
+ export interface AssumeRoleWithSAMLCommandOutput
20
+ extends AssumeRoleWithSAMLResponse,
21
+ __MetadataBearer {}
22
+ export declare class AssumeRoleWithSAMLCommand extends $Command<
23
+ AssumeRoleWithSAMLCommandInput,
24
+ AssumeRoleWithSAMLCommandOutput,
25
+ STSClientResolvedConfig
26
+ > {
27
+ readonly input: AssumeRoleWithSAMLCommandInput;
28
+ constructor(input: AssumeRoleWithSAMLCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: STSClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -1,17 +1,39 @@
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
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ AssumeRoleWithWebIdentityRequest,
10
+ AssumeRoleWithWebIdentityResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ STSClientResolvedConfig,
16
+ } from "../STSClient";
17
+ export interface AssumeRoleWithWebIdentityCommandInput
18
+ extends AssumeRoleWithWebIdentityRequest {}
19
+ export interface AssumeRoleWithWebIdentityCommandOutput
20
+ extends AssumeRoleWithWebIdentityResponse,
21
+ __MetadataBearer {}
22
+ export declare class AssumeRoleWithWebIdentityCommand extends $Command<
23
+ AssumeRoleWithWebIdentityCommandInput,
24
+ AssumeRoleWithWebIdentityCommandOutput,
25
+ STSClientResolvedConfig
26
+ > {
27
+ readonly input: AssumeRoleWithWebIdentityCommandInput;
28
+ constructor(input: AssumeRoleWithWebIdentityCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: STSClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ AssumeRoleWithWebIdentityCommandInput,
35
+ AssumeRoleWithWebIdentityCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }