@aws-sdk/client-iam 3.987.0 → 3.988.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +195 -4474
- package/dist-cjs/models/IAMServiceException.js +12 -0
- package/dist-cjs/models/errors.js +469 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +3335 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +220 -214
- package/dist-types/schemas/schemas_0.d.ts +43 -36
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +38 -36
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IAMServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class IAMServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, IAMServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.IAMServiceException = IAMServiceException;
|
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidPublicKeyException = exports.DuplicateSSHPublicKeyException = exports.InvalidCertificateException = exports.DuplicateCertificateException = exports.MalformedCertificateException = exports.KeyPairMismatchException = exports.PolicyEvaluationException = exports.UnrecognizedPublicKeyEncodingException = exports.CredentialReportNotReadyException = exports.CredentialReportNotPresentException = exports.CredentialReportExpiredException = exports.ReportGenerationLimitExceededException = exports.FeatureEnabledException = exports.CallerIsNotManagementAccountException = exports.InvalidAuthenticationCodeException = exports.FeatureDisabledException = exports.ServiceAccessNotEnabledException = exports.OrganizationNotInAllFeaturesModeException = exports.OrganizationNotFoundException = exports.DeleteConflictException = exports.ServiceNotSupportedException = exports.MalformedPolicyDocumentException = exports.OpenIdIdpCommunicationErrorException = exports.PasswordPolicyViolationException = exports.InvalidUserTypeException = exports.EntityTemporarilyUnmodifiableException = exports.PolicyNotAttachableException = exports.UnmodifiableEntityException = exports.EntityAlreadyExistsException = exports.LimitExceededException = exports.InvalidInputException = exports.AccountNotManagementOrDelegatedAdministratorException = exports.ServiceFailureException = exports.NoSuchEntityException = exports.ConcurrentModificationException = void 0;
|
|
4
|
+
const IAMServiceException_1 = require("./IAMServiceException");
|
|
5
|
+
class ConcurrentModificationException extends IAMServiceException_1.IAMServiceException {
|
|
6
|
+
name = "ConcurrentModificationException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ConcurrentModificationException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
18
|
+
class NoSuchEntityException extends IAMServiceException_1.IAMServiceException {
|
|
19
|
+
name = "NoSuchEntityException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "NoSuchEntityException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, NoSuchEntityException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.NoSuchEntityException = NoSuchEntityException;
|
|
31
|
+
class ServiceFailureException extends IAMServiceException_1.IAMServiceException {
|
|
32
|
+
name = "ServiceFailureException";
|
|
33
|
+
$fault = "server";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ServiceFailureException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ServiceFailureException = ServiceFailureException;
|
|
44
|
+
class AccountNotManagementOrDelegatedAdministratorException extends IAMServiceException_1.IAMServiceException {
|
|
45
|
+
name = "AccountNotManagementOrDelegatedAdministratorException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "AccountNotManagementOrDelegatedAdministratorException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, AccountNotManagementOrDelegatedAdministratorException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.AccountNotManagementOrDelegatedAdministratorException = AccountNotManagementOrDelegatedAdministratorException;
|
|
59
|
+
class InvalidInputException extends IAMServiceException_1.IAMServiceException {
|
|
60
|
+
name = "InvalidInputException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "InvalidInputException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.InvalidInputException = InvalidInputException;
|
|
72
|
+
class LimitExceededException extends IAMServiceException_1.IAMServiceException {
|
|
73
|
+
name = "LimitExceededException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "LimitExceededException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.LimitExceededException = LimitExceededException;
|
|
85
|
+
class EntityAlreadyExistsException extends IAMServiceException_1.IAMServiceException {
|
|
86
|
+
name = "EntityAlreadyExistsException";
|
|
87
|
+
$fault = "client";
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "EntityAlreadyExistsException",
|
|
91
|
+
$fault: "client",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.EntityAlreadyExistsException = EntityAlreadyExistsException;
|
|
98
|
+
class UnmodifiableEntityException extends IAMServiceException_1.IAMServiceException {
|
|
99
|
+
name = "UnmodifiableEntityException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "UnmodifiableEntityException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, UnmodifiableEntityException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.UnmodifiableEntityException = UnmodifiableEntityException;
|
|
111
|
+
class PolicyNotAttachableException extends IAMServiceException_1.IAMServiceException {
|
|
112
|
+
name = "PolicyNotAttachableException";
|
|
113
|
+
$fault = "client";
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "PolicyNotAttachableException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, PolicyNotAttachableException.prototype);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.PolicyNotAttachableException = PolicyNotAttachableException;
|
|
124
|
+
class EntityTemporarilyUnmodifiableException extends IAMServiceException_1.IAMServiceException {
|
|
125
|
+
name = "EntityTemporarilyUnmodifiableException";
|
|
126
|
+
$fault = "client";
|
|
127
|
+
constructor(opts) {
|
|
128
|
+
super({
|
|
129
|
+
name: "EntityTemporarilyUnmodifiableException",
|
|
130
|
+
$fault: "client",
|
|
131
|
+
...opts,
|
|
132
|
+
});
|
|
133
|
+
Object.setPrototypeOf(this, EntityTemporarilyUnmodifiableException.prototype);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.EntityTemporarilyUnmodifiableException = EntityTemporarilyUnmodifiableException;
|
|
137
|
+
class InvalidUserTypeException extends IAMServiceException_1.IAMServiceException {
|
|
138
|
+
name = "InvalidUserTypeException";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
constructor(opts) {
|
|
141
|
+
super({
|
|
142
|
+
name: "InvalidUserTypeException",
|
|
143
|
+
$fault: "client",
|
|
144
|
+
...opts,
|
|
145
|
+
});
|
|
146
|
+
Object.setPrototypeOf(this, InvalidUserTypeException.prototype);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
exports.InvalidUserTypeException = InvalidUserTypeException;
|
|
150
|
+
class PasswordPolicyViolationException extends IAMServiceException_1.IAMServiceException {
|
|
151
|
+
name = "PasswordPolicyViolationException";
|
|
152
|
+
$fault = "client";
|
|
153
|
+
constructor(opts) {
|
|
154
|
+
super({
|
|
155
|
+
name: "PasswordPolicyViolationException",
|
|
156
|
+
$fault: "client",
|
|
157
|
+
...opts,
|
|
158
|
+
});
|
|
159
|
+
Object.setPrototypeOf(this, PasswordPolicyViolationException.prototype);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
exports.PasswordPolicyViolationException = PasswordPolicyViolationException;
|
|
163
|
+
class OpenIdIdpCommunicationErrorException extends IAMServiceException_1.IAMServiceException {
|
|
164
|
+
name = "OpenIdIdpCommunicationErrorException";
|
|
165
|
+
$fault = "client";
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "OpenIdIdpCommunicationErrorException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
Object.setPrototypeOf(this, OpenIdIdpCommunicationErrorException.prototype);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.OpenIdIdpCommunicationErrorException = OpenIdIdpCommunicationErrorException;
|
|
176
|
+
class MalformedPolicyDocumentException extends IAMServiceException_1.IAMServiceException {
|
|
177
|
+
name = "MalformedPolicyDocumentException";
|
|
178
|
+
$fault = "client";
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "MalformedPolicyDocumentException",
|
|
182
|
+
$fault: "client",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
189
|
+
class ServiceNotSupportedException extends IAMServiceException_1.IAMServiceException {
|
|
190
|
+
name = "ServiceNotSupportedException";
|
|
191
|
+
$fault = "client";
|
|
192
|
+
constructor(opts) {
|
|
193
|
+
super({
|
|
194
|
+
name: "ServiceNotSupportedException",
|
|
195
|
+
$fault: "client",
|
|
196
|
+
...opts,
|
|
197
|
+
});
|
|
198
|
+
Object.setPrototypeOf(this, ServiceNotSupportedException.prototype);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.ServiceNotSupportedException = ServiceNotSupportedException;
|
|
202
|
+
class DeleteConflictException extends IAMServiceException_1.IAMServiceException {
|
|
203
|
+
name = "DeleteConflictException";
|
|
204
|
+
$fault = "client";
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "DeleteConflictException",
|
|
208
|
+
$fault: "client",
|
|
209
|
+
...opts,
|
|
210
|
+
});
|
|
211
|
+
Object.setPrototypeOf(this, DeleteConflictException.prototype);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.DeleteConflictException = DeleteConflictException;
|
|
215
|
+
class OrganizationNotFoundException extends IAMServiceException_1.IAMServiceException {
|
|
216
|
+
name = "OrganizationNotFoundException";
|
|
217
|
+
$fault = "client";
|
|
218
|
+
Message;
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "OrganizationNotFoundException",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts,
|
|
224
|
+
});
|
|
225
|
+
Object.setPrototypeOf(this, OrganizationNotFoundException.prototype);
|
|
226
|
+
this.Message = opts.Message;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
exports.OrganizationNotFoundException = OrganizationNotFoundException;
|
|
230
|
+
class OrganizationNotInAllFeaturesModeException extends IAMServiceException_1.IAMServiceException {
|
|
231
|
+
name = "OrganizationNotInAllFeaturesModeException";
|
|
232
|
+
$fault = "client";
|
|
233
|
+
Message;
|
|
234
|
+
constructor(opts) {
|
|
235
|
+
super({
|
|
236
|
+
name: "OrganizationNotInAllFeaturesModeException",
|
|
237
|
+
$fault: "client",
|
|
238
|
+
...opts,
|
|
239
|
+
});
|
|
240
|
+
Object.setPrototypeOf(this, OrganizationNotInAllFeaturesModeException.prototype);
|
|
241
|
+
this.Message = opts.Message;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
exports.OrganizationNotInAllFeaturesModeException = OrganizationNotInAllFeaturesModeException;
|
|
245
|
+
class ServiceAccessNotEnabledException extends IAMServiceException_1.IAMServiceException {
|
|
246
|
+
name = "ServiceAccessNotEnabledException";
|
|
247
|
+
$fault = "client";
|
|
248
|
+
Message;
|
|
249
|
+
constructor(opts) {
|
|
250
|
+
super({
|
|
251
|
+
name: "ServiceAccessNotEnabledException",
|
|
252
|
+
$fault: "client",
|
|
253
|
+
...opts,
|
|
254
|
+
});
|
|
255
|
+
Object.setPrototypeOf(this, ServiceAccessNotEnabledException.prototype);
|
|
256
|
+
this.Message = opts.Message;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
exports.ServiceAccessNotEnabledException = ServiceAccessNotEnabledException;
|
|
260
|
+
class FeatureDisabledException extends IAMServiceException_1.IAMServiceException {
|
|
261
|
+
name = "FeatureDisabledException";
|
|
262
|
+
$fault = "client";
|
|
263
|
+
constructor(opts) {
|
|
264
|
+
super({
|
|
265
|
+
name: "FeatureDisabledException",
|
|
266
|
+
$fault: "client",
|
|
267
|
+
...opts,
|
|
268
|
+
});
|
|
269
|
+
Object.setPrototypeOf(this, FeatureDisabledException.prototype);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
exports.FeatureDisabledException = FeatureDisabledException;
|
|
273
|
+
class InvalidAuthenticationCodeException extends IAMServiceException_1.IAMServiceException {
|
|
274
|
+
name = "InvalidAuthenticationCodeException";
|
|
275
|
+
$fault = "client";
|
|
276
|
+
constructor(opts) {
|
|
277
|
+
super({
|
|
278
|
+
name: "InvalidAuthenticationCodeException",
|
|
279
|
+
$fault: "client",
|
|
280
|
+
...opts,
|
|
281
|
+
});
|
|
282
|
+
Object.setPrototypeOf(this, InvalidAuthenticationCodeException.prototype);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
exports.InvalidAuthenticationCodeException = InvalidAuthenticationCodeException;
|
|
286
|
+
class CallerIsNotManagementAccountException extends IAMServiceException_1.IAMServiceException {
|
|
287
|
+
name = "CallerIsNotManagementAccountException";
|
|
288
|
+
$fault = "client";
|
|
289
|
+
Message;
|
|
290
|
+
constructor(opts) {
|
|
291
|
+
super({
|
|
292
|
+
name: "CallerIsNotManagementAccountException",
|
|
293
|
+
$fault: "client",
|
|
294
|
+
...opts,
|
|
295
|
+
});
|
|
296
|
+
Object.setPrototypeOf(this, CallerIsNotManagementAccountException.prototype);
|
|
297
|
+
this.Message = opts.Message;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
exports.CallerIsNotManagementAccountException = CallerIsNotManagementAccountException;
|
|
301
|
+
class FeatureEnabledException extends IAMServiceException_1.IAMServiceException {
|
|
302
|
+
name = "FeatureEnabledException";
|
|
303
|
+
$fault = "client";
|
|
304
|
+
constructor(opts) {
|
|
305
|
+
super({
|
|
306
|
+
name: "FeatureEnabledException",
|
|
307
|
+
$fault: "client",
|
|
308
|
+
...opts,
|
|
309
|
+
});
|
|
310
|
+
Object.setPrototypeOf(this, FeatureEnabledException.prototype);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
exports.FeatureEnabledException = FeatureEnabledException;
|
|
314
|
+
class ReportGenerationLimitExceededException extends IAMServiceException_1.IAMServiceException {
|
|
315
|
+
name = "ReportGenerationLimitExceededException";
|
|
316
|
+
$fault = "client";
|
|
317
|
+
constructor(opts) {
|
|
318
|
+
super({
|
|
319
|
+
name: "ReportGenerationLimitExceededException",
|
|
320
|
+
$fault: "client",
|
|
321
|
+
...opts,
|
|
322
|
+
});
|
|
323
|
+
Object.setPrototypeOf(this, ReportGenerationLimitExceededException.prototype);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
exports.ReportGenerationLimitExceededException = ReportGenerationLimitExceededException;
|
|
327
|
+
class CredentialReportExpiredException extends IAMServiceException_1.IAMServiceException {
|
|
328
|
+
name = "CredentialReportExpiredException";
|
|
329
|
+
$fault = "client";
|
|
330
|
+
constructor(opts) {
|
|
331
|
+
super({
|
|
332
|
+
name: "CredentialReportExpiredException",
|
|
333
|
+
$fault: "client",
|
|
334
|
+
...opts,
|
|
335
|
+
});
|
|
336
|
+
Object.setPrototypeOf(this, CredentialReportExpiredException.prototype);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
exports.CredentialReportExpiredException = CredentialReportExpiredException;
|
|
340
|
+
class CredentialReportNotPresentException extends IAMServiceException_1.IAMServiceException {
|
|
341
|
+
name = "CredentialReportNotPresentException";
|
|
342
|
+
$fault = "client";
|
|
343
|
+
constructor(opts) {
|
|
344
|
+
super({
|
|
345
|
+
name: "CredentialReportNotPresentException",
|
|
346
|
+
$fault: "client",
|
|
347
|
+
...opts,
|
|
348
|
+
});
|
|
349
|
+
Object.setPrototypeOf(this, CredentialReportNotPresentException.prototype);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
exports.CredentialReportNotPresentException = CredentialReportNotPresentException;
|
|
353
|
+
class CredentialReportNotReadyException extends IAMServiceException_1.IAMServiceException {
|
|
354
|
+
name = "CredentialReportNotReadyException";
|
|
355
|
+
$fault = "client";
|
|
356
|
+
constructor(opts) {
|
|
357
|
+
super({
|
|
358
|
+
name: "CredentialReportNotReadyException",
|
|
359
|
+
$fault: "client",
|
|
360
|
+
...opts,
|
|
361
|
+
});
|
|
362
|
+
Object.setPrototypeOf(this, CredentialReportNotReadyException.prototype);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
exports.CredentialReportNotReadyException = CredentialReportNotReadyException;
|
|
366
|
+
class UnrecognizedPublicKeyEncodingException extends IAMServiceException_1.IAMServiceException {
|
|
367
|
+
name = "UnrecognizedPublicKeyEncodingException";
|
|
368
|
+
$fault = "client";
|
|
369
|
+
constructor(opts) {
|
|
370
|
+
super({
|
|
371
|
+
name: "UnrecognizedPublicKeyEncodingException",
|
|
372
|
+
$fault: "client",
|
|
373
|
+
...opts,
|
|
374
|
+
});
|
|
375
|
+
Object.setPrototypeOf(this, UnrecognizedPublicKeyEncodingException.prototype);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
exports.UnrecognizedPublicKeyEncodingException = UnrecognizedPublicKeyEncodingException;
|
|
379
|
+
class PolicyEvaluationException extends IAMServiceException_1.IAMServiceException {
|
|
380
|
+
name = "PolicyEvaluationException";
|
|
381
|
+
$fault = "server";
|
|
382
|
+
constructor(opts) {
|
|
383
|
+
super({
|
|
384
|
+
name: "PolicyEvaluationException",
|
|
385
|
+
$fault: "server",
|
|
386
|
+
...opts,
|
|
387
|
+
});
|
|
388
|
+
Object.setPrototypeOf(this, PolicyEvaluationException.prototype);
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
exports.PolicyEvaluationException = PolicyEvaluationException;
|
|
392
|
+
class KeyPairMismatchException extends IAMServiceException_1.IAMServiceException {
|
|
393
|
+
name = "KeyPairMismatchException";
|
|
394
|
+
$fault = "client";
|
|
395
|
+
constructor(opts) {
|
|
396
|
+
super({
|
|
397
|
+
name: "KeyPairMismatchException",
|
|
398
|
+
$fault: "client",
|
|
399
|
+
...opts,
|
|
400
|
+
});
|
|
401
|
+
Object.setPrototypeOf(this, KeyPairMismatchException.prototype);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
exports.KeyPairMismatchException = KeyPairMismatchException;
|
|
405
|
+
class MalformedCertificateException extends IAMServiceException_1.IAMServiceException {
|
|
406
|
+
name = "MalformedCertificateException";
|
|
407
|
+
$fault = "client";
|
|
408
|
+
constructor(opts) {
|
|
409
|
+
super({
|
|
410
|
+
name: "MalformedCertificateException",
|
|
411
|
+
$fault: "client",
|
|
412
|
+
...opts,
|
|
413
|
+
});
|
|
414
|
+
Object.setPrototypeOf(this, MalformedCertificateException.prototype);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
exports.MalformedCertificateException = MalformedCertificateException;
|
|
418
|
+
class DuplicateCertificateException extends IAMServiceException_1.IAMServiceException {
|
|
419
|
+
name = "DuplicateCertificateException";
|
|
420
|
+
$fault = "client";
|
|
421
|
+
constructor(opts) {
|
|
422
|
+
super({
|
|
423
|
+
name: "DuplicateCertificateException",
|
|
424
|
+
$fault: "client",
|
|
425
|
+
...opts,
|
|
426
|
+
});
|
|
427
|
+
Object.setPrototypeOf(this, DuplicateCertificateException.prototype);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
exports.DuplicateCertificateException = DuplicateCertificateException;
|
|
431
|
+
class InvalidCertificateException extends IAMServiceException_1.IAMServiceException {
|
|
432
|
+
name = "InvalidCertificateException";
|
|
433
|
+
$fault = "client";
|
|
434
|
+
constructor(opts) {
|
|
435
|
+
super({
|
|
436
|
+
name: "InvalidCertificateException",
|
|
437
|
+
$fault: "client",
|
|
438
|
+
...opts,
|
|
439
|
+
});
|
|
440
|
+
Object.setPrototypeOf(this, InvalidCertificateException.prototype);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
exports.InvalidCertificateException = InvalidCertificateException;
|
|
444
|
+
class DuplicateSSHPublicKeyException extends IAMServiceException_1.IAMServiceException {
|
|
445
|
+
name = "DuplicateSSHPublicKeyException";
|
|
446
|
+
$fault = "client";
|
|
447
|
+
constructor(opts) {
|
|
448
|
+
super({
|
|
449
|
+
name: "DuplicateSSHPublicKeyException",
|
|
450
|
+
$fault: "client",
|
|
451
|
+
...opts,
|
|
452
|
+
});
|
|
453
|
+
Object.setPrototypeOf(this, DuplicateSSHPublicKeyException.prototype);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
exports.DuplicateSSHPublicKeyException = DuplicateSSHPublicKeyException;
|
|
457
|
+
class InvalidPublicKeyException extends IAMServiceException_1.IAMServiceException {
|
|
458
|
+
name = "InvalidPublicKeyException";
|
|
459
|
+
$fault = "client";
|
|
460
|
+
constructor(opts) {
|
|
461
|
+
super({
|
|
462
|
+
name: "InvalidPublicKeyException",
|
|
463
|
+
$fault: "client",
|
|
464
|
+
...opts,
|
|
465
|
+
});
|
|
466
|
+
Object.setPrototypeOf(this, InvalidPublicKeyException.prototype);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
exports.InvalidPublicKeyException = InvalidPublicKeyException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2010-05-08",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.iam",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "https://iam.amazonaws.com/doc/2010-05-08/",
|
|
33
35
|
version: "2010-05-08",
|
|
34
36
|
serviceTarget: "AWSIdentityManagementV20100508",
|