@aws-sdk/client-sts 3.300.0 → 3.301.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/dist-types/commands/AssumeRoleCommand.d.ts +6 -6
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +3 -3
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -3
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +1 -1
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +1 -1
- package/dist-types/commands/GetFederationTokenCommand.d.ts +5 -5
- package/dist-types/commands/GetSessionTokenCommand.d.ts +1 -1
- package/package.json +2 -2
|
@@ -113,23 +113,23 @@ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataB
|
|
|
113
113
|
* import { STSClient, AssumeRoleCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
114
114
|
* // const { STSClient, AssumeRoleCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
115
115
|
* const client = new STSClient(config);
|
|
116
|
-
* const input = {
|
|
116
|
+
* const input = { // AssumeRoleRequest
|
|
117
117
|
* RoleArn: "STRING_VALUE", // required
|
|
118
118
|
* RoleSessionName: "STRING_VALUE", // required
|
|
119
|
-
* PolicyArns: [
|
|
120
|
-
* {
|
|
119
|
+
* PolicyArns: [ // policyDescriptorListType
|
|
120
|
+
* { // PolicyDescriptorType
|
|
121
121
|
* arn: "STRING_VALUE",
|
|
122
122
|
* },
|
|
123
123
|
* ],
|
|
124
124
|
* Policy: "STRING_VALUE",
|
|
125
125
|
* DurationSeconds: Number("int"),
|
|
126
|
-
* Tags: [
|
|
127
|
-
* {
|
|
126
|
+
* Tags: [ // tagListType
|
|
127
|
+
* { // Tag
|
|
128
128
|
* Key: "STRING_VALUE", // required
|
|
129
129
|
* Value: "STRING_VALUE", // required
|
|
130
130
|
* },
|
|
131
131
|
* ],
|
|
132
|
-
* TransitiveTagKeys: [
|
|
132
|
+
* TransitiveTagKeys: [ // tagKeyListType
|
|
133
133
|
* "STRING_VALUE",
|
|
134
134
|
* ],
|
|
135
135
|
* ExternalId: "STRING_VALUE",
|
|
@@ -154,12 +154,12 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
|
|
|
154
154
|
* import { STSClient, AssumeRoleWithSAMLCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
155
155
|
* // const { STSClient, AssumeRoleWithSAMLCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
156
156
|
* const client = new STSClient(config);
|
|
157
|
-
* const input = {
|
|
157
|
+
* const input = { // AssumeRoleWithSAMLRequest
|
|
158
158
|
* RoleArn: "STRING_VALUE", // required
|
|
159
159
|
* PrincipalArn: "STRING_VALUE", // required
|
|
160
160
|
* SAMLAssertion: "STRING_VALUE", // required
|
|
161
|
-
* PolicyArns: [
|
|
162
|
-
* {
|
|
161
|
+
* PolicyArns: [ // policyDescriptorListType
|
|
162
|
+
* { // PolicyDescriptorType
|
|
163
163
|
* arn: "STRING_VALUE",
|
|
164
164
|
* },
|
|
165
165
|
* ],
|
|
@@ -158,13 +158,13 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
|
|
|
158
158
|
* import { STSClient, AssumeRoleWithWebIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
159
159
|
* // const { STSClient, AssumeRoleWithWebIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
160
160
|
* const client = new STSClient(config);
|
|
161
|
-
* const input = {
|
|
161
|
+
* const input = { // AssumeRoleWithWebIdentityRequest
|
|
162
162
|
* RoleArn: "STRING_VALUE", // required
|
|
163
163
|
* RoleSessionName: "STRING_VALUE", // required
|
|
164
164
|
* WebIdentityToken: "STRING_VALUE", // required
|
|
165
165
|
* ProviderId: "STRING_VALUE",
|
|
166
|
-
* PolicyArns: [
|
|
167
|
-
* {
|
|
166
|
+
* PolicyArns: [ // policyDescriptorListType
|
|
167
|
+
* { // PolicyDescriptorType
|
|
168
168
|
* arn: "STRING_VALUE",
|
|
169
169
|
* },
|
|
170
170
|
* ],
|
|
@@ -61,7 +61,7 @@ export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthoriza
|
|
|
61
61
|
* import { STSClient, DecodeAuthorizationMessageCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
62
62
|
* // const { STSClient, DecodeAuthorizationMessageCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
63
63
|
* const client = new STSClient(config);
|
|
64
|
-
* const input = {
|
|
64
|
+
* const input = { // DecodeAuthorizationMessageRequest
|
|
65
65
|
* EncodedMessage: "STRING_VALUE", // required
|
|
66
66
|
* };
|
|
67
67
|
* const command = new DecodeAuthorizationMessageCommand(input);
|
|
@@ -43,7 +43,7 @@ export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse,
|
|
|
43
43
|
* import { STSClient, GetAccessKeyInfoCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
44
44
|
* // const { STSClient, GetAccessKeyInfoCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
45
45
|
* const client = new STSClient(config);
|
|
46
|
-
* const input = {
|
|
46
|
+
* const input = { // GetAccessKeyInfoRequest
|
|
47
47
|
* AccessKeyId: "STRING_VALUE", // required
|
|
48
48
|
* };
|
|
49
49
|
* const command = new GetAccessKeyInfoCommand(input);
|
|
@@ -112,17 +112,17 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
|
|
|
112
112
|
* import { STSClient, GetFederationTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
113
113
|
* // const { STSClient, GetFederationTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
114
114
|
* const client = new STSClient(config);
|
|
115
|
-
* const input = {
|
|
115
|
+
* const input = { // GetFederationTokenRequest
|
|
116
116
|
* Name: "STRING_VALUE", // required
|
|
117
117
|
* Policy: "STRING_VALUE",
|
|
118
|
-
* PolicyArns: [
|
|
119
|
-
* {
|
|
118
|
+
* PolicyArns: [ // policyDescriptorListType
|
|
119
|
+
* { // PolicyDescriptorType
|
|
120
120
|
* arn: "STRING_VALUE",
|
|
121
121
|
* },
|
|
122
122
|
* ],
|
|
123
123
|
* DurationSeconds: Number("int"),
|
|
124
|
-
* Tags: [
|
|
125
|
-
* {
|
|
124
|
+
* Tags: [ // tagListType
|
|
125
|
+
* { // Tag
|
|
126
126
|
* Key: "STRING_VALUE", // required
|
|
127
127
|
* Value: "STRING_VALUE", // required
|
|
128
128
|
* },
|
|
@@ -84,7 +84,7 @@ export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, _
|
|
|
84
84
|
* import { STSClient, GetSessionTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
85
85
|
* // const { STSClient, GetSessionTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
86
86
|
* const client = new STSClient(config);
|
|
87
|
-
* const input = {
|
|
87
|
+
* const input = { // GetSessionTokenRequest
|
|
88
88
|
* DurationSeconds: Number("int"),
|
|
89
89
|
* SerialNumber: "STRING_VALUE",
|
|
90
90
|
* TokenCode: "STRING_VALUE",
|
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.301.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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
28
28
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
29
29
|
"@aws-sdk/hash-node": "3.296.0",
|
|
30
30
|
"@aws-sdk/invalid-dependency": "3.296.0",
|