@aws-sdk/client-sts 3.279.0 → 3.282.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/README.md +67 -0
- package/dist-types/commands/AssumeRoleCommand.d.ts +6 -0
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +6 -0
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -0
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +6 -0
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +6 -0
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +6 -0
- package/dist-types/commands/GetFederationTokenCommand.d.ts +6 -0
- package/dist-types/commands/GetSessionTokenCommand.d.ts +6 -0
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -208,3 +208,70 @@ To contribute to client you can check our [generate clients scripts](https://git
|
|
|
208
208
|
This SDK is distributed under the
|
|
209
209
|
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
|
|
210
210
|
see LICENSE for more information.
|
|
211
|
+
|
|
212
|
+
## Client Commands (Operations List)
|
|
213
|
+
|
|
214
|
+
<details>
|
|
215
|
+
<summary>
|
|
216
|
+
AssumeRole
|
|
217
|
+
</summary>
|
|
218
|
+
|
|
219
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/classes/assumerolecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/assumerolecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/assumerolecommandoutput.html)
|
|
220
|
+
|
|
221
|
+
</details>
|
|
222
|
+
<details>
|
|
223
|
+
<summary>
|
|
224
|
+
AssumeRoleWithSAML
|
|
225
|
+
</summary>
|
|
226
|
+
|
|
227
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/classes/assumerolewithsamlcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/assumerolewithsamlcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/assumerolewithsamlcommandoutput.html)
|
|
228
|
+
|
|
229
|
+
</details>
|
|
230
|
+
<details>
|
|
231
|
+
<summary>
|
|
232
|
+
AssumeRoleWithWebIdentity
|
|
233
|
+
</summary>
|
|
234
|
+
|
|
235
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/classes/assumerolewithwebidentitycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/assumerolewithwebidentitycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/assumerolewithwebidentitycommandoutput.html)
|
|
236
|
+
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
240
|
+
DecodeAuthorizationMessage
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/classes/decodeauthorizationmessagecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/decodeauthorizationmessagecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/decodeauthorizationmessagecommandoutput.html)
|
|
244
|
+
|
|
245
|
+
</details>
|
|
246
|
+
<details>
|
|
247
|
+
<summary>
|
|
248
|
+
GetAccessKeyInfo
|
|
249
|
+
</summary>
|
|
250
|
+
|
|
251
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/classes/getaccesskeyinfocommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/getaccesskeyinfocommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/getaccesskeyinfocommandoutput.html)
|
|
252
|
+
|
|
253
|
+
</details>
|
|
254
|
+
<details>
|
|
255
|
+
<summary>
|
|
256
|
+
GetCallerIdentity
|
|
257
|
+
</summary>
|
|
258
|
+
|
|
259
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/classes/getcalleridentitycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/getcalleridentitycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/getcalleridentitycommandoutput.html)
|
|
260
|
+
|
|
261
|
+
</details>
|
|
262
|
+
<details>
|
|
263
|
+
<summary>
|
|
264
|
+
GetFederationToken
|
|
265
|
+
</summary>
|
|
266
|
+
|
|
267
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/classes/getfederationtokencommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/getfederationtokencommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/getfederationtokencommandoutput.html)
|
|
268
|
+
|
|
269
|
+
</details>
|
|
270
|
+
<details>
|
|
271
|
+
<summary>
|
|
272
|
+
GetSessionToken
|
|
273
|
+
</summary>
|
|
274
|
+
|
|
275
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/classes/getsessiontokencommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/getsessiontokencommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sts/interfaces/getsessiontokencommandoutput.html)
|
|
276
|
+
|
|
277
|
+
</details>
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link AssumeRoleCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface AssumeRoleCommandInput extends AssumeRoleRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link AssumeRoleCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link AssumeRoleWithSAMLCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface AssumeRoleWithSAMLCommandInput extends AssumeRoleWithSAMLRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link AssumeRoleWithSAMLCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link AssumeRoleWithWebIdentityCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface AssumeRoleWithWebIdentityCommandInput extends AssumeRoleWithWebIdentityRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link AssumeRoleWithWebIdentityCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWebIdentityResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DecodeAuthorizationMessageCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DecodeAuthorizationMessageCommandInput extends DecodeAuthorizationMessageRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DecodeAuthorizationMessageCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthorizationMessageResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetAccessKeyInfoCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetAccessKeyInfoCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetCallerIdentityCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetCallerIdentityCommandInput extends GetCallerIdentityRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetCallerIdentityCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetCallerIdentityCommandOutput extends GetCallerIdentityResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetFederationTokenCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetFederationTokenCommandInput extends GetFederationTokenRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetFederationTokenCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetFederationTokenCommandOutput extends GetFederationTokenResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetSessionTokenCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetSessionTokenCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
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.
|
|
4
|
+
"version": "3.282.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",
|
|
@@ -22,25 +22,25 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
+
"@aws-sdk/config-resolver": "3.282.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.282.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.272.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.272.0",
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-sdk-sts": "3.
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.282.0",
|
|
36
|
+
"@aws-sdk/middleware-sdk-sts": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.282.0",
|
|
39
39
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
41
41
|
"@aws-sdk/node-config-provider": "3.272.0",
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.282.0",
|
|
43
|
+
"@aws-sdk/protocol-http": "3.282.0",
|
|
44
44
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
45
45
|
"@aws-sdk/types": "3.272.0",
|
|
46
46
|
"@aws-sdk/url-parser": "3.272.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.282.0",
|
|
52
52
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
53
53
|
"@aws-sdk/util-retry": "3.272.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.282.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
57
57
|
"fast-xml-parser": "4.1.2",
|
|
58
58
|
"tslib": "^2.3.1"
|