@aws-sdk/client-cloudtrail 3.50.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CloudTrailServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +816 -2
  5. package/dist-cjs/protocols/Aws_json1_1.js +587 -2141
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/CloudTrailServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +756 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1077 -2142
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/CloudTrailServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +408 -175
  13. package/dist-types/ts3.4/CloudTrail.d.ts +150 -0
  14. package/dist-types/ts3.4/CloudTrailClient.d.ts +102 -0
  15. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +29 -0
  45. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  46. package/dist-types/ts3.4/index.d.ts +6 -0
  47. package/dist-types/ts3.4/models/CloudTrailServiceException.d.ts +6 -0
  48. package/dist-types/ts3.4/models/index.d.ts +1 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +1617 -0
  50. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
  51. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  52. package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +4 -0
  53. package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +4 -0
  54. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +4 -0
  55. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +4 -0
  56. package/dist-types/ts3.4/pagination/ListTrailsPaginator.d.ts +4 -0
  57. package/dist-types/ts3.4/pagination/LookupEventsPaginator.d.ts +4 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  59. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +89 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  64. package/package.json +33 -33
@@ -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) => ({
@@ -52,6 +222,76 @@ var CancelQueryResponse;
52
222
  ...obj,
53
223
  });
54
224
  })(CancelQueryResponse = exports.CancelQueryResponse || (exports.CancelQueryResponse = {}));
225
+ class EventDataStoreARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
226
+ constructor(opts) {
227
+ super({
228
+ name: "EventDataStoreARNInvalidException",
229
+ $fault: "client",
230
+ ...opts,
231
+ });
232
+ this.name = "EventDataStoreARNInvalidException";
233
+ this.$fault = "client";
234
+ Object.setPrototypeOf(this, EventDataStoreARNInvalidException.prototype);
235
+ this.Message = opts.Message;
236
+ }
237
+ }
238
+ exports.EventDataStoreARNInvalidException = EventDataStoreARNInvalidException;
239
+ class InactiveQueryException extends CloudTrailServiceException_1.CloudTrailServiceException {
240
+ constructor(opts) {
241
+ super({
242
+ name: "InactiveQueryException",
243
+ $fault: "client",
244
+ ...opts,
245
+ });
246
+ this.name = "InactiveQueryException";
247
+ this.$fault = "client";
248
+ Object.setPrototypeOf(this, InactiveQueryException.prototype);
249
+ this.Message = opts.Message;
250
+ }
251
+ }
252
+ exports.InactiveQueryException = InactiveQueryException;
253
+ class InvalidParameterException extends CloudTrailServiceException_1.CloudTrailServiceException {
254
+ constructor(opts) {
255
+ super({
256
+ name: "InvalidParameterException",
257
+ $fault: "client",
258
+ ...opts,
259
+ });
260
+ this.name = "InvalidParameterException";
261
+ this.$fault = "client";
262
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
263
+ this.Message = opts.Message;
264
+ }
265
+ }
266
+ exports.InvalidParameterException = InvalidParameterException;
267
+ class QueryIdNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
268
+ constructor(opts) {
269
+ super({
270
+ name: "QueryIdNotFoundException",
271
+ $fault: "client",
272
+ ...opts,
273
+ });
274
+ this.name = "QueryIdNotFoundException";
275
+ this.$fault = "client";
276
+ Object.setPrototypeOf(this, QueryIdNotFoundException.prototype);
277
+ this.Message = opts.Message;
278
+ }
279
+ }
280
+ exports.QueryIdNotFoundException = QueryIdNotFoundException;
281
+ class CloudTrailAccessNotEnabledException extends CloudTrailServiceException_1.CloudTrailServiceException {
282
+ constructor(opts) {
283
+ super({
284
+ name: "CloudTrailAccessNotEnabledException",
285
+ $fault: "client",
286
+ ...opts,
287
+ });
288
+ this.name = "CloudTrailAccessNotEnabledException";
289
+ this.$fault = "client";
290
+ Object.setPrototypeOf(this, CloudTrailAccessNotEnabledException.prototype);
291
+ this.Message = opts.Message;
292
+ }
293
+ }
294
+ exports.CloudTrailAccessNotEnabledException = CloudTrailAccessNotEnabledException;
55
295
  var CreateEventDataStoreRequest;
56
296
  (function (CreateEventDataStoreRequest) {
57
297
  CreateEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -70,6 +310,104 @@ var CreateEventDataStoreResponse;
70
310
  ...obj,
71
311
  });
72
312
  })(CreateEventDataStoreResponse = exports.CreateEventDataStoreResponse || (exports.CreateEventDataStoreResponse = {}));
313
+ class EventDataStoreAlreadyExistsException extends CloudTrailServiceException_1.CloudTrailServiceException {
314
+ constructor(opts) {
315
+ super({
316
+ name: "EventDataStoreAlreadyExistsException",
317
+ $fault: "client",
318
+ ...opts,
319
+ });
320
+ this.name = "EventDataStoreAlreadyExistsException";
321
+ this.$fault = "client";
322
+ Object.setPrototypeOf(this, EventDataStoreAlreadyExistsException.prototype);
323
+ this.Message = opts.Message;
324
+ }
325
+ }
326
+ exports.EventDataStoreAlreadyExistsException = EventDataStoreAlreadyExistsException;
327
+ class EventDataStoreMaxLimitExceededException extends CloudTrailServiceException_1.CloudTrailServiceException {
328
+ constructor(opts) {
329
+ super({
330
+ name: "EventDataStoreMaxLimitExceededException",
331
+ $fault: "client",
332
+ ...opts,
333
+ });
334
+ this.name = "EventDataStoreMaxLimitExceededException";
335
+ this.$fault = "client";
336
+ Object.setPrototypeOf(this, EventDataStoreMaxLimitExceededException.prototype);
337
+ this.Message = opts.Message;
338
+ }
339
+ }
340
+ exports.EventDataStoreMaxLimitExceededException = EventDataStoreMaxLimitExceededException;
341
+ class InsufficientDependencyServiceAccessPermissionException extends CloudTrailServiceException_1.CloudTrailServiceException {
342
+ constructor(opts) {
343
+ super({
344
+ name: "InsufficientDependencyServiceAccessPermissionException",
345
+ $fault: "client",
346
+ ...opts,
347
+ });
348
+ this.name = "InsufficientDependencyServiceAccessPermissionException";
349
+ this.$fault = "client";
350
+ Object.setPrototypeOf(this, InsufficientDependencyServiceAccessPermissionException.prototype);
351
+ this.Message = opts.Message;
352
+ }
353
+ }
354
+ exports.InsufficientDependencyServiceAccessPermissionException = InsufficientDependencyServiceAccessPermissionException;
355
+ class OrganizationNotInAllFeaturesModeException extends CloudTrailServiceException_1.CloudTrailServiceException {
356
+ constructor(opts) {
357
+ super({
358
+ name: "OrganizationNotInAllFeaturesModeException",
359
+ $fault: "client",
360
+ ...opts,
361
+ });
362
+ this.name = "OrganizationNotInAllFeaturesModeException";
363
+ this.$fault = "client";
364
+ Object.setPrototypeOf(this, OrganizationNotInAllFeaturesModeException.prototype);
365
+ this.Message = opts.Message;
366
+ }
367
+ }
368
+ exports.OrganizationNotInAllFeaturesModeException = OrganizationNotInAllFeaturesModeException;
369
+ class OrganizationsNotInUseException extends CloudTrailServiceException_1.CloudTrailServiceException {
370
+ constructor(opts) {
371
+ super({
372
+ name: "OrganizationsNotInUseException",
373
+ $fault: "client",
374
+ ...opts,
375
+ });
376
+ this.name = "OrganizationsNotInUseException";
377
+ this.$fault = "client";
378
+ Object.setPrototypeOf(this, OrganizationsNotInUseException.prototype);
379
+ this.Message = opts.Message;
380
+ }
381
+ }
382
+ exports.OrganizationsNotInUseException = OrganizationsNotInUseException;
383
+ class CloudTrailInvalidClientTokenIdException extends CloudTrailServiceException_1.CloudTrailServiceException {
384
+ constructor(opts) {
385
+ super({
386
+ name: "CloudTrailInvalidClientTokenIdException",
387
+ $fault: "client",
388
+ ...opts,
389
+ });
390
+ this.name = "CloudTrailInvalidClientTokenIdException";
391
+ this.$fault = "client";
392
+ Object.setPrototypeOf(this, CloudTrailInvalidClientTokenIdException.prototype);
393
+ this.Message = opts.Message;
394
+ }
395
+ }
396
+ exports.CloudTrailInvalidClientTokenIdException = CloudTrailInvalidClientTokenIdException;
397
+ class CloudWatchLogsDeliveryUnavailableException extends CloudTrailServiceException_1.CloudTrailServiceException {
398
+ constructor(opts) {
399
+ super({
400
+ name: "CloudWatchLogsDeliveryUnavailableException",
401
+ $fault: "client",
402
+ ...opts,
403
+ });
404
+ this.name = "CloudWatchLogsDeliveryUnavailableException";
405
+ this.$fault = "client";
406
+ Object.setPrototypeOf(this, CloudWatchLogsDeliveryUnavailableException.prototype);
407
+ this.Message = opts.Message;
408
+ }
409
+ }
410
+ exports.CloudWatchLogsDeliveryUnavailableException = CloudWatchLogsDeliveryUnavailableException;
73
411
  var CreateTrailRequest;
74
412
  (function (CreateTrailRequest) {
75
413
  CreateTrailRequest.filterSensitiveLog = (obj) => ({
@@ -82,6 +420,244 @@ var CreateTrailResponse;
82
420
  ...obj,
83
421
  });
84
422
  })(CreateTrailResponse = exports.CreateTrailResponse || (exports.CreateTrailResponse = {}));
423
+ class InsufficientEncryptionPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
424
+ constructor(opts) {
425
+ super({
426
+ name: "InsufficientEncryptionPolicyException",
427
+ $fault: "client",
428
+ ...opts,
429
+ });
430
+ this.name = "InsufficientEncryptionPolicyException";
431
+ this.$fault = "client";
432
+ Object.setPrototypeOf(this, InsufficientEncryptionPolicyException.prototype);
433
+ this.Message = opts.Message;
434
+ }
435
+ }
436
+ exports.InsufficientEncryptionPolicyException = InsufficientEncryptionPolicyException;
437
+ class InsufficientS3BucketPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
438
+ constructor(opts) {
439
+ super({
440
+ name: "InsufficientS3BucketPolicyException",
441
+ $fault: "client",
442
+ ...opts,
443
+ });
444
+ this.name = "InsufficientS3BucketPolicyException";
445
+ this.$fault = "client";
446
+ Object.setPrototypeOf(this, InsufficientS3BucketPolicyException.prototype);
447
+ this.Message = opts.Message;
448
+ }
449
+ }
450
+ exports.InsufficientS3BucketPolicyException = InsufficientS3BucketPolicyException;
451
+ class InsufficientSnsTopicPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
452
+ constructor(opts) {
453
+ super({
454
+ name: "InsufficientSnsTopicPolicyException",
455
+ $fault: "client",
456
+ ...opts,
457
+ });
458
+ this.name = "InsufficientSnsTopicPolicyException";
459
+ this.$fault = "client";
460
+ Object.setPrototypeOf(this, InsufficientSnsTopicPolicyException.prototype);
461
+ this.Message = opts.Message;
462
+ }
463
+ }
464
+ exports.InsufficientSnsTopicPolicyException = InsufficientSnsTopicPolicyException;
465
+ class InvalidCloudWatchLogsLogGroupArnException extends CloudTrailServiceException_1.CloudTrailServiceException {
466
+ constructor(opts) {
467
+ super({
468
+ name: "InvalidCloudWatchLogsLogGroupArnException",
469
+ $fault: "client",
470
+ ...opts,
471
+ });
472
+ this.name = "InvalidCloudWatchLogsLogGroupArnException";
473
+ this.$fault = "client";
474
+ Object.setPrototypeOf(this, InvalidCloudWatchLogsLogGroupArnException.prototype);
475
+ this.Message = opts.Message;
476
+ }
477
+ }
478
+ exports.InvalidCloudWatchLogsLogGroupArnException = InvalidCloudWatchLogsLogGroupArnException;
479
+ class InvalidCloudWatchLogsRoleArnException extends CloudTrailServiceException_1.CloudTrailServiceException {
480
+ constructor(opts) {
481
+ super({
482
+ name: "InvalidCloudWatchLogsRoleArnException",
483
+ $fault: "client",
484
+ ...opts,
485
+ });
486
+ this.name = "InvalidCloudWatchLogsRoleArnException";
487
+ this.$fault = "client";
488
+ Object.setPrototypeOf(this, InvalidCloudWatchLogsRoleArnException.prototype);
489
+ this.Message = opts.Message;
490
+ }
491
+ }
492
+ exports.InvalidCloudWatchLogsRoleArnException = InvalidCloudWatchLogsRoleArnException;
493
+ class InvalidKmsKeyIdException extends CloudTrailServiceException_1.CloudTrailServiceException {
494
+ constructor(opts) {
495
+ super({
496
+ name: "InvalidKmsKeyIdException",
497
+ $fault: "client",
498
+ ...opts,
499
+ });
500
+ this.name = "InvalidKmsKeyIdException";
501
+ this.$fault = "client";
502
+ Object.setPrototypeOf(this, InvalidKmsKeyIdException.prototype);
503
+ this.Message = opts.Message;
504
+ }
505
+ }
506
+ exports.InvalidKmsKeyIdException = InvalidKmsKeyIdException;
507
+ class InvalidParameterCombinationException extends CloudTrailServiceException_1.CloudTrailServiceException {
508
+ constructor(opts) {
509
+ super({
510
+ name: "InvalidParameterCombinationException",
511
+ $fault: "client",
512
+ ...opts,
513
+ });
514
+ this.name = "InvalidParameterCombinationException";
515
+ this.$fault = "client";
516
+ Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
517
+ this.Message = opts.Message;
518
+ }
519
+ }
520
+ exports.InvalidParameterCombinationException = InvalidParameterCombinationException;
521
+ class InvalidS3BucketNameException extends CloudTrailServiceException_1.CloudTrailServiceException {
522
+ constructor(opts) {
523
+ super({
524
+ name: "InvalidS3BucketNameException",
525
+ $fault: "client",
526
+ ...opts,
527
+ });
528
+ this.name = "InvalidS3BucketNameException";
529
+ this.$fault = "client";
530
+ Object.setPrototypeOf(this, InvalidS3BucketNameException.prototype);
531
+ this.Message = opts.Message;
532
+ }
533
+ }
534
+ exports.InvalidS3BucketNameException = InvalidS3BucketNameException;
535
+ class InvalidS3PrefixException extends CloudTrailServiceException_1.CloudTrailServiceException {
536
+ constructor(opts) {
537
+ super({
538
+ name: "InvalidS3PrefixException",
539
+ $fault: "client",
540
+ ...opts,
541
+ });
542
+ this.name = "InvalidS3PrefixException";
543
+ this.$fault = "client";
544
+ Object.setPrototypeOf(this, InvalidS3PrefixException.prototype);
545
+ this.Message = opts.Message;
546
+ }
547
+ }
548
+ exports.InvalidS3PrefixException = InvalidS3PrefixException;
549
+ class InvalidSnsTopicNameException extends CloudTrailServiceException_1.CloudTrailServiceException {
550
+ constructor(opts) {
551
+ super({
552
+ name: "InvalidSnsTopicNameException",
553
+ $fault: "client",
554
+ ...opts,
555
+ });
556
+ this.name = "InvalidSnsTopicNameException";
557
+ this.$fault = "client";
558
+ Object.setPrototypeOf(this, InvalidSnsTopicNameException.prototype);
559
+ this.Message = opts.Message;
560
+ }
561
+ }
562
+ exports.InvalidSnsTopicNameException = InvalidSnsTopicNameException;
563
+ class KmsException extends CloudTrailServiceException_1.CloudTrailServiceException {
564
+ constructor(opts) {
565
+ super({
566
+ name: "KmsException",
567
+ $fault: "client",
568
+ ...opts,
569
+ });
570
+ this.name = "KmsException";
571
+ this.$fault = "client";
572
+ Object.setPrototypeOf(this, KmsException.prototype);
573
+ this.Message = opts.Message;
574
+ }
575
+ }
576
+ exports.KmsException = KmsException;
577
+ class KmsKeyDisabledException extends CloudTrailServiceException_1.CloudTrailServiceException {
578
+ constructor(opts) {
579
+ super({
580
+ name: "KmsKeyDisabledException",
581
+ $fault: "client",
582
+ ...opts,
583
+ });
584
+ this.name = "KmsKeyDisabledException";
585
+ this.$fault = "client";
586
+ Object.setPrototypeOf(this, KmsKeyDisabledException.prototype);
587
+ this.Message = opts.Message;
588
+ }
589
+ }
590
+ exports.KmsKeyDisabledException = KmsKeyDisabledException;
591
+ class KmsKeyNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
592
+ constructor(opts) {
593
+ super({
594
+ name: "KmsKeyNotFoundException",
595
+ $fault: "client",
596
+ ...opts,
597
+ });
598
+ this.name = "KmsKeyNotFoundException";
599
+ this.$fault = "client";
600
+ Object.setPrototypeOf(this, KmsKeyNotFoundException.prototype);
601
+ this.Message = opts.Message;
602
+ }
603
+ }
604
+ exports.KmsKeyNotFoundException = KmsKeyNotFoundException;
605
+ class MaximumNumberOfTrailsExceededException extends CloudTrailServiceException_1.CloudTrailServiceException {
606
+ constructor(opts) {
607
+ super({
608
+ name: "MaximumNumberOfTrailsExceededException",
609
+ $fault: "client",
610
+ ...opts,
611
+ });
612
+ this.name = "MaximumNumberOfTrailsExceededException";
613
+ this.$fault = "client";
614
+ Object.setPrototypeOf(this, MaximumNumberOfTrailsExceededException.prototype);
615
+ this.Message = opts.Message;
616
+ }
617
+ }
618
+ exports.MaximumNumberOfTrailsExceededException = MaximumNumberOfTrailsExceededException;
619
+ class S3BucketDoesNotExistException extends CloudTrailServiceException_1.CloudTrailServiceException {
620
+ constructor(opts) {
621
+ super({
622
+ name: "S3BucketDoesNotExistException",
623
+ $fault: "client",
624
+ ...opts,
625
+ });
626
+ this.name = "S3BucketDoesNotExistException";
627
+ this.$fault = "client";
628
+ Object.setPrototypeOf(this, S3BucketDoesNotExistException.prototype);
629
+ this.Message = opts.Message;
630
+ }
631
+ }
632
+ exports.S3BucketDoesNotExistException = S3BucketDoesNotExistException;
633
+ class TrailAlreadyExistsException extends CloudTrailServiceException_1.CloudTrailServiceException {
634
+ constructor(opts) {
635
+ super({
636
+ name: "TrailAlreadyExistsException",
637
+ $fault: "client",
638
+ ...opts,
639
+ });
640
+ this.name = "TrailAlreadyExistsException";
641
+ this.$fault = "client";
642
+ Object.setPrototypeOf(this, TrailAlreadyExistsException.prototype);
643
+ this.Message = opts.Message;
644
+ }
645
+ }
646
+ exports.TrailAlreadyExistsException = TrailAlreadyExistsException;
647
+ class TrailNotProvidedException extends CloudTrailServiceException_1.CloudTrailServiceException {
648
+ constructor(opts) {
649
+ super({
650
+ name: "TrailNotProvidedException",
651
+ $fault: "client",
652
+ ...opts,
653
+ });
654
+ this.name = "TrailNotProvidedException";
655
+ this.$fault = "client";
656
+ Object.setPrototypeOf(this, TrailNotProvidedException.prototype);
657
+ this.Message = opts.Message;
658
+ }
659
+ }
660
+ exports.TrailNotProvidedException = TrailNotProvidedException;
85
661
  var DeleteEventDataStoreRequest;
86
662
  (function (DeleteEventDataStoreRequest) {
87
663
  DeleteEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -94,6 +670,20 @@ var DeleteEventDataStoreResponse;
94
670
  ...obj,
95
671
  });
96
672
  })(DeleteEventDataStoreResponse = exports.DeleteEventDataStoreResponse || (exports.DeleteEventDataStoreResponse = {}));
673
+ class EventDataStoreTerminationProtectedException extends CloudTrailServiceException_1.CloudTrailServiceException {
674
+ constructor(opts) {
675
+ super({
676
+ name: "EventDataStoreTerminationProtectedException",
677
+ $fault: "client",
678
+ ...opts,
679
+ });
680
+ this.name = "EventDataStoreTerminationProtectedException";
681
+ this.$fault = "client";
682
+ Object.setPrototypeOf(this, EventDataStoreTerminationProtectedException.prototype);
683
+ this.Message = opts.Message;
684
+ }
685
+ }
686
+ exports.EventDataStoreTerminationProtectedException = EventDataStoreTerminationProtectedException;
97
687
  var DeleteTrailRequest;
98
688
  (function (DeleteTrailRequest) {
99
689
  DeleteTrailRequest.filterSensitiveLog = (obj) => ({
@@ -106,6 +696,34 @@ var DeleteTrailResponse;
106
696
  ...obj,
107
697
  });
108
698
  })(DeleteTrailResponse = exports.DeleteTrailResponse || (exports.DeleteTrailResponse = {}));
