@aws-sdk/client-cloudtrail 3.46.0 → 3.48.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.
@@ -11,54 +11,6 @@ export var AddTagsResponse;
11
11
  (function (AddTagsResponse) {
12
12
  AddTagsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
13
  })(AddTagsResponse || (AddTagsResponse = {}));
14
- export var CloudTrailARNInvalidException;
15
- (function (CloudTrailARNInvalidException) {
16
- CloudTrailARNInvalidException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
- })(CloudTrailARNInvalidException || (CloudTrailARNInvalidException = {}));
18
- export var ConflictException;
19
- (function (ConflictException) {
20
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
- })(ConflictException || (ConflictException = {}));
22
- export var EventDataStoreNotFoundException;
23
- (function (EventDataStoreNotFoundException) {
24
- EventDataStoreNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
- })(EventDataStoreNotFoundException || (EventDataStoreNotFoundException = {}));
26
- export var InactiveEventDataStoreException;
27
- (function (InactiveEventDataStoreException) {
28
- InactiveEventDataStoreException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
- })(InactiveEventDataStoreException || (InactiveEventDataStoreException = {}));
30
- export var InvalidTagParameterException;
31
- (function (InvalidTagParameterException) {
32
- InvalidTagParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
33
- })(InvalidTagParameterException || (InvalidTagParameterException = {}));
34
- export var InvalidTrailNameException;
35
- (function (InvalidTrailNameException) {
36
- InvalidTrailNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
- })(InvalidTrailNameException || (InvalidTrailNameException = {}));
38
- export var NotOrganizationMasterAccountException;
39
- (function (NotOrganizationMasterAccountException) {
40
- NotOrganizationMasterAccountException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
- })(NotOrganizationMasterAccountException || (NotOrganizationMasterAccountException = {}));
42
- export var OperationNotPermittedException;
43
- (function (OperationNotPermittedException) {
44
- OperationNotPermittedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
45
- })(OperationNotPermittedException || (OperationNotPermittedException = {}));
46
- export var ResourceNotFoundException;
47
- (function (ResourceNotFoundException) {
48
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
49
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
50
- export var ResourceTypeNotSupportedException;
51
- (function (ResourceTypeNotSupportedException) {
52
- ResourceTypeNotSupportedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
53
- })(ResourceTypeNotSupportedException || (ResourceTypeNotSupportedException = {}));
54
- export var TagsLimitExceededException;
55
- (function (TagsLimitExceededException) {
56
- TagsLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
57
- })(TagsLimitExceededException || (TagsLimitExceededException = {}));
58
- export var UnsupportedOperationException;
59
- (function (UnsupportedOperationException) {
60
- UnsupportedOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
61
- })(UnsupportedOperationException || (UnsupportedOperationException = {}));
62
14
  export var AdvancedFieldSelector;
63
15
  (function (AdvancedFieldSelector) {
64
16
  AdvancedFieldSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -83,26 +35,6 @@ export var CancelQueryResponse;
83
35
  (function (CancelQueryResponse) {
84
36
  CancelQueryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
85
37
  })(CancelQueryResponse || (CancelQueryResponse = {}));
86
- export var EventDataStoreARNInvalidException;
87
- (function (EventDataStoreARNInvalidException) {
88
- EventDataStoreARNInvalidException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
89
- })(EventDataStoreARNInvalidException || (EventDataStoreARNInvalidException = {}));
90
- export var InactiveQueryException;
91
- (function (InactiveQueryException) {
92
- InactiveQueryException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
93
- })(InactiveQueryException || (InactiveQueryException = {}));
94
- export var InvalidParameterException;
95
- (function (InvalidParameterException) {
96
- InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
97
- })(InvalidParameterException || (InvalidParameterException = {}));
98
- export var QueryIdNotFoundException;
99
- (function (QueryIdNotFoundException) {
100
- QueryIdNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
- })(QueryIdNotFoundException || (QueryIdNotFoundException = {}));
102
- export var CloudTrailAccessNotEnabledException;
103
- (function (CloudTrailAccessNotEnabledException) {
104
- CloudTrailAccessNotEnabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
105
- })(CloudTrailAccessNotEnabledException || (CloudTrailAccessNotEnabledException = {}));
106
38
  export var CreateEventDataStoreRequest;
107
39
  (function (CreateEventDataStoreRequest) {
108
40
  CreateEventDataStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -117,34 +49,6 @@ export var CreateEventDataStoreResponse;
117
49
  (function (CreateEventDataStoreResponse) {
118
50
  CreateEventDataStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
119
51
  })(CreateEventDataStoreResponse || (CreateEventDataStoreResponse = {}));
120
- export var EventDataStoreAlreadyExistsException;
121
- (function (EventDataStoreAlreadyExistsException) {
122
- EventDataStoreAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
123
- })(EventDataStoreAlreadyExistsException || (EventDataStoreAlreadyExistsException = {}));
124
- export var EventDataStoreMaxLimitExceededException;
125
- (function (EventDataStoreMaxLimitExceededException) {
126
- EventDataStoreMaxLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
127
- })(EventDataStoreMaxLimitExceededException || (EventDataStoreMaxLimitExceededException = {}));
128
- export var InsufficientDependencyServiceAccessPermissionException;
129
- (function (InsufficientDependencyServiceAccessPermissionException) {
130
- InsufficientDependencyServiceAccessPermissionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
131
- })(InsufficientDependencyServiceAccessPermissionException || (InsufficientDependencyServiceAccessPermissionException = {}));
132
- export var OrganizationNotInAllFeaturesModeException;
133
- (function (OrganizationNotInAllFeaturesModeException) {
134
- OrganizationNotInAllFeaturesModeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
135
- })(OrganizationNotInAllFeaturesModeException || (OrganizationNotInAllFeaturesModeException = {}));
136
- export var OrganizationsNotInUseException;
137
- (function (OrganizationsNotInUseException) {
138
- OrganizationsNotInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
139
- })(OrganizationsNotInUseException || (OrganizationsNotInUseException = {}));
140
- export var CloudTrailInvalidClientTokenIdException;
141
- (function (CloudTrailInvalidClientTokenIdException) {
142
- CloudTrailInvalidClientTokenIdException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
143
- })(CloudTrailInvalidClientTokenIdException || (CloudTrailInvalidClientTokenIdException = {}));
144
- export var CloudWatchLogsDeliveryUnavailableException;
145
- (function (CloudWatchLogsDeliveryUnavailableException) {
146
- CloudWatchLogsDeliveryUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
147
- })(CloudWatchLogsDeliveryUnavailableException || (CloudWatchLogsDeliveryUnavailableException = {}));
148
52
  export var CreateTrailRequest;
149
53
  (function (CreateTrailRequest) {
150
54
  CreateTrailRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -153,74 +57,6 @@ export var CreateTrailResponse;
153
57
  (function (CreateTrailResponse) {
154
58
  CreateTrailResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
155
59
  })(CreateTrailResponse || (CreateTrailResponse = {}));
156
- export var InsufficientEncryptionPolicyException;
157
- (function (InsufficientEncryptionPolicyException) {
158
- InsufficientEncryptionPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
159
- })(InsufficientEncryptionPolicyException || (InsufficientEncryptionPolicyException = {}));
160
- export var InsufficientS3BucketPolicyException;
161
- (function (InsufficientS3BucketPolicyException) {
162
- InsufficientS3BucketPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
163
- })(InsufficientS3BucketPolicyException || (InsufficientS3BucketPolicyException = {}));
164
- export var InsufficientSnsTopicPolicyException;
165
- (function (InsufficientSnsTopicPolicyException) {
166
- InsufficientSnsTopicPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
167
- })(InsufficientSnsTopicPolicyException || (InsufficientSnsTopicPolicyException = {}));
168
- export var InvalidCloudWatchLogsLogGroupArnException;
169
- (function (InvalidCloudWatchLogsLogGroupArnException) {
170
- InvalidCloudWatchLogsLogGroupArnException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
171
- })(InvalidCloudWatchLogsLogGroupArnException || (InvalidCloudWatchLogsLogGroupArnException = {}));
172
- export var InvalidCloudWatchLogsRoleArnException;
173
- (function (InvalidCloudWatchLogsRoleArnException) {
174
- InvalidCloudWatchLogsRoleArnException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
175
- })(InvalidCloudWatchLogsRoleArnException || (InvalidCloudWatchLogsRoleArnException = {}));
176
- export var InvalidKmsKeyIdException;
177
- (function (InvalidKmsKeyIdException) {
178
- InvalidKmsKeyIdException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
179
- })(InvalidKmsKeyIdException || (InvalidKmsKeyIdException = {}));
180
- export var InvalidParameterCombinationException;
181
- (function (InvalidParameterCombinationException) {
182
- InvalidParameterCombinationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
183
- })(InvalidParameterCombinationException || (InvalidParameterCombinationException = {}));
184
- export var InvalidS3BucketNameException;
185
- (function (InvalidS3BucketNameException) {
186
- InvalidS3BucketNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
- })(InvalidS3BucketNameException || (InvalidS3BucketNameException = {}));
188
- export var InvalidS3PrefixException;
189
- (function (InvalidS3PrefixException) {
190
- InvalidS3PrefixException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
191
- })(InvalidS3PrefixException || (InvalidS3PrefixException = {}));
192
- export var InvalidSnsTopicNameException;
193
- (function (InvalidSnsTopicNameException) {
194
- InvalidSnsTopicNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
195
- })(InvalidSnsTopicNameException || (InvalidSnsTopicNameException = {}));
196
- export var KmsException;
197
- (function (KmsException) {
198
- KmsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
199
- })(KmsException || (KmsException = {}));
200
- export var KmsKeyDisabledException;
201
- (function (KmsKeyDisabledException) {
202
- KmsKeyDisabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
203
- })(KmsKeyDisabledException || (KmsKeyDisabledException = {}));
204
- export var KmsKeyNotFoundException;
205
- (function (KmsKeyNotFoundException) {
206
- KmsKeyNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
207
- })(KmsKeyNotFoundException || (KmsKeyNotFoundException = {}));
208
- export var MaximumNumberOfTrailsExceededException;
209
- (function (MaximumNumberOfTrailsExceededException) {
210
- MaximumNumberOfTrailsExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
211
- })(MaximumNumberOfTrailsExceededException || (MaximumNumberOfTrailsExceededException = {}));
212
- export var S3BucketDoesNotExistException;
213
- (function (S3BucketDoesNotExistException) {
214
- S3BucketDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
215
- })(S3BucketDoesNotExistException || (S3BucketDoesNotExistException = {}));
216
- export var TrailAlreadyExistsException;
217
- (function (TrailAlreadyExistsException) {
218
- TrailAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
219
- })(TrailAlreadyExistsException || (TrailAlreadyExistsException = {}));
220
- export var TrailNotProvidedException;
221
- (function (TrailNotProvidedException) {
222
- TrailNotProvidedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
223
- })(TrailNotProvidedException || (TrailNotProvidedException = {}));
224
60
  export var DeleteEventDataStoreRequest;
225
61
  (function (DeleteEventDataStoreRequest) {
226
62
  DeleteEventDataStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -229,10 +65,6 @@ export var DeleteEventDataStoreResponse;
229
65
  (function (DeleteEventDataStoreResponse) {
230
66
  DeleteEventDataStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
231
67
  })(DeleteEventDataStoreResponse || (DeleteEventDataStoreResponse = {}));
232
- export var EventDataStoreTerminationProtectedException;
233
- (function (EventDataStoreTerminationProtectedException) {
234
- EventDataStoreTerminationProtectedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
235
- })(EventDataStoreTerminationProtectedException || (EventDataStoreTerminationProtectedException = {}));
236
68
  export var DeleteTrailRequest;
237
69
  (function (DeleteTrailRequest) {
238
70
  DeleteTrailRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -241,14 +73,6 @@ export var DeleteTrailResponse;
241
73
  (function (DeleteTrailResponse) {
242
74
  DeleteTrailResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
243
75
  })(DeleteTrailResponse || (DeleteTrailResponse = {}));
244
- export var InvalidHomeRegionException;
245
- (function (InvalidHomeRegionException) {
246
- InvalidHomeRegionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
247
- })(InvalidHomeRegionException || (InvalidHomeRegionException = {}));
248
- export var TrailNotFoundException;
249
- (function (TrailNotFoundException) {
250
- TrailNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
251
- })(TrailNotFoundException || (TrailNotFoundException = {}));
252
76
  export var DescribeQueryRequest;
253
77
  (function (DescribeQueryRequest) {
254
78
  DescribeQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -320,10 +144,6 @@ export var GetInsightSelectorsResponse;
320
144
  (function (GetInsightSelectorsResponse) {
321
145
  GetInsightSelectorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
322
146
  })(GetInsightSelectorsResponse || (GetInsightSelectorsResponse = {}));
323
- export var InsightNotEnabledException;
324
- (function (InsightNotEnabledException) {
325
- InsightNotEnabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
326
- })(InsightNotEnabledException || (InsightNotEnabledException = {}));
327
147
  export var GetQueryResultsRequest;
328
148
  (function (GetQueryResultsRequest) {
329
149
  GetQueryResultsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -336,14 +156,6 @@ export var GetQueryResultsResponse;
336
156
  (function (GetQueryResultsResponse) {
337
157
  GetQueryResultsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
338
158
  })(GetQueryResultsResponse || (GetQueryResultsResponse = {}));
339
- export var InvalidMaxResultsException;
340
- (function (InvalidMaxResultsException) {
341
- InvalidMaxResultsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
342
- })(InvalidMaxResultsException || (InvalidMaxResultsException = {}));
343
- export var InvalidNextTokenException;
344
- (function (InvalidNextTokenException) {
345
- InvalidNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
346
- })(InvalidNextTokenException || (InvalidNextTokenException = {}));
347
159
  export var GetTrailRequest;
348
160
  (function (GetTrailRequest) {
349
161
  GetTrailRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -372,14 +184,6 @@ export var ListEventDataStoresResponse;
372
184
  (function (ListEventDataStoresResponse) {
373
185
  ListEventDataStoresResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
374
186
  })(ListEventDataStoresResponse || (ListEventDataStoresResponse = {}));
375
- export var InvalidTimeRangeException;
376
- (function (InvalidTimeRangeException) {
377
- InvalidTimeRangeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
378
- })(InvalidTimeRangeException || (InvalidTimeRangeException = {}));
379
- export var InvalidTokenException;
380
- (function (InvalidTokenException) {
381
- InvalidTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
382
- })(InvalidTokenException || (InvalidTokenException = {}));
383
187
  export var ListPublicKeysRequest;
384
188
  (function (ListPublicKeysRequest) {
385
189
  ListPublicKeysRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -392,14 +196,6 @@ export var ListPublicKeysResponse;
392
196
  (function (ListPublicKeysResponse) {
393
197
  ListPublicKeysResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
394
198
  })(ListPublicKeysResponse || (ListPublicKeysResponse = {}));
395
- export var InvalidDateRangeException;
396
- (function (InvalidDateRangeException) {
397
- InvalidDateRangeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
398
- })(InvalidDateRangeException || (InvalidDateRangeException = {}));
399
- export var InvalidQueryStatusException;
400
- (function (InvalidQueryStatusException) {
401
- InvalidQueryStatusException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
402
- })(InvalidQueryStatusException || (InvalidQueryStatusException = {}));
403
199
  export var ListQueriesRequest;
404
200
  (function (ListQueriesRequest) {
405
201
  ListQueriesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -436,14 +232,6 @@ export var ListTrailsResponse;
436
232
  (function (ListTrailsResponse) {
437
233
  ListTrailsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
438
234
  })(ListTrailsResponse || (ListTrailsResponse = {}));
439
- export var InvalidEventCategoryException;
440
- (function (InvalidEventCategoryException) {
441
- InvalidEventCategoryException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
442
- })(InvalidEventCategoryException || (InvalidEventCategoryException = {}));
443
- export var InvalidLookupAttributesException;
444
- (function (InvalidLookupAttributesException) {
445
- InvalidLookupAttributesException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
446
- })(InvalidLookupAttributesException || (InvalidLookupAttributesException = {}));
447
235
  export var EventCategory;
448
236
  (function (EventCategory) {
449
237
  EventCategory["Insight"] = "insight";
@@ -479,10 +267,6 @@ export var LookupEventsResponse;
479
267
  (function (LookupEventsResponse) {
480
268
  LookupEventsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
481
269
  })(LookupEventsResponse || (LookupEventsResponse = {}));
482
- export var InvalidEventSelectorsException;
483
- (function (InvalidEventSelectorsException) {
484
- InvalidEventSelectorsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
485
- })(InvalidEventSelectorsException || (InvalidEventSelectorsException = {}));
486
270
  export var PutEventSelectorsRequest;
487
271
  (function (PutEventSelectorsRequest) {
488
272
  PutEventSelectorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -491,10 +275,6 @@ export var PutEventSelectorsResponse;
491
275
  (function (PutEventSelectorsResponse) {
492
276
  PutEventSelectorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
493
277
  })(PutEventSelectorsResponse || (PutEventSelectorsResponse = {}));
494
- export var InvalidInsightSelectorsException;
495
- (function (InvalidInsightSelectorsException) {
496
- InvalidInsightSelectorsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
497
- })(InvalidInsightSelectorsException || (InvalidInsightSelectorsException = {}));
498
278
  export var PutInsightSelectorsRequest;
499
279
  (function (PutInsightSelectorsRequest) {
500
280
  PutInsightSelectorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -511,10 +291,6 @@ export var RemoveTagsResponse;
511
291
  (function (RemoveTagsResponse) {
512
292
  RemoveTagsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
513
293
  })(RemoveTagsResponse || (RemoveTagsResponse = {}));
514
- export var InvalidEventDataStoreStatusException;
515
- (function (InvalidEventDataStoreStatusException) {
516
- InvalidEventDataStoreStatusException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
517
- })(InvalidEventDataStoreStatusException || (InvalidEventDataStoreStatusException = {}));
518
294
  export var RestoreEventDataStoreRequest;
519
295
  (function (RestoreEventDataStoreRequest) {
520
296
  RestoreEventDataStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -531,14 +307,6 @@ export var StartLoggingResponse;
531
307
  (function (StartLoggingResponse) {
532
308
  StartLoggingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
533
309
  })(StartLoggingResponse || (StartLoggingResponse = {}));
534
- export var InvalidQueryStatementException;
535
- (function (InvalidQueryStatementException) {
536
- InvalidQueryStatementException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
537
- })(InvalidQueryStatementException || (InvalidQueryStatementException = {}));
538
- export var MaxConcurrentQueriesException;
539
- (function (MaxConcurrentQueriesException) {
540
- MaxConcurrentQueriesException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
541
- })(MaxConcurrentQueriesException || (MaxConcurrentQueriesException = {}));
542
310
  export var StartQueryRequest;
543
311
  (function (StartQueryRequest) {
544
312
  StartQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,19 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
17
  export var getRuntimeConfig = function (config) {
16
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
17
21
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
19
28
  };
@@ -80,12 +80,12 @@ export declare class CloudTrail extends CloudTrailClient {
80
80
  createTrail(args: CreateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
81
81
  /**
82
82
  * <p>Disables the event data store specified by <code>EventDataStore</code>, which accepts an event data store ARN.
83
- * After you run <code>DeleteEventDataStore</code>, the event data store is automatically deleted after a wait period of
83
+ * After you run <code>DeleteEventDataStore</code>, the event data store enters a <code>PENDING_DELETION</code> state, and is automatically deleted after a wait period of
84
84
  * seven days. <code>TerminationProtectionEnabled</code> must be set to <code>False</code> on the event data store; this
85
85
  * operation cannot work if <code>TerminationProtectionEnabled</code> is <code>True</code>.</p>
86
86
  * <p>After you run <code>DeleteEventDataStore</code> on an event data store, you cannot run <code>ListQueries</code>,
87
87
  * <code>DescribeQuery</code>, or <code>GetQueryResults</code> on queries that are using an event data store in a
88
- * <code>PENDING_DELETION</code> state.</p>
88
+ * <code>PENDING_DELETION</code> state. An event data store in the <code>PENDING_DELETION</code> state does not incur costs.</p>
89
89
  */
90
90
  deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventDataStoreCommandOutput>;
91
91
  deleteEventDataStore(args: DeleteEventDataStoreCommandInput, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
10
10
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
@@ -137,6 +137,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
137
137
  * @internal
138
138
  */
139
139
  defaultUserAgentProvider?: Provider<__UserAgent>;
140
+ /**
141
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
142
+ */
143
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
140
144
  }
141
145
  declare type CloudTrailClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
142
146
  /**
@@ -8,12 +8,12 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
8
8
  }
9
9
  /**
10
10
  * <p>Disables the event data store specified by <code>EventDataStore</code>, which accepts an event data store ARN.
11
- * After you run <code>DeleteEventDataStore</code>, the event data store is automatically deleted after a wait period of
11
+ * After you run <code>DeleteEventDataStore</code>, the event data store enters a <code>PENDING_DELETION</code> state, and is automatically deleted after a wait period of
12
12
  * seven days. <code>TerminationProtectionEnabled</code> must be set to <code>False</code> on the event data store; this
13
13
  * operation cannot work if <code>TerminationProtectionEnabled</code> is <code>True</code>.</p>
14
14
  * <p>After you run <code>DeleteEventDataStore</code> on an event data store, you cannot run <code>ListQueries</code>,
15
15
  * <code>DescribeQuery</code>, or <code>GetQueryResults</code> on queries that are using an event data store in a
16
- * <code>PENDING_DELETION</code> state.</p>
16
+ * <code>PENDING_DELETION</code> state. An event data store in the <code>PENDING_DELETION</code> state does not incur costs.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript