@aws-sdk/client-sso 3.325.0 → 3.327.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.
@@ -34,6 +34,15 @@ export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsRespo
34
34
  * };
35
35
  * const command = new GetRoleCredentialsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetRoleCredentialsResponse
38
+ * // roleCredentials: { // RoleCredentials
39
+ * // accessKeyId: "STRING_VALUE",
40
+ * // secretAccessKey: "STRING_VALUE",
41
+ * // sessionToken: "STRING_VALUE",
42
+ * // expiration: Number("long"),
43
+ * // },
44
+ * // };
45
+ *
37
46
  * ```
38
47
  *
39
48
  * @param GetRoleCredentialsCommandInput - {@link GetRoleCredentialsCommandInput}
@@ -57,6 +66,8 @@ export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsRespo
57
66
  * <p>Indicates that the request is not authorized. This can happen due to an invalid access
58
67
  * token in the request.</p>
59
68
  *
69
+ * @throws {@link SSOServiceException}
70
+ * <p>Base exception class for all service exceptions from SSO service.</p>
60
71
  *
61
72
  */
62
73
  export declare class GetRoleCredentialsCommand extends $Command<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig> {
@@ -34,6 +34,16 @@ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse,
34
34
  * };
35
35
  * const command = new ListAccountRolesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListAccountRolesResponse
38
+ * // nextToken: "STRING_VALUE",
39
+ * // roleList: [ // RoleListType
40
+ * // { // RoleInfo
41
+ * // roleName: "STRING_VALUE",
42
+ * // accountId: "STRING_VALUE",
43
+ * // },
44
+ * // ],
45
+ * // };
46
+ *
37
47
  * ```
38
48
  *
39
49
  * @param ListAccountRolesCommandInput - {@link ListAccountRolesCommandInput}
@@ -57,6 +67,8 @@ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse,
57
67
  * <p>Indicates that the request is not authorized. This can happen due to an invalid access
58
68
  * token in the request.</p>
59
69
  *
70
+ * @throws {@link SSOServiceException}
71
+ * <p>Base exception class for all service exceptions from SSO service.</p>
60
72
  *
61
73
  */
62
74
  export declare class ListAccountRolesCommand extends $Command<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, SSOClientResolvedConfig> {
@@ -35,6 +35,17 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
35
35
  * };
36
36
  * const command = new ListAccountsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListAccountsResponse
39
+ * // nextToken: "STRING_VALUE",
40
+ * // accountList: [ // AccountListType
41
+ * // { // AccountInfo
42
+ * // accountId: "STRING_VALUE",
43
+ * // accountName: "STRING_VALUE",
44
+ * // emailAddress: "STRING_VALUE",
45
+ * // },
46
+ * // ],
47
+ * // };
48
+ *
38
49
  * ```
39
50
  *
40
51
  * @param ListAccountsCommandInput - {@link ListAccountsCommandInput}
@@ -58,6 +69,8 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
58
69
  * <p>Indicates that the request is not authorized. This can happen due to an invalid access
59
70
  * token in the request.</p>
60
71
  *
72
+ * @throws {@link SSOServiceException}
73
+ * <p>Base exception class for all service exceptions from SSO service.</p>
61
74
  *
62
75
  */
63
76
  export declare class ListAccountsCommand extends $Command<ListAccountsCommandInput, ListAccountsCommandOutput, SSOClientResolvedConfig> {
@@ -46,6 +46,8 @@ export interface LogoutCommandOutput extends __MetadataBearer {
46
46
  * };
47
47
  * const command = new LogoutCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // {};
50
+ *
49
51
  * ```
50
52
  *
51
53
  * @param LogoutCommandInput - {@link LogoutCommandInput}
@@ -66,6 +68,8 @@ export interface LogoutCommandOutput extends __MetadataBearer {
66
68
  * <p>Indicates that the request is not authorized. This can happen due to an invalid access
67
69
  * token in the request.</p>
68
70
  *
71
+ * @throws {@link SSOServiceException}
72
+ * <p>Base exception class for all service exceptions from SSO service.</p>
69
73
  *
70
74
  */
71
75
  export declare class LogoutCommand extends $Command<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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",
@@ -30,10 +30,10 @@
30
30
  "@aws-sdk/middleware-host-header": "3.325.0",
31
31
  "@aws-sdk/middleware-logger": "3.325.0",
32
32
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
33
- "@aws-sdk/middleware-retry": "3.325.0",
33
+ "@aws-sdk/middleware-retry": "3.327.0",
34
34
  "@aws-sdk/middleware-serde": "3.325.0",
35
35
  "@aws-sdk/middleware-stack": "3.325.0",
36
- "@aws-sdk/middleware-user-agent": "3.325.0",
36
+ "@aws-sdk/middleware-user-agent": "3.327.0",
37
37
  "@aws-sdk/node-config-provider": "3.310.0",
38
38
  "@aws-sdk/node-http-handler": "3.321.1",
39
39
  "@aws-sdk/protocol-http": "3.310.0",
@@ -45,8 +45,8 @@
45
45
  "@aws-sdk/util-body-length-node": "3.310.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
47
47
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
48
- "@aws-sdk/util-endpoints": "3.319.0",
49
- "@aws-sdk/util-retry": "3.310.0",
48
+ "@aws-sdk/util-endpoints": "3.327.0",
49
+ "@aws-sdk/util-retry": "3.327.0",
50
50
  "@aws-sdk/util-user-agent-browser": "3.310.0",
51
51
  "@aws-sdk/util-user-agent-node": "3.310.0",
52
52
  "@aws-sdk/util-utf8": "3.310.0",