699
+ class InvalidHomeRegionException extends CloudTrailServiceException_1.CloudTrailServiceException {
700
+ constructor(opts) {
701
+ super({
702
+ name: "InvalidHomeRegionException",
703
+ $fault: "client",
704
+ ...opts,
705
+ });
706
+ this.name = "InvalidHomeRegionException";
707
+ this.$fault = "client";
708
+ Object.setPrototypeOf(this, InvalidHomeRegionException.prototype);
709
+ this.Message = opts.Message;
710
+ }
711
+ }
712
+ exports.InvalidHomeRegionException = InvalidHomeRegionException;
713
+ class TrailNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
714
+ constructor(opts) {
715
+ super({
716
+ name: "TrailNotFoundException",
717
+ $fault: "client",
718
+ ...opts,
719
+ });
720
+ this.name = "TrailNotFoundException";
721
+ this.$fault = "client";
722
+ Object.setPrototypeOf(this, TrailNotFoundException.prototype);
723
+ this.Message = opts.Message;
724
+ }
725
+ }
726
+ exports.TrailNotFoundException = TrailNotFoundException;
109
727
  var DescribeQueryRequest;
110
728
  (function (DescribeQueryRequest) {
111
729
  DescribeQueryRequest.filterSensitiveLog = (obj) => ({
@@ -207,6 +825,20 @@ var GetInsightSelectorsResponse;
207
825
  ...obj,
208
826
  });
209
827
  })(GetInsightSelectorsResponse = exports.GetInsightSelectorsResponse || (exports.GetInsightSelectorsResponse = {}));
828
+ class InsightNotEnabledException extends CloudTrailServiceException_1.CloudTrailServiceException {
829
+ constructor(opts) {
830
+ super({
831
+ name: "InsightNotEnabledException",
832
+ $fault: "client",
833
+ ...opts,
834
+ });
835
+ this.name = "InsightNotEnabledException";
836
+ this.$fault = "client";
837
+ Object.setPrototypeOf(this, InsightNotEnabledException.prototype);
838
+ this.Message = opts.Message;
839
+ }
840
+ }
841
+ exports.InsightNotEnabledException = InsightNotEnabledException;
210
842
  var GetQueryResultsRequest;
211
843
  (function (GetQueryResultsRequest) {
212
844
  GetQueryResultsRequest.filterSensitiveLog = (obj) => ({
@@ -225,6 +857,34 @@ var GetQueryResultsResponse;
225
857
  ...obj,
226
858
  });
227
859
  })(GetQueryResultsResponse = exports.GetQueryResultsResponse || (exports.GetQueryResultsResponse = {}));
860
+ class InvalidMaxResultsException extends CloudTrailServiceException_1.CloudTrailServiceException {
861
+ constructor(opts) {
862
+ super({
863
+ name: "InvalidMaxResultsException",
864
+ $fault: "client",
865
+ ...opts,
866
+ });
867
+ this.name = "InvalidMaxResultsException";
868
+ this.$fault = "client";
869
+ Object.setPrototypeOf(this, InvalidMaxResultsException.prototype);
870
+ this.Message = opts.Message;
871
+ }
872
+ }
873
+ exports.InvalidMaxResultsException = InvalidMaxResultsException;
874
+ class InvalidNextTokenException extends CloudTrailServiceException_1.CloudTrailServiceException {
875
+ constructor(opts) {
876
+ super({
877
+ name: "InvalidNextTokenException",
878
+ $fault: "client",
879
+ ...opts,
880
+ });
881
+ this.name = "InvalidNextTokenException";
882
+ this.$fault = "client";
883
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
884
+ this.Message = opts.Message;
885
+ }
886
+ }
887
+ exports.InvalidNextTokenException = InvalidNextTokenException;
228
888
  var GetTrailRequest;
229
889
  (function (GetTrailRequest) {
230
890
  GetTrailRequest.filterSensitiveLog = (obj) => ({
@@ -267,6 +927,34 @@ var ListEventDataStoresResponse;
267
927
  ...obj,
268
928
  });
269
929
  })(ListEventDataStoresResponse = exports.ListEventDataStoresResponse || (exports.ListEventDataStoresResponse = {}));
930
+ class InvalidTimeRangeException extends CloudTrailServiceException_1.CloudTrailServiceException {
931
+ constructor(opts) {
932
+ super({
933
+ name: "InvalidTimeRangeException",
934
+ $fault: "client",
935
+ ...opts,
936
+ });
937
+ this.name = "InvalidTimeRangeException";
938
+ this.$fault = "client";
939
+ Object.setPrototypeOf(this, InvalidTimeRangeException.prototype);
940
+ this.Message = opts.Message;
941
+ }
942
+ }
943
+ exports.InvalidTimeRangeException = InvalidTimeRangeException;
944
+ class InvalidTokenException extends CloudTrailServiceException_1.CloudTrailServiceException {
945
+ constructor(opts) {
946
+ super({
947
+ name: "InvalidTokenException",
948
+ $fault: "client",
949
+ ...opts,
950
+ });
951
+ this.name = "InvalidTokenException";
952
+ this.$fault = "client";
953
+ Object.setPrototypeOf(this, InvalidTokenException.prototype);
954
+ this.Message = opts.Message;
955
+ }
956
+ }
957
+ exports.InvalidTokenException = InvalidTokenException;
270
958
  var ListPublicKeysRequest;
