@aws-sdk/nested-clients 3.933.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.
Files changed (31) hide show
  1. package/dist-cjs/submodules/sso-oidc/index.js +10 -9
  2. package/dist-es/submodules/sso-oidc/index.js +2 -1
  3. package/dist-es/submodules/sso-oidc/models/enums.js +9 -0
  4. package/dist-es/submodules/sso-oidc/models/errors.js +181 -0
  5. package/dist-es/submodules/sso-oidc/models/models_0.js +1 -190
  6. package/dist-es/submodules/sso-oidc/schemas/schemas_0.js +1 -1
  7. package/dist-es/submodules/sts/index.js +1 -1
  8. package/dist-es/submodules/sts/models/errors.js +85 -0
  9. package/dist-es/submodules/sts/models/models_0.js +1 -85
  10. package/dist-es/submodules/sts/schemas/schemas_0.js +1 -1
  11. package/dist-types/submodules/sso-oidc/index.d.ts +3 -1
  12. package/dist-types/submodules/sso-oidc/models/enums.d.ts +25 -0
  13. package/dist-types/submodules/sso-oidc/models/errors.d.ts +279 -0
  14. package/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -303
  15. package/dist-types/submodules/sts/index.d.ts +2 -1
  16. package/dist-types/submodules/sts/models/errors.d.ts +108 -0
  17. package/dist-types/submodules/sts/models/models_0.d.ts +0 -108
  18. package/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +3 -1
  19. package/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts +13 -0
  20. package/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +105 -0
  21. package/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -114
  22. package/dist-types/ts3.4/submodules/sts/index.d.ts +2 -1
  23. package/dist-types/ts3.4/submodules/sts/models/errors.d.ts +54 -0
  24. package/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -54
  25. package/package.json +11 -11
  26. package/dist-es/submodules/sso-oidc/models/index.js +0 -1
  27. package/dist-es/submodules/sts/models/index.js +0 -1
  28. package/dist-types/submodules/sso-oidc/models/index.d.ts +0 -1
  29. package/dist-types/submodules/sts/models/index.d.ts +0 -1
  30. package/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +0 -1
  31. package/dist-types/ts3.4/submodules/sts/models/index.d.ts +0 -1
@@ -0,0 +1,108 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { STSServiceException as __BaseException } from "./STSServiceException";
3
+ /**
4
+ * <p>The web identity token that was passed is expired or is not valid. Get a new identity
5
+ * token from the identity provider and then retry the request.</p>
6
+ * @public
7
+ */
8
+ export declare class ExpiredTokenException extends __BaseException {
9
+ readonly name: "ExpiredTokenException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The request was rejected because the policy document was malformed. The error message
18
+ * describes the specific error.</p>
19
+ * @public
20
+ */
21
+ export declare class MalformedPolicyDocumentException extends __BaseException {
22
+ readonly name: "MalformedPolicyDocumentException";
23
+ readonly $fault: "client";
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>The request was rejected because the total packed size of the session policies and
31
+ * session tags combined was too large. An Amazon Web Services conversion compresses the session policy
32
+ * document, session policy ARNs, and session tags into a packed binary format that has a
33
+ * separate limit. The error message indicates by percentage how close the policies and
34
+ * tags are to the upper size limit. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
35
+ * the <i>IAM User Guide</i>.</p>
36
+ * <p>You could receive this error even though you meet other defined session policy and
37
+ * session tag limits. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length">IAM and STS Entity Character Limits</a> in the <i>IAM User
38
+ * Guide</i>.</p>
39
+ * @public
40
+ */
41
+ export declare class PackedPolicyTooLargeException extends __BaseException {
42
+ readonly name: "PackedPolicyTooLargeException";
43
+ readonly $fault: "client";
44
+ /**
45
+ * @internal
46
+ */
47
+ constructor(opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>);
48
+ }
49
+ /**
50
+ * <p>STS is not activated in the requested region for the account that is being asked to
51
+ * generate credentials. The account administrator must use the IAM console to activate
52
+ * STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate">Activating and
53
+ * Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM User
54
+ * Guide</i>.</p>
55
+ * @public
56
+ */
57
+ export declare class RegionDisabledException extends __BaseException {
58
+ readonly name: "RegionDisabledException";
59
+ readonly $fault: "client";
60
+ /**
61
+ * @internal
62
+ */
63
+ constructor(opts: __ExceptionOptionType<RegionDisabledException, __BaseException>);
64
+ }
65
+ /**
66
+ * <p>The identity provider (IdP) reported that authentication failed. This might be because
67
+ * the claim is invalid.</p>
68
+ * <p>If this error is returned for the <code>AssumeRoleWithWebIdentity</code> operation, it
69
+ * can also mean that the claim has expired or has been explicitly revoked. </p>
70
+ * @public
71
+ */
72
+ export declare class IDPRejectedClaimException extends __BaseException {
73
+ readonly name: "IDPRejectedClaimException";
74
+ readonly $fault: "client";
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>);
79
+ }
80
+ /**
81
+ * <p>The web identity token that was passed could not be validated by Amazon Web Services. Get a new
82
+ * identity token from the identity provider and then retry the request.</p>
83
+ * @public
84
+ */
85
+ export declare class InvalidIdentityTokenException extends __BaseException {
86
+ readonly name: "InvalidIdentityTokenException";
87
+ readonly $fault: "client";
88
+ /**
89
+ * @internal
90
+ */
91
+ constructor(opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>);
92
+ }
93
+ /**
94
+ * <p>The request could not be fulfilled because the identity provider (IDP) that was asked
95
+ * to verify the incoming identity token could not be reached. This is often a transient
96
+ * error caused by network conditions. Retry the request a limited number of times so that
97
+ * you don't exceed the request rate. If the error persists, the identity provider might be
98
+ * down or not responding.</p>
99
+ * @public
100
+ */
101
+ export declare class IDPCommunicationErrorException extends __BaseException {
102
+ readonly name: "IDPCommunicationErrorException";
103
+ readonly $fault: "client";
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>);
108
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { STSServiceException as __BaseException } from "./STSServiceException";
3
1
  /**
4
2
  * <p>The identifiers for the temporary security credentials that the operation
5
3
  * returns.</p>
@@ -378,96 +376,6 @@ export interface AssumeRoleResponse {
378
376
  */
379
377
  SourceIdentity?: string | undefined;
380
378
  }
