@aws-sdk/client-sts 3.170.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,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.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
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-sts
@@ -32,7 +32,6 @@ import {
32
32
  GetSessionTokenCommandOutput,
33
33
  } from "./commands/GetSessionTokenCommand";
34
34
  import { STSClient } from "./STSClient";
35
-
36
35
  export declare class STS extends STSClient {
37
36
  assumeRole(
38
37
  args: AssumeRoleCommandInput,
@@ -47,7 +46,6 @@ export declare class STS extends STSClient {
47
46
  options: __HttpHandlerOptions,
48
47
  cb: (err: any, data?: AssumeRoleCommandOutput) => void
49
48
  ): void;
50
-
51
49
  assumeRoleWithSAML(
52
50
  args: AssumeRoleWithSAMLCommandInput,
53
51
  options?: __HttpHandlerOptions
@@ -61,7 +59,6 @@ export declare class STS extends STSClient {
61
59
  options: __HttpHandlerOptions,
62
60
  cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
63
61
  ): void;
64
-
65
62
  assumeRoleWithWebIdentity(
66
63
  args: AssumeRoleWithWebIdentityCommandInput,
67
64
  options?: __HttpHandlerOptions
@@ -75,7 +72,6 @@ export declare class STS extends STSClient {
75
72
  options: __HttpHandlerOptions,
76
73
  cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
77
74
  ): void;
78
-
79
75
  decodeAuthorizationMessage(
80
76
  args: DecodeAuthorizationMessageCommandInput,
81
77
  options?: __HttpHandlerOptions
@@ -89,7 +85,6 @@ export declare class STS extends STSClient {
89
85
  options: __HttpHandlerOptions,
90
86
  cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
91
87
  ): void;
92
-
93
88
  getAccessKeyInfo(
94
89
  args: GetAccessKeyInfoCommandInput,
95
90
  options?: __HttpHandlerOptions
@@ -103,7 +98,6 @@ export declare class STS extends STSClient {
103
98
  options: __HttpHandlerOptions,
104
99
  cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
105
100
  ): void;
106
-
107
101
  getCallerIdentity(
108
102
  args: GetCallerIdentityCommandInput,
109
103
  options?: __HttpHandlerOptions
@@ -117,7 +111,6 @@ export declare class STS extends STSClient {
117
111
  options: __HttpHandlerOptions,
118
112
  cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
119
113
  ): void;
120
-
121
114
  getFederationToken(
122
115
  args: GetFederationTokenCommandInput,
123
116
  options?: __HttpHandlerOptions
@@ -131,7 +124,6 @@ export declare class STS extends STSClient {
131
124
  options: __HttpHandlerOptions,
132
125
  cb: (err: any, data?: GetFederationTokenCommandOutput) => void
133
126
  ): void;
134
-
135
127
  getSessionToken(
136
128
  args: GetSessionTokenCommandInput,
137
129
  options?: __HttpHandlerOptions
@@ -95,47 +95,26 @@ export declare type ServiceOutputTypes =
95
95
  export interface ClientDefaults
96
96
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
97
97
  requestHandler?: __HttpHandler;
98
-
99
98
  sha256?: __HashConstructor;
100
-
101
99
  urlParser?: __UrlParser;
102
-
103
100
  bodyLengthChecker?: __BodyLengthCalculator;
104
-
105
101
  streamCollector?: __StreamCollector;
106
-
107
102
  base64Decoder?: __Decoder;
108
-
109
103
  base64Encoder?: __Encoder;
110
-
111
104
  utf8Decoder?: __Decoder;
112
-
113
105
  utf8Encoder?: __Encoder;
114
-
115
106
  runtime?: string;
116
-
117
107
  disableHostPrefix?: boolean;
118
-
119
108
  maxAttempts?: number | __Provider<number>;
120
-
121
109
  retryMode?: string | __Provider<string>;
122
-
123
110
  logger?: __Logger;
124
-
125
111
  useDualstackEndpoint?: boolean | __Provider<boolean>;
126
-
127
112
  useFipsEndpoint?: boolean | __Provider<boolean>;
128
-
129
113
  serviceId?: string;
130
-
131
114
  region?: string | __Provider<string>;
132
-
133
115
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
134
-
135
116
  regionInfoProvider?: RegionInfoProvider;
136
-
137
117
  defaultUserAgentProvider?: Provider<__UserAgent>;
138
-
139
118
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
140
119
  }
141
120
  declare type STSClientConfigType = Partial<
@@ -148,7 +127,6 @@ declare type STSClientConfigType = Partial<
148
127
  HostHeaderInputConfig &
149
128
  StsAuthInputConfig &
150
129
  UserAgentInputConfig;
151
-
152
130
  export interface STSClientConfig extends STSClientConfigType {}
153
131
  declare type STSClientResolvedConfigType =
154
132
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
@@ -159,9 +137,7 @@ declare type STSClientResolvedConfigType =
159
137
  HostHeaderResolvedConfig &
160
138
  StsAuthResolvedConfig &
161
139
  UserAgentResolvedConfig;
162
-
163
140
  export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
164
-
165
141
  export declare class STSClient extends __Client<
166
142
  __HttpHandlerOptions,
167
143
  ServiceInputTypes,
@@ -170,7 +146,6 @@ export declare class STSClient extends __Client<
170
146
  > {
171
147
  readonly config: STSClientResolvedConfig;
172
148
  constructor(configuration: STSClientConfig);
173
-
174
149
  destroy(): void;
175
150
  }
176
151
  export {};
@@ -15,7 +15,6 @@ export interface AssumeRoleCommandInput extends AssumeRoleRequest {}
15
15
  export interface AssumeRoleCommandOutput
16
16
  extends AssumeRoleResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class AssumeRoleCommand extends $Command<
20
19
  AssumeRoleCommandInput,
21
20
  AssumeRoleCommandOutput,
@@ -23,7 +22,6 @@ export declare class AssumeRoleCommand extends $Command<
23
22
  > {
24
23
  readonly input: AssumeRoleCommandInput;
25
24
  constructor(input: AssumeRoleCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: STSClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface AssumeRoleWithSAMLCommandInput
19
19
  export interface AssumeRoleWithSAMLCommandOutput
20
20
  extends AssumeRoleWithSAMLResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class AssumeRoleWithSAMLCommand extends $Command<
24
23
  AssumeRoleWithSAMLCommandInput,
25
24
  AssumeRoleWithSAMLCommandOutput,
@@ -27,7 +26,6 @@ export declare class AssumeRoleWithSAMLCommand extends $Command<
27
26
  > {
28
27
  readonly input: AssumeRoleWithSAMLCommandInput;
29
28
  constructor(input: AssumeRoleWithSAMLCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: STSClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface AssumeRoleWithWebIdentityCommandInput
19
19
  export interface AssumeRoleWithWebIdentityCommandOutput
20
20
  extends AssumeRoleWithWebIdentityResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class AssumeRoleWithWebIdentityCommand extends $Command<
24
23
  AssumeRoleWithWebIdentityCommandInput,
25
24
  AssumeRoleWithWebIdentityCommandOutput,
@@ -27,7 +26,6 @@ export declare class AssumeRoleWithWebIdentityCommand extends $Command<
27
26
  > {
28
27
  readonly input: AssumeRoleWithWebIdentityCommandInput;
29
28
  constructor(input: AssumeRoleWithWebIdentityCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: STSClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface DecodeAuthorizationMessageCommandInput
19
19
  export interface DecodeAuthorizationMessageCommandOutput
20
20
  extends DecodeAuthorizationMessageResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DecodeAuthorizationMessageCommand extends $Command<
24
23
  DecodeAuthorizationMessageCommandInput,
25
24
  DecodeAuthorizationMessageCommandOutput,
@@ -27,7 +26,6 @@ export declare class DecodeAuthorizationMessageCommand extends $Command<
27
26
  > {
28
27
  readonly input: DecodeAuthorizationMessageCommandInput;
29
28
  constructor(input: DecodeAuthorizationMessageCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: STSClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {}
18
18
  export interface GetAccessKeyInfoCommandOutput
19
19
  extends GetAccessKeyInfoResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class GetAccessKeyInfoCommand extends $Command<
23
22
  GetAccessKeyInfoCommandInput,
24
23
  GetAccessKeyInfoCommandOutput,
@@ -26,7 +25,6 @@ export declare class GetAccessKeyInfoCommand extends $Command<
26
25
  > {
27
26
  readonly input: GetAccessKeyInfoCommandInput;
28
27
  constructor(input: GetAccessKeyInfoCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: STSClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface GetCallerIdentityCommandInput
19
19
  export interface GetCallerIdentityCommandOutput
20
20
  extends GetCallerIdentityResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class GetCallerIdentityCommand extends $Command<
24
23
  GetCallerIdentityCommandInput,
25
24
  GetCallerIdentityCommandOutput,
@@ -27,7 +26,6 @@ export declare class GetCallerIdentityCommand extends $Command<
27
26
  > {
28
27
  readonly input: GetCallerIdentityCommandInput;
29
28
  constructor(input: GetCallerIdentityCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: STSClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface GetFederationTokenCommandInput
19
19
  export interface GetFederationTokenCommandOutput
20
20
  extends GetFederationTokenResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class GetFederationTokenCommand extends $Command<
24
23
  GetFederationTokenCommandInput,
25
24
  GetFederationTokenCommandOutput,
@@ -27,7 +26,6 @@ export declare class GetFederationTokenCommand extends $Command<
27
26
  > {
28
27
  readonly input: GetFederationTokenCommandInput;
29
28
  constructor(input: GetFederationTokenCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: STSClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {}
18
18
  export interface GetSessionTokenCommandOutput
19
19
  extends GetSessionTokenResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class GetSessionTokenCommand extends $Command<
23
22
  GetSessionTokenCommandInput,
24
23
  GetSessionTokenCommandOutput,
@@ -26,7 +25,6 @@ export declare class GetSessionTokenCommand extends $Command<
26
25
  > {
27
26
  readonly input: GetSessionTokenCommandInput;
28
27
  constructor(input: GetSessionTokenCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: STSClientResolvedConfig,
@@ -9,17 +9,14 @@ import {
9
9
  ServiceOutputTypes,
10
10
  STSClientConfig,
11
11
  } from "./STSClient";
12
-
13
12
  export declare const getDefaultRoleAssumer: (
14
13
  stsOptions?: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
15
14
  stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[] | undefined
16
15
  ) => RoleAssumer;
17
-
18
16
  export declare const getDefaultRoleAssumerWithWebIdentity: (
19
17
  stsOptions?: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
20
18
  stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[] | undefined
21
19
  ) => RoleAssumerWithWebIdentity;
22
-
23
20
  export declare const decorateDefaultCredentialProvider: (
24
21
  provider: DefaultCredentialProvider
25
22
  ) => DefaultCredentialProvider;
@@ -2,30 +2,24 @@ import { Credentials, Provider } from "@aws-sdk/types";
2
2
  import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
3
3
  import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
4
4
  import { STSClient, STSClientConfig } from "./STSClient";
5
-
6
5
  export declare type RoleAssumer = (
7
6
  sourceCreds: Credentials,
8
7
  params: AssumeRoleCommandInput
9
8
  ) => Promise<Credentials>;
10
-
11
9
  export declare const getDefaultRoleAssumer: (
12
10
  stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
13
11
  stsClientCtor: new (options: STSClientConfig) => STSClient
14
12
  ) => RoleAssumer;
15
-
16
13
  export declare type RoleAssumerWithWebIdentity = (
17
14
  params: AssumeRoleWithWebIdentityCommandInput
18
15
  ) => Promise<Credentials>;
19
-
20
16
  export declare const getDefaultRoleAssumerWithWebIdentity: (
21
17
  stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
22
18
  stsClientCtor: new (options: STSClientConfig) => STSClient
23
19
  ) => RoleAssumerWithWebIdentity;
24
-
25
20
  export declare type DefaultCredentialProvider = (
26
21
  input: any
27
22
  ) => Provider<Credentials>;
28
-
29
23
  export declare const decorateDefaultCredentialProvider: (
30
24
  provider: DefaultCredentialProvider
31
25
  ) => DefaultCredentialProvider;
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class STSServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,78 +1,51 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { STSServiceException as __BaseException } from "./STSServiceException";
3
-
4
3
  export interface AssumedRoleUser {
5
4
  AssumedRoleId: string | undefined;
6
-
7
5
  Arn: string | undefined;
8
6
  }
9
-
10
7
  export interface PolicyDescriptorType {
11
8
  arn?: string;
12
9
  }
13
-
14
10
  export interface Tag {
15
11
  Key: string | undefined;
16
-
17
12
  Value: string | undefined;
18
13
  }
19
14
  export interface AssumeRoleRequest {
20
15
  RoleArn: string | undefined;
21
-
22
16
  RoleSessionName: string | undefined;
23
-
24
17
  PolicyArns?: PolicyDescriptorType[];
25
-
26
18
  Policy?: string;
27
-
28
19
  DurationSeconds?: number;
29
-
30
20
  Tags?: Tag[];
31
-
32
21
  TransitiveTagKeys?: string[];
33
-
34
22
  ExternalId?: string;
35
-
36
23
  SerialNumber?: string;
37
-
38
24
  TokenCode?: string;
39
-
40
25
  SourceIdentity?: string;
41
26
  }
42
-
43
27
  export interface Credentials {
44
28
  AccessKeyId: string | undefined;
45
-
46
29
  SecretAccessKey: string | undefined;
47
-
48
30
  SessionToken: string | undefined;
49
-
50
31
  Expiration: Date | undefined;
51
32
  }
52
-
53
33
  export interface AssumeRoleResponse {
54
34
  Credentials?: Credentials;
55
-
56
35
  AssumedRoleUser?: AssumedRoleUser;
57
-
58
36
  PackedPolicySize?: number;
59
-
60
37
  SourceIdentity?: string;
61
38
  }
62
-
63
39
  export declare class ExpiredTokenException extends __BaseException {
64
40
  readonly name: "ExpiredTokenException";
65
41
  readonly $fault: "client";
66
-
67
42
  constructor(
68
43
  opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
69
44
  );
70
45
  }
71
-
72
46
  export declare class MalformedPolicyDocumentException extends __BaseException {
73
47
  readonly name: "MalformedPolicyDocumentException";
74
48
  readonly $fault: "client";
75
-
76
49
  constructor(
77
50
  opts: __ExceptionOptionType<
78
51
  MalformedPolicyDocumentException,
@@ -80,111 +53,74 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
80
53
  >
81
54
  );
82
55
  }
83
-
84
56
  export declare class PackedPolicyTooLargeException extends __BaseException {
85
57
  readonly name: "PackedPolicyTooLargeException";
86
58
  readonly $fault: "client";
87
-
88
59
  constructor(
89
60
  opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>
90
61
  );
91
62
  }
92
-
93
63
  export declare class RegionDisabledException extends __BaseException {
94
64
  readonly name: "RegionDisabledException";
95
65
  readonly $fault: "client";
96
-
97
66
  constructor(
98
67
  opts: __ExceptionOptionType<RegionDisabledException, __BaseException>
99
68
  );
100
69
  }
101
70
  export interface AssumeRoleWithSAMLRequest {
102
71
  RoleArn: string | undefined;
103
-
104
72
  PrincipalArn: string | undefined;
105
-
106
73
  SAMLAssertion: string | undefined;
107
-
108
74
  PolicyArns?: PolicyDescriptorType[];
109
-
110
75
  Policy?: string;
111
-
112
76
  DurationSeconds?: number;
113
77
  }
114
-
115
78
  export interface AssumeRoleWithSAMLResponse {
116
79
  Credentials?: Credentials;
117
-
118
80
  AssumedRoleUser?: AssumedRoleUser;
119
-
120
81
  PackedPolicySize?: number;
121
-
122
82
  Subject?: string;
123
-
124
83
  SubjectType?: string;
125
-
126
84
  Issuer?: string;
127
-
128
85
  Audience?: string;
129
-
130
86
  NameQualifier?: string;
131
-
132
87
  SourceIdentity?: string;
133
88
  }
134
-
135
89
  export declare class IDPRejectedClaimException extends __BaseException {
136
90
  readonly name: "IDPRejectedClaimException";
137
91
  readonly $fault: "client";
138
-
139
92
  constructor(
140
93
  opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>
141
94
  );
142
95
  }
143
-
144
96
  export declare class InvalidIdentityTokenException extends __BaseException {
145
97
  readonly name: "InvalidIdentityTokenException";
146
98
  readonly $fault: "client";
147
-
148
99
  constructor(
149
100
  opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>
150
101
  );
151
102
  }
152
103
  export interface AssumeRoleWithWebIdentityRequest {
153
104
  RoleArn: string | undefined;
154
-
155
105
  RoleSessionName: string | undefined;
156
-
157
106
  WebIdentityToken: string | undefined;
158
-
159
107
  ProviderId?: string;
160
-
161
108
  PolicyArns?: PolicyDescriptorType[];
162
-
163
109
  Policy?: string;
164
-
165
110
  DurationSeconds?: number;
166
111
  }
167
-
168
112
  export interface AssumeRoleWithWebIdentityResponse {
169
113
  Credentials?: Credentials;
170
-
171
114
  SubjectFromWebIdentityToken?: string;
172
-
173
115
  AssumedRoleUser?: AssumedRoleUser;
174
-
175
116
  PackedPolicySize?: number;
176
-
177
117
  Provider?: string;
178
-
179
118
  Audience?: string;
180
-
181
119
  SourceIdentity?: string;
182
120
  }
183
-
184
121
  export declare class IDPCommunicationErrorException extends __BaseException {
185
122
  readonly name: "IDPCommunicationErrorException";
186
123
  readonly $fault: "client";
187
-
188
124
  constructor(
189
125
  opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
190
126
  );
@@ -192,15 +128,12 @@ export declare class IDPCommunicationErrorException extends __BaseException {
192
128
  export interface DecodeAuthorizationMessageRequest {
193
129
  EncodedMessage: string | undefined;
194
130
  }
195
-
196
131
  export interface DecodeAuthorizationMessageResponse {
197
132
  DecodedMessage?: string;
198
133
  }
199
-
200
134
  export declare class InvalidAuthorizationMessageException extends __BaseException {
201
135
  readonly name: "InvalidAuthorizationMessageException";
202
136
  readonly $fault: "client";
203
-
204
137
  constructor(
205
138
  opts: __ExceptionOptionType<
206
139
  InvalidAuthorizationMessageException,
@@ -215,127 +148,91 @@ export interface GetAccessKeyInfoResponse {
215
148
  Account?: string;
216
149
  }
217
150
  export interface GetCallerIdentityRequest {}
218
-
219
151
  export interface GetCallerIdentityResponse {
220
152
  UserId?: string;
221
-
222
153
  Account?: string;
223
-
224
154
  Arn?: string;
225
155
  }
226
156
  export interface GetFederationTokenRequest {
227
157
  Name: string | undefined;
228
-
229
158
  Policy?: string;
230
-
231
159
  PolicyArns?: PolicyDescriptorType[];
232
-
233
160
  DurationSeconds?: number;
234
-
235
161
  Tags?: Tag[];
236
162
  }
237
-
238
163
  export interface FederatedUser {
239
164
  FederatedUserId: string | undefined;
240
-
241
165
  Arn: string | undefined;
242
166
  }
243
-
244
167
  export interface GetFederationTokenResponse {
245
168
  Credentials?: Credentials;
246
-
247
169
  FederatedUser?: FederatedUser;
248
-
249
170
  PackedPolicySize?: number;
250
171
  }
251
172
  export interface GetSessionTokenRequest {
252
173
  DurationSeconds?: number;
253
-
254
174
  SerialNumber?: string;
255
-
256
175
  TokenCode?: string;
257
176
  }
258
-
259
177
  export interface GetSessionTokenResponse {
260
178
  Credentials?: Credentials;
261
179
  }
262
-
263
180
  export declare const AssumedRoleUserFilterSensitiveLog: (
264
181
  obj: AssumedRoleUser
265
182
  ) => any;
266
-
267
183
  export declare const PolicyDescriptorTypeFilterSensitiveLog: (
268
184
  obj: PolicyDescriptorType
269
185
  ) => any;
270
-
271
186
  export declare const TagFilterSensitiveLog: (obj: Tag) => any;
272
-
273
187
  export declare const AssumeRoleRequestFilterSensitiveLog: (
274
188
  obj: AssumeRoleRequest
275
189
  ) => any;
276
-
277
190
  export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
278
-
279
191
  export declare const AssumeRoleResponseFilterSensitiveLog: (
280
192
  obj: AssumeRoleResponse
281
193
  ) => any;
282
-
283
194
  export declare const AssumeRoleWithSAMLRequestFilterSensitiveLog: (
284
195
  obj: AssumeRoleWithSAMLRequest
285
196
  ) => any;
286
-
287
197
  export declare const AssumeRoleWithSAMLResponseFilterSensitiveLog: (
288
198
  obj: AssumeRoleWithSAMLResponse
289
199
  ) => any;
290
-
291
200
  export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (
292
201
  obj: AssumeRoleWithWebIdentityRequest
293
202
  ) => any;
294
-
295
203
  export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (
296
204
  obj: AssumeRoleWithWebIdentityResponse
297
205
  ) => any;
298
-
299
206
  export declare const DecodeAuthorizationMessageRequestFilterSensitiveLog: (
300
207
  obj: DecodeAuthorizationMessageRequest
301
208
  ) => any;
302
-
303
209
  export declare const DecodeAuthorizationMessageResponseFilterSensitiveLog: (
304
210
  obj: DecodeAuthorizationMessageResponse
305
211
  ) => any;
306
-
307
212
  export declare const GetAccessKeyInfoRequestFilterSensitiveLog: (
308
213
  obj: GetAccessKeyInfoRequest
309
214
  ) => any;
310
-
311
215
  export declare const GetAccessKeyInfoResponseFilterSensitiveLog: (
312
216
  obj: GetAccessKeyInfoResponse
313
217
  ) => any;
314
-
315
218
  export declare const GetCallerIdentityRequestFilterSensitiveLog: (
316
219
  obj: GetCallerIdentityRequest
317
220
  ) => any;
318
-
319
221
  export declare const GetCallerIdentityResponseFilterSensitiveLog: (
320
222
  obj: GetCallerIdentityResponse
321
223
  ) => any;
322
-
323
224
  export declare const GetFederationTokenRequestFilterSensitiveLog: (
324
225
  obj: GetFederationTokenRequest
325
226
  ) => any;
326
-
327
227
  export declare const FederatedUserFilterSensitiveLog: (
328
228
  obj: FederatedUser
329
229
  ) => any;
330
-
331
230
  export declare const GetFederationTokenResponseFilterSensitiveLog: (
332
231
  obj: GetFederationTokenResponse
333
232
  ) => any;
334
-
335
233
  export declare const GetSessionTokenRequestFilterSensitiveLog: (
336
234
  obj: GetSessionTokenRequest
337
235
  ) => any;
338
-
339
236
  export declare const GetSessionTokenResponseFilterSensitiveLog: (
340
237
  obj: GetSessionTokenResponse
341
238
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { STSClientConfig } from "./STSClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: STSClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { STSClientConfig } from "./STSClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: STSClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,5 +1,4 @@
1
1
  import { STSClientConfig } from "./STSClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: STSClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { STSClientConfig } from "./STSClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: STSClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
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.170.0",
4
+ "version": "3.171.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",
@@ -21,35 +21,35 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/config-resolver": "3.170.0",
25
- "@aws-sdk/credential-provider-node": "3.170.0",
26
- "@aws-sdk/fetch-http-handler": "3.170.0",
27
- "@aws-sdk/hash-node": "3.170.0",
28
- "@aws-sdk/invalid-dependency": "3.170.0",
29
- "@aws-sdk/middleware-content-length": "3.170.0",
30
- "@aws-sdk/middleware-host-header": "3.170.0",
31
- "@aws-sdk/middleware-logger": "3.170.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
33
- "@aws-sdk/middleware-retry": "3.170.0",
34
- "@aws-sdk/middleware-sdk-sts": "3.170.0",
35
- "@aws-sdk/middleware-serde": "3.170.0",
36
- "@aws-sdk/middleware-signing": "3.170.0",
37
- "@aws-sdk/middleware-stack": "3.170.0",
38
- "@aws-sdk/middleware-user-agent": "3.170.0",
39
- "@aws-sdk/node-config-provider": "3.170.0",
40
- "@aws-sdk/node-http-handler": "3.170.0",
41
- "@aws-sdk/protocol-http": "3.170.0",
42
- "@aws-sdk/smithy-client": "3.170.0",
43
- "@aws-sdk/types": "3.170.0",
44
- "@aws-sdk/url-parser": "3.170.0",
24
+ "@aws-sdk/config-resolver": "3.171.0",
25
+ "@aws-sdk/credential-provider-node": "3.171.0",
26
+ "@aws-sdk/fetch-http-handler": "3.171.0",
27
+ "@aws-sdk/hash-node": "3.171.0",
28
+ "@aws-sdk/invalid-dependency": "3.171.0",
29
+ "@aws-sdk/middleware-content-length": "3.171.0",
30
+ "@aws-sdk/middleware-host-header": "3.171.0",
31
+ "@aws-sdk/middleware-logger": "3.171.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.171.0",
33
+ "@aws-sdk/middleware-retry": "3.171.0",
34
+ "@aws-sdk/middleware-sdk-sts": "3.171.0",
35
+ "@aws-sdk/middleware-serde": "3.171.0",
36
+ "@aws-sdk/middleware-signing": "3.171.0",
37
+ "@aws-sdk/middleware-stack": "3.171.0",
38
+ "@aws-sdk/middleware-user-agent": "3.171.0",
39
+ "@aws-sdk/node-config-provider": "3.171.0",
40
+ "@aws-sdk/node-http-handler": "3.171.0",
41
+ "@aws-sdk/protocol-http": "3.171.0",
42
+ "@aws-sdk/smithy-client": "3.171.0",
43
+ "@aws-sdk/types": "3.171.0",
44
+ "@aws-sdk/url-parser": "3.171.0",
45
45
  "@aws-sdk/util-base64-browser": "3.170.0",
46
46
  "@aws-sdk/util-base64-node": "3.170.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.170.0",
48
48
  "@aws-sdk/util-body-length-node": "3.170.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
51
- "@aws-sdk/util-user-agent-browser": "3.170.0",
52
- "@aws-sdk/util-user-agent-node": "3.170.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.171.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.171.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.171.0",
52
+ "@aws-sdk/util-user-agent-node": "3.171.0",
53
53
  "@aws-sdk/util-utf8-browser": "3.170.0",
54
54
  "@aws-sdk/util-utf8-node": "3.170.0",
55
55
  "entities": "2.2.0",