@aws-sdk/client-sso 3.529.1 → 3.535.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.
- package/dist-types/SSO.d.ts +1 -1
- package/dist-types/SSOClient.d.ts +1 -1
- package/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
- package/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
- package/dist-types/commands/ListAccountsCommand.d.ts +2 -1
- package/dist-types/commands/LogoutCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +32 -32
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/LogoutCommand.d.ts +7 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +38 -38
package/dist-types/SSO.d.ts
CHANGED
|
@@ -31,7 +31,6 @@ export interface SSO {
|
|
|
31
31
|
logout(args: LogoutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LogoutCommandOutput) => void): void;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* @public
|
|
35
34
|
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
36
35
|
* IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
37
36
|
* assigned to them and get federated into the application.</p>
|
|
@@ -48,6 +47,7 @@ export interface SSO {
|
|
|
48
47
|
* convenient way to create programmatic access to IAM Identity Center and other AWS services. For more
|
|
49
48
|
* information about the AWS SDKs, including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
|
|
50
49
|
* </note>
|
|
50
|
+
* @public
|
|
51
51
|
*/
|
|
52
52
|
export declare class SSO extends SSOClient implements SSO {
|
|
53
53
|
}
|
|
@@ -149,7 +149,6 @@ export type SSOClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
|
|
|
149
149
|
export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
* @public
|
|
153
152
|
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
154
153
|
* IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
155
154
|
* assigned to them and get federated into the application.</p>
|
|
@@ -166,6 +165,7 @@ export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {
|
|
|
166
165
|
* convenient way to create programmatic access to IAM Identity Center and other AWS services. For more
|
|
167
166
|
* information about the AWS SDKs, including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
|
|
168
167
|
* </note>
|
|
168
|
+
* @public
|
|
169
169
|
*/
|
|
170
170
|
export declare class SSOClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig> {
|
|
171
171
|
/**
|
|
@@ -22,10 +22,10 @@ export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsRespo
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetRoleCredentialsCommand_base: {
|
|
24
24
|
new (input: GetRoleCredentialsCommandInput): import("@smithy/smithy-client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetRoleCredentialsCommandInput): import("@smithy/smithy-client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns the STS short-term credentials for a given role name that is assigned to the
|
|
30
30
|
* user.</p>
|
|
31
31
|
* @example
|
|
@@ -76,6 +76,7 @@ declare const GetRoleCredentialsCommand_base: {
|
|
|
76
76
|
* @throws {@link SSOServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from SSO service.</p>
|
|
78
78
|
*
|
|
79
|
+
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class GetRoleCredentialsCommand extends GetRoleCredentialsCommand_base {
|
|
81
82
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse,
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListAccountRolesCommand_base: {
|
|
24
24
|
new (input: ListAccountRolesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListAccountRolesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Lists all roles that are assigned to the user for a given AWS account.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -77,6 +77,7 @@ declare const ListAccountRolesCommand_base: {
|
|
|
77
77
|
* @throws {@link SSOServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from SSO service.</p>
|
|
79
79
|
*
|
|
80
|
+
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListAccountRolesCommand extends ListAccountRolesCommand_base {
|
|
82
83
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListAccountsCommand_base: {
|
|
24
24
|
new (input: ListAccountsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListAccountsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the
|
|
30
30
|
* administrator of the account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/useraccess.html#assignusers">Assign User Access</a> in the <i>IAM Identity Center User Guide</i>. This operation
|
|
31
31
|
* returns a paginated response.</p>
|
|
@@ -79,6 +79,7 @@ declare const ListAccountsCommand_base: {
|
|
|
79
79
|
* @throws {@link SSOServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from SSO service.</p>
|
|
81
81
|
*
|
|
82
|
+
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class ListAccountsCommand extends ListAccountsCommand_base {
|
|
84
85
|
}
|
|
@@ -22,10 +22,10 @@ export interface LogoutCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const LogoutCommand_base: {
|
|
24
24
|
new (input: LogoutCommandInput): import("@smithy/smithy-client").CommandImpl<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: LogoutCommandInput): import("@smithy/smithy-client").CommandImpl<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Removes the locally stored SSO tokens from the client-side cache and sends an API call to
|
|
30
30
|
* the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in
|
|
31
31
|
* session.</p>
|
|
@@ -76,6 +76,7 @@ declare const LogoutCommand_base: {
|
|
|
76
76
|
* @throws {@link SSOServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from SSO service.</p>
|
|
78
78
|
*
|
|
79
|
+
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class LogoutCommand extends LogoutCommand_base {
|
|
81
82
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>Provides information about your AWS account.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export interface AccountInfo {
|
|
8
8
|
/**
|
|
9
|
-
* @public
|
|
10
9
|
* <p>The identifier of the AWS account that is assigned to the user.</p>
|
|
10
|
+
* @public
|
|
11
11
|
*/
|
|
12
12
|
accountId?: string;
|
|
13
13
|
/**
|
|
14
|
-
* @public
|
|
15
14
|
* <p>The display name of the AWS account that is assigned to the user.</p>
|
|
15
|
+
* @public
|
|
16
16
|
*/
|
|
17
17
|
accountName?: string;
|
|
18
18
|
/**
|
|
19
|
-
* @public
|
|
20
19
|
* <p>The email address of the AWS account that is assigned to the user.</p>
|
|
20
|
+
* @public
|
|
21
21
|
*/
|
|
22
22
|
emailAddress?: string;
|
|
23
23
|
}
|
|
@@ -26,49 +26,49 @@ export interface AccountInfo {
|
|
|
26
26
|
*/
|
|
27
27
|
export interface GetRoleCredentialsRequest {
|
|
28
28
|
/**
|
|
29
|
-
* @public
|
|
30
29
|
* <p>The friendly name of the role that is assigned to the user.</p>
|
|
30
|
+
* @public
|
|
31
31
|
*/
|
|
32
32
|
roleName: string | undefined;
|
|
33
33
|
/**
|
|
34
|
-
* @public
|
|
35
34
|
* <p>The identifier for the AWS account that is assigned to the user.</p>
|
|
35
|
+
* @public
|
|
36
36
|
*/
|
|
37
37
|
accountId: string | undefined;
|
|
38
38
|
/**
|
|
39
|
-
* @public
|
|
40
39
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
41
40
|
* <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>
|
|
41
|
+
* @public
|
|
42
42
|
*/
|
|
43
43
|
accessToken: string | undefined;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
* @public
|
|
47
46
|
* <p>Provides information about the role credentials that are assigned to the user.</p>
|
|
47
|
+
* @public
|
|
48
48
|
*/
|
|
49
49
|
export interface RoleCredentials {
|
|
50
50
|
/**
|
|
51
|
-
* @public
|
|
52
51
|
* <p>The identifier used for the temporary security credentials. For more information, see
|
|
53
52
|
* <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
|
|
54
53
|
* <i>AWS IAM User Guide</i>.</p>
|
|
54
|
+
* @public
|
|
55
55
|
*/
|
|
56
56
|
accessKeyId?: string;
|
|
57
57
|
/**
|
|
58
|
-
* @public
|
|
59
58
|
* <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
|
|
60
59
|
* <i>AWS IAM User Guide</i>.</p>
|
|
60
|
+
* @public
|
|
61
61
|
*/
|
|
62
62
|
secretAccessKey?: string;
|
|
63
63
|
/**
|
|
64
|
-
* @public
|
|
65
64
|
* <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
|
|
66
65
|
* <i>AWS IAM User Guide</i>.</p>
|
|
66
|
+
* @public
|
|
67
67
|
*/
|
|
68
68
|
sessionToken?: string;
|
|
69
69
|
/**
|
|
70
|
-
* @public
|
|
71
70
|
* <p>The date on which temporary security credentials expire.</p>
|
|
71
|
+
* @public
|
|
72
72
|
*/
|
|
73
73
|
expiration?: number;
|
|
74
74
|
}
|
|
@@ -77,15 +77,15 @@ export interface RoleCredentials {
|
|
|
77
77
|
*/
|
|
78
78
|
export interface GetRoleCredentialsResponse {
|
|
79
79
|
/**
|
|
80
|
-
* @public
|
|
81
80
|
* <p>The credentials for the role that is assigned to the user.</p>
|
|
81
|
+
* @public
|
|
82
82
|
*/
|
|
83
83
|
roleCredentials?: RoleCredentials;
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
* @public
|
|
87
86
|
* <p>Indicates that a problem occurred with the input to the request. For example, a required
|
|
88
87
|
* parameter might be missing or out of range.</p>
|
|
88
|
+
* @public
|
|
89
89
|
*/
|
|
90
90
|
export declare class InvalidRequestException extends __BaseException {
|
|
91
91
|
readonly name: "InvalidRequestException";
|
|
@@ -96,8 +96,8 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
96
96
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
|
-
* @public
|
|
100
99
|
* <p>The specified resource doesn't exist.</p>
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
103
103
|
readonly name: "ResourceNotFoundException";
|
|
@@ -108,9 +108,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
108
108
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
|
-
* @public
|
|
112
111
|
* <p>Indicates that the request is being made too frequently and is more than what the server
|
|
113
112
|
* can handle.</p>
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
export declare class TooManyRequestsException extends __BaseException {
|
|
116
116
|
readonly name: "TooManyRequestsException";
|
|
@@ -121,9 +121,9 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
121
121
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
|
-
* @public
|
|
125
124
|
* <p>Indicates that the request is not authorized. This can happen due to an invalid access
|
|
126
125
|
* token in the request.</p>
|
|
126
|
+
* @public
|
|
127
127
|
*/
|
|
128
128
|
export declare class UnauthorizedException extends __BaseException {
|
|
129
129
|
readonly name: "UnauthorizedException";
|
|
@@ -138,40 +138,40 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
138
138
|
*/
|
|
139
139
|
export interface ListAccountRolesRequest {
|
|
140
140
|
/**
|
|
141
|
-
* @public
|
|
142
141
|
* <p>The page token from the previous response output when you request subsequent pages.</p>
|
|
142
|
+
* @public
|
|
143
143
|
*/
|
|
144
144
|
nextToken?: string;
|
|
145
145
|
/**
|
|
146
|
-
* @public
|
|
147
146
|
* <p>The number of items that clients can request per page.</p>
|
|
147
|
+
* @public
|
|
148
148
|
*/
|
|
149
149
|
maxResults?: number;
|
|
150
150
|
/**
|
|
151
|
-
* @public
|
|
152
151
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
153
152
|
* <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>
|
|
153
|
+
* @public
|
|
154
154
|
*/
|
|
155
155
|
accessToken: string | undefined;
|
|
156
156
|
/**
|
|
157
|
-
* @public
|
|
158
157
|
* <p>The identifier for the AWS account that is assigned to the user.</p>
|
|
158
|
+
* @public
|
|
159
159
|
*/
|
|
160
160
|
accountId: string | undefined;
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* @public
|
|
164
163
|
* <p>Provides information about the role that is assigned to the user.</p>
|
|
164
|
+
* @public
|
|
165
165
|
*/
|
|
166
166
|
export interface RoleInfo {
|
|
167
167
|
/**
|
|
168
|
-
* @public
|
|
169
168
|
* <p>The friendly name of the role that is assigned to the user.</p>
|
|
169
|
+
* @public
|
|
170
170
|
*/
|
|
171
171
|
roleName?: string;
|
|
172
172
|
/**
|
|
173
|
-
* @public
|
|
174
173
|
* <p>The identifier of the AWS account assigned to the user.</p>
|
|
174
|
+
* @public
|
|
175
175
|
*/
|
|
176
176
|
accountId?: string;
|
|
177
177
|
}
|
|
@@ -180,14 +180,14 @@ export interface RoleInfo {
|
|
|
180
180
|
*/
|
|
181
181
|
export interface ListAccountRolesResponse {
|
|
182
182
|
/**
|
|
183
|
-
* @public
|
|
184
183
|
* <p>The page token client that is used to retrieve the list of accounts.</p>
|
|
184
|
+
* @public
|
|
185
185
|
*/
|
|
186
186
|
nextToken?: string;
|
|
187
187
|
/**
|
|
188
|
-
* @public
|
|
189
188
|
* <p>A paginated response with the list of roles and the next token if more results are
|
|
190
189
|
* available.</p>
|
|
190
|
+
* @public
|
|
191
191
|
*/
|
|
192
192
|
roleList?: RoleInfo[];
|
|
193
193
|
}
|
|
@@ -196,20 +196,20 @@ export interface ListAccountRolesResponse {
|
|
|
196
196
|
*/
|
|
197
197
|
export interface ListAccountsRequest {
|
|
198
198
|
/**
|
|
199
|
-
* @public
|
|
200
199
|
* <p>(Optional) When requesting subsequent pages, this is the page token from the previous
|
|
201
200
|
* response output.</p>
|
|
201
|
+
* @public
|
|
202
202
|
*/
|
|
203
203
|
nextToken?: string;
|
|
204
204
|
/**
|
|
205
|
-
* @public
|
|
206
205
|
* <p>This is the number of items clients can request per page.</p>
|
|
206
|
+
* @public
|
|
207
207
|
*/
|
|
208
208
|
maxResults?: number;
|
|
209
209
|
/**
|
|
210
|
-
* @public
|
|
211
210
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
212
211
|
* <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>
|
|
212
|
+
* @public
|
|
213
213
|
*/
|
|
214
214
|
accessToken: string | undefined;
|
|
215
215
|
}
|
|
@@ -218,14 +218,14 @@ export interface ListAccountsRequest {
|
|
|
218
218
|
*/
|
|
219
219
|
export interface ListAccountsResponse {
|
|
220
220
|
/**
|
|
221
|
-
* @public
|
|
222
221
|
* <p>The page token client that is used to retrieve the list of accounts.</p>
|
|
222
|
+
* @public
|
|
223
223
|
*/
|
|
224
224
|
nextToken?: string;
|
|
225
225
|
/**
|
|
226
|
-
* @public
|
|
227
226
|
* <p>A paginated response with the list of account information and the next token if more
|
|
228
227
|
* results are available.</p>
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
accountList?: AccountInfo[];
|
|
231
231
|
}
|
|
@@ -234,9 +234,9 @@ export interface ListAccountsResponse {
|
|
|
234
234
|
*/
|
|
235
235
|
export interface LogoutRequest {
|
|
236
236
|
/**
|
|
237
|
-
* @public
|
|
238
237
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
239
238
|
* <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>
|
|
239
|
+
* @public
|
|
240
240
|
*/
|
|
241
241
|
accessToken: string | undefined;
|
|
242
242
|
}
|
|
@@ -19,9 +19,9 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
19
19
|
apiVersion: string;
|
|
20
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
|
-
base64Encoder:
|
|
22
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
23
23
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
24
|
-
utf8Encoder:
|
|
24
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
25
25
|
disableHostPrefix: boolean;
|
|
26
26
|
serviceId: string;
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
@@ -19,9 +19,9 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
19
19
|
apiVersion: string;
|
|
20
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
|
-
base64Encoder:
|
|
22
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
23
23
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
24
|
-
utf8Encoder:
|
|
24
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
25
25
|
disableHostPrefix: boolean;
|
|
26
26
|
serviceId: string;
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
base64Encoder:
|
|
14
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
15
15
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
utf8Encoder:
|
|
16
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -8,7 +8,7 @@ import { SSOClientConfig } from "./SSOClient";
|
|
|
8
8
|
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
base64Decoder: import("@smithy/types").Decoder;
|
|
11
|
-
base64Encoder:
|
|
11
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
12
12
|
disableHostPrefix: boolean;
|
|
13
13
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
14
14
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -28,5 +28,5 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
28
28
|
serviceId: string;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
-
utf8Encoder:
|
|
31
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
32
32
|
};
|
|
@@ -25,6 +25,15 @@ declare const GetRoleCredentialsCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: GetRoleCredentialsCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetRoleCredentialsCommandInput,
|
|
32
|
+
GetRoleCredentialsCommandOutput,
|
|
33
|
+
SSOClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class GetRoleCredentialsCommand extends GetRoleCredentialsCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const ListAccountRolesCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: ListAccountRolesCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
ListAccountRolesCommandInput,
|
|
31
|
+
ListAccountRolesCommandOutput,
|
|
32
|
+
SSOClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class ListAccountRolesCommand extends ListAccountRolesCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const ListAccountsCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: ListAccountsCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
ListAccountsCommandInput,
|
|
28
|
+
ListAccountsCommandOutput,
|
|
29
|
+
SSOClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class ListAccountsCommand extends ListAccountsCommand_base {}
|
|
@@ -17,6 +17,13 @@ declare const LogoutCommand_base: {
|
|
|
17
17
|
ServiceInputTypes,
|
|
18
18
|
ServiceOutputTypes
|
|
19
19
|
>;
|
|
20
|
+
new (__0_0: LogoutCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
21
|
+
LogoutCommandInput,
|
|
22
|
+
LogoutCommandOutput,
|
|
23
|
+
SSOClientResolvedConfig,
|
|
24
|
+
ServiceInputTypes,
|
|
25
|
+
ServiceOutputTypes
|
|
26
|
+
>;
|
|
20
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
21
28
|
};
|
|
22
29
|
export declare class LogoutCommand extends LogoutCommand_base {}
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
22
22
|
apiVersion: string;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
base64Encoder:
|
|
25
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
26
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
-
utf8Encoder:
|
|
27
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
28
28
|
disableHostPrefix: boolean;
|
|
29
29
|
serviceId: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
22
22
|
apiVersion: string;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
base64Encoder:
|
|
25
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
26
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
-
utf8Encoder:
|
|
27
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
28
28
|
disableHostPrefix: boolean;
|
|
29
29
|
serviceId: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
13
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
14
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
15
15
|
base64Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
base64Encoder:
|
|
16
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
17
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
18
|
-
utf8Encoder:
|
|
18
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
19
19
|
disableHostPrefix: boolean;
|
|
20
20
|
serviceId: string;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -5,7 +5,7 @@ import { SSOClientConfig } from "./SSOClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (
|
|
11
11
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -45,5 +45,5 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
45
45
|
serviceId: string;
|
|
46
46
|
urlParser: import("@smithy/types").UrlParser;
|
|
47
47
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
48
|
-
utf8Encoder:
|
|
48
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
49
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.535.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-sso",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
-
"@smithy/config-resolver": "^2.
|
|
34
|
-
"@smithy/core": "^1.
|
|
35
|
-
"@smithy/fetch-http-handler": "^2.
|
|
36
|
-
"@smithy/hash-node": "^2.
|
|
37
|
-
"@smithy/invalid-dependency": "^2.
|
|
38
|
-
"@smithy/middleware-content-length": "^2.
|
|
39
|
-
"@smithy/middleware-endpoint": "^2.
|
|
40
|
-
"@smithy/middleware-retry": "^2.
|
|
41
|
-
"@smithy/middleware-serde": "^2.
|
|
42
|
-
"@smithy/middleware-stack": "^2.
|
|
43
|
-
"@smithy/node-config-provider": "^2.
|
|
44
|
-
"@smithy/node-http-handler": "^2.
|
|
45
|
-
"@smithy/protocol-http": "^3.
|
|
46
|
-
"@smithy/smithy-client": "^2.
|
|
47
|
-
"@smithy/types": "^2.
|
|
48
|
-
"@smithy/url-parser": "^2.
|
|
49
|
-
"@smithy/util-base64": "^2.
|
|
50
|
-
"@smithy/util-body-length-browser": "^2.
|
|
51
|
-
"@smithy/util-body-length-node": "^2.
|
|
52
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
53
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
54
|
-
"@smithy/util-endpoints": "^1.
|
|
55
|
-
"@smithy/util-middleware": "^2.
|
|
56
|
-
"@smithy/util-retry": "^2.
|
|
57
|
-
"@smithy/util-utf8": "^2.
|
|
58
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/core": "3.535.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.535.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
29
|
+
"@aws-sdk/types": "3.535.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.535.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
33
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
34
|
+
"@smithy/core": "^1.4.0",
|
|
35
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
36
|
+
"@smithy/hash-node": "^2.2.0",
|
|
37
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
38
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
39
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
40
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
42
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
43
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
44
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
45
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
46
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
47
|
+
"@smithy/types": "^2.12.0",
|
|
48
|
+
"@smithy/url-parser": "^2.2.0",
|
|
49
|
+
"@smithy/util-base64": "^2.3.0",
|
|
50
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
51
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
52
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
55
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
56
|
+
"@smithy/util-retry": "^2.2.0",
|
|
57
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
58
|
+
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
61
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
62
62
|
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^14.14.31",
|
|
64
64
|
"concurrently": "7.0.0",
|