@aws-sdk/client-sts
Advanced tools
Comparing version 3.692.0 to 3.693.0
@@ -90,2 +90,28 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* @public | ||
* @example To launch a privileged session | ||
* ```javascript | ||
* // 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. | ||
* const input = { | ||
* "DurationSeconds": 900, | ||
* "TargetPrincipal": "111122223333", | ||
* "TaskPolicyArn": { | ||
* "arn": "arn:aws:iam::aws:policy/root-task/S3UnlockBucketPolicy" | ||
* } | ||
* }; | ||
* const command = new AssumeRootCommand(input); | ||
* const response = await client.send(command); | ||
* /* response == | ||
* { | ||
* "Credentials": { | ||
* "AccessKeyId": "ASIAJEXAMPLEXEG2JICEA", | ||
* "Expiration": "2024-11-15T00:05:07Z", | ||
* "SecretAccessKey": "9drTJvcXLB89EXAMPLELB8923FB892xMFI", | ||
* "SessionToken": "AQoXdzELDDY//////////wEaoAK1wvxJY12r2IrDFT2IvAzTCn3zHoZ7YNtpiQLF0MqZye/qwjzP2iEXAMPLEbw/m3hsj8VBTkPORGvr9jM5sgP+w9IZWZnU+LWhmg+a5fDi2oTGUYcdg9uexQ4mtCHIHfi4citgqZTgco40Yqr4lIlo4V2b2Dyauk0eYFNebHtYlFVgAUj+7Indz3LU0aTWk1WKIjHmmMCIoTkyYp/k7kUG7moeEYKSitwQIi6Gjn+nyzM+PtoA3685ixzv0R7i5rjQi0YE0lf1oeie3bDiNHncmzosRM6SFiPzSvp6h/32xQuZsjcypmwsPSDtTPYcs0+YN/8BRi2/IcrxSpnWEXAMPLEXSDFTAQAM6Dl9zR0tXoybnlrZIwMLlMi1Kcgo5OytwU=" | ||
* }, | ||
* "SourceIdentity": "Alice" | ||
* } | ||
* *\/ | ||
* // example id: to-launch-a-privileged-session-1731335424565 | ||
* ``` | ||
* | ||
*/ | ||
@@ -92,0 +118,0 @@ export declare class AssumeRootCommand extends AssumeRootCommand_base { |
{ | ||
"name": "@aws-sdk/client-sts", | ||
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native", | ||
"version": "3.692.0", | ||
"version": "3.693.0", | ||
"scripts": { | ||
@@ -15,4 +15,4 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"generate:client": "node ../../scripts/generate-clients/single-service --solo sts", | ||
"test": "vitest run", | ||
"test:watch": "vitest watch" | ||
"test": "yarn g:vitest run", | ||
"test:watch": "yarn g:vitest watch" | ||
}, | ||
@@ -26,14 +26,14 @@ "main": "./dist-cjs/index.js", | ||
"@aws-crypto/sha256-js": "5.2.0", | ||
"@aws-sdk/client-sso-oidc": "3.692.0", | ||
"@aws-sdk/core": "3.692.0", | ||
"@aws-sdk/credential-provider-node": "3.692.0", | ||
"@aws-sdk/middleware-host-header": "3.692.0", | ||
"@aws-sdk/middleware-logger": "3.692.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.692.0", | ||
"@aws-sdk/middleware-user-agent": "3.692.0", | ||
"@aws-sdk/region-config-resolver": "3.692.0", | ||
"@aws-sdk/client-sso-oidc": "3.693.0", | ||
"@aws-sdk/core": "3.693.0", | ||
"@aws-sdk/credential-provider-node": "3.693.0", | ||
"@aws-sdk/middleware-host-header": "3.693.0", | ||
"@aws-sdk/middleware-logger": "3.693.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.693.0", | ||
"@aws-sdk/middleware-user-agent": "3.693.0", | ||
"@aws-sdk/region-config-resolver": "3.693.0", | ||
"@aws-sdk/types": "3.692.0", | ||
"@aws-sdk/util-endpoints": "3.692.0", | ||
"@aws-sdk/util-user-agent-browser": "3.692.0", | ||
"@aws-sdk/util-user-agent-node": "3.692.0", | ||
"@aws-sdk/util-endpoints": "3.693.0", | ||
"@aws-sdk/util-user-agent-browser": "3.693.0", | ||
"@aws-sdk/util-user-agent-node": "3.693.0", | ||
"@smithy/config-resolver": "^3.0.11", | ||
@@ -40,0 +40,0 @@ "@smithy/core": "^2.5.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
473939
9358
+ Added@aws-sdk/client-sso@3.693.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.693.0(transitive)
+ Added@aws-sdk/core@3.693.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.693.0(transitive)
+ Added@aws-sdk/credential-provider-http@3.693.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.693.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.693.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.693.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.693.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.693.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.693.0(transitive)
+ Added@aws-sdk/middleware-logger@3.693.0(transitive)
+ Added@aws-sdk/middleware-recursion-detection@3.693.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.693.0(transitive)
+ Added@aws-sdk/region-config-resolver@3.693.0(transitive)
+ Added@aws-sdk/token-providers@3.693.0(transitive)
+ Added@aws-sdk/util-endpoints@3.693.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.693.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.693.0(transitive)
- Removed@aws-sdk/client-sso@3.692.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.692.0(transitive)
- Removed@aws-sdk/core@3.692.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.692.0(transitive)
- Removed@aws-sdk/credential-provider-http@3.692.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.692.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.692.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.692.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.692.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.692.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.692.0(transitive)
- Removed@aws-sdk/middleware-logger@3.692.0(transitive)
- Removed@aws-sdk/middleware-recursion-detection@3.692.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.692.0(transitive)
- Removed@aws-sdk/region-config-resolver@3.692.0(transitive)
- Removed@aws-sdk/token-providers@3.692.0(transitive)
- Removed@aws-sdk/util-endpoints@3.692.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.692.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.692.0(transitive)
Updated@aws-sdk/core@3.693.0