381
- /**
382
- * <p>The web identity token that was passed is expired or is not valid. Get a new identity
383
- * token from the identity provider and then retry the request.</p>
384
- * @public
385
- */
386
- export declare class ExpiredTokenException extends __BaseException {
387
- readonly name: "ExpiredTokenException";
388
- readonly $fault: "client";
389
- /**
390
- * @internal
391
- */
392
- constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
393
- }
394
- /**
395
- * <p>The request was rejected because the policy document was malformed. The error message
396
- * describes the specific error.</p>
397
- * @public
398
- */
399
- export declare class MalformedPolicyDocumentException extends __BaseException {
400
- readonly name: "MalformedPolicyDocumentException";
401
- readonly $fault: "client";
402
- /**
403
- * @internal
404
- */
405
- constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
406
- }
407
- /**
408
- * <p>The request was rejected because the total packed size of the session policies and
409
- * session tags combined was too large. An Amazon Web Services conversion compresses the session policy
410
- * document, session policy ARNs, and session tags into a packed binary format that has a
411
- * separate limit. The error message indicates by percentage how close the policies and
412
- * tags are to the upper size limit. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
413
- * the <i>IAM User Guide</i>.</p>
414
- * <p>You could receive this error even though you meet other defined session policy and
415
- * session tag limits. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length">IAM and STS Entity Character Limits</a> in the <i>IAM User
416
- * Guide</i>.</p>
417
- * @public
418
- */
419
- export declare class PackedPolicyTooLargeException extends __BaseException {
420
- readonly name: "PackedPolicyTooLargeException";
421
- readonly $fault: "client";
422
- /**
423
- * @internal
424
- */
425
- constructor(opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>);
426
- }
427
- /**
428
- * <p>STS is not activated in the requested region for the account that is being asked to
429
- * generate credentials. The account administrator must use the IAM console to activate
430
- * STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate">Activating and
431
- * Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM User
432
- * Guide</i>.</p>
433
- * @public
434
- */
435
- export declare class RegionDisabledException extends __BaseException {
436
- readonly name: "RegionDisabledException";
437
- readonly $fault: "client";
438
- /**
439
- * @internal
440
- */
441
- constructor(opts: __ExceptionOptionType<RegionDisabledException, __BaseException>);
442
- }
443
- /**
444
- * <p>The identity provider (IdP) reported that authentication failed. This might be because
445
- * the claim is invalid.</p>
446
- * <p>If this error is returned for the <code>AssumeRoleWithWebIdentity</code> operation, it
447
- * can also mean that the claim has expired or has been explicitly revoked. </p>
448
- * @public
449
- */
450
- export declare class IDPRejectedClaimException extends __BaseException {
451
- readonly name: "IDPRejectedClaimException";
452
- readonly $fault: "client";
453
- /**
454
- * @internal
455
- */
456
- constructor(opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>);
457
- }
458
- /**
459
- * <p>The web identity token that was passed could not be validated by Amazon Web Services. Get a new
460
- * identity token from the identity provider and then retry the request.</p>
461
- * @public
462
- */
463
- export declare class InvalidIdentityTokenException extends __BaseException {
464
- readonly name: "InvalidIdentityTokenException";
465
- readonly $fault: "client";
466
- /**
467
- * @internal
468
- */
469
- constructor(opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>);
470
- }
471
379
  /**
472
380
  * @public
473
381
  */
