@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
@@ -117,9 +117,6 @@ let SSOOIDCServiceException$1 = class SSOOIDCServiceException extends smithyClie
117
117
  }
118
118
  };
119
119
 
120
- const AccessDeniedExceptionReason = {
121
- KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
122
- };
123
120
  let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCServiceException$1 {
124
121
  name = "AccessDeniedException";
125
122
  $fault = "client";
@@ -218,12 +215,6 @@ let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCService
218
215
  this.error_description = opts.error_description;
219
216
  }
220
217
  };
221
- const InvalidRequestExceptionReason = {
222
- KMS_DISABLED_KEY: "KMS_DisabledException",
223
- KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
224
- KMS_INVALID_STATE: "KMS_InvalidStateException",
225
- KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
226
- };
227
218
  let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCServiceException$1 {
228
219
  name = "InvalidRequestException";
229
220
  $fault = "client";
@@ -533,6 +524,16 @@ class SSOOIDC extends SSOOIDCClient {
533
524
  }
534
525
  smithyClient.createAggregatedClient(commands, SSOOIDC);
535
526
 
527
+ const AccessDeniedExceptionReason = {
528
+ KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
529
+ };
530
+ const InvalidRequestExceptionReason = {
531
+ KMS_DISABLED_KEY: "KMS_DisabledException",
532
+ KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
533
+ KMS_INVALID_STATE: "KMS_InvalidStateException",
534
+ KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
535
+ };
536
+
536
537
  Object.defineProperty(exports, "$Command", {
537
538
  enumerable: true,
538
539
  get: function () { return smithyClient.Command; }
@@ -1,5 +1,6 @@
1
1
  export * from "./SSOOIDCClient";
2
2
  export * from "./SSOOIDC";
3
3
  export * from "./commands";
4
- export * from "./models";
4
+ export * from "./models/enums";
5
+ export * from "./models/errors";
5
6
  export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
@@ -0,0 +1,9 @@
1
+ export const AccessDeniedExceptionReason = {
2
+ KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
3
+ };
4
+ export const InvalidRequestExceptionReason = {
5
+ KMS_DISABLED_KEY: "KMS_DisabledException",
6
+ KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
7
+ KMS_INVALID_STATE: "KMS_InvalidStateException",
8
+ KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
9
+ };
@@ -0,0 +1,181 @@
1
+ import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ error;
6
+ reason;
7
+ error_description;
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ this.error = opts.error;
16
+ this.reason = opts.reason;
17
+ this.error_description = opts.error_description;
18
+ }
19
+ }
20
+ export class AuthorizationPendingException extends __BaseException {
21
+ name = "AuthorizationPendingException";
22
+ $fault = "client";
23
+ error;
24
+ error_description;
25
+ constructor(opts) {
26
+ super({
27
+ name: "AuthorizationPendingException",
28
+ $fault: "client",
29
+ ...opts,
30
+ });
31
+ Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
32
+ this.error = opts.error;
33
+ this.error_description = opts.error_description;
34
+ }
35
+ }
36
+ export class ExpiredTokenException extends __BaseException {
37
+ name = "ExpiredTokenException";
38
+ $fault = "client";
39
+ error;
40
+ error_description;
41
+ constructor(opts) {
42
+ super({
43
+ name: "ExpiredTokenException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ExpiredTokenException.prototype);
48
+ this.error = opts.error;
49
+ this.error_description = opts.error_description;
50
+ }
51
+ }
52
+ export class InternalServerException extends __BaseException {
53
+ name = "InternalServerException";
54
+ $fault = "server";
55
+ error;
56
+ error_description;
57
+ constructor(opts) {
58
+ super({
59
+ name: "InternalServerException",
60
+ $fault: "server",
61
+ ...opts,
62
+ });
63
+ Object.setPrototypeOf(this, InternalServerException.prototype);
64
+ this.error = opts.error;
65
+ this.error_description = opts.error_description;
66
+ }
67
+ }
68
+ export class InvalidClientException extends __BaseException {
69
+ name = "InvalidClientException";
70
+ $fault = "client";
71
+ error;
72
+ error_description;
73
+ constructor(opts) {
74
+ super({
75
+ name: "InvalidClientException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, InvalidClientException.prototype);
80
+ this.error = opts.error;
81
+ this.error_description = opts.error_description;
82
+ }
83
+ }
84
+ export class InvalidGrantException extends __BaseException {
85
+ name = "InvalidGrantException";
86
+ $fault = "client";
87
+ error;
88
+ error_description;
89
+ constructor(opts) {
90
+ super({
91
+ name: "InvalidGrantException",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ Object.setPrototypeOf(this, InvalidGrantException.prototype);
96
+ this.error = opts.error;
97
+ this.error_description = opts.error_description;
98
+ }
99
+ }
100
+ export class InvalidRequestException extends __BaseException {
101
+ name = "InvalidRequestException";
102
+ $fault = "client";
103
+ error;
104
+ reason;
105
+ error_description;
106
+ constructor(opts) {
107
+ super({
108
+ name: "InvalidRequestException",
109
+ $fault: "client",
110
+ ...opts,
111
+ });
112
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
113
+ this.error = opts.error;
114
+ this.reason = opts.reason;
115
+ this.error_description = opts.error_description;
116
+ }
117
+ }
118
+ export class InvalidScopeException extends __BaseException {
119
+ name = "InvalidScopeException";
120
+ $fault = "client";
121
+ error;
122
+ error_description;
123
+ constructor(opts) {
124
+ super({
125
+ name: "InvalidScopeException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, InvalidScopeException.prototype);
130
+ this.error = opts.error;
131
+ this.error_description = opts.error_description;
132
+ }
133
+ }
134
+ export class SlowDownException extends __BaseException {
135
+ name = "SlowDownException";
136
+ $fault = "client";
137
+ error;
138
+ error_description;
139
+ constructor(opts) {
140
+ super({
141
+ name: "SlowDownException",
142
+ $fault: "client",
143
+ ...opts,
144
+ });
145
+ Object.setPrototypeOf(this, SlowDownException.prototype);
146
+ this.error = opts.error;
147
+ this.error_description = opts.error_description;
148
+ }
149
+ }
150
+ export class UnauthorizedClientException extends __BaseException {
151
+ name = "UnauthorizedClientException";
152
+ $fault = "client";
153
+ error;
154
+ error_description;
155
+ constructor(opts) {
156
+ super({
157
+ name: "UnauthorizedClientException",
158
+ $fault: "client",
159
+ ...opts,
160
+ });
161
+ Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
162
+ this.error = opts.error;
163
+ this.error_description = opts.error_description;
164
+ }
165
+ }
166
+ export class UnsupportedGrantTypeException extends __BaseException {
167
+ name = "UnsupportedGrantTypeException";
168
+ $fault = "client";
169
+ error;
170
+ error_description;
171
+ constructor(opts) {
172
+ super({
173
+ name: "UnsupportedGrantTypeException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
178
+ this.error = opts.error;
179
+ this.error_description = opts.error_description;
180
+ }
181
+ }
@@ -1,190 +1 @@
1
- import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
2
- export const AccessDeniedExceptionReason = {
3
- KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
4
- };
5
- export class AccessDeniedException extends __BaseException {
6
- name = "AccessDeniedException";
7
- $fault = "client";
8
- error;
9
- reason;
10
- error_description;
11
- constructor(opts) {
12
- super({
13
- name: "AccessDeniedException",
14
- $fault: "client",
15
- ...opts,
16
- });
17
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
18
- this.error = opts.error;
19
- this.reason = opts.reason;
20
- this.error_description = opts.error_description;
21
- }
22
- }
23
- export class AuthorizationPendingException extends __BaseException {
24
- name = "AuthorizationPendingException";
25
- $fault = "client";
26
- error;
27
- error_description;
28
- constructor(opts) {
29
- super({
30
- name: "AuthorizationPendingException",
31
- $fault: "client",
32
- ...opts,
33
- });
34
- Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
35
- this.error = opts.error;
36
- this.error_description = opts.error_description;
37
- }
38
- }
39
- export class ExpiredTokenException extends __BaseException {
40
- name = "ExpiredTokenException";
41
- $fault = "client";
42
- error;
43
- error_description;
44
- constructor(opts) {
45
- super({
46
- name: "ExpiredTokenException",
47
- $fault: "client",
48
- ...opts,
49
- });
50
- Object.setPrototypeOf(this, ExpiredTokenException.prototype);
51
- this.error = opts.error;
52
- this.error_description = opts.error_description;
53
- }
54
- }
55
- export class InternalServerException extends __BaseException {
56
- name = "InternalServerException";
57
- $fault = "server";
58
- error;
59
- error_description;
60
- constructor(opts) {
61
- super({
62
- name: "InternalServerException",
63
- $fault: "server",
64
- ...opts,
65
- });
66
- Object.setPrototypeOf(this, InternalServerException.prototype);
67
- this.error = opts.error;
68
- this.error_description = opts.error_description;
69
- }
70
- }
71
- export class InvalidClientException extends __BaseException {
72
- name = "InvalidClientException";
73
- $fault = "client";
74
- error;
75
- error_description;
76
- constructor(opts) {
77
- super({
78
- name: "InvalidClientException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- Object.setPrototypeOf(this, InvalidClientException.prototype);
83
- this.error = opts.error;
84
- this.error_description = opts.error_description;
85
- }
86
- }
87
- export class InvalidGrantException extends __BaseException {
88
- name = "InvalidGrantException";
89
- $fault = "client";
90
- error;
91
- error_description;
92
- constructor(opts) {
93
- super({
94
- name: "InvalidGrantException",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- Object.setPrototypeOf(this, InvalidGrantException.prototype);
99
- this.error = opts.error;
100
- this.error_description = opts.error_description;
101
- }
102
- }
103
- export const InvalidRequestExceptionReason = {
104
- KMS_DISABLED_KEY: "KMS_DisabledException",
105
- KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
106
- KMS_INVALID_STATE: "KMS_InvalidStateException",
107
- KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
108
- };
109
- export class InvalidRequestException extends __BaseException {
110
- name = "InvalidRequestException";
111
- $fault = "client";
112
- error;
113
- reason;
114
- error_description;
115
- constructor(opts) {
116
- super({
117
- name: "InvalidRequestException",
118
- $fault: "client",
119
- ...opts,
120
- });
121
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
122
- this.error = opts.error;
123
- this.reason = opts.reason;
124
- this.error_description = opts.error_description;
125
- }
126
- }
127
- export class InvalidScopeException extends __BaseException {
128
- name = "InvalidScopeException";
129
- $fault = "client";
130
- error;
131
- error_description;
132
- constructor(opts) {
133
- super({
134
- name: "InvalidScopeException",
135
- $fault: "client",
136
- ...opts,
137
- });
138
- Object.setPrototypeOf(this, InvalidScopeException.prototype);
139
- this.error = opts.error;
140
- this.error_description = opts.error_description;
141
- }
142
- }
143
- export class SlowDownException extends __BaseException {
144
- name = "SlowDownException";
145
- $fault = "client";
146
- error;
147
- error_description;
148
- constructor(opts) {
149
- super({
150
- name: "SlowDownException",
151
- $fault: "client",
152
- ...opts,
153
- });
154
- Object.setPrototypeOf(this, SlowDownException.prototype);
155
- this.error = opts.error;
156
- this.error_description = opts.error_description;
157
- }
158
- }
159
- export class UnauthorizedClientException extends __BaseException {
160
- name = "UnauthorizedClientException";
161
- $fault = "client";
162
- error;
163
- error_description;
164
- constructor(opts) {
165
- super({
166
- name: "UnauthorizedClientException",
167
- $fault: "client",
168
- ...opts,
169
- });
170
- Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
171
- this.error = opts.error;
172
- this.error_description = opts.error_description;
173
- }
174
- }
175
- export class UnsupportedGrantTypeException extends __BaseException {
176
- name = "UnsupportedGrantTypeException";
177
- $fault = "client";
178
- error;
179
- error_description;
180
- constructor(opts) {
181
- super({
182
- name: "UnsupportedGrantTypeException",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
187
- this.error = opts.error;
188
- this.error_description = opts.error_description;
189
- }
190
- }
1
+ export {};
@@ -40,7 +40,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
40
40
  const _tT = "tokenType";
41
41
  const n0 = "com.amazonaws.ssooidc";
42
42
  import { TypeRegistry } from "@smithy/core/schema";
43
- import { AccessDeniedException as __AccessDeniedException, AuthorizationPendingException as __AuthorizationPendingException, ExpiredTokenException as __ExpiredTokenException, InternalServerException as __InternalServerException, InvalidClientException as __InvalidClientException, InvalidGrantException as __InvalidGrantException, InvalidRequestException as __InvalidRequestException, InvalidScopeException as __InvalidScopeException, SlowDownException as __SlowDownException, UnauthorizedClientException as __UnauthorizedClientException, UnsupportedGrantTypeException as __UnsupportedGrantTypeException, } from "../models/index";
43
+ import { AccessDeniedException as __AccessDeniedException, AuthorizationPendingException as __AuthorizationPendingException, ExpiredTokenException as __ExpiredTokenException, InternalServerException as __InternalServerException, InvalidClientException as __InvalidClientException, InvalidGrantException as __InvalidGrantException, InvalidRequestException as __InvalidRequestException, InvalidScopeException as __InvalidScopeException, SlowDownException as __SlowDownException, UnauthorizedClientException as __UnauthorizedClientException, UnsupportedGrantTypeException as __UnsupportedGrantTypeException, } from "../models/errors";
44
44
  import { SSOOIDCServiceException as __SSOOIDCServiceException } from "../models/SSOOIDCServiceException";
45
45
  export var AccessToken = [0, n0, _AT, 8, 0];
46
46
  export var ClientSecret = [0, n0, _CS, 8, 0];
@@ -1,6 +1,6 @@
1
1
  export * from "./STSClient";
2
2
  export * from "./STS";
3
3
  export * from "./commands";
4
- export * from "./models";
4
+ export * from "./models/errors";
5
5
  export * from "./defaultRoleAssumers";
6
6
  export { STSServiceException } from "./models/STSServiceException";
@@ -0,0 +1,85 @@
1
+ import { STSServiceException as __BaseException } from "./STSServiceException";
2
+ export class ExpiredTokenException extends __BaseException {
3
+ name = "ExpiredTokenException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ExpiredTokenException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ExpiredTokenException.prototype);
12
+ }
13
+ }
14
+ export class MalformedPolicyDocumentException extends __BaseException {
15
+ name = "MalformedPolicyDocumentException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "MalformedPolicyDocumentException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
24
+ }
25
+ }
26
+ export class PackedPolicyTooLargeException extends __BaseException {
27
+ name = "PackedPolicyTooLargeException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "PackedPolicyTooLargeException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
36
+ }
37
+ }
38
+ export class RegionDisabledException extends __BaseException {
39
+ name = "RegionDisabledException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "RegionDisabledException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, RegionDisabledException.prototype);
48
+ }
49
+ }
50
+ export class IDPRejectedClaimException extends __BaseException {
51
+ name = "IDPRejectedClaimException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "IDPRejectedClaimException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
60
+ }
61
+ }
62
+ export class InvalidIdentityTokenException extends __BaseException {
63
+ name = "InvalidIdentityTokenException";
64
+ $fault = "client";
65
+ constructor(opts) {
66
+ super({
67
+ name: "InvalidIdentityTokenException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
72
+ }
73
+ }
74
+ export class IDPCommunicationErrorException extends __BaseException {
75
+ name = "IDPCommunicationErrorException";
76
+ $fault = "client";
77
+ constructor(opts) {
78
+ super({
79
+ name: "IDPCommunicationErrorException",
80
+ $fault: "client",
81
+ ...opts,
82
+ });
83
+ Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
84
+ }
85
+ }
@@ -1,85 +1 @@
1
- import { STSServiceException as __BaseException } from "./STSServiceException";
2
- export class ExpiredTokenException extends __BaseException {
3
- name = "ExpiredTokenException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "ExpiredTokenException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, ExpiredTokenException.prototype);
12
- }
13
- }
14
- export class MalformedPolicyDocumentException extends __BaseException {
15
- name = "MalformedPolicyDocumentException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "MalformedPolicyDocumentException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
24
- }
25
- }
26
- export class PackedPolicyTooLargeException extends __BaseException {
27
- name = "PackedPolicyTooLargeException";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "PackedPolicyTooLargeException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
36
- }
37
- }
38
- export class RegionDisabledException extends __BaseException {
39
- name = "RegionDisabledException";
40
- $fault = "client";
41
- constructor(opts) {
42
- super({
43
- name: "RegionDisabledException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, RegionDisabledException.prototype);
48
- }
49
- }
50
- export class IDPRejectedClaimException extends __BaseException {
51
- name = "IDPRejectedClaimException";
52
- $fault = "client";
53
- constructor(opts) {
54
- super({
55
- name: "IDPRejectedClaimException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
60
- }
61
- }
62
- export class InvalidIdentityTokenException extends __BaseException {
63
- name = "InvalidIdentityTokenException";
64
- $fault = "client";
65
- constructor(opts) {
66
- super({
67
- name: "InvalidIdentityTokenException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
72
- }
73
- }
74
- export class IDPCommunicationErrorException extends __BaseException {
75
- name = "IDPCommunicationErrorException";
76
- $fault = "client";
77
- constructor(opts) {
78
- super({
79
- name: "IDPCommunicationErrorException",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
84
- }
85
- }
1
+ export {};
@@ -58,7 +58,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
58
58
  const _tLT = "tagListType";
59
59
  const n0 = "com.amazonaws.sts";
60
60
  import { TypeRegistry } from "@smithy/core/schema";
61
- import { ExpiredTokenException as __ExpiredTokenException, IDPCommunicationErrorException as __IDPCommunicationErrorException, IDPRejectedClaimException as __IDPRejectedClaimException, InvalidIdentityTokenException as __InvalidIdentityTokenException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PackedPolicyTooLargeException as __PackedPolicyTooLargeException, RegionDisabledException as __RegionDisabledException, } from "../models/index";
61
+ import { ExpiredTokenException as __ExpiredTokenException, IDPCommunicationErrorException as __IDPCommunicationErrorException, IDPRejectedClaimException as __IDPRejectedClaimException, InvalidIdentityTokenException as __InvalidIdentityTokenException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PackedPolicyTooLargeException as __PackedPolicyTooLargeException, RegionDisabledException as __RegionDisabledException, } from "../models/errors";
62
62
  import { STSServiceException as __STSServiceException } from "../models/STSServiceException";
63
63
  export var accessKeySecretType = [0, n0, _aKST, 8, 0];
64
64
  export var clientTokenType = [0, n0, _cTT, 8, 0];
@@ -47,5 +47,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
47
47
  export type { RuntimeExtension } from "./runtimeExtensions";
48
48
  export type { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
49
49
  export * from "./commands";
50
- export * from "./models";
50
+ export * from "./models/enums";
51
+ export * from "./models/errors";
52
+ export type * from "./models/models_0";
51
53
  export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessDeniedExceptionReason: {
6
+ readonly KMS_ACCESS_DENIED: "KMS_AccessDeniedException";
7
+ };
8
+ /**
9
+ * @public
10
+ */
11
+ export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
12
+ /**
13
+ * @public
14
+ * @enum
15
+ */
16
+ export declare const InvalidRequestExceptionReason: {
17
+ readonly KMS_DISABLED_KEY: "KMS_DisabledException";
18
+ readonly KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException";
19
+ readonly KMS_INVALID_STATE: "KMS_InvalidStateException";
20
+ readonly KMS_KEY_NOT_FOUND: "KMS_NotFoundException";
21
+ };
22
+ /**
23
+ * @public
24
+ */
25
+ export type InvalidRequestExceptionReason = (typeof InvalidRequestExceptionReason)[keyof typeof InvalidRequestExceptionReason];