@aws-sdk/client-security-ir 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 CHANGED
@@ -127,53 +127,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends SecurityIRServ
127
127
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
128
128
  }
129
129
  };
130
- const AwsRegion = {
131
- AF_SOUTH_1: "af-south-1",
132
- AP_EAST_1: "ap-east-1",
133
- AP_EAST_2: "ap-east-2",
134
- AP_NORTHEAST_1: "ap-northeast-1",
135
- AP_NORTHEAST_2: "ap-northeast-2",
136
- AP_NORTHEAST_3: "ap-northeast-3",
137
- AP_SOUTHEAST_1: "ap-southeast-1",
138
- AP_SOUTHEAST_2: "ap-southeast-2",
139
- AP_SOUTHEAST_3: "ap-southeast-3",
140
- AP_SOUTHEAST_4: "ap-southeast-4",
141
- AP_SOUTHEAST_5: "ap-southeast-5",
142
- AP_SOUTHEAST_6: "ap-southeast-6",
143
- AP_SOUTHEAST_7: "ap-southeast-7",
144
- AP_SOUTH_1: "ap-south-1",
145
- AP_SOUTH_2: "ap-south-2",
146
- CA_CENTRAL_1: "ca-central-1",
147
- CA_WEST_1: "ca-west-1",
148
- CN_NORTHWEST_1: "cn-northwest-1",
149
- CN_NORTH_1: "cn-north-1",
150
- EU_CENTRAL_1: "eu-central-1",
151
- EU_CENTRAL_2: "eu-central-2",
152
- EU_NORTH_1: "eu-north-1",
153
- EU_SOUTH_1: "eu-south-1",
154
- EU_SOUTH_2: "eu-south-2",
155
- EU_WEST_1: "eu-west-1",
156
- EU_WEST_2: "eu-west-2",
157
- EU_WEST_3: "eu-west-3",
158
- IL_CENTRAL_1: "il-central-1",
159
- ME_CENTRAL_1: "me-central-1",
160
- ME_SOUTH_1: "me-south-1",
161
- MX_CENTRAL_1: "mx-central-1",
162
- SA_EAST_1: "sa-east-1",
163
- US_EAST_1: "us-east-1",
164
- US_EAST_2: "us-east-2",
165
- US_WEST_1: "us-west-1",
166
- US_WEST_2: "us-west-2",
167
- };
168
- const MembershipAccountRelationshipStatus = {
169
- ASSOCIATED: "Associated",
170
- DISASSOCIATED: "Disassociated",
171
- UNASSOCIATED: "Unassociated",
172
- };
173
- const MembershipAccountRelationshipType = {
174
- ORGANIZATION: "Organization",
175
- UNRELATED: "Unrelated",
176
- };
177
130
  let ConflictException$1 = class ConflictException extends SecurityIRServiceException$1 {
178
131
  name = "ConflictException";
179
132
  $fault = "client";
@@ -283,12 +236,6 @@ let ThrottlingException$1 = class ThrottlingException extends SecurityIRServiceE
283
236
  this.retryAfterSeconds = opts.retryAfterSeconds;
284
237
  }
285
238
  };
286
- const ValidationExceptionReason = {
287
- CANNOT_PARSE: "CANNOT_PARSE",
288
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
289
- OTHER: "OTHER",
290
- UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
291
- };
292
239
  let ValidationException$1 = class ValidationException extends SecurityIRServiceException$1 {
293
240
  name = "ValidationException";
294
241
  $fault = "client";
@@ -305,74 +252,6 @@ let ValidationException$1 = class ValidationException extends SecurityIRServiceE
305
252
  this.fieldList = opts.fieldList;
306
253
  }
307
254
  };