271
959
  (function (ListPublicKeysRequest) {
272
960
  ListPublicKeysRequest.filterSensitiveLog = (obj) => ({
@@ -285,6 +973,34 @@ var ListPublicKeysResponse;
285
973
  ...obj,
286
974
  });
287
975
  })(ListPublicKeysResponse = exports.ListPublicKeysResponse || (exports.ListPublicKeysResponse = {}));
976
+ class InvalidDateRangeException extends CloudTrailServiceException_1.CloudTrailServiceException {
977
+ constructor(opts) {
978
+ super({
979
+ name: "InvalidDateRangeException",
980
+ $fault: "client",
981
+ ...opts,
982
+ });
983
+ this.name = "InvalidDateRangeException";
984
+ this.$fault = "client";
985
+ Object.setPrototypeOf(this, InvalidDateRangeException.prototype);
986
+ this.Message = opts.Message;
987
+ }
988
+ }
989
+ exports.InvalidDateRangeException = InvalidDateRangeException;
990
+ class InvalidQueryStatusException extends CloudTrailServiceException_1.CloudTrailServiceException {
991
+ constructor(opts) {
992
+ super({
993
+ name: "InvalidQueryStatusException",
994
+ $fault: "client",
995
+ ...opts,
996
+ });
997
+ this.name = "InvalidQueryStatusException";
998
+ this.$fault = "client";
999
+ Object.setPrototypeOf(this, InvalidQueryStatusException.prototype);
1000
+ this.Message = opts.Message;
1001
+ }
1002
+ }
1003
+ exports.InvalidQueryStatusException = InvalidQueryStatusException;
288
1004
  var ListQueriesRequest;
289
1005
  (function (ListQueriesRequest) {
290
1006
  ListQueriesRequest.filterSensitiveLog = (obj) => ({
@@ -339,6 +1055,34 @@ var ListTrailsResponse;
339
1055
  ...obj,
340
1056
  });
341
1057
  })(ListTrailsResponse = exports.ListTrailsResponse || (exports.ListTrailsResponse = {}));
1058
+ class InvalidEventCategoryException extends CloudTrailServiceException_1.CloudTrailServiceException {
1059
+ constructor(opts) {
1060
+ super({
1061
+ name: "InvalidEventCategoryException",
1062
+ $fault: "client",
1063
+ ...opts,
1064
+ });
1065
+ this.name = "InvalidEventCategoryException";
1066
+ this.$fault = "client";
1067
+ Object.setPrototypeOf(this, InvalidEventCategoryException.prototype);
1068
+ this.Message = opts.Message;
1069
+ }
1070
+ }
1071
+ exports.InvalidEventCategoryException = InvalidEventCategoryException;
1072
+ class InvalidLookupAttributesException extends CloudTrailServiceException_1.CloudTrailServiceException {
1073
+ constructor(opts) {
1074
+ super({
1075
+ name: "InvalidLookupAttributesException",
1076
+ $fault: "client",
1077
+ ...opts,
1078
+ });
1079
+ this.name = "InvalidLookupAttributesException";
1080
+ this.$fault = "client";
1081
+ Object.setPrototypeOf(this, InvalidLookupAttributesException.prototype);
1082
+ this.Message = opts.Message;
1083
+ }
1084
+ }
1085
+ exports.InvalidLookupAttributesException = InvalidLookupAttributesException;
342
1086
  var EventCategory;
343
1087
  (function (EventCategory) {
344
1088
  EventCategory["Insight"] = "insight";
@@ -384,6 +1128,20 @@ var LookupEventsResponse;
384
1128
  ...obj,
385
1129
  });
386
1130
  })(LookupEventsResponse = exports.LookupEventsResponse || (exports.LookupEventsResponse = {}));
1131
+ class InvalidEventSelectorsException extends CloudTrailServiceException_1.CloudTrailServiceException {
1132
+ constructor(opts) {
1133
+ super({
1134
+ name: "InvalidEventSelectorsException",
1135
+ $fault: "client",
1136
+ ...opts,
1137
+ });
1138
+ this.name = "InvalidEventSelectorsException";
1139
+ this.$fault = "client";
1140
+ Object.setPrototypeOf(this, InvalidEventSelectorsException.prototype);
1141
+ this.Message = opts.Message;
1142
+ }
1143
+ }
1144
+ exports.InvalidEventSelectorsException = InvalidEventSelectorsException;
387
1145
  var PutEventSelectorsRequest;