@@ -678,19 +586,3 @@ export interface AssumeRoleWithWebIdentityResponse {
678
586
  */
679
587
  SourceIdentity?: string | undefined;
680
588
  }
681
- /**
682
- * <p>The request could not be fulfilled because the identity provider (IDP) that was asked
683
- * to verify the incoming identity token could not be reached. This is often a transient
684
- * error caused by network conditions. Retry the request a limited number of times so that
685
- * you don't exceed the request rate. If the error persists, the identity provider might be
686
- * down or not responding.</p>
687
- * @public
688
- */
689
- export declare class IDPCommunicationErrorException extends __BaseException {
690
- readonly name: "IDPCommunicationErrorException";
691
- readonly $fault: "client";
692
- /**
693
- * @internal
694
- */
695
- constructor(opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>);
696
- }
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
- export * from "./models";
7
+ export * from "./models/enums";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
8
10
  export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
@@ -0,0 +1,13 @@
1
+ export declare const AccessDeniedExceptionReason: {
2
+ readonly KMS_ACCESS_DENIED: "KMS_AccessDeniedException";
3
+ };
4
+ export type AccessDeniedExceptionReason =
5
+ (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
6
+ export declare const InvalidRequestExceptionReason: {
7
+ readonly KMS_DISABLED_KEY: "KMS_DisabledException";
8
+ readonly KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException";
9
+ readonly KMS_INVALID_STATE: "KMS_InvalidStateException";
10
+ readonly KMS_KEY_NOT_FOUND: "KMS_NotFoundException";
11
+ };
12
+ export type InvalidRequestExceptionReason =
13
+ (typeof InvalidRequestExceptionReason)[keyof typeof InvalidRequestExceptionReason];
@@ -0,0 +1,105 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import {
3
+ AccessDeniedExceptionReason,
4
+ InvalidRequestExceptionReason,
5
+ } from "./enums";
6
+ import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ error?: string | undefined;
11
+ reason?: AccessDeniedExceptionReason | undefined;
12
+ error_description?: string | undefined;
13
+ constructor(
14
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
15
+ );
16
+ }
17
+ export declare class AuthorizationPendingException extends __BaseException {
18
+ readonly name: "AuthorizationPendingException";
19
+ readonly $fault: "client";
20
+ error?: string | undefined;
21
+ error_description?: string | undefined;
22
+ constructor(
23
+ opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>
24
+ );
25
+ }
26
+ export declare class ExpiredTokenException extends __BaseException {
27
+ readonly name: "ExpiredTokenException";
28
+ readonly $fault: "client";
29
+ error?: string | undefined;
30
+ error_description?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
33
+ );
34
+ }
35
+ export declare class InternalServerException extends __BaseException {
36
+ readonly name: "InternalServerException";
37
+ readonly $fault: "server";
38
+ error?: string | undefined;
39
+ error_description?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
42
+ );
43
+ }
44
+ export declare class InvalidClientException extends __BaseException {
45
+ readonly name: "InvalidClientException";
46
+ readonly $fault: "client";
47
+ error?: string | undefined;
48
+ error_description?: string | undefined;
49
+ constructor(
50
+ opts: __ExceptionOptionType<InvalidClientException, __BaseException>
51
+ );
52
+ }
53
+ export declare class InvalidGrantException extends __BaseException {
54
+ readonly name: "InvalidGrantException";
55
+ readonly $fault: "client";
56
+ error?: string | undefined;
57
+ error_description?: string | undefined;
58
+ constructor(
59
+ opts: __ExceptionOptionType<InvalidGrantException, __BaseException>
60
+ );
61
+ }
62
+ export declare class InvalidRequestException extends __BaseException {
63
+ readonly name: "InvalidRequestException";
64
+ readonly $fault: "client";
65
+ error?: string | undefined;
66
+ reason?: InvalidRequestExceptionReason | undefined;
67
+ error_description?: string | undefined;
68
+ constructor(
69
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
70
+ );
71
+ }
72
+ export declare class InvalidScopeException extends __BaseException {
73
+ readonly name: "InvalidScopeException";
74
+ readonly $fault: "client";
75
+ error?: string | undefined;
76
+ error_description?: string | undefined;
77
+ constructor(
78
+ opts: __ExceptionOptionType<InvalidScopeException, __BaseException>
79
+ );
80
+ }
81
+ export declare class SlowDownException extends __BaseException {
82
+ readonly name: "SlowDownException";
83
+ readonly $fault: "client";
84
+ error?: string | undefined;
85
+ error_description?: string | undefined;
86
+ constructor(opts: __ExceptionOptionType<SlowDownException, __BaseException>);
87
+ }
88
+ export declare class UnauthorizedClientException extends __BaseException {
89
+ readonly name: "UnauthorizedClientException";
90
+ readonly $fault: "client";
91
+ error?: string | undefined;
92
+ error_description?: string | undefined;
93
+ constructor(
94
+ opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
95
+ );
96
+ }
97
+ export declare class UnsupportedGrantTypeException extends __BaseException {
98
+ readonly name: "UnsupportedGrantTypeException";
99
+ readonly $fault: "client";
100
+ error?: string | undefined;
101
+ error_description?: string | undefined;
102
+ constructor(
103
+ opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>
104
+ );
105
+ }
@@ -1,29 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
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];
8
- export declare class AccessDeniedException extends __BaseException {
9
- readonly name: "AccessDeniedException";
10
- readonly $fault: "client";
11
- error?: string | undefined;
12
- reason?: AccessDeniedExceptionReason | undefined;
13
- error_description?: string | undefined;
14
- constructor(
15
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
16
- );
17
- }
18
- export declare class AuthorizationPendingException extends __BaseException {
19
- readonly name: "AuthorizationPendingException";
20
- readonly $fault: "client";
21
- error?: string | undefined;
22
- error_description?: string | undefined;
23
- constructor(
24
- opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>
25
- );
26
- }
27
1
  export interface CreateTokenRequest {
28
2
  clientId: string | undefined;
29
3
  clientSecret: string | undefined;
@@ -42,91 +16,3 @@ export interface CreateTokenResponse {
42
16
  refreshToken?: string | undefined;
43
17
  idToken?: string | undefined;
44
18
  }
45
- export declare class ExpiredTokenException extends __BaseException {
46
- readonly name: "ExpiredTokenException";
47
- readonly $fault: "client";
48
- error?: string | undefined;
49
- error_description?: string | undefined;
50
- constructor(
51
- opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
52
- );
53
- }
54
- export declare class InternalServerException extends __BaseException {
55
- readonly name: "InternalServerException";
56
- readonly $fault: "server";
57
- error?: string | undefined;
58
- error_description?: string | undefined;
59
- constructor(
60
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
61
- );
62
- }
63
- export declare class InvalidClientException extends __BaseException {
64
- readonly name: "InvalidClientException";
65
- readonly $fault: "client";
66
- error?: string | undefined;
67
- error_description?: string | undefined;
68
- constructor(
69
- opts: __ExceptionOptionType<InvalidClientException, __BaseException>
70
- );
71
- }
72
- export declare class InvalidGrantException extends __BaseException {
73
- readonly name: "InvalidGrantException";
74
- readonly $fault: "client";
75
- error?: string | undefined;
76
- error_description?: string | undefined;
77
- constructor(
78
- opts: __ExceptionOptionType<InvalidGrantException, __BaseException>
79
- );
80
- }
81
- export declare const InvalidRequestExceptionReason: {
82
- readonly KMS_DISABLED_KEY: "KMS_DisabledException";
83
- readonly KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException";
84
- readonly KMS_INVALID_STATE: "KMS_InvalidStateException";
85
- readonly KMS_KEY_NOT_FOUND: "KMS_NotFoundException";
86
- };
87
- export type InvalidRequestExceptionReason =
88
- (typeof InvalidRequestExceptionReason)[keyof typeof InvalidRequestExceptionReason];
89
- export declare class InvalidRequestException extends __BaseException {
90
- readonly name: "InvalidRequestException";
91
- readonly $fault: "client";
92
- error?: string | undefined;
93
- reason?: InvalidRequestExceptionReason | undefined;
94
- error_description?: string | undefined;
95
- constructor(
96
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
97
- );
98
- }
99
- export declare class InvalidScopeException extends __BaseException {
100
- readonly name: "InvalidScopeException";
101
- readonly $fault: "client";
102
- error?: string | undefined;
103
- error_description?: string | undefined;
104
- constructor(
105
- opts: __ExceptionOptionType<InvalidScopeException, __BaseException>
106
- );
107
- }
108
- export declare class SlowDownException extends __BaseException {
109
- readonly name: "SlowDownException";
110
- readonly $fault: "client";
111
- error?: string | undefined;
112
- error_description?: string | undefined;
113
- constructor(opts: __ExceptionOptionType<SlowDownException, __BaseException>);
114
- }
115
- export declare class UnauthorizedClientException extends __BaseException {
116
- readonly name: "UnauthorizedClientException";
117
- readonly $fault: "client";
118
- error?: string | undefined;
119
- error_description?: string | undefined;
120
- constructor(
121
- opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
122
- );
123
- }
124
- export declare class UnsupportedGrantTypeException extends __BaseException {
125
- readonly name: "UnsupportedGrantTypeException";
126
- readonly $fault: "client";
127
- error?: string | undefined;
128
- error_description?: string | undefined;
129
- constructor(
130
- opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>
131
- );
132
- }
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { STSExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
- export * from "./models";
7
+ export * from "./models/errors";
8
+ export * from "./models/models_0";
8
9
  export * from "./defaultRoleAssumers";
9
10
  export { STSServiceException } from "./models/STSServiceException";
@@ -0,0 +1,54 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { STSServiceException as __BaseException } from "./STSServiceException";
3
+ export declare class ExpiredTokenException extends __BaseException {
4
+ readonly name: "ExpiredTokenException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
8
+ );
9
+ }
10
+ export declare class MalformedPolicyDocumentException extends __BaseException {
11
+ readonly name: "MalformedPolicyDocumentException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<
15
+ MalformedPolicyDocumentException,
16
+ __BaseException
17
+ >
18
+ );
19
+ }
20
+ export declare class PackedPolicyTooLargeException extends __BaseException {
21
+ readonly name: "PackedPolicyTooLargeException";
22
+ readonly $fault: "client";
23
+ constructor(
24
+ opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>
25
+ );
26
+ }
27
+ export declare class RegionDisabledException extends __BaseException {
28
+ readonly name: "RegionDisabledException";
29
+ readonly $fault: "client";
30
+ constructor(
31
+ opts: __ExceptionOptionType<RegionDisabledException, __BaseException>
32
+ );
33
+ }
34
+ export declare class IDPRejectedClaimException extends __BaseException {
35
+ readonly name: "IDPRejectedClaimException";
36
+ readonly $fault: "client";
37
+ constructor(
38
+ opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>
39
+ );
40
+ }
41
+ export declare class InvalidIdentityTokenException extends __BaseException {
42
+ readonly name: "InvalidIdentityTokenException";
43
+ readonly $fault: "client";
44
+ constructor(
45
+ opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>
46
+ );
47
+ }
48
+ export declare class IDPCommunicationErrorException extends __BaseException {
49
+ readonly name: "IDPCommunicationErrorException";
50
+ readonly $fault: "client";
51
+ constructor(
52
+ opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
53
+ );
54
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { STSServiceException as __BaseException } from "./STSServiceException";
3
1
  export interface AssumedRoleUser {
4
2
  AssumedRoleId: string | undefined;
5
3
  Arn: string | undefined;
@@ -41,51 +39,6 @@ export interface AssumeRoleResponse {
41
39
  PackedPolicySize?: number | undefined;
42
40
  SourceIdentity?: string | undefined;
43
41
  }
44
- export declare class ExpiredTokenException extends __BaseException {
45
- readonly name: "ExpiredTokenException";
46
- readonly $fault: "client";
47
- constructor(
48
- opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
49
- );
50
- }
51
- export declare class MalformedPolicyDocumentException extends __BaseException {
52
- readonly name: "MalformedPolicyDocumentException";
53
- readonly $fault: "client";
54
- constructor(
55
- opts: __ExceptionOptionType<
56
- MalformedPolicyDocumentException,
57
- __BaseException
58
- >
59
- );
60
- }
61
- export declare class PackedPolicyTooLargeException extends __BaseException {
62
- readonly name: "PackedPolicyTooLargeException";
63
- readonly $fault: "client";
64
- constructor(
65
- opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>
66
- );
67
- }
68
- export declare class RegionDisabledException extends __BaseException {
69
- readonly name: "RegionDisabledException";
70
- readonly $fault: "client";
71
- constructor(
72
- opts: __ExceptionOptionType<RegionDisabledException, __BaseException>
73
- );
74
- }
75
- export declare class IDPRejectedClaimException extends __BaseException {
76
- readonly name: "IDPRejectedClaimException";
77
- readonly $fault: "client";
78
- constructor(
79
- opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>
80
- );
81
- }
82
- export declare class InvalidIdentityTokenException extends __BaseException {
83
- readonly name: "InvalidIdentityTokenException";
84
- readonly $fault: "client";
85
- constructor(
86
- opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>
87
- );
88
- }
89
42
  export interface AssumeRoleWithWebIdentityRequest {
90
43
  RoleArn: string | undefined;
91
44
  RoleSessionName: string | undefined;
@@ -104,10 +57,3 @@ export interface AssumeRoleWithWebIdentityResponse {
104
57
  Audience?: string | undefined;
105
58
  SourceIdentity?: string | undefined;
106
59
  }
107
- export declare class IDPCommunicationErrorException extends __BaseException {
108
- readonly name: "IDPCommunicationErrorException";
109
- readonly $fault: "client";
110
- constructor(
111
- opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
112
- );
113
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.933.0",
3
+ "version": "3.935.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,37 +29,37 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "3.932.0",
32
+ "@aws-sdk/core": "3.935.0",
33
33
  "@aws-sdk/middleware-host-header": "3.930.0",
34
34
  "@aws-sdk/middleware-logger": "3.930.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
36
- "@aws-sdk/middleware-user-agent": "3.932.0",
36
+ "@aws-sdk/middleware-user-agent": "3.935.0",
37
37
  "@aws-sdk/region-config-resolver": "3.930.0",
38
38
  "@aws-sdk/types": "3.930.0",
39
39
  "@aws-sdk/util-endpoints": "3.930.0",
40
40
  "@aws-sdk/util-user-agent-browser": "3.930.0",
41
- "@aws-sdk/util-user-agent-node": "3.932.0",
41
+ "@aws-sdk/util-user-agent-node": "3.935.0",
42
42
  "@smithy/config-resolver": "^4.4.3",
43
- "@smithy/core": "^3.18.2",
43
+ "@smithy/core": "^3.18.5",
44
44
  "@smithy/fetch-http-handler": "^5.3.6",
45
45
  "@smithy/hash-node": "^4.2.5",
46
46
  "@smithy/invalid-dependency": "^4.2.5",
47
47
  "@smithy/middleware-content-length": "^4.2.5",
48
- "@smithy/middleware-endpoint": "^4.3.9",
49
- "@smithy/middleware-retry": "^4.4.9",
50
- "@smithy/middleware-serde": "^4.2.5",
48
+ "@smithy/middleware-endpoint": "^4.3.12",
49
+ "@smithy/middleware-retry": "^4.4.12",
50
+ "@smithy/middleware-serde": "^4.2.6",
51
51
  "@smithy/middleware-stack": "^4.2.5",
52
52
  "@smithy/node-config-provider": "^4.3.5",
53
53
  "@smithy/node-http-handler": "^4.4.5",
54
54
  "@smithy/protocol-http": "^5.3.5",
55
- "@smithy/smithy-client": "^4.9.5",
55
+ "@smithy/smithy-client": "^4.9.8",
56
56
  "@smithy/types": "^4.9.0",
57
57
  "@smithy/url-parser": "^4.2.5",
58
58
  "@smithy/util-base64": "^4.3.0",
59
59
  "@smithy/util-body-length-browser": "^4.2.0",
60
60
  "@smithy/util-body-length-node": "^4.2.1",
61
- "@smithy/util-defaults-mode-browser": "^4.3.8",
62
- "@smithy/util-defaults-mode-node": "^4.2.11",
61
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
62
+ "@smithy/util-defaults-mode-node": "^4.2.14",
63
63
  "@smithy/util-endpoints": "^3.2.5",
64
64
  "@smithy/util-middleware": "^4.2.5",
65
65
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";