@aws-sdk/client-sso-oidc 3.934.0 → 3.935.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.
@@ -0,0 +1,364 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums";
3
+ import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
4
+ /**
5
+ * <p>You do not have sufficient access to perform this action.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * <p>Single error code. For this exception the value will be <code>access_denied</code>.</p>
13
+ * @public
14
+ */
15
+ error?: string | undefined;
16
+ /**
17
+ * <p>A string that uniquely identifies a reason for the error.</p>
18
+ * @public
19
+ */
20
+ reason?: AccessDeniedExceptionReason | undefined;
21
+ /**
22
+ * <p>Human-readable text providing additional information, used to assist the client developer
23
+ * in understanding the error that occurred.</p>
24
+ * @public
25
+ */
26
+ error_description?: string | undefined;
27
+ /**
28
+ * @internal
29
+ */
30
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
31
+ }
32
+ /**
33
+ * <p>Indicates that a request to authorize a client with an access user session token is
34
+ * pending.</p>
35
+ * @public
36
+ */
37
+ export declare class AuthorizationPendingException extends __BaseException {
38
+ readonly name: "AuthorizationPendingException";
39
+ readonly $fault: "client";
40
+ /**
41
+ * <p>Single error code. For this exception the value will be
42
+ * <code>authorization_pending</code>.</p>
43
+ * @public
44
+ */
45
+ error?: string | undefined;
46
+ /**
47
+ * <p>Human-readable text providing additional information, used to assist the client developer
48
+ * in understanding the error that occurred.</p>
49
+ * @public
50
+ */
51
+ error_description?: string | undefined;
52
+ /**
53
+ * @internal
54
+ */
55
+ constructor(opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>);
56
+ }
57
+ /**
58
+ * <p>Indicates that the token issued by the service is expired and is no longer valid.</p>
59
+ * @public
60
+ */
61
+ export declare class ExpiredTokenException extends __BaseException {
62
+ readonly name: "ExpiredTokenException";
63
+ readonly $fault: "client";
64
+ /**
65
+ * <p>Single error code. For this exception the value will be <code>expired_token</code>.</p>
66
+ * @public
67
+ */
68
+ error?: string | undefined;
69
+ /**
70
+ * <p>Human-readable text providing additional information, used to assist the client developer
71
+ * in understanding the error that occurred.</p>
72
+ * @public
73
+ */
74
+ error_description?: string | undefined;
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
79
+ }
80
+ /**
81
+ * <p>Indicates that an error from the service occurred while trying to process a
82
+ * request.</p>
83
+ * @public
84
+ */
85
+ export declare class InternalServerException extends __BaseException {
86
+ readonly name: "InternalServerException";
87
+ readonly $fault: "server";
88
+ /**
89
+ * <p>Single error code. For this exception the value will be <code>server_error</code>.</p>
90
+ * @public
91
+ */
92
+ error?: string | undefined;
93
+ /**
94
+ * <p>Human-readable text providing additional information, used to assist the client developer
95
+ * in understanding the error that occurred.</p>
96
+ * @public
97
+ */
98
+ error_description?: string | undefined;
99
+ /**
100
+ * @internal
101
+ */
102
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
103
+ }
104
+ /**
105
+ * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
106
+ * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
107
+ * an expired <code>clientSecret</code>.</p>
108
+ * @public
109
+ */
110
+ export declare class InvalidClientException extends __BaseException {
111
+ readonly name: "InvalidClientException";
112
+ readonly $fault: "client";
113
+ /**
114
+ * <p>Single error code. For this exception the value will be
115
+ * <code>invalid_client</code>.</p>
116
+ * @public
117
+ */
118
+ error?: string | undefined;
119
+ /**
120
+ * <p>Human-readable text providing additional information, used to assist the client developer
121
+ * in understanding the error that occurred.</p>
122
+ * @public
123
+ */
124
+ error_description?: string | undefined;
125
+ /**
126
+ * @internal
127
+ */
128
+ constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>);
129
+ }
130
+ /**
131
+ * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a
132
+ * <a>CreateToken</a> request with an invalid grant type.</p>
133
+ * @public
134
+ */
135
+ export declare class InvalidGrantException extends __BaseException {
136
+ readonly name: "InvalidGrantException";
137
+ readonly $fault: "client";
138
+ /**
139
+ * <p>Single error code. For this exception the value will be <code>invalid_grant</code>.</p>
140
+ * @public
141
+ */
142
+ error?: string | undefined;
143
+ /**
144
+ * <p>Human-readable text providing additional information, used to assist the client developer
145
+ * in understanding the error that occurred.</p>
146
+ * @public
147
+ */
148
+ error_description?: string | undefined;
149
+ /**
150
+ * @internal
151
+ */
152
+ constructor(opts: __ExceptionOptionType<InvalidGrantException, __BaseException>);
153
+ }
154
+ /**
155
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
156
+ * parameter might be missing or out of range.</p>
157
+ * @public
158
+ */
159
+ export declare class InvalidRequestException extends __BaseException {
160
+ readonly name: "InvalidRequestException";
161
+ readonly $fault: "client";
162
+ /**
163
+ * <p>Single error code. For this exception the value will be
164
+ * <code>invalid_request</code>.</p>
165
+ * @public
166
+ */
167
+ error?: string | undefined;
168
+ /**
169
+ * <p>A string that uniquely identifies a reason for the error.</p>
170
+ * @public
171
+ */
172
+ reason?: InvalidRequestExceptionReason | undefined;
173
+ /**
174
+ * <p>Human-readable text providing additional information, used to assist the client developer
175
+ * in understanding the error that occurred.</p>
176
+ * @public
177
+ */
178
+ error_description?: string | undefined;
179
+ /**
180
+ * @internal
181
+ */
182
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
183
+ }
184
+ /**
185
+ * <p>Indicates that the scope provided in the request is invalid.</p>
186
+ * @public
187
+ */
188
+ export declare class InvalidScopeException extends __BaseException {
189
+ readonly name: "InvalidScopeException";
190
+ readonly $fault: "client";
191
+ /**
192
+ * <p>Single error code. For this exception the value will be <code>invalid_scope</code>.</p>
193
+ * @public
194
+ */
195
+ error?: string | undefined;
196
+ /**
197
+ * <p>Human-readable text providing additional information, used to assist the client developer
198
+ * in understanding the error that occurred.</p>
199
+ * @public
200
+ */
201
+ error_description?: string | undefined;
202
+ /**
203
+ * @internal
204
+ */
205
+ constructor(opts: __ExceptionOptionType<InvalidScopeException, __BaseException>);
206
+ }
207
+ /**
208
+ * <p>Indicates that the client is making the request too frequently and is more than the
209
+ * service can handle. </p>
210
+ * @public
211
+ */
212
+ export declare class SlowDownException extends __BaseException {
213
+ readonly name: "SlowDownException";
214
+ readonly $fault: "client";
215
+ /**
216
+ * <p>Single error code. For this exception the value will be <code>slow_down</code>.</p>
217
+ * @public
218
+ */
219
+ error?: string | undefined;
220
+ /**
221
+ * <p>Human-readable text providing additional information, used to assist the client developer
222
+ * in understanding the error that occurred.</p>
223
+ * @public
224
+ */
225
+ error_description?: string | undefined;
226
+ /**
227
+ * @internal
228
+ */
229
+ constructor(opts: __ExceptionOptionType<SlowDownException, __BaseException>);
230
+ }
231
+ /**
232
+ * <p>Indicates that the client is not currently authorized to make the request. This can happen
233
+ * when a <code>clientId</code> is not issued for a public client.</p>
234
+ * @public
235
+ */
236
+ export declare class UnauthorizedClientException extends __BaseException {
237
+ readonly name: "UnauthorizedClientException";
238
+ readonly $fault: "client";
239
+ /**
240
+ * <p>Single error code. For this exception the value will be
241
+ * <code>unauthorized_client</code>.</p>
242
+ * @public
243
+ */
244
+ error?: string | undefined;
245
+ /**
246
+ * <p>Human-readable text providing additional information, used to assist the client developer
247
+ * in understanding the error that occurred.</p>
248
+ * @public
249
+ */
250
+ error_description?: string | undefined;
251
+ /**
252
+ * @internal
253
+ */
254
+ constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
255
+ }
256
+ /**
257
+ * <p>Indicates that the grant type in the request is not supported by the service.</p>
258
+ * @public
259
+ */
260
+ export declare class UnsupportedGrantTypeException extends __BaseException {
261
+ readonly name: "UnsupportedGrantTypeException";
262
+ readonly $fault: "client";
263
+ /**
264
+ * <p>Single error code. For this exception the value will be
265
+ * <code>unsupported_grant_type</code>.</p>
266
+ * @public
267
+ */
268
+ error?: string | undefined;
269
+ /**
270
+ * <p>Human-readable text providing additional information, used to assist the client developer
271
+ * in understanding the error that occurred.</p>
272
+ * @public
273
+ */
274
+ error_description?: string | undefined;
275
+ /**
276
+ * @internal
277
+ */
278
+ constructor(opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>);
279
+ }
280
+ /**
281
+ * <p>Indicates that a token provided as input to the request was issued by and is only usable
282
+ * by calling IAM Identity Center endpoints in another region.</p>
283
+ * @public
284
+ */
285
+ export declare class InvalidRequestRegionException extends __BaseException {
286
+ readonly name: "InvalidRequestRegionException";
287
+ readonly $fault: "client";
288
+ /**
289
+ * <p>Single error code. For this exception the value will be
290
+ * <code>invalid_request</code>.</p>
291
+ * @public
292
+ */
293
+ error?: string | undefined;
294
+ /**
295
+ * <p>Human-readable text providing additional information, used to assist the client developer
296
+ * in understanding the error that occurred.</p>
297
+ * @public
298
+ */
299
+ error_description?: string | undefined;
300
+ /**
301
+ * <p>Indicates the IAM Identity Center endpoint which the requester may call with this token.</p>
302
+ * @public
303
+ */
304
+ endpoint?: string | undefined;
305
+ /**
306
+ * <p>Indicates the region which the requester may call with this token.</p>
307
+ * @public
308
+ */
309
+ region?: string | undefined;
310
+ /**
311
+ * @internal
312
+ */
313
+ constructor(opts: __ExceptionOptionType<InvalidRequestRegionException, __BaseException>);
314
+ }
315
+ /**
316
+ * <p>Indicates that the client information sent in the request during registration is
317
+ * invalid.</p>
318
+ * @public
319
+ */
320
+ export declare class InvalidClientMetadataException extends __BaseException {
321
+ readonly name: "InvalidClientMetadataException";
322
+ readonly $fault: "client";
323
+ /**
324
+ * <p>Single error code. For this exception the value will be
325
+ * <code>invalid_client_metadata</code>.</p>
326
+ * @public
327
+ */
328
+ error?: string | undefined;
329
+ /**
330
+ * <p>Human-readable text providing additional information, used to assist the client developer
331
+ * in understanding the error that occurred.</p>
332
+ * @public
333
+ */
334
+ error_description?: string | undefined;
335
+ /**
336
+ * @internal
337
+ */
338
+ constructor(opts: __ExceptionOptionType<InvalidClientMetadataException, __BaseException>);
339
+ }
340
+ /**
341
+ * <p>Indicates that one or more redirect URI in the request is not supported for this
342
+ * operation.</p>
343
+ * @public
344
+ */
345
+ export declare class InvalidRedirectUriException extends __BaseException {
346
+ readonly name: "InvalidRedirectUriException";
347
+ readonly $fault: "client";
348
+ /**
349
+ * <p>Single error code. For this exception the value will be
350
+ * <code>invalid_redirect_uri</code>.</p>
351
+ * @public
352
+ */
353
+ error?: string | undefined;
354
+ /**
355
+ * <p>Human-readable text providing additional information, used to assist the client developer
356
+ * in understanding the error that occurred.</p>
357
+ * @public
358
+ */
359
+ error_description?: string | undefined;
360
+ /**
361
+ * @internal
362
+ */
363
+ constructor(opts: __ExceptionOptionType<InvalidRedirectUriException, __BaseException>);
364
+ }