388
1146
  (function (PutEventSelectorsRequest) {
389
1147
  PutEventSelectorsRequest.filterSensitiveLog = (obj) => ({
@@ -396,6 +1154,20 @@ var PutEventSelectorsResponse;
396
1154
  ...obj,
397
1155
  });
398
1156
  })(PutEventSelectorsResponse = exports.PutEventSelectorsResponse || (exports.PutEventSelectorsResponse = {}));
1157
+ class InvalidInsightSelectorsException extends CloudTrailServiceException_1.CloudTrailServiceException {
1158
+ constructor(opts) {
1159
+ super({
1160
+ name: "InvalidInsightSelectorsException",
1161
+ $fault: "client",
1162
+ ...opts,
1163
+ });
1164
+ this.name = "InvalidInsightSelectorsException";
1165
+ this.$fault = "client";
1166
+ Object.setPrototypeOf(this, InvalidInsightSelectorsException.prototype);
1167
+ this.Message = opts.Message;
1168
+ }
1169
+ }
1170
+ exports.InvalidInsightSelectorsException = InvalidInsightSelectorsException;
399
1171
  var PutInsightSelectorsRequest;
400
1172
  (function (PutInsightSelectorsRequest) {
401
1173
  PutInsightSelectorsRequest.filterSensitiveLog = (obj) => ({
@@ -420,6 +1192,20 @@ var RemoveTagsResponse;
420
1192
  ...obj,
421
1193
  });
422
1194
  })(RemoveTagsResponse = exports.RemoveTagsResponse || (exports.RemoveTagsResponse = {}));
1195
+ class InvalidEventDataStoreStatusException extends CloudTrailServiceException_1.CloudTrailServiceException {
1196
+ constructor(opts) {
1197
+ super({
1198
+ name: "InvalidEventDataStoreStatusException",
1199
+ $fault: "client",
1200
+ ...opts,
1201
+ });
1202
+ this.name = "InvalidEventDataStoreStatusException";
1203
+ this.$fault = "client";
1204
+ Object.setPrototypeOf(this, InvalidEventDataStoreStatusException.prototype);
1205
+ this.Message = opts.Message;
1206
+ }
1207
+ }
1208
+ exports.InvalidEventDataStoreStatusException = InvalidEventDataStoreStatusException;
423
1209
  var RestoreEventDataStoreRequest;
424
1210
  (function (RestoreEventDataStoreRequest) {
425
1211
  RestoreEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -444,6 +1230,34 @@ var StartLoggingResponse;
444
1230
  ...obj,
445
1231
  });
446
1232
  })(StartLoggingResponse = exports.StartLoggingResponse || (exports.StartLoggingResponse = {}));
1233
+ class InvalidQueryStatementException extends CloudTrailServiceException_1.CloudTrailServiceException {
1234
+ constructor(opts) {
1235
+ super({
1236
+ name: "InvalidQueryStatementException",
1237
+ $fault: "client",
1238
+ ...opts,
1239
+ });
1240
+ this.name = "InvalidQueryStatementException";
1241
+ this.$fault = "client";
1242
+ Object.setPrototypeOf(this, InvalidQueryStatementException.prototype);
1243
+ this.Message = opts.Message;
1244
+ }
1245
+ }
1246
+ exports.InvalidQueryStatementException = InvalidQueryStatementException;
1247
+ class MaxConcurrentQueriesException extends CloudTrailServiceException_1.CloudTrailServiceException {
1248
+ constructor(opts) {
1249
+ super({
1250
+ name: "MaxConcurrentQueriesException",
1251
+ $fault: "client",
1252
+ ...opts,
1253
+ });
1254
+ this.name = "MaxConcurrentQueriesException";
1255
+ this.$fault = "client";
1256
+ Object.setPrototypeOf(this, MaxConcurrentQueriesException.prototype);
1257
+ this.Message = opts.Message;
1258
+ }
1259
+ }
1260
+ exports.MaxConcurrentQueriesException = MaxConcurrentQueriesException;
447
1261
  var StartQueryRequest;
448
1262
  (function (StartQueryRequest) {
449
1263
  StartQueryRequest.filterSensitiveLog = (obj) => ({