@aws-sdk/client-chime 3.934.0 → 3.936.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 +108 -107
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +107 -0
- package/dist-es/models/errors.js +177 -0
- package/dist-es/models/models_0.js +1 -284
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +251 -0
- package/dist-types/models/errors.d.ts +158 -0
- package/dist-types/models/models_0.d.ts +1 -408
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +134 -0
- package/dist-types/ts3.4/models/errors.d.ts +96 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -229
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,23 +117,6 @@ let ChimeServiceException$1 = class ChimeServiceException extends smithyClient.S
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const ErrorCode = {
|
|
121
|
-
AccessDenied: "AccessDenied",
|
|
122
|
-
BadRequest: "BadRequest",
|
|
123
|
-
Conflict: "Conflict",
|
|
124
|
-
Forbidden: "Forbidden",
|
|
125
|
-
NotFound: "NotFound",
|
|
126
|
-
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
127
|
-
PreconditionFailed: "PreconditionFailed",
|
|
128
|
-
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
129
|
-
ServiceFailure: "ServiceFailure",
|
|
130
|
-
ServiceUnavailable: "ServiceUnavailable",
|
|
131
|
-
Throttled: "Throttled",
|
|
132
|
-
Throttling: "Throttling",
|
|
133
|
-
Unauthorized: "Unauthorized",
|
|
134
|
-
Unprocessable: "Unprocessable",
|
|
135
|
-
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
136
|
-
};
|
|
137
120
|
let AccessDeniedException$1 = class AccessDeniedException extends ChimeServiceException$1 {
|
|
138
121
|
name = "AccessDeniedException";
|
|
139
122
|
$fault = "client";
|
|
@@ -150,22 +133,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ChimeServiceEx
|
|
|
150
133
|
this.Message = opts.Message;
|
|
151
134
|
}
|
|
152
135
|
};
|
|
153
|
-
const AccountStatus = {
|
|
154
|
-
Active: "Active",
|
|
155
|
-
Suspended: "Suspended",
|
|
156
|
-
};
|
|
157
|
-
const AccountType = {
|
|
158
|
-
EnterpriseDirectory: "EnterpriseDirectory",
|
|
159
|
-
EnterpriseLWA: "EnterpriseLWA",
|
|
160
|
-
EnterpriseOIDC: "EnterpriseOIDC",
|
|
161
|
-
Team: "Team",
|
|
162
|
-
};
|
|
163
|
-
const License = {
|
|
164
|
-
Basic: "Basic",
|
|
165
|
-
Plus: "Plus",
|
|
166
|
-
Pro: "Pro",
|
|
167
|
-
ProTrial: "ProTrial",
|
|
168
|
-
};
|
|
169
136
|
let BadRequestException$1 = class BadRequestException extends ChimeServiceException$1 {
|
|
170
137
|
name = "BadRequestException";
|
|
171
138
|
$fault = "client";
|
|
@@ -278,28 +245,6 @@ let UnauthorizedClientException$1 = class UnauthorizedClientException extends Ch
|
|
|
278
245
|
this.Message = opts.Message;
|
|
279
246
|
}
|
|
280
247
|
};
|
|
281
|
-
const RoomMembershipRole = {
|
|
282
|
-
Administrator: "Administrator",
|
|
283
|
-
Member: "Member",
|
|
284
|
-
};
|
|
285
|
-
const PhoneNumberProductType = {
|
|
286
|
-
BusinessCalling: "BusinessCalling",
|
|
287
|
-
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
288
|
-
VoiceConnector: "VoiceConnector",
|
|
289
|
-
};
|
|
290
|
-
const UserType = {
|
|
291
|
-
PrivateUser: "PrivateUser",
|
|
292
|
-
SharedDevice: "SharedDevice",
|
|
293
|
-
};
|
|
294
|
-
const BotType = {
|
|
295
|
-
ChatBot: "ChatBot",
|
|
296
|
-
};
|
|
297
|
-
const CallingNameStatus = {
|
|
298
|
-
Unassigned: "Unassigned",
|
|
299
|
-
UpdateFailed: "UpdateFailed",
|
|
300
|
-
UpdateInProgress: "UpdateInProgress",
|
|
301
|
-
UpdateSucceeded: "UpdateSucceeded",
|
|
302
|
-
};
|
|
303
248
|
let ConflictException$1 = class ConflictException extends ChimeServiceException$1 {
|
|
304
249
|
name = "ConflictException";
|
|
305
250
|
$fault = "client";
|
|
@@ -332,32 +277,6 @@ let ResourceLimitExceededException$1 = class ResourceLimitExceededException exte
|
|
|
332
277
|
this.Message = opts.Message;
|
|
333
278
|
}
|
|
334
279
|
};
|
|
335
|
-
const OrderedPhoneNumberStatus = {
|
|
336
|
-
Acquired: "Acquired",
|
|
337
|
-
Failed: "Failed",
|
|
338
|
-
Processing: "Processing",
|
|
339
|
-
};
|
|
340
|
-
const PhoneNumberOrderStatus = {
|
|
341
|
-
Failed: "Failed",
|
|
342
|
-
Partial: "Partial",
|
|
343
|
-
Processing: "Processing",
|
|
344
|
-
Successful: "Successful",
|
|
345
|
-
};
|
|
346
|
-
const MemberType = {
|
|
347
|
-
Bot: "Bot",
|
|
348
|
-
User: "User",
|
|
349
|
-
Webhook: "Webhook",
|
|
350
|
-
};
|
|
351
|
-
const InviteStatus = {
|
|
352
|
-
Accepted: "Accepted",
|
|
353
|
-
Failed: "Failed",
|
|
354
|
-
Pending: "Pending",
|
|
355
|
-
};
|
|
356
|
-
const RegistrationStatus = {
|
|
357
|
-
Registered: "Registered",
|
|
358
|
-
Suspended: "Suspended",
|
|
359
|
-
Unregistered: "Unregistered",
|
|
360
|
-
};
|
|
361
280
|
let UnprocessableEntityException$1 = class UnprocessableEntityException extends ChimeServiceException$1 {
|
|
362
281
|
name = "UnprocessableEntityException";
|
|
363
282
|
$fault = "client";
|
|
@@ -374,32 +293,6 @@ let UnprocessableEntityException$1 = class UnprocessableEntityException extends
|
|
|
374
293
|
this.Message = opts.Message;
|
|
375
294
|
}
|
|
376
295
|
};
|
|
377
|
-
const EmailStatus = {
|
|
378
|
-
Failed: "Failed",
|
|
379
|
-
NotSent: "NotSent",
|
|
380
|
-
Sent: "Sent",
|
|
381
|
-
};
|
|
382
|
-
const PhoneNumberAssociationName = {
|
|
383
|
-
AccountId: "AccountId",
|
|
384
|
-
SipRuleId: "SipRuleId",
|
|
385
|
-
UserId: "UserId",
|
|
386
|
-
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
387
|
-
VoiceConnectorId: "VoiceConnectorId",
|
|
388
|
-
};
|
|
389
|
-
const PhoneNumberStatus = {
|
|
390
|
-
AcquireFailed: "AcquireFailed",
|
|
391
|
-
AcquireInProgress: "AcquireInProgress",
|
|
392
|
-
Assigned: "Assigned",
|
|
393
|
-
DeleteFailed: "DeleteFailed",
|
|
394
|
-
DeleteInProgress: "DeleteInProgress",
|
|
395
|
-
ReleaseFailed: "ReleaseFailed",
|
|
396
|
-
ReleaseInProgress: "ReleaseInProgress",
|
|
397
|
-
Unassigned: "Unassigned",
|
|
398
|
-
};
|
|
399
|
-
const PhoneNumberType = {
|
|
400
|
-
Local: "Local",
|
|
401
|
-
TollFree: "TollFree",
|
|
402
|
-
};
|
|
403
296
|
|
|
404
297
|
const _A = "Account";
|
|
405
298
|
const _AAI = "AwsAccountId";
|
|
@@ -3381,6 +3274,114 @@ const paginateListUsers = core.createPaginator(ChimeClient, ListUsersCommand, "N
|
|
|
3381
3274
|
|
|
3382
3275
|
const paginateSearchAvailablePhoneNumbers = core.createPaginator(ChimeClient, SearchAvailablePhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
3383
3276
|
|
|
3277
|
+
const ErrorCode = {
|
|
3278
|
+
AccessDenied: "AccessDenied",
|
|
3279
|
+
BadRequest: "BadRequest",
|
|
3280
|
+
Conflict: "Conflict",
|
|
3281
|
+
Forbidden: "Forbidden",
|
|
3282
|
+
NotFound: "NotFound",
|
|
3283
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
3284
|
+
PreconditionFailed: "PreconditionFailed",
|
|
3285
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
3286
|
+
ServiceFailure: "ServiceFailure",
|
|
3287
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
3288
|
+
Throttled: "Throttled",
|
|
3289
|
+
Throttling: "Throttling",
|
|
3290
|
+
Unauthorized: "Unauthorized",
|
|
3291
|
+
Unprocessable: "Unprocessable",
|
|
3292
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
3293
|
+
};
|
|
3294
|
+
const AccountStatus = {
|
|
3295
|
+
Active: "Active",
|
|
3296
|
+
Suspended: "Suspended",
|
|
3297
|
+
};
|
|
3298
|
+
const AccountType = {
|
|
3299
|
+
EnterpriseDirectory: "EnterpriseDirectory",
|
|
3300
|
+
EnterpriseLWA: "EnterpriseLWA",
|
|
3301
|
+
EnterpriseOIDC: "EnterpriseOIDC",
|
|
3302
|
+
Team: "Team",
|
|
3303
|
+
};
|
|
3304
|
+
const License = {
|
|
3305
|
+
Basic: "Basic",
|
|
3306
|
+
Plus: "Plus",
|
|
3307
|
+
Pro: "Pro",
|
|
3308
|
+
ProTrial: "ProTrial",
|
|
3309
|
+
};
|
|
3310
|
+
const RoomMembershipRole = {
|
|
3311
|
+
Administrator: "Administrator",
|
|
3312
|
+
Member: "Member",
|
|
3313
|
+
};
|
|
3314
|
+
const PhoneNumberProductType = {
|
|
3315
|
+
BusinessCalling: "BusinessCalling",
|
|
3316
|
+
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
3317
|
+
VoiceConnector: "VoiceConnector",
|
|
3318
|
+
};
|
|
3319
|
+
const UserType = {
|
|
3320
|
+
PrivateUser: "PrivateUser",
|
|
3321
|
+
SharedDevice: "SharedDevice",
|
|
3322
|
+
};
|
|
3323
|
+
const BotType = {
|
|
3324
|
+
ChatBot: "ChatBot",
|
|
3325
|
+
};
|
|
3326
|
+
const CallingNameStatus = {
|
|
3327
|
+
Unassigned: "Unassigned",
|
|
3328
|
+
UpdateFailed: "UpdateFailed",
|
|
3329
|
+
UpdateInProgress: "UpdateInProgress",
|
|
3330
|
+
UpdateSucceeded: "UpdateSucceeded",
|
|
3331
|
+
};
|
|
3332
|
+
const OrderedPhoneNumberStatus = {
|
|
3333
|
+
Acquired: "Acquired",
|
|
3334
|
+
Failed: "Failed",
|
|
3335
|
+
Processing: "Processing",
|
|
3336
|
+
};
|
|
3337
|
+
const PhoneNumberOrderStatus = {
|
|
3338
|
+
Failed: "Failed",
|
|
3339
|
+
Partial: "Partial",
|
|
3340
|
+
Processing: "Processing",
|
|
3341
|
+
Successful: "Successful",
|
|
3342
|
+
};
|
|
3343
|
+
const MemberType = {
|
|
3344
|
+
Bot: "Bot",
|
|
3345
|
+
User: "User",
|
|
3346
|
+
Webhook: "Webhook",
|
|
3347
|
+
};
|
|
3348
|
+
const InviteStatus = {
|
|
3349
|
+
Accepted: "Accepted",
|
|
3350
|
+
Failed: "Failed",
|
|
3351
|
+
Pending: "Pending",
|
|
3352
|
+
};
|
|
3353
|
+
const RegistrationStatus = {
|
|
3354
|
+
Registered: "Registered",
|
|
3355
|
+
Suspended: "Suspended",
|
|
3356
|
+
Unregistered: "Unregistered",
|
|
3357
|
+
};
|
|
3358
|
+
const EmailStatus = {
|
|
3359
|
+
Failed: "Failed",
|
|
3360
|
+
NotSent: "NotSent",
|
|
3361
|
+
Sent: "Sent",
|
|
3362
|
+
};
|
|
3363
|
+
const PhoneNumberAssociationName = {
|
|
3364
|
+
AccountId: "AccountId",
|
|
3365
|
+
SipRuleId: "SipRuleId",
|
|
3366
|
+
UserId: "UserId",
|
|
3367
|
+
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
3368
|
+
VoiceConnectorId: "VoiceConnectorId",
|
|
3369
|
+
};
|
|
3370
|
+
const PhoneNumberStatus = {
|
|
3371
|
+
AcquireFailed: "AcquireFailed",
|
|
3372
|
+
AcquireInProgress: "AcquireInProgress",
|
|
3373
|
+
Assigned: "Assigned",
|
|
3374
|
+
DeleteFailed: "DeleteFailed",
|
|
3375
|
+
DeleteInProgress: "DeleteInProgress",
|
|
3376
|
+
ReleaseFailed: "ReleaseFailed",
|
|
3377
|
+
ReleaseInProgress: "ReleaseInProgress",
|
|
3378
|
+
Unassigned: "Unassigned",
|
|
3379
|
+
};
|
|
3380
|
+
const PhoneNumberType = {
|
|
3381
|
+
Local: "Local",
|
|
3382
|
+
TollFree: "TollFree",
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3384
3385
|
Object.defineProperty(exports, "$Command", {
|
|
3385
3386
|
enumerable: true,
|
|
3386
3387
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ChimeClient";
|
|
|
2
2
|
export * from "./Chime";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ChimeServiceException } from "./models/ChimeServiceException";
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export const ErrorCode = {
|
|
2
|
+
AccessDenied: "AccessDenied",
|
|
3
|
+
BadRequest: "BadRequest",
|
|
4
|
+
Conflict: "Conflict",
|
|
5
|
+
Forbidden: "Forbidden",
|
|
6
|
+
NotFound: "NotFound",
|
|
7
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
8
|
+
PreconditionFailed: "PreconditionFailed",
|
|
9
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
10
|
+
ServiceFailure: "ServiceFailure",
|
|
11
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
12
|
+
Throttled: "Throttled",
|
|
13
|
+
Throttling: "Throttling",
|
|
14
|
+
Unauthorized: "Unauthorized",
|
|
15
|
+
Unprocessable: "Unprocessable",
|
|
16
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
17
|
+
};
|
|
18
|
+
export const AccountStatus = {
|
|
19
|
+
Active: "Active",
|
|
20
|
+
Suspended: "Suspended",
|
|
21
|
+
};
|
|
22
|
+
export const AccountType = {
|
|
23
|
+
EnterpriseDirectory: "EnterpriseDirectory",
|
|
24
|
+
EnterpriseLWA: "EnterpriseLWA",
|
|
25
|
+
EnterpriseOIDC: "EnterpriseOIDC",
|
|
26
|
+
Team: "Team",
|
|
27
|
+
};
|
|
28
|
+
export const License = {
|
|
29
|
+
Basic: "Basic",
|
|
30
|
+
Plus: "Plus",
|
|
31
|
+
Pro: "Pro",
|
|
32
|
+
ProTrial: "ProTrial",
|
|
33
|
+
};
|
|
34
|
+
export const RoomMembershipRole = {
|
|
35
|
+
Administrator: "Administrator",
|
|
36
|
+
Member: "Member",
|
|
37
|
+
};
|
|
38
|
+
export const PhoneNumberProductType = {
|
|
39
|
+
BusinessCalling: "BusinessCalling",
|
|
40
|
+
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
41
|
+
VoiceConnector: "VoiceConnector",
|
|
42
|
+
};
|
|
43
|
+
export const UserType = {
|
|
44
|
+
PrivateUser: "PrivateUser",
|
|
45
|
+
SharedDevice: "SharedDevice",
|
|
46
|
+
};
|
|
47
|
+
export const BotType = {
|
|
48
|
+
ChatBot: "ChatBot",
|
|
49
|
+
};
|
|
50
|
+
export const CallingNameStatus = {
|
|
51
|
+
Unassigned: "Unassigned",
|
|
52
|
+
UpdateFailed: "UpdateFailed",
|
|
53
|
+
UpdateInProgress: "UpdateInProgress",
|
|
54
|
+
UpdateSucceeded: "UpdateSucceeded",
|
|
55
|
+
};
|
|
56
|
+
export const OrderedPhoneNumberStatus = {
|
|
57
|
+
Acquired: "Acquired",
|
|
58
|
+
Failed: "Failed",
|
|
59
|
+
Processing: "Processing",
|
|
60
|
+
};
|
|
61
|
+
export const PhoneNumberOrderStatus = {
|
|
62
|
+
Failed: "Failed",
|
|
63
|
+
Partial: "Partial",
|
|
64
|
+
Processing: "Processing",
|
|
65
|
+
Successful: "Successful",
|
|
66
|
+
};
|
|
67
|
+
export const MemberType = {
|
|
68
|
+
Bot: "Bot",
|
|
69
|
+
User: "User",
|
|
70
|
+
Webhook: "Webhook",
|
|
71
|
+
};
|
|
72
|
+
export const InviteStatus = {
|
|
73
|
+
Accepted: "Accepted",
|
|
74
|
+
Failed: "Failed",
|
|
75
|
+
Pending: "Pending",
|
|
76
|
+
};
|
|
77
|
+
export const RegistrationStatus = {
|
|
78
|
+
Registered: "Registered",
|
|
79
|
+
Suspended: "Suspended",
|
|
80
|
+
Unregistered: "Unregistered",
|
|
81
|
+
};
|
|
82
|
+
export const EmailStatus = {
|
|
83
|
+
Failed: "Failed",
|
|
84
|
+
NotSent: "NotSent",
|
|
85
|
+
Sent: "Sent",
|
|
86
|
+
};
|
|
87
|
+
export const PhoneNumberAssociationName = {
|
|
88
|
+
AccountId: "AccountId",
|
|
89
|
+
SipRuleId: "SipRuleId",
|
|
90
|
+
UserId: "UserId",
|
|
91
|
+
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
92
|
+
VoiceConnectorId: "VoiceConnectorId",
|
|
93
|
+
};
|
|
94
|
+
export const PhoneNumberStatus = {
|
|
95
|
+
AcquireFailed: "AcquireFailed",
|
|
96
|
+
AcquireInProgress: "AcquireInProgress",
|
|
97
|
+
Assigned: "Assigned",
|
|
98
|
+
DeleteFailed: "DeleteFailed",
|
|
99
|
+
DeleteInProgress: "DeleteInProgress",
|
|
100
|
+
ReleaseFailed: "ReleaseFailed",
|
|
101
|
+
ReleaseInProgress: "ReleaseInProgress",
|
|
102
|
+
Unassigned: "Unassigned",
|
|
103
|
+
};
|
|
104
|
+
export const PhoneNumberType = {
|
|
105
|
+
Local: "Local",
|
|
106
|
+
TollFree: "TollFree",
|
|
107
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { ChimeServiceException as __BaseException } from "./ChimeServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Code;
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
14
|
+
this.Code = opts.Code;
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class BadRequestException extends __BaseException {
|
|
19
|
+
name = "BadRequestException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Code;
|
|
22
|
+
Message;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "BadRequestException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
30
|
+
this.Code = opts.Code;
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ForbiddenException extends __BaseException {
|
|
35
|
+
name = "ForbiddenException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Code;
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ForbiddenException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
46
|
+
this.Code = opts.Code;
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class NotFoundException extends __BaseException {
|
|
51
|
+
name = "NotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Code;
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "NotFoundException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
62
|
+
this.Code = opts.Code;
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ServiceFailureException extends __BaseException {
|
|
67
|
+
name = "ServiceFailureException";
|
|
68
|
+
$fault = "server";
|
|
69
|
+
Code;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ServiceFailureException",
|
|
74
|
+
$fault: "server",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
78
|
+
this.Code = opts.Code;
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
83
|
+
name = "ServiceUnavailableException";
|
|
84
|
+
$fault = "server";
|
|
85
|
+
Code;
|
|
86
|
+
Message;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ServiceUnavailableException",
|
|
90
|
+
$fault: "server",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
94
|
+
this.Code = opts.Code;
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ThrottledClientException extends __BaseException {
|
|
99
|
+
name = "ThrottledClientException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Code;
|
|
102
|
+
Message;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ThrottledClientException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, ThrottledClientException.prototype);
|
|
110
|
+
this.Code = opts.Code;
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class UnauthorizedClientException extends __BaseException {
|
|
115
|
+
name = "UnauthorizedClientException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Code;
|
|
118
|
+
Message;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "UnauthorizedClientException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
126
|
+
this.Code = opts.Code;
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class ConflictException extends __BaseException {
|
|
131
|
+
name = "ConflictException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Code;
|
|
134
|
+
Message;
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ConflictException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
142
|
+
this.Code = opts.Code;
|
|
143
|
+
this.Message = opts.Message;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class ResourceLimitExceededException extends __BaseException {
|
|
147
|
+
name = "ResourceLimitExceededException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
Code;
|
|
150
|
+
Message;
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "ResourceLimitExceededException",
|
|
154
|
+
$fault: "client",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
158
|
+
this.Code = opts.Code;
|
|
159
|
+
this.Message = opts.Message;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export class UnprocessableEntityException extends __BaseException {
|
|
163
|
+
name = "UnprocessableEntityException";
|
|
164
|
+
$fault = "client";
|
|
165
|
+
Code;
|
|
166
|
+
Message;
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "UnprocessableEntityException",
|
|
170
|
+
$fault: "client",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
174
|
+
this.Code = opts.Code;
|
|
175
|
+
this.Message = opts.Message;
|
|
176
|
+
}
|
|
177
|
+
}
|