@aws-sdk/client-sso 3.379.1 → 3.386.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.
|
@@ -6,14 +6,17 @@ import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
|
6
6
|
*/
|
|
7
7
|
export interface AccountInfo {
|
|
8
8
|
/**
|
|
9
|
+
* @public
|
|
9
10
|
* <p>The identifier of the AWS account that is assigned to the user.</p>
|
|
10
11
|
*/
|
|
11
12
|
accountId?: string;
|
|
12
13
|
/**
|
|
14
|
+
* @public
|
|
13
15
|
* <p>The display name of the AWS account that is assigned to the user.</p>
|
|
14
16
|
*/
|
|
15
17
|
accountName?: string;
|
|
16
18
|
/**
|
|
19
|
+
* @public
|
|
17
20
|
* <p>The email address of the AWS account that is assigned to the user.</p>
|
|
18
21
|
*/
|
|
19
22
|
emailAddress?: string;
|
|
@@ -23,14 +26,17 @@ export interface AccountInfo {
|
|
|
23
26
|
*/
|
|
24
27
|
export interface GetRoleCredentialsRequest {
|
|
25
28
|
/**
|
|
29
|
+
* @public
|
|
26
30
|
* <p>The friendly name of the role that is assigned to the user.</p>
|
|
27
31
|
*/
|
|
28
32
|
roleName: string | undefined;
|
|
29
33
|
/**
|
|
34
|
+
* @public
|
|
30
35
|
* <p>The identifier for the AWS account that is assigned to the user.</p>
|
|
31
36
|
*/
|
|
32
37
|
accountId: string | undefined;
|
|
33
38
|
/**
|
|
39
|
+
* @public
|
|
34
40
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
35
41
|
* <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html">CreateToken</a> in the <i>IAM Identity Center OIDC API Reference Guide</i>.</p>
|
|
36
42
|
*/
|
|
@@ -42,22 +48,26 @@ export interface GetRoleCredentialsRequest {
|
|
|
42
48
|
*/
|
|
43
49
|
export interface RoleCredentials {
|
|
44
50
|
/**
|
|
51
|
+
* @public
|
|
45
52
|
* <p>The identifier used for the temporary security credentials. For more information, see
|
|
46
53
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the
|
|
47
54
|
* <i>AWS IAM User Guide</i>.</p>
|
|
48
55
|
*/
|
|
49
56
|
accessKeyId?: string;
|
|
50
57
|
/**
|
|
58
|
+
* @public
|
|
51
59
|
* <p>The key that is used to sign the request. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the
|
|
52
60
|
* <i>AWS IAM User Guide</i>.</p>
|
|
53
61
|
*/
|
|
54
62
|
secretAccessKey?: string;
|
|
55
63
|
/**
|
|
64
|
+
* @public
|
|
56
65
|
* <p>The token used for temporary credentials. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the
|
|
57
66
|
* <i>AWS IAM User Guide</i>.</p>
|
|
58
67
|
*/
|
|
59
68
|
sessionToken?: string;
|
|
60
69
|
/**
|
|
70
|
+
* @public
|
|
61
71
|
* <p>The date on which temporary security credentials expire.</p>
|
|
62
72
|
*/
|
|
63
73
|
expiration?: number;
|
|
@@ -67,6 +77,7 @@ export interface RoleCredentials {
|
|
|
67
77
|
*/
|
|
68
78
|
export interface GetRoleCredentialsResponse {
|
|
69
79
|
/**
|
|
80
|
+
* @public
|
|
70
81
|
* <p>The credentials for the role that is assigned to the user.</p>
|
|
71
82
|
*/
|
|
72
83
|
roleCredentials?: RoleCredentials;
|
|
@@ -127,19 +138,23 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
127
138
|
*/
|
|
128
139
|
export interface ListAccountRolesRequest {
|
|
129
140
|
/**
|
|
141
|
+
* @public
|
|
130
142
|
* <p>The page token from the previous response output when you request subsequent pages.</p>
|
|
131
143
|
*/
|
|
132
144
|
nextToken?: string;
|
|
133
145
|
/**
|
|
146
|
+
* @public
|
|
134
147
|
* <p>The number of items that clients can request per page.</p>
|
|
135
148
|
*/
|
|
136
149
|
maxResults?: number;
|
|
137
150
|
/**
|
|
151
|
+
* @public
|
|
138
152
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
139
153
|
* <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html">CreateToken</a> in the <i>IAM Identity Center OIDC API Reference Guide</i>.</p>
|
|
140
154
|
*/
|
|
141
155
|
accessToken: string | undefined;
|
|
142
156
|
/**
|
|
157
|
+
* @public
|
|
143
158
|
* <p>The identifier for the AWS account that is assigned to the user.</p>
|
|
144
159
|
*/
|
|
145
160
|
accountId: string | undefined;
|
|
@@ -150,10 +165,12 @@ export interface ListAccountRolesRequest {
|
|
|
150
165
|
*/
|
|
151
166
|
export interface RoleInfo {
|
|
152
167
|
/**
|
|
168
|
+
* @public
|
|
153
169
|
* <p>The friendly name of the role that is assigned to the user.</p>
|
|
154
170
|
*/
|
|
155
171
|
roleName?: string;
|
|
156
172
|
/**
|
|
173
|
+
* @public
|
|
157
174
|
* <p>The identifier of the AWS account assigned to the user.</p>
|
|
158
175
|
*/
|
|
159
176
|
accountId?: string;
|
|
@@ -163,10 +180,12 @@ export interface RoleInfo {
|
|
|
163
180
|
*/
|
|
164
181
|
export interface ListAccountRolesResponse {
|
|
165
182
|
/**
|
|
183
|
+
* @public
|
|
166
184
|
* <p>The page token client that is used to retrieve the list of accounts.</p>
|
|
167
185
|
*/
|
|
168
186
|
nextToken?: string;
|
|
169
187
|
/**
|
|
188
|
+
* @public
|
|
170
189
|
* <p>A paginated response with the list of roles and the next token if more results are
|
|
171
190
|
* available.</p>
|
|
172
191
|
*/
|
|
@@ -177,15 +196,18 @@ export interface ListAccountRolesResponse {
|
|
|
177
196
|
*/
|
|
178
197
|
export interface ListAccountsRequest {
|
|
179
198
|
/**
|
|
199
|
+
* @public
|
|
180
200
|
* <p>(Optional) When requesting subsequent pages, this is the page token from the previous
|
|
181
201
|
* response output.</p>
|
|
182
202
|
*/
|
|
183
203
|
nextToken?: string;
|
|
184
204
|
/**
|
|
205
|
+
* @public
|
|
185
206
|
* <p>This is the number of items clients can request per page.</p>
|
|
186
207
|
*/
|
|
187
208
|
maxResults?: number;
|
|
188
209
|
/**
|
|
210
|
+
* @public
|
|
189
211
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
190
212
|
* <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html">CreateToken</a> in the <i>IAM Identity Center OIDC API Reference Guide</i>.</p>
|
|
191
213
|
*/
|
|
@@ -196,10 +218,12 @@ export interface ListAccountsRequest {
|
|
|
196
218
|
*/
|
|
197
219
|
export interface ListAccountsResponse {
|
|
198
220
|
/**
|
|
221
|
+
* @public
|
|
199
222
|
* <p>The page token client that is used to retrieve the list of accounts.</p>
|
|
200
223
|
*/
|
|
201
224
|
nextToken?: string;
|
|
202
225
|
/**
|
|
226
|
+
* @public
|
|
203
227
|
* <p>A paginated response with the list of account information and the next token if more
|
|
204
228
|
* results are available.</p>
|
|
205
229
|
*/
|
|
@@ -210,6 +234,7 @@ export interface ListAccountsResponse {
|
|
|
210
234
|
*/
|
|
211
235
|
export interface LogoutRequest {
|
|
212
236
|
/**
|
|
237
|
+
* @public
|
|
213
238
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
214
239
|
* <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html">CreateToken</a> in the <i>IAM Identity Center OIDC API Reference Guide</i>.</p>
|
|
215
240
|
*/
|
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.386.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",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
25
25
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
26
26
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.386.0",
|
|
28
28
|
"@aws-sdk/types": "3.378.0",
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.386.0",
|
|
30
30
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
31
31
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
32
32
|
"@smithy/config-resolver": "^2.0.1",
|