@aws-sdk/client-sts 3.890.0 → 3.891.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.
@@ -120,6 +120,8 @@ declare const AssumeRoleCommand_base: {
120
120
  * ```javascript
121
121
  * import { STSClient, AssumeRoleCommand } from "@aws-sdk/client-sts"; // ES Modules import
122
122
  * // const { STSClient, AssumeRoleCommand } = require("@aws-sdk/client-sts"); // CommonJS import
123
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
124
+ * const config = {}; // type is STSClientConfig
123
125
  * const client = new STSClient(config);
124
126
  * const input = { // AssumeRoleRequest
125
127
  * RoleArn: "STRING_VALUE", // required
@@ -161,6 +161,8 @@ declare const AssumeRoleWithSAMLCommand_base: {
161
161
  * ```javascript
162
162
  * import { STSClient, AssumeRoleWithSAMLCommand } from "@aws-sdk/client-sts"; // ES Modules import
163
163
  * // const { STSClient, AssumeRoleWithSAMLCommand } = require("@aws-sdk/client-sts"); // CommonJS import
164
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
165
+ * const config = {}; // type is STSClientConfig
164
166
  * const client = new STSClient(config);
165
167
  * const input = { // AssumeRoleWithSAMLRequest
166
168
  * RoleArn: "STRING_VALUE", // required
@@ -149,6 +149,8 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
149
149
  * ```javascript
150
150
  * import { STSClient, AssumeRoleWithWebIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
151
151
  * // const { STSClient, AssumeRoleWithWebIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
152
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
153
+ * const config = {}; // type is STSClientConfig
152
154
  * const client = new STSClient(config);
153
155
  * const input = { // AssumeRoleWithWebIdentityRequest
154
156
  * RoleArn: "STRING_VALUE", // required
@@ -44,6 +44,8 @@ declare const AssumeRootCommand_base: {
44
44
  * ```javascript
45
45
  * import { STSClient, AssumeRootCommand } from "@aws-sdk/client-sts"; // ES Modules import
46
46
  * // const { STSClient, AssumeRootCommand } = require("@aws-sdk/client-sts"); // CommonJS import
47
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
48
+ * const config = {}; // type is STSClientConfig
47
49
  * const client = new STSClient(config);
48
50
  * const input = { // AssumeRootRequest
49
51
  * TargetPrincipal: "STRING_VALUE", // required
@@ -68,6 +68,8 @@ declare const DecodeAuthorizationMessageCommand_base: {
68
68
  * ```javascript
69
69
  * import { STSClient, DecodeAuthorizationMessageCommand } from "@aws-sdk/client-sts"; // ES Modules import
70
70
  * // const { STSClient, DecodeAuthorizationMessageCommand } = require("@aws-sdk/client-sts"); // CommonJS import
71
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
72
+ * const config = {}; // type is STSClientConfig
71
73
  * const client = new STSClient(config);
72
74
  * const input = { // DecodeAuthorizationMessageRequest
73
75
  * EncodedMessage: "STRING_VALUE", // required
@@ -49,6 +49,8 @@ declare const GetAccessKeyInfoCommand_base: {
49
49
  * ```javascript
50
50
  * import { STSClient, GetAccessKeyInfoCommand } from "@aws-sdk/client-sts"; // ES Modules import
51
51
  * // const { STSClient, GetAccessKeyInfoCommand } = require("@aws-sdk/client-sts"); // CommonJS import
52
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
53
+ * const config = {}; // type is STSClientConfig
52
54
  * const client = new STSClient(config);
53
55
  * const input = { // GetAccessKeyInfoRequest
54
56
  * AccessKeyId: "STRING_VALUE", // required
@@ -42,6 +42,8 @@ declare const GetCallerIdentityCommand_base: {
42
42
  * ```javascript
43
43
  * import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
44
44
  * // const { STSClient, GetCallerIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
45
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
46
+ * const config = {}; // type is STSClientConfig
45
47
  * const client = new STSClient(config);
46
48
  * const input = {};
47
49
  * const command = new GetCallerIdentityCommand(input);
@@ -121,6 +121,8 @@ declare const GetFederationTokenCommand_base: {
121
121
  * ```javascript
122
122
  * import { STSClient, GetFederationTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
123
123
  * // const { STSClient, GetFederationTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
124
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
125
+ * const config = {}; // type is STSClientConfig
124
126
  * const client = new STSClient(config);
125
127
  * const input = { // GetFederationTokenRequest
126
128
  * Name: "STRING_VALUE", // required
@@ -91,6 +91,8 @@ declare const GetSessionTokenCommand_base: {
91
91
  * ```javascript
92
92
  * import { STSClient, GetSessionTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
93
93
  * // const { STSClient, GetSessionTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
94
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
95
+ * const config = {}; // type is STSClientConfig
94
96
  * const client = new STSClient(config);
95
97
  * const input = { // GetSessionTokenRequest
96
98
  * DurationSeconds: Number("int"),
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.890.0",
4
+ "version": "3.891.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sts",
@@ -23,16 +23,16 @@
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
25
  "@aws-sdk/core": "3.890.0",
26
- "@aws-sdk/credential-provider-node": "3.890.0",
27
- "@aws-sdk/middleware-host-header": "3.887.0",
28
- "@aws-sdk/middleware-logger": "3.887.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
30
- "@aws-sdk/middleware-user-agent": "3.890.0",
26
+ "@aws-sdk/credential-provider-node": "3.891.0",
27
+ "@aws-sdk/middleware-host-header": "3.891.0",
28
+ "@aws-sdk/middleware-logger": "3.891.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.891.0",
30
+ "@aws-sdk/middleware-user-agent": "3.891.0",
31
31
  "@aws-sdk/region-config-resolver": "3.890.0",
32
32
  "@aws-sdk/types": "3.887.0",
33
- "@aws-sdk/util-endpoints": "3.890.0",
33
+ "@aws-sdk/util-endpoints": "3.891.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.887.0",
35
- "@aws-sdk/util-user-agent-node": "3.890.0",
35
+ "@aws-sdk/util-user-agent-node": "3.891.0",
36
36
  "@smithy/config-resolver": "^4.2.2",
37
37
  "@smithy/core": "^3.11.0",
38
38
  "@smithy/fetch-http-handler": "^5.2.1",
@@ -40,7 +40,7 @@
40
40
  "@smithy/invalid-dependency": "^4.1.1",
41
41
  "@smithy/middleware-content-length": "^4.1.1",
42
42
  "@smithy/middleware-endpoint": "^4.2.2",
43
- "@smithy/middleware-retry": "^4.2.2",
43
+ "@smithy/middleware-retry": "^4.2.3",
44
44
  "@smithy/middleware-serde": "^4.1.1",
45
45
  "@smithy/middleware-stack": "^4.1.1",
46
46
  "@smithy/node-config-provider": "^4.2.2",
@@ -56,7 +56,7 @@
56
56
  "@smithy/util-defaults-mode-node": "^4.1.2",
57
57
  "@smithy/util-endpoints": "^3.1.2",
58
58
  "@smithy/util-middleware": "^4.1.1",
59
- "@smithy/util-retry": "^4.1.1",
59
+ "@smithy/util-retry": "^4.1.2",
60
60
  "@smithy/util-utf8": "^4.1.0",
61
61
  "tslib": "^2.6.2"
62
62
  },