@aws-sdk/client-sso-oidc 3.893.0 → 3.895.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/README.md +1 -1
- package/dist-cjs/index.js +29 -2
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/SSOOIDC.d.ts +1 -1
- package/dist-types/SSOOIDCClient.d.ts +1 -1
- package/dist-types/commands/CreateTokenWithIAMCommand.d.ts +8 -4
- package/dist-types/commands/RegisterClientCommand.d.ts +4 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +44 -12
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ user’s access token upon successful authentication and authorization with IAM
|
|
|
13
13
|
<b>API namespaces</b>
|
|
14
14
|
</p>
|
|
15
15
|
<p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces. IAM Identity Center
|
|
16
|
-
OpenID Connect uses the <code>sso-
|
|
16
|
+
OpenID Connect uses the <code>sso-oauth</code> namespace.</p>
|
|
17
17
|
<p>
|
|
18
18
|
<b>Considerations for using this guide</b>
|
|
19
19
|
</p>
|
package/dist-cjs/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
var index_exports = {};
|
|
23
23
|
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AccessDeniedExceptionReason: () => AccessDeniedExceptionReason,
|
|
25
26
|
AuthorizationPendingException: () => AuthorizationPendingException,
|
|
26
27
|
CreateTokenCommand: () => CreateTokenCommand,
|
|
27
28
|
CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,
|
|
@@ -36,6 +37,7 @@ __export(index_exports, {
|
|
|
36
37
|
InvalidGrantException: () => InvalidGrantException,
|
|
37
38
|
InvalidRedirectUriException: () => InvalidRedirectUriException,
|
|
38
39
|
InvalidRequestException: () => InvalidRequestException,
|
|
40
|
+
InvalidRequestExceptionReason: () => InvalidRequestExceptionReason,
|
|
39
41
|
InvalidRequestRegionException: () => InvalidRequestRegionException,
|
|
40
42
|
InvalidScopeException: () => InvalidScopeException,
|
|
41
43
|
RegisterClientCommand: () => RegisterClientCommand,
|
|
@@ -220,6 +222,9 @@ var SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smit
|
|
|
220
222
|
};
|
|
221
223
|
|
|
222
224
|
// src/models/models_0.ts
|
|
225
|
+
var AccessDeniedExceptionReason = {
|
|
226
|
+
KMS_ACCESS_DENIED: "KMS_AccessDeniedException"
|
|
227
|
+
};
|
|
223
228
|
var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
|
224
229
|
static {
|
|
225
230
|
__name(this, "AccessDeniedException");
|
|
@@ -231,6 +236,11 @@ var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceE
|
|
|
231
236
|
* @public
|
|
232
237
|
*/
|
|
233
238
|
error;
|
|
239
|
+
/**
|
|
240
|
+
* <p>A string that uniquely identifies a reason for the error.</p>
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
reason;
|
|
234
244
|
/**
|
|
235
245
|
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
236
246
|
* in understanding the error that occurred.</p>
|
|
@@ -248,6 +258,7 @@ var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceE
|
|
|
248
258
|
});
|
|
249
259
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
250
260
|
this.error = opts.error;
|
|
261
|
+
this.reason = opts.reason;
|
|
251
262
|
this.error_description = opts.error_description;
|
|
252
263
|
}
|
|
253
264
|
};
|
|
@@ -408,6 +419,12 @@ var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceE
|
|
|
408
419
|
this.error_description = opts.error_description;
|
|
409
420
|
}
|
|
410
421
|
};
|
|
422
|
+
var InvalidRequestExceptionReason = {
|
|
423
|
+
KMS_DISABLED_KEY: "KMS_DisabledException",
|
|
424
|
+
KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
|
|
425
|
+
KMS_INVALID_STATE: "KMS_InvalidStateException",
|
|
426
|
+
KMS_KEY_NOT_FOUND: "KMS_NotFoundException"
|
|
427
|
+
};
|
|
411
428
|
var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
|
|
412
429
|
static {
|
|
413
430
|
__name(this, "InvalidRequestException");
|
|
@@ -420,6 +437,11 @@ var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServ
|
|
|
420
437
|
* @public
|
|
421
438
|
*/
|
|
422
439
|
error;
|
|
440
|
+
/**
|
|
441
|
+
* <p>A string that uniquely identifies a reason for the error.</p>
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
444
|
+
reason;
|
|
423
445
|
/**
|
|
424
446
|
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
425
447
|
* in understanding the error that occurred.</p>
|
|
@@ -437,6 +459,7 @@ var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServ
|
|
|
437
459
|
});
|
|
438
460
|
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
439
461
|
this.error = opts.error;
|
|
462
|
+
this.reason = opts.reason;
|
|
440
463
|
this.error_description = opts.error_description;
|
|
441
464
|
}
|
|
442
465
|
};
|
|
@@ -942,7 +965,8 @@ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, co
|
|
|
942
965
|
const data = parsedOutput.body;
|
|
943
966
|
const doc = (0, import_smithy_client.take)(data, {
|
|
944
967
|
error: import_smithy_client.expectString,
|
|
945
|
-
error_description: import_smithy_client.expectString
|
|
968
|
+
error_description: import_smithy_client.expectString,
|
|
969
|
+
reason: import_smithy_client.expectString
|
|
946
970
|
});
|
|
947
971
|
Object.assign(contents, doc);
|
|
948
972
|
const exception = new AccessDeniedException({
|
|
@@ -1054,7 +1078,8 @@ var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
|
1054
1078
|
const data = parsedOutput.body;
|
|
1055
1079
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1056
1080
|
error: import_smithy_client.expectString,
|
|
1057
|
-
error_description: import_smithy_client.expectString
|
|
1081
|
+
error_description: import_smithy_client.expectString,
|
|
1082
|
+
reason: import_smithy_client.expectString
|
|
1058
1083
|
});
|
|
1059
1084
|
Object.assign(contents, doc);
|
|
1060
1085
|
const exception = new InvalidRequestException({
|
|
@@ -1225,12 +1250,14 @@ var SSOOIDC = class extends SSOOIDCClient {
|
|
|
1225
1250
|
CreateTokenWithIAMCommand,
|
|
1226
1251
|
RegisterClientCommand,
|
|
1227
1252
|
StartDeviceAuthorizationCommand,
|
|
1253
|
+
AccessDeniedExceptionReason,
|
|
1228
1254
|
AccessDeniedException,
|
|
1229
1255
|
AuthorizationPendingException,
|
|
1230
1256
|
ExpiredTokenException,
|
|
1231
1257
|
InternalServerException,
|
|
1232
1258
|
InvalidClientException,
|
|
1233
1259
|
InvalidGrantException,
|
|
1260
|
+
InvalidRequestExceptionReason,
|
|
1234
1261
|
InvalidRequestException,
|
|
1235
1262
|
InvalidScopeException,
|
|
1236
1263
|
SlowDownException,
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
3
|
+
export const AccessDeniedExceptionReason = {
|
|
4
|
+
KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
|
|
5
|
+
};
|
|
3
6
|
export class AccessDeniedException extends __BaseException {
|
|
4
7
|
name = "AccessDeniedException";
|
|
5
8
|
$fault = "client";
|
|
6
9
|
error;
|
|
10
|
+
reason;
|
|
7
11
|
error_description;
|
|
8
12
|
constructor(opts) {
|
|
9
13
|
super({
|
|
@@ -13,6 +17,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
13
17
|
});
|
|
14
18
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
19
|
this.error = opts.error;
|
|
20
|
+
this.reason = opts.reason;
|
|
16
21
|
this.error_description = opts.error_description;
|
|
17
22
|
}
|
|
18
23
|
}
|
|
@@ -96,10 +101,17 @@ export class InvalidGrantException extends __BaseException {
|
|
|
96
101
|
this.error_description = opts.error_description;
|
|
97
102
|
}
|
|
98
103
|
}
|
|
104
|
+
export const InvalidRequestExceptionReason = {
|
|
105
|
+
KMS_DISABLED_KEY: "KMS_DisabledException",
|
|
106
|
+
KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
|
|
107
|
+
KMS_INVALID_STATE: "KMS_InvalidStateException",
|
|
108
|
+
KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
|
|
109
|
+
};
|
|
99
110
|
export class InvalidRequestException extends __BaseException {
|
|
100
111
|
name = "InvalidRequestException";
|
|
101
112
|
$fault = "client";
|
|
102
113
|
error;
|
|
114
|
+
reason;
|
|
103
115
|
error_description;
|
|
104
116
|
constructor(opts) {
|
|
105
117
|
super({
|
|
@@ -109,6 +121,7 @@ export class InvalidRequestException extends __BaseException {
|
|
|
109
121
|
});
|
|
110
122
|
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
111
123
|
this.error = opts.error;
|
|
124
|
+
this.reason = opts.reason;
|
|
112
125
|
this.error_description = opts.error_description;
|
|
113
126
|
}
|
|
114
127
|
}
|
|
@@ -226,6 +226,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
226
226
|
const doc = take(data, {
|
|
227
227
|
error: __expectString,
|
|
228
228
|
error_description: __expectString,
|
|
229
|
+
reason: __expectString,
|
|
229
230
|
});
|
|
230
231
|
Object.assign(contents, doc);
|
|
231
232
|
const exception = new AccessDeniedException({
|
|
@@ -338,6 +339,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
338
339
|
const doc = take(data, {
|
|
339
340
|
error: __expectString,
|
|
340
341
|
error_description: __expectString,
|
|
342
|
+
reason: __expectString,
|
|
341
343
|
});
|
|
342
344
|
Object.assign(contents, doc);
|
|
343
345
|
const exception = new InvalidRequestException({
|
package/dist-types/SSOOIDC.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface SSOOIDC {
|
|
|
38
38
|
* <b>API namespaces</b>
|
|
39
39
|
* </p>
|
|
40
40
|
* <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces. IAM Identity Center
|
|
41
|
-
* OpenID Connect uses the <code>sso-
|
|
41
|
+
* OpenID Connect uses the <code>sso-oauth</code> namespace.</p>
|
|
42
42
|
* <p>
|
|
43
43
|
* <b>Considerations for using this guide</b>
|
|
44
44
|
* </p>
|
|
@@ -180,7 +180,7 @@ export interface SSOOIDCClientResolvedConfig extends SSOOIDCClientResolvedConfig
|
|
|
180
180
|
* <b>API namespaces</b>
|
|
181
181
|
* </p>
|
|
182
182
|
* <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces. IAM Identity Center
|
|
183
|
-
* OpenID Connect uses the <code>sso-
|
|
183
|
+
* OpenID Connect uses the <code>sso-oauth</code> namespace.</p>
|
|
184
184
|
* <p>
|
|
185
185
|
* <b>Considerations for using this guide</b>
|
|
186
186
|
* </p>
|
|
@@ -27,10 +27,14 @@ declare const CreateTokenWithIAMCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates and returns access and refresh tokens for
|
|
31
|
-
* authenticated using IAM
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Creates and returns access and refresh tokens for authorized client applications that are
|
|
31
|
+
* authenticated using any IAM entity, such as a service
|
|
32
|
+
* role or user. These tokens might contain defined scopes that specify permissions such as <code>read:profile</code> or <code>write:data</code>. Through downscoping, you can use the scopes parameter to request tokens with reduced permissions compared to the original client application's permissions or, if applicable, the refresh token's scopes. The access token can be used to fetch short-lived credentials for the assigned
|
|
33
|
+
* Amazon Web Services accounts or to access application APIs using <code>bearer</code> authentication.</p>
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>This API is used with Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html">Amazon Web Services Signature
|
|
36
|
+
* Version 4 for API Requests</a>.</p>
|
|
37
|
+
* </note>
|
|
34
38
|
* @example
|
|
35
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
40
|
* ```javascript
|
|
@@ -91,6 +91,10 @@ declare const RegisterClientCommand_base: {
|
|
|
91
91
|
* @throws {@link InvalidScopeException} (client fault)
|
|
92
92
|
* <p>Indicates that the scope provided in the request is invalid.</p>
|
|
93
93
|
*
|
|
94
|
+
* @throws {@link SlowDownException} (client fault)
|
|
95
|
+
* <p>Indicates that the client is making the request too frequently and is more than the
|
|
96
|
+
* service can handle. </p>
|
|
97
|
+
*
|
|
94
98
|
* @throws {@link UnsupportedGrantTypeException} (client fault)
|
|
95
99
|
* <p>Indicates that the grant type in the request is not supported by the service.</p>
|
|
96
100
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* <b>API namespaces</b>
|
|
7
7
|
* </p>
|
|
8
8
|
* <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces. IAM Identity Center
|
|
9
|
-
* OpenID Connect uses the <code>sso-
|
|
9
|
+
* OpenID Connect uses the <code>sso-oauth</code> namespace.</p>
|
|
10
10
|
* <p>
|
|
11
11
|
* <b>Considerations for using this guide</b>
|
|
12
12
|
* </p>
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const AccessDeniedExceptionReason: {
|
|
8
|
+
readonly KMS_ACCESS_DENIED: "KMS_AccessDeniedException";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
3
14
|
/**
|
|
4
15
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
16
|
* @public
|
|
@@ -12,6 +23,11 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
23
|
* @public
|
|
13
24
|
*/
|
|
14
25
|
error?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>A string that uniquely identifies a reason for the error.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
reason?: AccessDeniedExceptionReason | undefined;
|
|
15
31
|
/**
|
|
16
32
|
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
17
33
|
* in understanding the error that occurred.</p>
|
|
@@ -49,15 +65,16 @@ export declare class AuthorizationPendingException extends __BaseException {
|
|
|
49
65
|
constructor(opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>);
|
|
50
66
|
}
|
|
51
67
|
/**
|
|
52
|
-
* <p>This structure contains Amazon Web Services-specific parameter extensions
|
|
53
|
-
* responses and includes the identity context.</p>
|
|
68
|
+
* <p>This structure contains Amazon Web Services-specific parameter extensions and the <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-overview.html">identity context</a>.</p>
|
|
54
69
|
* @public
|
|
55
70
|
*/
|
|
56
71
|
export interface AwsAdditionalDetails {
|
|
57
72
|
/**
|
|
58
|
-
* <p>
|
|
59
|
-
*
|
|
60
|
-
*
|
|
73
|
+
* <p>The trusted context assertion is signed and encrypted by STS. It provides access to
|
|
74
|
+
* <code>sts:identity_context</code> claim in the <code>idToken</code> without JWT
|
|
75
|
+
* parsing</p>
|
|
76
|
+
* <p>Identity context comprises information that Amazon Web Services services use to make authorization
|
|
77
|
+
* decisions when they receive requests.</p>
|
|
61
78
|
* @public
|
|
62
79
|
*/
|
|
63
80
|
identityContext?: string | undefined;
|
|
@@ -112,9 +129,7 @@ export interface CreateTokenRequest {
|
|
|
112
129
|
*/
|
|
113
130
|
refreshToken?: string | undefined;
|
|
114
131
|
/**
|
|
115
|
-
* <p>The list of scopes for which authorization is requested.
|
|
116
|
-
* is limited to the scopes that are granted. If this value is not specified, IAM Identity Center authorizes
|
|
117
|
-
* all scopes that are configured for the client during the call to <a>RegisterClient</a>.</p>
|
|
132
|
+
* <p>The list of scopes for which authorization is requested. This parameter has no effect; the access token will always include all scopes configured during client registration.</p>
|
|
118
133
|
* @public
|
|
119
134
|
*/
|
|
120
135
|
scope?: string[] | undefined;
|
|
@@ -270,6 +285,20 @@ export declare class InvalidGrantException extends __BaseException {
|
|
|
270
285
|
*/
|
|
271
286
|
constructor(opts: __ExceptionOptionType<InvalidGrantException, __BaseException>);
|
|
272
287
|
}
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
* @enum
|
|
291
|
+
*/
|
|
292
|
+
export declare const InvalidRequestExceptionReason: {
|
|
293
|
+
readonly KMS_DISABLED_KEY: "KMS_DisabledException";
|
|
294
|
+
readonly KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException";
|
|
295
|
+
readonly KMS_INVALID_STATE: "KMS_InvalidStateException";
|
|
296
|
+
readonly KMS_KEY_NOT_FOUND: "KMS_NotFoundException";
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
export type InvalidRequestExceptionReason = (typeof InvalidRequestExceptionReason)[keyof typeof InvalidRequestExceptionReason];
|
|
273
302
|
/**
|
|
274
303
|
* <p>Indicates that something is wrong with the input to the request. For example, a required
|
|
275
304
|
* parameter might be missing or out of range.</p>
|
|
@@ -284,6 +313,11 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
284
313
|
* @public
|
|
285
314
|
*/
|
|
286
315
|
error?: string | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* <p>A string that uniquely identifies a reason for the error.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
reason?: InvalidRequestExceptionReason | undefined;
|
|
287
321
|
/**
|
|
288
322
|
* <p>Human-readable text providing additional information, used to assist the client developer
|
|
289
323
|
* in understanding the error that occurred.</p>
|
|
@@ -541,10 +575,8 @@ export interface CreateTokenWithIAMResponse {
|
|
|
541
575
|
*/
|
|
542
576
|
scope?: string[] | undefined;
|
|
543
577
|
/**
|
|
544
|
-
* <p>A structure containing information from
|
|
545
|
-
*
|
|
546
|
-
* <code>idToken</code>. This provides direct access to identity information without requiring
|
|
547
|
-
* JWT parsing.</p>
|
|
578
|
+
* <p>A structure containing information from IAM Identity Center managed user and group
|
|
579
|
+
* information.</p>
|
|
548
580
|
* @public
|
|
549
581
|
*/
|
|
550
582
|
awsAdditionalDetails?: AwsAdditionalDetails | undefined;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
3
|
+
export declare const AccessDeniedExceptionReason: {
|
|
4
|
+
readonly KMS_ACCESS_DENIED: "KMS_AccessDeniedException";
|
|
5
|
+
};
|
|
6
|
+
export type AccessDeniedExceptionReason =
|
|
7
|
+
(typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
3
8
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
9
|
readonly name: "AccessDeniedException";
|
|
5
10
|
readonly $fault: "client";
|
|
6
11
|
error?: string | undefined;
|
|
12
|
+
reason?: AccessDeniedExceptionReason | undefined;
|
|
7
13
|
error_description?: string | undefined;
|
|
8
14
|
constructor(
|
|
9
15
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
@@ -75,10 +81,19 @@ export declare class InvalidGrantException extends __BaseException {
|
|
|
75
81
|
opts: __ExceptionOptionType<InvalidGrantException, __BaseException>
|
|
76
82
|
);
|
|
77
83
|
}
|
|
84
|
+
export declare const InvalidRequestExceptionReason: {
|
|
85
|
+
readonly KMS_DISABLED_KEY: "KMS_DisabledException";
|
|
86
|
+
readonly KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException";
|
|
87
|
+
readonly KMS_INVALID_STATE: "KMS_InvalidStateException";
|
|
88
|
+
readonly KMS_KEY_NOT_FOUND: "KMS_NotFoundException";
|
|
89
|
+
};
|
|
90
|
+
export type InvalidRequestExceptionReason =
|
|
91
|
+
(typeof InvalidRequestExceptionReason)[keyof typeof InvalidRequestExceptionReason];
|
|
78
92
|
export declare class InvalidRequestException extends __BaseException {
|
|
79
93
|
readonly name: "InvalidRequestException";
|
|
80
94
|
readonly $fault: "client";
|
|
81
95
|
error?: string | undefined;
|
|
96
|
+
reason?: InvalidRequestExceptionReason | undefined;
|
|
82
97
|
error_description?: string | undefined;
|
|
83
98
|
constructor(
|
|
84
99
|
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.895.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-oidc",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.894.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.895.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.895.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.895.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|