@aws-sdk/client-sts 3.168.0 → 3.170.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.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sts
9
+
10
+
11
+
12
+
13
+
14
+ # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-sts
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-sts
@@ -1,45 +1,148 @@
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
+
36
+ export declare class STS extends STSClient {
37
+ assumeRole(
38
+ args: AssumeRoleCommandInput,
39
+ options?: __HttpHandlerOptions
40
+ ): Promise<AssumeRoleCommandOutput>;
41
+ assumeRole(
42
+ args: AssumeRoleCommandInput,
43
+ cb: (err: any, data?: AssumeRoleCommandOutput) => void
44
+ ): void;
45
+ assumeRole(
46
+ args: AssumeRoleCommandInput,
47
+ options: __HttpHandlerOptions,
48
+ cb: (err: any, data?: AssumeRoleCommandOutput) => void
49
+ ): void;
50
+
51
+ assumeRoleWithSAML(
52
+ args: AssumeRoleWithSAMLCommandInput,
53
+ options?: __HttpHandlerOptions
54
+ ): Promise<AssumeRoleWithSAMLCommandOutput>;
55
+ assumeRoleWithSAML(
56
+ args: AssumeRoleWithSAMLCommandInput,
57
+ cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
58
+ ): void;
59
+ assumeRoleWithSAML(
60
+ args: AssumeRoleWithSAMLCommandInput,
61
+ options: __HttpHandlerOptions,
62
+ cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
63
+ ): void;
64
+
65
+ assumeRoleWithWebIdentity(
66
+ args: AssumeRoleWithWebIdentityCommandInput,
67
+ options?: __HttpHandlerOptions
68
+ ): Promise<AssumeRoleWithWebIdentityCommandOutput>;
69
+ assumeRoleWithWebIdentity(
70
+ args: AssumeRoleWithWebIdentityCommandInput,
71
+ cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
72
+ ): void;
73
+ assumeRoleWithWebIdentity(
74
+ args: AssumeRoleWithWebIdentityCommandInput,
75
+ options: __HttpHandlerOptions,
76
+ cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
77
+ ): void;
78
+
79
+ decodeAuthorizationMessage(
80
+ args: DecodeAuthorizationMessageCommandInput,
81
+ options?: __HttpHandlerOptions
82
+ ): Promise<DecodeAuthorizationMessageCommandOutput>;
83
+ decodeAuthorizationMessage(
84
+ args: DecodeAuthorizationMessageCommandInput,
85
+ cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
86
+ ): void;
87
+ decodeAuthorizationMessage(
88
+ args: DecodeAuthorizationMessageCommandInput,
89
+ options: __HttpHandlerOptions,
90
+ cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
91
+ ): void;
92
+
93
+ getAccessKeyInfo(
94
+ args: GetAccessKeyInfoCommandInput,
95
+ options?: __HttpHandlerOptions
96
+ ): Promise<GetAccessKeyInfoCommandOutput>;
97
+ getAccessKeyInfo(
98
+ args: GetAccessKeyInfoCommandInput,
99
+ cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
100
+ ): void;
101
+ getAccessKeyInfo(
102
+ args: GetAccessKeyInfoCommandInput,
103
+ options: __HttpHandlerOptions,
104
+ cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
105
+ ): void;
106
+
107
+ getCallerIdentity(
108
+ args: GetCallerIdentityCommandInput,
109
+ options?: __HttpHandlerOptions
110
+ ): Promise<GetCallerIdentityCommandOutput>;
111
+ getCallerIdentity(
112
+ args: GetCallerIdentityCommandInput,
113
+ cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
114
+ ): void;
115
+ getCallerIdentity(
116
+ args: GetCallerIdentityCommandInput,
117
+ options: __HttpHandlerOptions,
118
+ cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
119
+ ): void;
120
+
121
+ getFederationToken(
122
+ args: GetFederationTokenCommandInput,
123
+ options?: __HttpHandlerOptions
124
+ ): Promise<GetFederationTokenCommandOutput>;
125
+ getFederationToken(
126
+ args: GetFederationTokenCommandInput,
127
+ cb: (err: any, data?: GetFederationTokenCommandOutput) => void
128
+ ): void;
129
+ getFederationToken(
130
+ args: GetFederationTokenCommandInput,
131
+ options: __HttpHandlerOptions,
132
+ cb: (err: any, data?: GetFederationTokenCommandOutput) => void
133
+ ): void;
134
+
135
+ getSessionToken(
136
+ args: GetSessionTokenCommandInput,
137
+ options?: __HttpHandlerOptions
138
+ ): Promise<GetSessionTokenCommandOutput>;
139
+ getSessionToken(
140
+ args: GetSessionTokenCommandInput,
141
+ cb: (err: any, data?: GetSessionTokenCommandOutput) => void
142
+ ): void;
143
+ getSessionToken(
144
+ args: GetSessionTokenCommandInput,
145
+ options: __HttpHandlerOptions,
146
+ cb: (err: any, data?: GetSessionTokenCommandOutput) => void
147
+ ): void;
148
+ }
@@ -1,81 +1,176 @@
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
+
99
+ sha256?: __HashConstructor;
100
+
101
+ urlParser?: __UrlParser;
102
+
103
+ bodyLengthChecker?: __BodyLengthCalculator;
104
+
105
+ streamCollector?: __StreamCollector;
106
+
107
+ base64Decoder?: __Decoder;
108
+
109
+ base64Encoder?: __Encoder;
110
+
111
+ utf8Decoder?: __Decoder;
112
+
113
+ utf8Encoder?: __Encoder;
114
+
115
+ runtime?: string;
116
+
117
+ disableHostPrefix?: boolean;
118
+
119
+ maxAttempts?: number | __Provider<number>;
120
+
121
+ retryMode?: string | __Provider<string>;
122
+
123
+ logger?: __Logger;
124
+
125
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
126
+
127
+ useFipsEndpoint?: boolean | __Provider<boolean>;
128
+
129
+ serviceId?: string;
130
+
131
+ region?: string | __Provider<string>;
132
+
133
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
134
+
135
+ regionInfoProvider?: RegionInfoProvider;
136
+
137
+ defaultUserAgentProvider?: Provider<__UserAgent>;
138
+
139
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
140
+ }
141
+ declare type STSClientConfigType = Partial<
142
+ __SmithyConfiguration<__HttpHandlerOptions>
143
+ > &
144
+ ClientDefaults &
145
+ RegionInputConfig &
146
+ EndpointsInputConfig &
147
+ RetryInputConfig &
148
+ HostHeaderInputConfig &
149
+ StsAuthInputConfig &
150
+ UserAgentInputConfig;
151
+
152
+ export interface STSClientConfig extends STSClientConfigType {}
153
+ declare type STSClientResolvedConfigType =
154
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
155
+ Required<ClientDefaults> &
156
+ RegionResolvedConfig &
157
+ EndpointsResolvedConfig &
158
+ RetryResolvedConfig &
159
+ HostHeaderResolvedConfig &
160
+ StsAuthResolvedConfig &
161
+ UserAgentResolvedConfig;
162
+
163
+ export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
164
+
165
+ export declare class STSClient extends __Client<
166
+ __HttpHandlerOptions,
167
+ ServiceInputTypes,
168
+ ServiceOutputTypes,
169
+ STSClientResolvedConfig
170
+ > {
171
+ readonly config: STSClientResolvedConfig;
172
+ constructor(configuration: STSClientConfig);
173
+
174
+ destroy(): void;
175
+ }
176
+ export {};
@@ -1,17 +1,34 @@
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
+
19
+ export declare class AssumeRoleCommand extends $Command<
20
+ AssumeRoleCommandInput,
21
+ AssumeRoleCommandOutput,
22
+ STSClientResolvedConfig
23
+ > {
24
+ readonly input: AssumeRoleCommandInput;
25
+ constructor(input: AssumeRoleCommandInput);
26
+
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: STSClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<AssumeRoleCommandInput, AssumeRoleCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -1,17 +1,38 @@
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
+
23
+ export declare class AssumeRoleWithSAMLCommand extends $Command<
24
+ AssumeRoleWithSAMLCommandInput,
25
+ AssumeRoleWithSAMLCommandOutput,
26
+ STSClientResolvedConfig
27
+ > {
28
+ readonly input: AssumeRoleWithSAMLCommandInput;
29
+ constructor(input: AssumeRoleWithSAMLCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: STSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,17 +1,41 @@
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
+
23
+ export declare class AssumeRoleWithWebIdentityCommand extends $Command<
24
+ AssumeRoleWithWebIdentityCommandInput,
25
+ AssumeRoleWithWebIdentityCommandOutput,
26
+ STSClientResolvedConfig
27
+ > {
28
+ readonly input: AssumeRoleWithWebIdentityCommandInput;
29
+ constructor(input: AssumeRoleWithWebIdentityCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: STSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ AssumeRoleWithWebIdentityCommandInput,
37
+ AssumeRoleWithWebIdentityCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }