@aws-sdk/client-cloudtrail 3.52.0 → 3.54.1

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.
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListQueriesResponse = exports.Query = exports.ListQueriesRequest = exports.ListPublicKeysResponse = exports.PublicKey = exports.ListPublicKeysRequest = exports.ListEventDataStoresResponse = exports.EventDataStore = exports.ListEventDataStoresRequest = exports.GetTrailStatusResponse = exports.GetTrailStatusRequest = exports.GetTrailResponse = exports.GetTrailRequest = exports.GetQueryResultsResponse = exports.QueryStatistics = exports.GetQueryResultsRequest = exports.GetInsightSelectorsResponse = exports.InsightSelector = exports.InsightType = exports.GetInsightSelectorsRequest = exports.GetEventSelectorsResponse = exports.EventSelector = exports.ReadWriteType = exports.DataResource = exports.GetEventSelectorsRequest = exports.GetEventDataStoreResponse = exports.GetEventDataStoreRequest = exports.DescribeTrailsResponse = exports.Trail = exports.DescribeTrailsRequest = exports.DescribeQueryResponse = exports.QueryStatisticsForDescribeQuery = exports.DescribeQueryRequest = exports.DeleteTrailResponse = exports.DeleteTrailRequest = exports.DeleteEventDataStoreResponse = exports.DeleteEventDataStoreRequest = exports.CreateTrailResponse = exports.CreateTrailRequest = exports.CreateEventDataStoreResponse = exports.EventDataStoreStatus = exports.CreateEventDataStoreRequest = exports.CancelQueryResponse = exports.QueryStatus = exports.CancelQueryRequest = exports.AdvancedEventSelector = exports.AdvancedFieldSelector = exports.AddTagsResponse = exports.AddTagsRequest = exports.Tag = void 0;
4
- exports.UpdateTrailResponse = exports.UpdateTrailRequest = exports.UpdateEventDataStoreResponse = exports.UpdateEventDataStoreRequest = exports.StopLoggingResponse = exports.StopLoggingRequest = exports.StartQueryResponse = exports.StartQueryRequest = exports.StartLoggingResponse = exports.StartLoggingRequest = exports.RestoreEventDataStoreResponse = exports.RestoreEventDataStoreRequest = exports.RemoveTagsResponse = exports.RemoveTagsRequest = exports.PutInsightSelectorsResponse = exports.PutInsightSelectorsRequest = exports.PutEventSelectorsResponse = exports.PutEventSelectorsRequest = exports.LookupEventsResponse = exports.Event = exports.Resource = exports.LookupEventsRequest = exports.LookupAttribute = exports.LookupAttributeKey = exports.EventCategory = exports.ListTrailsResponse = exports.TrailInfo = exports.ListTrailsRequest = exports.ListTagsResponse = exports.ResourceTag = exports.ListTagsRequest = void 0;
3
+ exports.KmsKeyNotFoundException = exports.KmsKeyDisabledException = exports.KmsException = exports.InvalidSnsTopicNameException = exports.InvalidS3PrefixException = exports.InvalidS3BucketNameException = exports.InvalidParameterCombinationException = exports.InvalidKmsKeyIdException = exports.InvalidCloudWatchLogsRoleArnException = exports.InvalidCloudWatchLogsLogGroupArnException = exports.InsufficientSnsTopicPolicyException = exports.InsufficientS3BucketPolicyException = exports.InsufficientEncryptionPolicyException = exports.CreateTrailResponse = exports.CreateTrailRequest = exports.CloudWatchLogsDeliveryUnavailableException = exports.CloudTrailInvalidClientTokenIdException = exports.OrganizationsNotInUseException = exports.OrganizationNotInAllFeaturesModeException = exports.InsufficientDependencyServiceAccessPermissionException = exports.EventDataStoreMaxLimitExceededException = exports.EventDataStoreAlreadyExistsException = exports.CreateEventDataStoreResponse = exports.EventDataStoreStatus = exports.CreateEventDataStoreRequest = exports.CloudTrailAccessNotEnabledException = exports.QueryIdNotFoundException = exports.InvalidParameterException = exports.InactiveQueryException = exports.EventDataStoreARNInvalidException = exports.CancelQueryResponse = exports.QueryStatus = exports.CancelQueryRequest = exports.AdvancedEventSelector = exports.AdvancedFieldSelector = exports.UnsupportedOperationException = exports.TagsLimitExceededException = exports.ResourceTypeNotSupportedException = exports.ResourceNotFoundException = exports.OperationNotPermittedException = exports.NotOrganizationMasterAccountException = exports.InvalidTrailNameException = exports.InvalidTagParameterException = exports.InactiveEventDataStoreException = exports.EventDataStoreNotFoundException = exports.ConflictException = exports.CloudTrailARNInvalidException = exports.AddTagsResponse = exports.AddTagsRequest = exports.Tag = void 0;
4
+ exports.Query = exports.ListQueriesRequest = exports.InvalidQueryStatusException = exports.InvalidDateRangeException = exports.ListPublicKeysResponse = exports.PublicKey = exports.ListPublicKeysRequest = exports.InvalidTokenException = exports.InvalidTimeRangeException = exports.ListEventDataStoresResponse = exports.EventDataStore = exports.ListEventDataStoresRequest = exports.GetTrailStatusResponse = exports.GetTrailStatusRequest = exports.GetTrailResponse = exports.GetTrailRequest = exports.InvalidNextTokenException = exports.InvalidMaxResultsException = exports.GetQueryResultsResponse = exports.QueryStatistics = exports.GetQueryResultsRequest = exports.InsightNotEnabledException = exports.GetInsightSelectorsResponse = exports.InsightSelector = exports.InsightType = exports.GetInsightSelectorsRequest = exports.GetEventSelectorsResponse = exports.EventSelector = exports.ReadWriteType = exports.DataResource = exports.GetEventSelectorsRequest = exports.GetEventDataStoreResponse = exports.GetEventDataStoreRequest = exports.DescribeTrailsResponse = exports.Trail = exports.DescribeTrailsRequest = exports.DescribeQueryResponse = exports.QueryStatisticsForDescribeQuery = exports.DescribeQueryRequest = exports.TrailNotFoundException = exports.InvalidHomeRegionException = exports.DeleteTrailResponse = exports.DeleteTrailRequest = exports.EventDataStoreTerminationProtectedException = exports.DeleteEventDataStoreResponse = exports.DeleteEventDataStoreRequest = exports.TrailNotProvidedException = exports.TrailAlreadyExistsException = exports.S3BucketDoesNotExistException = exports.MaximumNumberOfTrailsExceededException = void 0;
5
+ exports.UpdateTrailResponse = exports.UpdateTrailRequest = exports.UpdateEventDataStoreResponse = exports.UpdateEventDataStoreRequest = exports.StopLoggingResponse = exports.StopLoggingRequest = exports.StartQueryResponse = exports.StartQueryRequest = exports.MaxConcurrentQueriesException = exports.InvalidQueryStatementException = exports.StartLoggingResponse = exports.StartLoggingRequest = exports.RestoreEventDataStoreResponse = exports.RestoreEventDataStoreRequest = exports.InvalidEventDataStoreStatusException = exports.RemoveTagsResponse = exports.RemoveTagsRequest = exports.PutInsightSelectorsResponse = exports.PutInsightSelectorsRequest = exports.InvalidInsightSelectorsException = exports.PutEventSelectorsResponse = exports.PutEventSelectorsRequest = exports.InvalidEventSelectorsException = exports.LookupEventsResponse = exports.Event = exports.Resource = exports.LookupEventsRequest = exports.LookupAttribute = exports.LookupAttributeKey = exports.EventCategory = exports.InvalidLookupAttributesException = exports.InvalidEventCategoryException = exports.ListTrailsResponse = exports.TrailInfo = exports.ListTrailsRequest = exports.ListTagsResponse = exports.ResourceTag = exports.ListTagsRequest = exports.ListQueriesResponse = void 0;
6
+ const CloudTrailServiceException_1 = require("./CloudTrailServiceException");
5
7
  var Tag;
6
8
  (function (Tag) {
7
9
  Tag.filterSensitiveLog = (obj) => ({
@@ -20,6 +22,174 @@ var AddTagsResponse;
20
22
  ...obj,
21
23
  });
22
24
  })(AddTagsResponse = exports.AddTagsResponse || (exports.AddTagsResponse = {}));
25
+ class CloudTrailARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
26
+ constructor(opts) {
27
+ super({
28
+ name: "CloudTrailARNInvalidException",
29
+ $fault: "client",
30
+ ...opts,
31
+ });
32
+ this.name = "CloudTrailARNInvalidException";
33
+ this.$fault = "client";
34
+ Object.setPrototypeOf(this, CloudTrailARNInvalidException.prototype);
35
+ this.Message = opts.Message;
36
+ }
37
+ }
38
+ exports.CloudTrailARNInvalidException = CloudTrailARNInvalidException;
39
+ class ConflictException extends CloudTrailServiceException_1.CloudTrailServiceException {
40
+ constructor(opts) {
41
+ super({
42
+ name: "ConflictException",
43
+ $fault: "client",
44
+ ...opts,
45
+ });
46
+ this.name = "ConflictException";
47
+ this.$fault = "client";
48
+ Object.setPrototypeOf(this, ConflictException.prototype);
49
+ this.Message = opts.Message;
50
+ }
51
+ }
52
+ exports.ConflictException = ConflictException;
53
+ class EventDataStoreNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
54
+ constructor(opts) {
55
+ super({
56
+ name: "EventDataStoreNotFoundException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ this.name = "EventDataStoreNotFoundException";
61
+ this.$fault = "client";
62
+ Object.setPrototypeOf(this, EventDataStoreNotFoundException.prototype);
63
+ this.Message = opts.Message;
64
+ }
65
+ }
66
+ exports.EventDataStoreNotFoundException = EventDataStoreNotFoundException;
67
+ class InactiveEventDataStoreException extends CloudTrailServiceException_1.CloudTrailServiceException {
68
+ constructor(opts) {
69
+ super({
70
+ name: "InactiveEventDataStoreException",
71
+ $fault: "client",
72
+ ...opts,
73
+ });
74
+ this.name = "InactiveEventDataStoreException";
75
+ this.$fault = "client";
76
+ Object.setPrototypeOf(this, InactiveEventDataStoreException.prototype);
77
+ this.Message = opts.Message;
78
+ }
79
+ }
80
+ exports.InactiveEventDataStoreException = InactiveEventDataStoreException;
81
+ class InvalidTagParameterException extends CloudTrailServiceException_1.CloudTrailServiceException {
82
+ constructor(opts) {
83
+ super({
84
+ name: "InvalidTagParameterException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ this.name = "InvalidTagParameterException";
89
+ this.$fault = "client";
90
+ Object.setPrototypeOf(this, InvalidTagParameterException.prototype);
91
+ this.Message = opts.Message;
92
+ }
93
+ }
94
+ exports.InvalidTagParameterException = InvalidTagParameterException;
95
+ class InvalidTrailNameException extends CloudTrailServiceException_1.CloudTrailServiceException {
96
+ constructor(opts) {
97
+ super({
98
+ name: "InvalidTrailNameException",
99
+ $fault: "client",
100
+ ...opts,
101
+ });
102
+ this.name = "InvalidTrailNameException";
103
+ this.$fault = "client";
104
+ Object.setPrototypeOf(this, InvalidTrailNameException.prototype);
105
+ this.Message = opts.Message;
106
+ }
107
+ }
108
+ exports.InvalidTrailNameException = InvalidTrailNameException;
109
+ class NotOrganizationMasterAccountException extends CloudTrailServiceException_1.CloudTrailServiceException {
110
+ constructor(opts) {
111
+ super({
112
+ name: "NotOrganizationMasterAccountException",
113
+ $fault: "client",
114
+ ...opts,
115
+ });
116
+ this.name = "NotOrganizationMasterAccountException";
117
+ this.$fault = "client";
118
+ Object.setPrototypeOf(this, NotOrganizationMasterAccountException.prototype);
119
+ this.Message = opts.Message;
120
+ }
121
+ }
122
+ exports.NotOrganizationMasterAccountException = NotOrganizationMasterAccountException;
123
+ class OperationNotPermittedException extends CloudTrailServiceException_1.CloudTrailServiceException {
124
+ constructor(opts) {
125
+ super({
126
+ name: "OperationNotPermittedException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ this.name = "OperationNotPermittedException";
131
+ this.$fault = "client";
132
+ Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
133
+ this.Message = opts.Message;
134
+ }
135
+ }
136
+ exports.OperationNotPermittedException = OperationNotPermittedException;
137
+ class ResourceNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
138
+ constructor(opts) {
139
+ super({
140
+ name: "ResourceNotFoundException",
141
+ $fault: "client",
142
+ ...opts,
143
+ });
144
+ this.name = "ResourceNotFoundException";
145
+ this.$fault = "client";
146
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
147
+ this.Message = opts.Message;
148
+ }
149
+ }
150
+ exports.ResourceNotFoundException = ResourceNotFoundException;
151
+ class ResourceTypeNotSupportedException extends CloudTrailServiceException_1.CloudTrailServiceException {
152
+ constructor(opts) {
153
+ super({
154
+ name: "ResourceTypeNotSupportedException",
155
+ $fault: "client",
156
+ ...opts,
157
+ });
158
+ this.name = "ResourceTypeNotSupportedException";
159
+ this.$fault = "client";
160
+ Object.setPrototypeOf(this, ResourceTypeNotSupportedException.prototype);
161
+ this.Message = opts.Message;
162
+ }
163
+ }
164
+ exports.ResourceTypeNotSupportedException = ResourceTypeNotSupportedException;
165
+ class TagsLimitExceededException extends CloudTrailServiceException_1.CloudTrailServiceException {
166
+ constructor(opts) {
167
+ super({
168
+ name: "TagsLimitExceededException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ this.name = "TagsLimitExceededException";
173
+ this.$fault = "client";
174
+ Object.setPrototypeOf(this, TagsLimitExceededException.prototype);
175
+ this.Message = opts.Message;
176
+ }
177
+ }
178
+ exports.TagsLimitExceededException = TagsLimitExceededException;
179
+ class UnsupportedOperationException extends CloudTrailServiceException_1.CloudTrailServiceException {
180
+ constructor(opts) {
181
+ super({
182
+ name: "UnsupportedOperationException",
183
+ $fault: "client",
184
+ ...opts,
185
+ });
186
+ this.name = "UnsupportedOperationException";
187
+ this.$fault = "client";
188
+ Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
189
+ this.Message = opts.Message;
190
+ }
191
+ }
192
+ exports.UnsupportedOperationException = UnsupportedOperationException;
23
193
  var AdvancedFieldSelector;
24
194
  (function (AdvancedFieldSelector) {
25
195
  AdvancedFieldSelector.filterSensitiveLog = (obj) => ({
@@ -45,6 +215,7 @@ var QueryStatus;
45
215
  QueryStatus["FINISHED"] = "FINISHED";
46
216
  QueryStatus["QUEUED"] = "QUEUED";
47
217
  QueryStatus["RUNNING"] = "RUNNING";
218
+ QueryStatus["TIMED_OUT"] = "TIMED_OUT";
48
219
  })(QueryStatus = exports.QueryStatus || (exports.QueryStatus = {}));
49
220
  var CancelQueryResponse;
50
221
  (function (CancelQueryResponse) {
@@ -52,6 +223,76 @@ var CancelQueryResponse;
52
223
  ...obj,
53
224
  });
54
225
  })(CancelQueryResponse = exports.CancelQueryResponse || (exports.CancelQueryResponse = {}));
226
+ class EventDataStoreARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
227
+ constructor(opts) {
228
+ super({
229
+ name: "EventDataStoreARNInvalidException",
230
+ $fault: "client",
231
+ ...opts,
232
+ });
233
+ this.name = "EventDataStoreARNInvalidException";
234
+ this.$fault = "client";
235
+ Object.setPrototypeOf(this, EventDataStoreARNInvalidException.prototype);
236
+ this.Message = opts.Message;
237
+ }
238
+ }
239
+ exports.EventDataStoreARNInvalidException = EventDataStoreARNInvalidException;
240
+ class InactiveQueryException extends CloudTrailServiceException_1.CloudTrailServiceException {
241
+ constructor(opts) {
242
+ super({
243
+ name: "InactiveQueryException",
244
+ $fault: "client",
245
+ ...opts,
246
+ });
247
+ this.name = "InactiveQueryException";
248
+ this.$fault = "client";
249
+ Object.setPrototypeOf(this, InactiveQueryException.prototype);
250
+ this.Message = opts.Message;
251
+ }
252
+ }
253
+ exports.InactiveQueryException = InactiveQueryException;
254
+ class InvalidParameterException extends CloudTrailServiceException_1.CloudTrailServiceException {
255
+ constructor(opts) {
256
+ super({
257
+ name: "InvalidParameterException",
258
+ $fault: "client",
259
+ ...opts,
260
+ });
261
+ this.name = "InvalidParameterException";
262
+ this.$fault = "client";
263
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
264
+ this.Message = opts.Message;
265
+ }
266
+ }
267
+ exports.InvalidParameterException = InvalidParameterException;
268
+ class QueryIdNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
269
+ constructor(opts) {
270
+ super({
271
+ name: "QueryIdNotFoundException",
272
+ $fault: "client",
273
+ ...opts,
274
+ });
275
+ this.name = "QueryIdNotFoundException";
276
+ this.$fault = "client";
277
+ Object.setPrototypeOf(this, QueryIdNotFoundException.prototype);
278
+ this.Message = opts.Message;
279
+ }
280
+ }
281
+ exports.QueryIdNotFoundException = QueryIdNotFoundException;
282
+ class CloudTrailAccessNotEnabledException extends CloudTrailServiceException_1.CloudTrailServiceException {
283
+ constructor(opts) {
284
+ super({
285
+ name: "CloudTrailAccessNotEnabledException",
286
+ $fault: "client",
287
+ ...opts,
288
+ });
289
+ this.name = "CloudTrailAccessNotEnabledException";
290
+ this.$fault = "client";
291
+ Object.setPrototypeOf(this, CloudTrailAccessNotEnabledException.prototype);
292
+ this.Message = opts.Message;
293
+ }
294
+ }
295
+ exports.CloudTrailAccessNotEnabledException = CloudTrailAccessNotEnabledException;
55
296
  var CreateEventDataStoreRequest;
56
297
  (function (CreateEventDataStoreRequest) {
57
298
  CreateEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -70,6 +311,104 @@ var CreateEventDataStoreResponse;
70
311
  ...obj,
71
312
  });
72
313
  })(CreateEventDataStoreResponse = exports.CreateEventDataStoreResponse || (exports.CreateEventDataStoreResponse = {}));
314
+ class EventDataStoreAlreadyExistsException extends CloudTrailServiceException_1.CloudTrailServiceException {
315
+ constructor(opts) {
316
+ super({
317
+ name: "EventDataStoreAlreadyExistsException",
318
+ $fault: "client",
319
+ ...opts,
320
+ });
321
+ this.name = "EventDataStoreAlreadyExistsException";
322
+ this.$fault = "client";
323
+ Object.setPrototypeOf(this, EventDataStoreAlreadyExistsException.prototype);
324
+ this.Message = opts.Message;
325
+ }
326
+ }
327
+ exports.EventDataStoreAlreadyExistsException = EventDataStoreAlreadyExistsException;
328
+ class EventDataStoreMaxLimitExceededException extends CloudTrailServiceException_1.CloudTrailServiceException {
329
+ constructor(opts) {
330
+ super({
331
+ name: "EventDataStoreMaxLimitExceededException",
332
+ $fault: "client",
333
+ ...opts,
334
+ });
335
+ this.name = "EventDataStoreMaxLimitExceededException";
336
+ this.$fault = "client";
337
+ Object.setPrototypeOf(this, EventDataStoreMaxLimitExceededException.prototype);
338
+ this.Message = opts.Message;
339
+ }
340
+ }
341
+ exports.EventDataStoreMaxLimitExceededException = EventDataStoreMaxLimitExceededException;
342
+ class InsufficientDependencyServiceAccessPermissionException extends CloudTrailServiceException_1.CloudTrailServiceException {
343
+ constructor(opts) {
344
+ super({
345
+ name: "InsufficientDependencyServiceAccessPermissionException",
346
+ $fault: "client",
347
+ ...opts,
348
+ });
349
+ this.name = "InsufficientDependencyServiceAccessPermissionException";
350
+ this.$fault = "client";
351
+ Object.setPrototypeOf(this, InsufficientDependencyServiceAccessPermissionException.prototype);
352
+ this.Message = opts.Message;
353
+ }
354
+ }
355
+ exports.InsufficientDependencyServiceAccessPermissionException = InsufficientDependencyServiceAccessPermissionException;
356
+ class OrganizationNotInAllFeaturesModeException extends CloudTrailServiceException_1.CloudTrailServiceException {
357
+ constructor(opts) {
358
+ super({
359
+ name: "OrganizationNotInAllFeaturesModeException",
360
+ $fault: "client",
361
+ ...opts,
362
+ });
363
+ this.name = "OrganizationNotInAllFeaturesModeException";
364
+ this.$fault = "client";
365
+ Object.setPrototypeOf(this, OrganizationNotInAllFeaturesModeException.prototype);
366
+ this.Message = opts.Message;
367
+ }
368
+ }
369
+ exports.OrganizationNotInAllFeaturesModeException = OrganizationNotInAllFeaturesModeException;
370
+ class OrganizationsNotInUseException extends CloudTrailServiceException_1.CloudTrailServiceException {
371
+ constructor(opts) {
372
+ super({
373
+ name: "OrganizationsNotInUseException",
374
+ $fault: "client",
375
+ ...opts,
376
+ });
377
+ this.name = "OrganizationsNotInUseException";
378
+ this.$fault = "client";
379
+ Object.setPrototypeOf(this, OrganizationsNotInUseException.prototype);
380
+ this.Message = opts.Message;
381
+ }
382
+ }
383
+ exports.OrganizationsNotInUseException = OrganizationsNotInUseException;
384
+ class CloudTrailInvalidClientTokenIdException extends CloudTrailServiceException_1.CloudTrailServiceException {
385
+ constructor(opts) {
386
+ super({
387
+ name: "CloudTrailInvalidClientTokenIdException",
388
+ $fault: "client",
389
+ ...opts,
390
+ });
391
+ this.name = "CloudTrailInvalidClientTokenIdException";
392
+ this.$fault = "client";
393
+ Object.setPrototypeOf(this, CloudTrailInvalidClientTokenIdException.prototype);
394
+ this.Message = opts.Message;
395
+ }
396
+ }
397
+ exports.CloudTrailInvalidClientTokenIdException = CloudTrailInvalidClientTokenIdException;
398
+ class CloudWatchLogsDeliveryUnavailableException extends CloudTrailServiceException_1.CloudTrailServiceException {
399
+ constructor(opts) {
400
+ super({
401
+ name: "CloudWatchLogsDeliveryUnavailableException",
402
+ $fault: "client",
403
+ ...opts,
404
+ });
405
+ this.name = "CloudWatchLogsDeliveryUnavailableException";
406
+ this.$fault = "client";
407
+ Object.setPrototypeOf(this, CloudWatchLogsDeliveryUnavailableException.prototype);
408
+ this.Message = opts.Message;
409
+ }
410
+ }
411
+ exports.CloudWatchLogsDeliveryUnavailableException = CloudWatchLogsDeliveryUnavailableException;
73
412
  var CreateTrailRequest;
74
413
  (function (CreateTrailRequest) {
75
414
  CreateTrailRequest.filterSensitiveLog = (obj) => ({
@@ -82,6 +421,244 @@ var CreateTrailResponse;
82
421
  ...obj,
83
422
  });
84
423
  })(CreateTrailResponse = exports.CreateTrailResponse || (exports.CreateTrailResponse = {}));
424
+ class InsufficientEncryptionPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
425
+ constructor(opts) {
426
+ super({
427
+ name: "InsufficientEncryptionPolicyException",
428
+ $fault: "client",
429
+ ...opts,
430
+ });
431
+ this.name = "InsufficientEncryptionPolicyException";
432
+ this.$fault = "client";
433
+ Object.setPrototypeOf(this, InsufficientEncryptionPolicyException.prototype);
434
+ this.Message = opts.Message;
435
+ }
436
+ }
437
+ exports.InsufficientEncryptionPolicyException = InsufficientEncryptionPolicyException;
438
+ class InsufficientS3BucketPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
439
+ constructor(opts) {
440
+ super({
441
+ name: "InsufficientS3BucketPolicyException",
442
+ $fault: "client",
443
+ ...opts,
444
+ });
445
+ this.name = "InsufficientS3BucketPolicyException";
446
+ this.$fault = "client";
447
+ Object.setPrototypeOf(this, InsufficientS3BucketPolicyException.prototype);
448
+ this.Message = opts.Message;
449
+ }
450
+ }
451
+ exports.InsufficientS3BucketPolicyException = InsufficientS3BucketPolicyException;
452
+ class InsufficientSnsTopicPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
453
+ constructor(opts) {
454
+ super({
455
+ name: "InsufficientSnsTopicPolicyException",
456
+ $fault: "client",
457
+ ...opts,
458
+ });
459
+ this.name = "InsufficientSnsTopicPolicyException";
460
+ this.$fault = "client";
461
+ Object.setPrototypeOf(this, InsufficientSnsTopicPolicyException.prototype);
462
+ this.Message = opts.Message;
463
+ }
464
+ }
465
+ exports.InsufficientSnsTopicPolicyException = InsufficientSnsTopicPolicyException;
466
+ class InvalidCloudWatchLogsLogGroupArnException extends CloudTrailServiceException_1.CloudTrailServiceException {
467
+ constructor(opts) {
468
+ super({
469
+ name: "InvalidCloudWatchLogsLogGroupArnException",
470
+ $fault: "client",
471
+ ...opts,
472
+ });
473
+ this.name = "InvalidCloudWatchLogsLogGroupArnException";
474
+ this.$fault = "client";
475
+ Object.setPrototypeOf(this, InvalidCloudWatchLogsLogGroupArnException.prototype);
476
+ this.Message = opts.Message;
477
+ }
478
+ }
479
+ exports.InvalidCloudWatchLogsLogGroupArnException = InvalidCloudWatchLogsLogGroupArnException;
480
+ class InvalidCloudWatchLogsRoleArnException extends CloudTrailServiceException_1.CloudTrailServiceException {
481
+ constructor(opts) {
482
+ super({
483
+ name: "InvalidCloudWatchLogsRoleArnException",
484
+ $fault: "client",
485
+ ...opts,
486
+ });
487
+ this.name = "InvalidCloudWatchLogsRoleArnException";
488
+ this.$fault = "client";
489
+ Object.setPrototypeOf(this, InvalidCloudWatchLogsRoleArnException.prototype);
490
+ this.Message = opts.Message;
491
+ }
492
+ }
493
+ exports.InvalidCloudWatchLogsRoleArnException = InvalidCloudWatchLogsRoleArnException;
494
+ class InvalidKmsKeyIdException extends CloudTrailServiceException_1.CloudTrailServiceException {
495
+ constructor(opts) {
496
+ super({
497
+ name: "InvalidKmsKeyIdException",
498
+ $fault: "client",
499
+ ...opts,
500
+ });
501
+ this.name = "InvalidKmsKeyIdException";
502
+ this.$fault = "client";
503
+ Object.setPrototypeOf(this, InvalidKmsKeyIdException.prototype);
504
+ this.Message = opts.Message;
505
+ }
506
+ }
507
+ exports.InvalidKmsKeyIdException = InvalidKmsKeyIdException;
508
+ class InvalidParameterCombinationException extends CloudTrailServiceException_1.CloudTrailServiceException {
509
+ constructor(opts) {
510
+ super({
511
+ name: "InvalidParameterCombinationException",
512
+ $fault: "client",
513
+ ...opts,
514
+ });
515
+ this.name = "InvalidParameterCombinationException";
516
+ this.$fault = "client";
517
+ Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
518
+ this.Message = opts.Message;
519
+ }
520
+ }
521
+ exports.InvalidParameterCombinationException = InvalidParameterCombinationException;
522
+ class InvalidS3BucketNameException extends CloudTrailServiceException_1.CloudTrailServiceException {
523
+ constructor(opts) {
524
+ super({
525
+ name: "InvalidS3BucketNameException",
526
+ $fault: "client",
527
+ ...opts,
528
+ });
529
+ this.name = "InvalidS3BucketNameException";
530
+ this.$fault = "client";
531
+ Object.setPrototypeOf(this, InvalidS3BucketNameException.prototype);
532
+ this.Message = opts.Message;
533
+ }
534
+ }
535
+ exports.InvalidS3BucketNameException = InvalidS3BucketNameException;
536
+ class InvalidS3PrefixException extends CloudTrailServiceException_1.CloudTrailServiceException {
537
+ constructor(opts) {
538
+ super({
539
+ name: "InvalidS3PrefixException",
540
+ $fault: "client",
541
+ ...opts,
542
+ });
543
+ this.name = "InvalidS3PrefixException";
544
+ this.$fault = "client";
545
+ Object.setPrototypeOf(this, InvalidS3PrefixException.prototype);
546
+ this.Message = opts.Message;
547
+ }
548
+ }
549
+ exports.InvalidS3PrefixException = InvalidS3PrefixException;
550
+ class InvalidSnsTopicNameException extends CloudTrailServiceException_1.CloudTrailServiceException {
551
+ constructor(opts) {
552
+ super({
553
+ name: "InvalidSnsTopicNameException",
554
+ $fault: "client",
555
+ ...opts,
556
+ });
557
+ this.name = "InvalidSnsTopicNameException";
558
+ this.$fault = "client";
559
+ Object.setPrototypeOf(this, InvalidSnsTopicNameException.prototype);
560
+ this.Message = opts.Message;
561
+ }
562
+ }
563
+ exports.InvalidSnsTopicNameException = InvalidSnsTopicNameException;
564
+ class KmsException extends CloudTrailServiceException_1.CloudTrailServiceException {
565
+ constructor(opts) {
566
+ super({
567
+ name: "KmsException",
568
+ $fault: "client",
569
+ ...opts,
570
+ });
571
+ this.name = "KmsException";
572
+ this.$fault = "client";
573
+ Object.setPrototypeOf(this, KmsException.prototype);
574
+ this.Message = opts.Message;
575
+ }
576
+ }
577
+ exports.KmsException = KmsException;
578
+ class KmsKeyDisabledException extends CloudTrailServiceException_1.CloudTrailServiceException {
579
+ constructor(opts) {
580
+ super({
581
+ name: "KmsKeyDisabledException",
582
+ $fault: "client",
583
+ ...opts,
584
+ });
585
+ this.name = "KmsKeyDisabledException";
586
+ this.$fault = "client";
587
+ Object.setPrototypeOf(this, KmsKeyDisabledException.prototype);
588
+ this.Message = opts.Message;
589
+ }
590
+ }
591
+ exports.KmsKeyDisabledException = KmsKeyDisabledException;
592
+ class KmsKeyNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
593
+ constructor(opts) {
594
+ super({
595
+ name: "KmsKeyNotFoundException",
596
+ $fault: "client",
597
+ ...opts,
598
+ });
599
+ this.name = "KmsKeyNotFoundException";
600
+ this.$fault = "client";
601
+ Object.setPrototypeOf(this, KmsKeyNotFoundException.prototype);
602
+ this.Message = opts.Message;
603
+ }
604
+ }
605
+ exports.KmsKeyNotFoundException = KmsKeyNotFoundException;
606
+ class MaximumNumberOfTrailsExceededException extends CloudTrailServiceException_1.CloudTrailServiceException {
607
+ constructor(opts) {
608
+ super({
609
+ name: "MaximumNumberOfTrailsExceededException",
610
+ $fault: "client",
611
+ ...opts,
612
+ });
613
+ this.name = "MaximumNumberOfTrailsExceededException";
614
+ this.$fault = "client";
615
+ Object.setPrototypeOf(this, MaximumNumberOfTrailsExceededException.prototype);
616
+ this.Message = opts.Message;
617
+ }
618
+ }
619
+ exports.MaximumNumberOfTrailsExceededException = MaximumNumberOfTrailsExceededException;
620
+ class S3BucketDoesNotExistException extends CloudTrailServiceException_1.CloudTrailServiceException {
621
+ constructor(opts) {
622
+ super({
623
+ name: "S3BucketDoesNotExistException",
624
+ $fault: "client",
625
+ ...opts,
626
+ });
627
+ this.name = "S3BucketDoesNotExistException";
628
+ this.$fault = "client";
629
+ Object.setPrototypeOf(this, S3BucketDoesNotExistException.prototype);
630
+ this.Message = opts.Message;
631
+ }
632
+ }
633
+ exports.S3BucketDoesNotExistException = S3BucketDoesNotExistException;
634
+ class TrailAlreadyExistsException extends CloudTrailServiceException_1.CloudTrailServiceException {
635
+ constructor(opts) {
636
+ super({
637
+ name: "TrailAlreadyExistsException",
638
+ $fault: "client",
639
+ ...opts,
640
+ });
641
+ this.name = "TrailAlreadyExistsException";
642
+ this.$fault = "client";
643
+ Object.setPrototypeOf(this, TrailAlreadyExistsException.prototype);
644
+ this.Message = opts.Message;
645
+ }
646
+ }
647
+ exports.TrailAlreadyExistsException = TrailAlreadyExistsException;
648
+ class TrailNotProvidedException extends CloudTrailServiceException_1.CloudTrailServiceException {
649
+ constructor(opts) {
650
+ super({
651
+ name: "TrailNotProvidedException",
652
+ $fault: "client",
653
+ ...opts,
654
+ });
655
+ this.name = "TrailNotProvidedException";
656
+ this.$fault = "client";
657
+ Object.setPrototypeOf(this, TrailNotProvidedException.prototype);
658
+ this.Message = opts.Message;
659
+ }
660
+ }
661
+ exports.TrailNotProvidedException = TrailNotProvidedException;
85
662
  var DeleteEventDataStoreRequest;
86
663
  (function (DeleteEventDataStoreRequest) {
87
664
  DeleteEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -94,6 +671,20 @@ var DeleteEventDataStoreResponse;
94
671
  ...obj,
95
672
  });
96
673
  })(DeleteEventDataStoreResponse = exports.DeleteEventDataStoreResponse || (exports.DeleteEventDataStoreResponse = {}));
674
+ class EventDataStoreTerminationProtectedException extends CloudTrailServiceException_1.CloudTrailServiceException {
675
+ constructor(opts) {
676
+ super({
677
+ name: "EventDataStoreTerminationProtectedException",
678
+ $fault: "client",
679
+ ...opts,
680
+ });
681
+ this.name = "EventDataStoreTerminationProtectedException";
682
+ this.$fault = "client";
683
+ Object.setPrototypeOf(this, EventDataStoreTerminationProtectedException.prototype);
684
+ this.Message = opts.Message;
685
+ }
686
+ }
687
+ exports.EventDataStoreTerminationProtectedException = EventDataStoreTerminationProtectedException;
97
688
  var DeleteTrailRequest;
98
689
  (function (DeleteTrailRequest) {
99
690
  DeleteTrailRequest.filterSensitiveLog = (obj) => ({
@@ -106,6 +697,34 @@ var DeleteTrailResponse;
106
697
  ...obj,
107
698
  });
108
699
  })(DeleteTrailResponse = exports.DeleteTrailResponse || (exports.DeleteTrailResponse = {}));
700
+ class InvalidHomeRegionException extends CloudTrailServiceException_1.CloudTrailServiceException {
701
+ constructor(opts) {
702
+ super({
703
+ name: "InvalidHomeRegionException",
704
+ $fault: "client",
705
+ ...opts,
706
+ });
707
+ this.name = "InvalidHomeRegionException";
708
+ this.$fault = "client";
709
+ Object.setPrototypeOf(this, InvalidHomeRegionException.prototype);
710
+ this.Message = opts.Message;
711
+ }
712
+ }
713
+ exports.InvalidHomeRegionException = InvalidHomeRegionException;
714
+ class TrailNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
715
+ constructor(opts) {
716
+ super({
717
+ name: "TrailNotFoundException",
718
+ $fault: "client",
719
+ ...opts,
720
+ });
721
+ this.name = "TrailNotFoundException";
722
+ this.$fault = "client";
723
+ Object.setPrototypeOf(this, TrailNotFoundException.prototype);
724
+ this.Message = opts.Message;
725
+ }
726
+ }
727
+ exports.TrailNotFoundException = TrailNotFoundException;
109
728
  var DescribeQueryRequest;
110
729
  (function (DescribeQueryRequest) {
111
730
  DescribeQueryRequest.filterSensitiveLog = (obj) => ({
@@ -207,6 +826,20 @@ var GetInsightSelectorsResponse;
207
826
  ...obj,
208
827
  });
209
828
  })(GetInsightSelectorsResponse = exports.GetInsightSelectorsResponse || (exports.GetInsightSelectorsResponse = {}));
829
+ class InsightNotEnabledException extends CloudTrailServiceException_1.CloudTrailServiceException {
830
+ constructor(opts) {
831
+ super({
832
+ name: "InsightNotEnabledException",
833
+ $fault: "client",
834
+ ...opts,
835
+ });
836
+ this.name = "InsightNotEnabledException";
837
+ this.$fault = "client";
838
+ Object.setPrototypeOf(this, InsightNotEnabledException.prototype);
839
+ this.Message = opts.Message;
840
+ }
841
+ }
842
+ exports.InsightNotEnabledException = InsightNotEnabledException;
210
843
  var GetQueryResultsRequest;
211
844
  (function (GetQueryResultsRequest) {
212
845
  GetQueryResultsRequest.filterSensitiveLog = (obj) => ({
@@ -225,6 +858,34 @@ var GetQueryResultsResponse;
225
858
  ...obj,
226
859
  });
227
860
  })(GetQueryResultsResponse = exports.GetQueryResultsResponse || (exports.GetQueryResultsResponse = {}));
861
+ class InvalidMaxResultsException extends CloudTrailServiceException_1.CloudTrailServiceException {
862
+ constructor(opts) {
863
+ super({
864
+ name: "InvalidMaxResultsException",
865
+ $fault: "client",
866
+ ...opts,
867
+ });
868
+ this.name = "InvalidMaxResultsException";
869
+ this.$fault = "client";
870
+ Object.setPrototypeOf(this, InvalidMaxResultsException.prototype);
871
+ this.Message = opts.Message;
872
+ }
873
+ }
874
+ exports.InvalidMaxResultsException = InvalidMaxResultsException;
875
+ class InvalidNextTokenException extends CloudTrailServiceException_1.CloudTrailServiceException {
876
+ constructor(opts) {
877
+ super({
878
+ name: "InvalidNextTokenException",
879
+ $fault: "client",
880
+ ...opts,
881
+ });
882
+ this.name = "InvalidNextTokenException";
883
+ this.$fault = "client";
884
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
885
+ this.Message = opts.Message;
886
+ }
887
+ }
888
+ exports.InvalidNextTokenException = InvalidNextTokenException;
228
889
  var GetTrailRequest;
229
890
  (function (GetTrailRequest) {
230
891
  GetTrailRequest.filterSensitiveLog = (obj) => ({
@@ -267,6 +928,34 @@ var ListEventDataStoresResponse;
267
928
  ...obj,
268
929
  });
269
930
  })(ListEventDataStoresResponse = exports.ListEventDataStoresResponse || (exports.ListEventDataStoresResponse = {}));
931
+ class InvalidTimeRangeException extends CloudTrailServiceException_1.CloudTrailServiceException {
932
+ constructor(opts) {
933
+ super({
934
+ name: "InvalidTimeRangeException",
935
+ $fault: "client",
936
+ ...opts,
937
+ });
938
+ this.name = "InvalidTimeRangeException";
939
+ this.$fault = "client";
940
+ Object.setPrototypeOf(this, InvalidTimeRangeException.prototype);
941
+ this.Message = opts.Message;
942
+ }
943
+ }
944
+ exports.InvalidTimeRangeException = InvalidTimeRangeException;
945
+ class InvalidTokenException extends CloudTrailServiceException_1.CloudTrailServiceException {
946
+ constructor(opts) {
947
+ super({
948
+ name: "InvalidTokenException",
949
+ $fault: "client",
950
+ ...opts,
951
+ });
952
+ this.name = "InvalidTokenException";
953
+ this.$fault = "client";
954
+ Object.setPrototypeOf(this, InvalidTokenException.prototype);
955
+ this.Message = opts.Message;
956
+ }
957
+ }
958
+ exports.InvalidTokenException = InvalidTokenException;
270
959
  var ListPublicKeysRequest;
271
960
  (function (ListPublicKeysRequest) {
272
961
  ListPublicKeysRequest.filterSensitiveLog = (obj) => ({
@@ -285,6 +974,34 @@ var ListPublicKeysResponse;
285
974
  ...obj,
286
975
  });
287
976
  })(ListPublicKeysResponse = exports.ListPublicKeysResponse || (exports.ListPublicKeysResponse = {}));
977
+ class InvalidDateRangeException extends CloudTrailServiceException_1.CloudTrailServiceException {
978
+ constructor(opts) {
979
+ super({
980
+ name: "InvalidDateRangeException",
981
+ $fault: "client",
982
+ ...opts,
983
+ });
984
+ this.name = "InvalidDateRangeException";
985
+ this.$fault = "client";
986
+ Object.setPrototypeOf(this, InvalidDateRangeException.prototype);
987
+ this.Message = opts.Message;
988
+ }
989
+ }
990
+ exports.InvalidDateRangeException = InvalidDateRangeException;
991
+ class InvalidQueryStatusException extends CloudTrailServiceException_1.CloudTrailServiceException {
992
+ constructor(opts) {
993
+ super({
994
+ name: "InvalidQueryStatusException",
995
+ $fault: "client",
996
+ ...opts,
997
+ });
998
+ this.name = "InvalidQueryStatusException";
999
+ this.$fault = "client";
1000
+ Object.setPrototypeOf(this, InvalidQueryStatusException.prototype);
1001
+ this.Message = opts.Message;
1002
+ }
1003
+ }
1004
+ exports.InvalidQueryStatusException = InvalidQueryStatusException;
288
1005
  var ListQueriesRequest;
289
1006
  (function (ListQueriesRequest) {
290
1007
  ListQueriesRequest.filterSensitiveLog = (obj) => ({
@@ -339,6 +1056,34 @@ var ListTrailsResponse;
339
1056
  ...obj,
340
1057
  });
341
1058
  })(ListTrailsResponse = exports.ListTrailsResponse || (exports.ListTrailsResponse = {}));
1059
+ class InvalidEventCategoryException extends CloudTrailServiceException_1.CloudTrailServiceException {
1060
+ constructor(opts) {
1061
+ super({
1062
+ name: "InvalidEventCategoryException",
1063
+ $fault: "client",
1064
+ ...opts,
1065
+ });
1066
+ this.name = "InvalidEventCategoryException";
1067
+ this.$fault = "client";
1068
+ Object.setPrototypeOf(this, InvalidEventCategoryException.prototype);
1069
+ this.Message = opts.Message;
1070
+ }
1071
+ }
1072
+ exports.InvalidEventCategoryException = InvalidEventCategoryException;
1073
+ class InvalidLookupAttributesException extends CloudTrailServiceException_1.CloudTrailServiceException {
1074
+ constructor(opts) {
1075
+ super({
1076
+ name: "InvalidLookupAttributesException",
1077
+ $fault: "client",
1078
+ ...opts,
1079
+ });
1080
+ this.name = "InvalidLookupAttributesException";
1081
+ this.$fault = "client";
1082
+ Object.setPrototypeOf(this, InvalidLookupAttributesException.prototype);
1083
+ this.Message = opts.Message;
1084
+ }
1085
+ }
1086
+ exports.InvalidLookupAttributesException = InvalidLookupAttributesException;
342
1087
  var EventCategory;
343
1088
  (function (EventCategory) {
344
1089
  EventCategory["Insight"] = "insight";
@@ -384,6 +1129,20 @@ var LookupEventsResponse;
384
1129
  ...obj,
385
1130
  });
386
1131
  })(LookupEventsResponse = exports.LookupEventsResponse || (exports.LookupEventsResponse = {}));
1132
+ class InvalidEventSelectorsException extends CloudTrailServiceException_1.CloudTrailServiceException {
1133
+ constructor(opts) {
1134
+ super({
1135
+ name: "InvalidEventSelectorsException",
1136
+ $fault: "client",
1137
+ ...opts,
1138
+ });
1139
+ this.name = "InvalidEventSelectorsException";
1140
+ this.$fault = "client";
1141
+ Object.setPrototypeOf(this, InvalidEventSelectorsException.prototype);
1142
+ this.Message = opts.Message;
1143
+ }
1144
+ }
1145
+ exports.InvalidEventSelectorsException = InvalidEventSelectorsException;
387
1146
  var PutEventSelectorsRequest;
388
1147
  (function (PutEventSelectorsRequest) {
389
1148
  PutEventSelectorsRequest.filterSensitiveLog = (obj) => ({
@@ -396,6 +1155,20 @@ var PutEventSelectorsResponse;
396
1155
  ...obj,
397
1156
  });
398
1157
  })(PutEventSelectorsResponse = exports.PutEventSelectorsResponse || (exports.PutEventSelectorsResponse = {}));
1158
+ class InvalidInsightSelectorsException extends CloudTrailServiceException_1.CloudTrailServiceException {
1159
+ constructor(opts) {
1160
+ super({
1161
+ name: "InvalidInsightSelectorsException",
1162
+ $fault: "client",
1163
+ ...opts,
1164
+ });
1165
+ this.name = "InvalidInsightSelectorsException";
1166
+ this.$fault = "client";
1167
+ Object.setPrototypeOf(this, InvalidInsightSelectorsException.prototype);
1168
+ this.Message = opts.Message;
1169
+ }
1170
+ }
1171
+ exports.InvalidInsightSelectorsException = InvalidInsightSelectorsException;
399
1172
  var PutInsightSelectorsRequest;
400
1173
  (function (PutInsightSelectorsRequest) {
401
1174
  PutInsightSelectorsRequest.filterSensitiveLog = (obj) => ({
@@ -420,6 +1193,20 @@ var RemoveTagsResponse;
420
1193
  ...obj,
421
1194
  });
422
1195
  })(RemoveTagsResponse = exports.RemoveTagsResponse || (exports.RemoveTagsResponse = {}));
1196
+ class InvalidEventDataStoreStatusException extends CloudTrailServiceException_1.CloudTrailServiceException {
1197
+ constructor(opts) {
1198
+ super({
1199
+ name: "InvalidEventDataStoreStatusException",
1200
+ $fault: "client",
1201
+ ...opts,
1202
+ });
1203
+ this.name = "InvalidEventDataStoreStatusException";
1204
+ this.$fault = "client";
1205
+ Object.setPrototypeOf(this, InvalidEventDataStoreStatusException.prototype);
1206
+ this.Message = opts.Message;
1207
+ }
1208
+ }
1209
+ exports.InvalidEventDataStoreStatusException = InvalidEventDataStoreStatusException;
423
1210
  var RestoreEventDataStoreRequest;
424
1211
  (function (RestoreEventDataStoreRequest) {
425
1212
  RestoreEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -444,6 +1231,34 @@ var StartLoggingResponse;
444
1231
  ...obj,
445
1232
  });
446
1233
  })(StartLoggingResponse = exports.StartLoggingResponse || (exports.StartLoggingResponse = {}));
1234
+ class InvalidQueryStatementException extends CloudTrailServiceException_1.CloudTrailServiceException {
1235
+ constructor(opts) {
1236
+ super({
1237
+ name: "InvalidQueryStatementException",
1238
+ $fault: "client",
1239
+ ...opts,
1240
+ });
1241
+ this.name = "InvalidQueryStatementException";
1242
+ this.$fault = "client";
1243
+ Object.setPrototypeOf(this, InvalidQueryStatementException.prototype);
1244
+ this.Message = opts.Message;
1245
+ }
1246
+ }
1247
+ exports.InvalidQueryStatementException = InvalidQueryStatementException;
1248
+ class MaxConcurrentQueriesException extends CloudTrailServiceException_1.CloudTrailServiceException {
1249
+ constructor(opts) {
1250
+ super({
1251
+ name: "MaxConcurrentQueriesException",
1252
+ $fault: "client",
1253
+ ...opts,
1254
+ });
1255
+ this.name = "MaxConcurrentQueriesException";
1256
+ this.$fault = "client";
1257
+ Object.setPrototypeOf(this, MaxConcurrentQueriesException.prototype);
1258
+ this.Message = opts.Message;
1259
+ }
1260
+ }
1261
+ exports.MaxConcurrentQueriesException = MaxConcurrentQueriesException;
447
1262
  var StartQueryRequest;
448
1263
  (function (StartQueryRequest) {
449
1264
  StartQueryRequest.filterSensitiveLog = (obj) => ({