@aws-sdk/client-sso 3.299.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.
|
@@ -27,6 +27,11 @@ export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsRespo
|
|
|
27
27
|
* import { SSOClient, GetRoleCredentialsCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
28
28
|
* // const { SSOClient, GetRoleCredentialsCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
29
29
|
* const client = new SSOClient(config);
|
|
30
|
+
* const input = { // GetRoleCredentialsRequest
|
|
31
|
+
* roleName: "STRING_VALUE", // required
|
|
32
|
+
* accountId: "STRING_VALUE", // required
|
|
33
|
+
* accessToken: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new GetRoleCredentialsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse,
|
|
|
26
26
|
* import { SSOClient, ListAccountRolesCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
27
27
|
* // const { SSOClient, ListAccountRolesCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
28
28
|
* const client = new SSOClient(config);
|
|
29
|
+
* const input = { // ListAccountRolesRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* accessToken: "STRING_VALUE", // required
|
|
33
|
+
* accountId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListAccountRolesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
|
|
|
28
28
|
* import { SSOClient, ListAccountsCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
29
29
|
* // const { SSOClient, ListAccountsCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
30
30
|
* const client = new SSOClient(config);
|
|
31
|
+
* const input = { // ListAccountsRequest
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* accessToken: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListAccountsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -41,6 +41,9 @@ export interface LogoutCommandOutput extends __MetadataBearer {
|
|
|
41
41
|
* import { SSOClient, LogoutCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
42
42
|
* // const { SSOClient, LogoutCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
43
43
|
* const client = new SSOClient(config);
|
|
44
|
+
* const input = { // LogoutRequest
|
|
45
|
+
* accessToken: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
44
47
|
* const command = new LogoutCommand(input);
|
|
45
48
|
* const response = await client.send(command);
|
|
46
49
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso 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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.296.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
31
31
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
35
35
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
36
36
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
38
38
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
39
39
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
40
40
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
48
48
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
49
49
|
"@aws-sdk/util-retry": "3.296.0",
|
|
50
50
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
52
52
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
53
53
|
"tslib": "^2.5.0"
|
|
54
54
|
},
|