@aws-sdk/client-sts 3.692.0 → 3.693.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.
@@ -87,6 +87,32 @@ declare const AssumeRootCommand_base: {
87
87
  * <p>Base exception class for all service exceptions from STS service.</p>
88
88
  *
89
89
  * @public
90
+ * @example To launch a privileged session
91
+ * ```javascript
92
+ * // The following command retrieves a set of short-term credentials you can use to unlock an S3 bucket for a member account by removing the bucket policy.
93
+ * const input = {
94
+ * "DurationSeconds": 900,
95
+ * "TargetPrincipal": "111122223333",
96
+ * "TaskPolicyArn": {
97
+ * "arn": "arn:aws:iam::aws:policy/root-task/S3UnlockBucketPolicy"
98
+ * }
99
+ * };
100
+ * const command = new AssumeRootCommand(input);
101
+ * const response = await client.send(command);
102
+ * /* response ==
103
+ * {
104
+ * "Credentials": {
105
+ * "AccessKeyId": "ASIAJEXAMPLEXEG2JICEA",
106
+ * "Expiration": "2024-11-15T00:05:07Z",
107
+ * "SecretAccessKey": "9drTJvcXLB89EXAMPLELB8923FB892xMFI",
108
+ * "SessionToken": "AQoXdzELDDY//////////wEaoAK1wvxJY12r2IrDFT2IvAzTCn3zHoZ7YNtpiQLF0MqZye/qwjzP2iEXAMPLEbw/m3hsj8VBTkPORGvr9jM5sgP+w9IZWZnU+LWhmg+a5fDi2oTGUYcdg9uexQ4mtCHIHfi4citgqZTgco40Yqr4lIlo4V2b2Dyauk0eYFNebHtYlFVgAUj+7Indz3LU0aTWk1WKIjHmmMCIoTkyYp/k7kUG7moeEYKSitwQIi6Gjn+nyzM+PtoA3685ixzv0R7i5rjQi0YE0lf1oeie3bDiNHncmzosRM6SFiPzSvp6h/32xQuZsjcypmwsPSDtTPYcs0+YN/8BRi2/IcrxSpnWEXAMPLEXSDFTAQAM6Dl9zR0tXoybnlrZIwMLlMi1Kcgo5OytwU="
109
+ * },
110
+ * "SourceIdentity": "Alice"
111
+ * }
112
+ * *\/
113
+ * // example id: to-launch-a-privileged-session-1731335424565
114
+ * ```
115
+ *
90
116
  */
91
117
  export declare class AssumeRootCommand extends AssumeRootCommand_base {
92
118
  /** @internal type navigation helper, not in runtime. */
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.692.0",
4
+ "version": "3.693.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",
@@ -12,8 +12,8 @@
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
14
  "generate:client": "node ../../scripts/generate-clients/single-service --solo sts",
15
- "test": "vitest run",
16
- "test:watch": "vitest watch"
15
+ "test": "yarn g:vitest run",
16
+ "test:watch": "yarn g:vitest watch"
17
17
  },
18
18
  "main": "./dist-cjs/index.js",
19
19
  "types": "./dist-types/index.d.ts",
@@ -22,18 +22,18 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.692.0",
26
- "@aws-sdk/core": "3.692.0",
27
- "@aws-sdk/credential-provider-node": "3.692.0",
28
- "@aws-sdk/middleware-host-header": "3.692.0",
29
- "@aws-sdk/middleware-logger": "3.692.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.692.0",
31
- "@aws-sdk/middleware-user-agent": "3.692.0",
32
- "@aws-sdk/region-config-resolver": "3.692.0",
25
+ "@aws-sdk/client-sso-oidc": "3.693.0",
26
+ "@aws-sdk/core": "3.693.0",
27
+ "@aws-sdk/credential-provider-node": "3.693.0",
28
+ "@aws-sdk/middleware-host-header": "3.693.0",
29
+ "@aws-sdk/middleware-logger": "3.693.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.693.0",
31
+ "@aws-sdk/middleware-user-agent": "3.693.0",
32
+ "@aws-sdk/region-config-resolver": "3.693.0",
33
33
  "@aws-sdk/types": "3.692.0",
34
- "@aws-sdk/util-endpoints": "3.692.0",
35
- "@aws-sdk/util-user-agent-browser": "3.692.0",
36
- "@aws-sdk/util-user-agent-node": "3.692.0",
34
+ "@aws-sdk/util-endpoints": "3.693.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.693.0",
36
+ "@aws-sdk/util-user-agent-node": "3.693.0",
37
37
  "@smithy/config-resolver": "^3.0.11",
38
38
  "@smithy/core": "^2.5.2",
39
39
  "@smithy/fetch-http-handler": "^4.1.0",