308
- const CaseStatus = {
309
- ACKNOWLEDGED: "Acknowledged",
310
- CLOSED: "Closed",
311
- CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
312
- DETECTION_AND_ANALYSIS: "Detection and Analysis",
313
- POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
314
- READY_TO_CLOSE: "Ready to Close",
315
- SUBMITTED: "Submitted",
316
- };
317
- const EngagementType = {
318
- INVESTIGATION: "Investigation",
319
- SECURITY_INCIDENT: "Security Incident",
320
- };
321
- const ResolverType = {
322
- AWS: "AWS",
323
- SELF: "Self",
324
- };
325
- const CaseAttachmentStatus = {
326
- FAILED: "Failed",
327
- PENDING: "Pending",
328
- VERIFIED: "Verified",
329
- };
330
- const ClosureCode = {
331
- DUPLICATE: "Duplicate",
332
- FALSE_POSITIVE: "False Positive",
333
- INVESTIGATION_COMPLETED: "Investigation Completed",
334
- NOT_RESOLVED: "Not Resolved",
335
- };
336
- const PendingAction = {
337
- CUSTOMER: "Customer",
338
- NONE: "None",
339
- };
340
- const SelfManagedCaseStatus = {
341
- CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
342
- DETECTION_AND_ANALYSIS: "Detection and Analysis",
343
- POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
344
- SUBMITTED: "Submitted",
345
- };
346
- const CommunicationType = {
347
- CASE_ACKNOWLEDGED: "Case Acknowledged",
348
- CASE_ATTACHMENT_URL_UPLOADED: "Case Attachment Url Uploaded",
349
- CASE_CLOSED: "Case Closed",
350
- CASE_COMMENT_ADDED: "Case Comment Added",
351
- CASE_COMMENT_UPDATED: "Case Comment Updated",
352
- CASE_CREATED: "Case Created",
353
- CASE_PENDING_CUSTOMER_ACTION_REMINDER: "Case Pending Customer Action Reminder",
354
- CASE_UPDATED: "Case Updated",
355
- CASE_UPDATED_TO_SERVICE_MANAGED: "Case Updated To Service Managed",
356
- CASE_UPDATE_CASE_STATUS: "Case Status Updated",
357
- DEREGISTER_DELEGATED_ADMINISTRATOR: "Deregister Delegated Administrator",
358
- DISABLE_AWS_SERVICE_ACCESS: "Disable AWS Service Access",
359
- MEMBERSHIP_CANCELLED: "Membership Cancelled",
360
- MEMBERSHIP_CREATED: "Membership Created",
361
- MEMBERSHIP_UPDATED: "Membership Updated",
362
- REGISTER_DELEGATED_ADMINISTRATOR: "Register Delegated Administrator",
363
- };
364
- const OptInFeatureName = {
365
- TRIAGE: "Triage",
366
- };
367
- const CustomerType = {
368
- ORGANIZATION: "Organization",
369
- STANDALONE: "Standalone",
370
- };
371
- const MembershipStatus = {
372
- ACTIVE: "Active",
373
- CANCELLED: "Cancelled",
374
- TERMINATED: "Terminated",
375
- };
376
255
 
377
256
  const _ADE = "AccessDeniedException";
378
257
  const _BGMAD = "BatchGetMemberAccountDetails";
@@ -1593,6 +1472,128 @@ const paginateListComments = core.createPaginator(SecurityIRClient, ListComments
1593
1472
 
1594
1473
  const paginateListMemberships = core.createPaginator(SecurityIRClient, ListMembershipsCommand, "nextToken", "nextToken", "maxResults");
1595
1474
 
1475
+ const AwsRegion = {
1476
+ AF_SOUTH_1: "af-south-1",
1477
+ AP_EAST_1: "ap-east-1",
1478
+ AP_EAST_2: "ap-east-2",
1479
+ AP_NORTHEAST_1: "ap-northeast-1",
1480
+ AP_NORTHEAST_2: "ap-northeast-2",
1481
+ AP_NORTHEAST_3: "ap-northeast-3",
1482
+ AP_SOUTHEAST_1: "ap-southeast-1",
1483
+ AP_SOUTHEAST_2: "ap-southeast-2",
1484
+ AP_SOUTHEAST_3: "ap-southeast-3",
1485
+ AP_SOUTHEAST_4: "ap-southeast-4",
1486
+ AP_SOUTHEAST_5: "ap-southeast-5",
1487
+ AP_SOUTHEAST_6: "ap-southeast-6",
1488
+ AP_SOUTHEAST_7: "ap-southeast-7",
1489
+ AP_SOUTH_1: "ap-south-1",
1490
+ AP_SOUTH_2: "ap-south-2",
1491
+ CA_CENTRAL_1: "ca-central-1",
1492
+ CA_WEST_1: "ca-west-1",
1493
+ CN_NORTHWEST_1: "cn-northwest-1",
1494
+ CN_NORTH_1: "cn-north-1",
1495
+ EU_CENTRAL_1: "eu-central-1",
1496
+ EU_CENTRAL_2: "eu-central-2",
1497
+ EU_NORTH_1: "eu-north-1",
1498
+ EU_SOUTH_1: "eu-south-1",
1499
+ EU_SOUTH_2: "eu-south-2",
1500
+ EU_WEST_1: "eu-west-1",
1501
+ EU_WEST_2: "eu-west-2",
1502
+ EU_WEST_3: "eu-west-3",
1503
+ IL_CENTRAL_1: "il-central-1",
1504
+ ME_CENTRAL_1: "me-central-1",
1505
+ ME_SOUTH_1: "me-south-1",
1506
+ MX_CENTRAL_1: "mx-central-1",
1507
+ SA_EAST_1: "sa-east-1",
1508
+ US_EAST_1: "us-east-1",
1509
+ US_EAST_2: "us-east-2",
1510
+ US_WEST_1: "us-west-1",
1511
+ US_WEST_2: "us-west-2",
1512
+ };
1513
+ const MembershipAccountRelationshipStatus = {
1514
+ ASSOCIATED: "Associated",
1515
+ DISASSOCIATED: "Disassociated",
1516
+ UNASSOCIATED: "Unassociated",
1517
+ };
1518
+ const MembershipAccountRelationshipType = {
1519
+ ORGANIZATION: "Organization",
1520
+ UNRELATED: "Unrelated",
1521
+ };
1522
+ const ValidationExceptionReason = {
1523
+ CANNOT_PARSE: "CANNOT_PARSE",
1524
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
1525
+ OTHER: "OTHER",
1526
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
1527
+ };
1528
+ const CaseStatus = {
1529
+ ACKNOWLEDGED: "Acknowledged",
1530
+ CLOSED: "Closed",
1531
+ CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
1532
+ DETECTION_AND_ANALYSIS: "Detection and Analysis",
1533
+ POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
1534
+ READY_TO_CLOSE: "Ready to Close",
1535
+ SUBMITTED: "Submitted",
1536
+ };
1537
+ const EngagementType = {
1538
+ INVESTIGATION: "Investigation",
1539
+ SECURITY_INCIDENT: "Security Incident",
1540
+ };
1541
+ const ResolverType = {
1542
+ AWS: "AWS",
1543
+ SELF: "Self",
1544
+ };
1545
+ const CaseAttachmentStatus = {
1546
+ FAILED: "Failed",
1547
+ PENDING: "Pending",
1548
+ VERIFIED: "Verified",
1549
+ };
1550
+ const ClosureCode = {
1551
+ DUPLICATE: "Duplicate",
1552
+ FALSE_POSITIVE: "False Positive",
1553
+ INVESTIGATION_COMPLETED: "Investigation Completed",
1554
+ NOT_RESOLVED: "Not Resolved",
1555
+ };
1556
+ const PendingAction = {
1557
+ CUSTOMER: "Customer",
1558
+ NONE: "None",
1559
+ };
1560
+ const SelfManagedCaseStatus = {
1561
+ CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
1562
+ DETECTION_AND_ANALYSIS: "Detection and Analysis",
1563
+ POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
1564
+ SUBMITTED: "Submitted",
1565
+ };
1566
+ const CommunicationType = {
1567
+ CASE_ACKNOWLEDGED: "Case Acknowledged",
1568
+ CASE_ATTACHMENT_URL_UPLOADED: "Case Attachment Url Uploaded",
1569
+ CASE_CLOSED: "Case Closed",
1570
+ CASE_COMMENT_ADDED: "Case Comment Added",
1571
+ CASE_COMMENT_UPDATED: "Case Comment Updated",
1572
+ CASE_CREATED: "Case Created",
1573
+ CASE_PENDING_CUSTOMER_ACTION_REMINDER: "Case Pending Customer Action Reminder",
1574
+ CASE_UPDATED: "Case Updated",
1575
+ CASE_UPDATED_TO_SERVICE_MANAGED: "Case Updated To Service Managed",
1576
+ CASE_UPDATE_CASE_STATUS: "Case Status Updated",
1577
+ DEREGISTER_DELEGATED_ADMINISTRATOR: "Deregister Delegated Administrator",
1578
+ DISABLE_AWS_SERVICE_ACCESS: "Disable AWS Service Access",
1579
+ MEMBERSHIP_CANCELLED: "Membership Cancelled",
1580
+ MEMBERSHIP_CREATED: "Membership Created",
1581
+ MEMBERSHIP_UPDATED: "Membership Updated",
1582
+ REGISTER_DELEGATED_ADMINISTRATOR: "Register Delegated Administrator",
1583
+ };
1584
+ const OptInFeatureName = {
1585
+ TRIAGE: "Triage",
1586
+ };
1587
+ const CustomerType = {
1588
+ ORGANIZATION: "Organization",
1589
+ STANDALONE: "Standalone",
1590
+ };
1591
+ const MembershipStatus = {
1592
+ ACTIVE: "Active",
1593
+ CANCELLED: "Cancelled",
1594
+ TERMINATED: "Terminated",
1595
+ };
1596
+
1596
1597
  Object.defineProperty(exports, "$Command", {
1597
1598
  enumerable: true,
1598
1599
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./SecurityIRClient";
2
2
  export * from "./SecurityIR";
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 { SecurityIRServiceException } from "./models/SecurityIRServiceException";
@@ -0,0 +1,121 @@
1
+ export const AwsRegion = {
2
+ AF_SOUTH_1: "af-south-1",
3
+ AP_EAST_1: "ap-east-1",
4
+ AP_EAST_2: "ap-east-2",
5
+ AP_NORTHEAST_1: "ap-northeast-1",
6
+ AP_NORTHEAST_2: "ap-northeast-2",
7
+ AP_NORTHEAST_3: "ap-northeast-3",
8
+ AP_SOUTHEAST_1: "ap-southeast-1",
9
+ AP_SOUTHEAST_2: "ap-southeast-2",
10
+ AP_SOUTHEAST_3: "ap-southeast-3",
11
+ AP_SOUTHEAST_4: "ap-southeast-4",
12
+ AP_SOUTHEAST_5: "ap-southeast-5",
13
+ AP_SOUTHEAST_6: "ap-southeast-6",
14
+ AP_SOUTHEAST_7: "ap-southeast-7",
15
+ AP_SOUTH_1: "ap-south-1",
16
+ AP_SOUTH_2: "ap-south-2",
17
+ CA_CENTRAL_1: "ca-central-1",
18
+ CA_WEST_1: "ca-west-1",
19
+ CN_NORTHWEST_1: "cn-northwest-1",
20
+ CN_NORTH_1: "cn-north-1",
21
+ EU_CENTRAL_1: "eu-central-1",
22
+ EU_CENTRAL_2: "eu-central-2",
23
+ EU_NORTH_1: "eu-north-1",
24
+ EU_SOUTH_1: "eu-south-1",
25
+ EU_SOUTH_2: "eu-south-2",
26
+ EU_WEST_1: "eu-west-1",
27
+ EU_WEST_2: "eu-west-2",
28
+ EU_WEST_3: "eu-west-3",
29
+ IL_CENTRAL_1: "il-central-1",
30
+ ME_CENTRAL_1: "me-central-1",
31
+ ME_SOUTH_1: "me-south-1",
32
+ MX_CENTRAL_1: "mx-central-1",
33
+ SA_EAST_1: "sa-east-1",
34
+ US_EAST_1: "us-east-1",
35
+ US_EAST_2: "us-east-2",
36
+ US_WEST_1: "us-west-1",
37
+ US_WEST_2: "us-west-2",
38
+ };
39
+ export const MembershipAccountRelationshipStatus = {
40
+ ASSOCIATED: "Associated",
41
+ DISASSOCIATED: "Disassociated",
42
+ UNASSOCIATED: "Unassociated",
43
+ };
44
+ export const MembershipAccountRelationshipType = {
45
+ ORGANIZATION: "Organization",
46
+ UNRELATED: "Unrelated",
47
+ };
48
+ export const ValidationExceptionReason = {
49
+ CANNOT_PARSE: "CANNOT_PARSE",
50
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
51
+ OTHER: "OTHER",
52
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
53
+ };
54
+ export const CaseStatus = {
55
+ ACKNOWLEDGED: "Acknowledged",
56
+ CLOSED: "Closed",
57
+ CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
58
+ DETECTION_AND_ANALYSIS: "Detection and Analysis",
59
+ POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
60
+ READY_TO_CLOSE: "Ready to Close",
61
+ SUBMITTED: "Submitted",
62
+ };
63
+ export const EngagementType = {
64
+ INVESTIGATION: "Investigation",
65
+ SECURITY_INCIDENT: "Security Incident",
66
+ };
67
+ export const ResolverType = {
68
+ AWS: "AWS",
69
+ SELF: "Self",
70
+ };
71
+ export const CaseAttachmentStatus = {
72
+ FAILED: "Failed",
73
+ PENDING: "Pending",
74
+ VERIFIED: "Verified",
75
+ };
76
+ export const ClosureCode = {
77
+ DUPLICATE: "Duplicate",
78
+ FALSE_POSITIVE: "False Positive",
79
+ INVESTIGATION_COMPLETED: "Investigation Completed",
80
+ NOT_RESOLVED: "Not Resolved",
81
+ };
82
+ export const PendingAction = {
83
+ CUSTOMER: "Customer",
84
+ NONE: "None",
85
+ };
86
+ export const SelfManagedCaseStatus = {
87
+ CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
88
+ DETECTION_AND_ANALYSIS: "Detection and Analysis",
89
+ POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
90
+ SUBMITTED: "Submitted",
91
+ };
92
+ export const CommunicationType = {
93
+ CASE_ACKNOWLEDGED: "Case Acknowledged",
94
+ CASE_ATTACHMENT_URL_UPLOADED: "Case Attachment Url Uploaded",
95
+ CASE_CLOSED: "Case Closed",
96
+ CASE_COMMENT_ADDED: "Case Comment Added",
97
+ CASE_COMMENT_UPDATED: "Case Comment Updated",
98
+ CASE_CREATED: "Case Created",
99
+ CASE_PENDING_CUSTOMER_ACTION_REMINDER: "Case Pending Customer Action Reminder",
100
+ CASE_UPDATED: "Case Updated",
101
+ CASE_UPDATED_TO_SERVICE_MANAGED: "Case Updated To Service Managed",
102
+ CASE_UPDATE_CASE_STATUS: "Case Status Updated",
103
+ DEREGISTER_DELEGATED_ADMINISTRATOR: "Deregister Delegated Administrator",
104
+ DISABLE_AWS_SERVICE_ACCESS: "Disable AWS Service Access",
105
+ MEMBERSHIP_CANCELLED: "Membership Cancelled",
106
+ MEMBERSHIP_CREATED: "Membership Created",
107
+ MEMBERSHIP_UPDATED: "Membership Updated",
108
+ REGISTER_DELEGATED_ADMINISTRATOR: "Register Delegated Administrator",
109
+ };
110
+ export const OptInFeatureName = {
111
+ TRIAGE: "Triage",
112
+ };
113
+ export const CustomerType = {
114
+ ORGANIZATION: "Organization",
115
+ STANDALONE: "Standalone",
116
+ };
117
+ export const MembershipStatus = {
118
+ ACTIVE: "Active",
119
+ CANCELLED: "Cancelled",
120
+ TERMINATED: "Terminated",
121
+ };
@@ -0,0 +1,138 @@
1
+ import { SecurityIRServiceException as __BaseException } from "./SecurityIRServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ resourceId;
18
+ resourceType;
19
+ constructor(opts) {
20
+ super({
21
+ name: "ConflictException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, ConflictException.prototype);
26
+ this.resourceId = opts.resourceId;
27
+ this.resourceType = opts.resourceType;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ $retryable = {};
34
+ retryAfterSeconds;
35
+ constructor(opts) {
36
+ super({
37
+ name: "InternalServerException",
38
+ $fault: "server",
39
+ ...opts,
40
+ });
41
+ Object.setPrototypeOf(this, InternalServerException.prototype);
42
+ this.retryAfterSeconds = opts.retryAfterSeconds;
43
+ }
44
+ }
45
+ export class InvalidTokenException extends __BaseException {
46
+ name = "InvalidTokenException";
47
+ $fault = "client";
48
+ $retryable = {};
49
+ constructor(opts) {
50
+ super({
51
+ name: "InvalidTokenException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ Object.setPrototypeOf(this, InvalidTokenException.prototype);
56
+ }
57
+ }
58
+ export class ResourceNotFoundException extends __BaseException {
59
+ name = "ResourceNotFoundException";
60
+ $fault = "client";
61
+ constructor(opts) {
62
+ super({
63
+ name: "ResourceNotFoundException",
64
+ $fault: "client",
65
+ ...opts,
66
+ });
67
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
68
+ }
69
+ }
70
+ export class SecurityIncidentResponseNotActiveException extends __BaseException {
71
+ name = "SecurityIncidentResponseNotActiveException";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "SecurityIncidentResponseNotActiveException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, SecurityIncidentResponseNotActiveException.prototype);
80
+ }
81
+ }
82
+ export class ServiceQuotaExceededException extends __BaseException {
83
+ name = "ServiceQuotaExceededException";
84
+ $fault = "client";
85
+ resourceId;
86
+ resourceType;
87
+ serviceCode;
88
+ quotaCode;
89
+ constructor(opts) {
90
+ super({
91
+ name: "ServiceQuotaExceededException",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
96
+ this.resourceId = opts.resourceId;
97
+ this.resourceType = opts.resourceType;
98
+ this.serviceCode = opts.serviceCode;
99
+ this.quotaCode = opts.quotaCode;
100
+ }
101
+ }
102
+ export class ThrottlingException extends __BaseException {
103
+ name = "ThrottlingException";
104
+ $fault = "client";
105
+ $retryable = {
106
+ throttling: true,
107
+ };
108
+ serviceCode;
109
+ quotaCode;
110
+ retryAfterSeconds;
111
+ constructor(opts) {
112
+ super({
113
+ name: "ThrottlingException",
114
+ $fault: "client",
115
+ ...opts,
116
+ });
117
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
118
+ this.serviceCode = opts.serviceCode;
119
+ this.quotaCode = opts.quotaCode;
120
+ this.retryAfterSeconds = opts.retryAfterSeconds;
121
+ }
122
+ }
123
+ export class ValidationException extends __BaseException {
124
+ name = "ValidationException";
125
+ $fault = "client";
126
+ reason;
127
+ fieldList;
128
+ constructor(opts) {
129
+ super({
130
+ name: "ValidationException",
131
+ $fault: "client",
132
+ ...opts,
133
+ });
134
+ Object.setPrototypeOf(this, ValidationException.prototype);
135
+ this.reason = opts.reason;
136
+ this.fieldList = opts.fieldList;
137
+ }
138
+ }