@aws-sdk/client-cloudtrail 3.46.0 → 3.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
18
 
8
19
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "us-east-1": {
7
7
  variants: [
8
- {
9
- hostname: "cloudtrail.us-east-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "cloudtrail-fips.us-east-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "us-east-2": {
19
15
  variants: [
20
- {
21
- hostname: "cloudtrail.us-east-2.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "cloudtrail-fips.us-east-2.amazonaws.com",
26
18
  tags: ["fips"],
@@ -47,10 +39,6 @@ const regionHash = {
47
39
  },
48
40
  "us-west-1": {
49
41
  variants: [
50
- {
51
- hostname: "cloudtrail.us-west-1.amazonaws.com",
52
- tags: [],
53
- },
54
42
  {
55
43
  hostname: "cloudtrail-fips.us-west-1.amazonaws.com",
56
44
  tags: ["fips"],
@@ -59,10 +47,6 @@ const regionHash = {
59
47
  },
60
48
  "us-west-2": {
61
49
  variants: [
62
- {
63
- hostname: "cloudtrail.us-west-2.amazonaws.com",
64
- tags: [],
65
- },
66
50
  {
67
51
  hostname: "cloudtrail-fips.us-west-2.amazonaws.com",
68
52
  tags: ["fips"],
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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;
6
5
  var Tag;
7
6
  (function (Tag) {
8
7
  Tag.filterSensitiveLog = (obj) => ({
@@ -21,78 +20,6 @@ var AddTagsResponse;
21
20
  ...obj,
22
21
  });
23
22
  })(AddTagsResponse = exports.AddTagsResponse || (exports.AddTagsResponse = {}));
24
- var CloudTrailARNInvalidException;
25
- (function (CloudTrailARNInvalidException) {
26
- CloudTrailARNInvalidException.filterSensitiveLog = (obj) => ({
27
- ...obj,
28
- });
29
- })(CloudTrailARNInvalidException = exports.CloudTrailARNInvalidException || (exports.CloudTrailARNInvalidException = {}));
30
- var ConflictException;
31
- (function (ConflictException) {
32
- ConflictException.filterSensitiveLog = (obj) => ({
33
- ...obj,
34
- });
35
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
36
- var EventDataStoreNotFoundException;
37
- (function (EventDataStoreNotFoundException) {
38
- EventDataStoreNotFoundException.filterSensitiveLog = (obj) => ({
39
- ...obj,
40
- });
41
- })(EventDataStoreNotFoundException = exports.EventDataStoreNotFoundException || (exports.EventDataStoreNotFoundException = {}));
42
- var InactiveEventDataStoreException;
43
- (function (InactiveEventDataStoreException) {
44
- InactiveEventDataStoreException.filterSensitiveLog = (obj) => ({
45
- ...obj,
46
- });
47
- })(InactiveEventDataStoreException = exports.InactiveEventDataStoreException || (exports.InactiveEventDataStoreException = {}));
48
- var InvalidTagParameterException;
49
- (function (InvalidTagParameterException) {
50
- InvalidTagParameterException.filterSensitiveLog = (obj) => ({
51
- ...obj,
52
- });
53
- })(InvalidTagParameterException = exports.InvalidTagParameterException || (exports.InvalidTagParameterException = {}));
54
- var InvalidTrailNameException;
55
- (function (InvalidTrailNameException) {
56
- InvalidTrailNameException.filterSensitiveLog = (obj) => ({
57
- ...obj,
58
- });
59
- })(InvalidTrailNameException = exports.InvalidTrailNameException || (exports.InvalidTrailNameException = {}));
60
- var NotOrganizationMasterAccountException;
61
- (function (NotOrganizationMasterAccountException) {
62
- NotOrganizationMasterAccountException.filterSensitiveLog = (obj) => ({
63
- ...obj,
64
- });
65
- })(NotOrganizationMasterAccountException = exports.NotOrganizationMasterAccountException || (exports.NotOrganizationMasterAccountException = {}));
66
- var OperationNotPermittedException;
67
- (function (OperationNotPermittedException) {
68
- OperationNotPermittedException.filterSensitiveLog = (obj) => ({
69
- ...obj,
70
- });
71
- })(OperationNotPermittedException = exports.OperationNotPermittedException || (exports.OperationNotPermittedException = {}));
72
- var ResourceNotFoundException;
73
- (function (ResourceNotFoundException) {
74
- ResourceNotFoundException.filterSensitiveLog = (obj) => ({
75
- ...obj,
76
- });
77
- })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
78
- var ResourceTypeNotSupportedException;
79
- (function (ResourceTypeNotSupportedException) {
80
- ResourceTypeNotSupportedException.filterSensitiveLog = (obj) => ({
81
- ...obj,
82
- });
83
- })(ResourceTypeNotSupportedException = exports.ResourceTypeNotSupportedException || (exports.ResourceTypeNotSupportedException = {}));
84
- var TagsLimitExceededException;
85
- (function (TagsLimitExceededException) {
86
- TagsLimitExceededException.filterSensitiveLog = (obj) => ({
87
- ...obj,
88
- });
89
- })(TagsLimitExceededException = exports.TagsLimitExceededException || (exports.TagsLimitExceededException = {}));
90
- var UnsupportedOperationException;
91
- (function (UnsupportedOperationException) {
92
- UnsupportedOperationException.filterSensitiveLog = (obj) => ({
93
- ...obj,
94
- });
95
- })(UnsupportedOperationException = exports.UnsupportedOperationException || (exports.UnsupportedOperationException = {}));
96
23
  var AdvancedFieldSelector;
97
24
  (function (AdvancedFieldSelector) {
98
25
  AdvancedFieldSelector.filterSensitiveLog = (obj) => ({
@@ -125,36 +52,6 @@ var CancelQueryResponse;
125
52
  ...obj,
126
53
  });
127
54
  })(CancelQueryResponse = exports.CancelQueryResponse || (exports.CancelQueryResponse = {}));
128
- var EventDataStoreARNInvalidException;
129
- (function (EventDataStoreARNInvalidException) {
130
- EventDataStoreARNInvalidException.filterSensitiveLog = (obj) => ({
131
- ...obj,
132
- });
133
- })(EventDataStoreARNInvalidException = exports.EventDataStoreARNInvalidException || (exports.EventDataStoreARNInvalidException = {}));
134
- var InactiveQueryException;
135
- (function (InactiveQueryException) {
136
- InactiveQueryException.filterSensitiveLog = (obj) => ({
137
- ...obj,
138
- });
139
- })(InactiveQueryException = exports.InactiveQueryException || (exports.InactiveQueryException = {}));
140
- var InvalidParameterException;
141
- (function (InvalidParameterException) {
142
- InvalidParameterException.filterSensitiveLog = (obj) => ({
143
- ...obj,
144
- });
145
- })(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
146
- var QueryIdNotFoundException;
147
- (function (QueryIdNotFoundException) {
148
- QueryIdNotFoundException.filterSensitiveLog = (obj) => ({
149
- ...obj,
150
- });
151
- })(QueryIdNotFoundException = exports.QueryIdNotFoundException || (exports.QueryIdNotFoundException = {}));
152
- var CloudTrailAccessNotEnabledException;
153
- (function (CloudTrailAccessNotEnabledException) {
154
- CloudTrailAccessNotEnabledException.filterSensitiveLog = (obj) => ({
155
- ...obj,
156
- });
157
- })(CloudTrailAccessNotEnabledException = exports.CloudTrailAccessNotEnabledException || (exports.CloudTrailAccessNotEnabledException = {}));
158
55
  var CreateEventDataStoreRequest;
159
56
  (function (CreateEventDataStoreRequest) {
160
57
  CreateEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -173,48 +70,6 @@ var CreateEventDataStoreResponse;
173
70
  ...obj,
174
71
  });
175
72
  })(CreateEventDataStoreResponse = exports.CreateEventDataStoreResponse || (exports.CreateEventDataStoreResponse = {}));
176
- var EventDataStoreAlreadyExistsException;
177
- (function (EventDataStoreAlreadyExistsException) {
178
- EventDataStoreAlreadyExistsException.filterSensitiveLog = (obj) => ({
179
- ...obj,
180
- });
181
- })(EventDataStoreAlreadyExistsException = exports.EventDataStoreAlreadyExistsException || (exports.EventDataStoreAlreadyExistsException = {}));
182
- var EventDataStoreMaxLimitExceededException;
183
- (function (EventDataStoreMaxLimitExceededException) {
184
- EventDataStoreMaxLimitExceededException.filterSensitiveLog = (obj) => ({
185
- ...obj,
186
- });
187
- })(EventDataStoreMaxLimitExceededException = exports.EventDataStoreMaxLimitExceededException || (exports.EventDataStoreMaxLimitExceededException = {}));
188
- var InsufficientDependencyServiceAccessPermissionException;
189
- (function (InsufficientDependencyServiceAccessPermissionException) {
190
- InsufficientDependencyServiceAccessPermissionException.filterSensitiveLog = (obj) => ({
191
- ...obj,
192
- });
193
- })(InsufficientDependencyServiceAccessPermissionException = exports.InsufficientDependencyServiceAccessPermissionException || (exports.InsufficientDependencyServiceAccessPermissionException = {}));
194
- var OrganizationNotInAllFeaturesModeException;
195
- (function (OrganizationNotInAllFeaturesModeException) {
196
- OrganizationNotInAllFeaturesModeException.filterSensitiveLog = (obj) => ({
197
- ...obj,
198
- });
199
- })(OrganizationNotInAllFeaturesModeException = exports.OrganizationNotInAllFeaturesModeException || (exports.OrganizationNotInAllFeaturesModeException = {}));
200
- var OrganizationsNotInUseException;
201
- (function (OrganizationsNotInUseException) {
202
- OrganizationsNotInUseException.filterSensitiveLog = (obj) => ({
203
- ...obj,
204
- });
205
- })(OrganizationsNotInUseException = exports.OrganizationsNotInUseException || (exports.OrganizationsNotInUseException = {}));
206
- var CloudTrailInvalidClientTokenIdException;
207
- (function (CloudTrailInvalidClientTokenIdException) {
208
- CloudTrailInvalidClientTokenIdException.filterSensitiveLog = (obj) => ({
209
- ...obj,
210
- });
211
- })(CloudTrailInvalidClientTokenIdException = exports.CloudTrailInvalidClientTokenIdException || (exports.CloudTrailInvalidClientTokenIdException = {}));
212
- var CloudWatchLogsDeliveryUnavailableException;
213
- (function (CloudWatchLogsDeliveryUnavailableException) {
214
- CloudWatchLogsDeliveryUnavailableException.filterSensitiveLog = (obj) => ({
215
- ...obj,
216
- });
217
- })(CloudWatchLogsDeliveryUnavailableException = exports.CloudWatchLogsDeliveryUnavailableException || (exports.CloudWatchLogsDeliveryUnavailableException = {}));
218
73
  var CreateTrailRequest;
219
74
  (function (CreateTrailRequest) {
220
75
  CreateTrailRequest.filterSensitiveLog = (obj) => ({
@@ -227,108 +82,6 @@ var CreateTrailResponse;
227
82
  ...obj,
228
83
  });
229
84
  })(CreateTrailResponse = exports.CreateTrailResponse || (exports.CreateTrailResponse = {}));
230
- var InsufficientEncryptionPolicyException;
231
- (function (InsufficientEncryptionPolicyException) {
232
- InsufficientEncryptionPolicyException.filterSensitiveLog = (obj) => ({
233
- ...obj,
234
- });
235
- })(InsufficientEncryptionPolicyException = exports.InsufficientEncryptionPolicyException || (exports.InsufficientEncryptionPolicyException = {}));
236
- var InsufficientS3BucketPolicyException;
237
- (function (InsufficientS3BucketPolicyException) {
238
- InsufficientS3BucketPolicyException.filterSensitiveLog = (obj) => ({
239
- ...obj,
240
- });
241
- })(InsufficientS3BucketPolicyException = exports.InsufficientS3BucketPolicyException || (exports.InsufficientS3BucketPolicyException = {}));
242
- var InsufficientSnsTopicPolicyException;
243
- (function (InsufficientSnsTopicPolicyException) {
244
- InsufficientSnsTopicPolicyException.filterSensitiveLog = (obj) => ({
245
- ...obj,
246
- });
247
- })(InsufficientSnsTopicPolicyException = exports.InsufficientSnsTopicPolicyException || (exports.InsufficientSnsTopicPolicyException = {}));
248
- var InvalidCloudWatchLogsLogGroupArnException;
249
- (function (InvalidCloudWatchLogsLogGroupArnException) {
250
- InvalidCloudWatchLogsLogGroupArnException.filterSensitiveLog = (obj) => ({
251
- ...obj,
252
- });
253
- })(InvalidCloudWatchLogsLogGroupArnException = exports.InvalidCloudWatchLogsLogGroupArnException || (exports.InvalidCloudWatchLogsLogGroupArnException = {}));
254
- var InvalidCloudWatchLogsRoleArnException;
255
- (function (InvalidCloudWatchLogsRoleArnException) {
256
- InvalidCloudWatchLogsRoleArnException.filterSensitiveLog = (obj) => ({
257
- ...obj,
258
- });
259
- })(InvalidCloudWatchLogsRoleArnException = exports.InvalidCloudWatchLogsRoleArnException || (exports.InvalidCloudWatchLogsRoleArnException = {}));
260
- var InvalidKmsKeyIdException;
261
- (function (InvalidKmsKeyIdException) {
262
- InvalidKmsKeyIdException.filterSensitiveLog = (obj) => ({
263
- ...obj,
264
- });
265
- })(InvalidKmsKeyIdException = exports.InvalidKmsKeyIdException || (exports.InvalidKmsKeyIdException = {}));
266
- var InvalidParameterCombinationException;
267
- (function (InvalidParameterCombinationException) {
268
- InvalidParameterCombinationException.filterSensitiveLog = (obj) => ({
269
- ...obj,
270
- });
271
- })(InvalidParameterCombinationException = exports.InvalidParameterCombinationException || (exports.InvalidParameterCombinationException = {}));
272
- var InvalidS3BucketNameException;
273
- (function (InvalidS3BucketNameException) {
274
- InvalidS3BucketNameException.filterSensitiveLog = (obj) => ({
275
- ...obj,
276
- });
277
- })(InvalidS3BucketNameException = exports.InvalidS3BucketNameException || (exports.InvalidS3BucketNameException = {}));
278
- var InvalidS3PrefixException;
279
- (function (InvalidS3PrefixException) {
280
- InvalidS3PrefixException.filterSensitiveLog = (obj) => ({
281
- ...obj,
282
- });
283
- })(InvalidS3PrefixException = exports.InvalidS3PrefixException || (exports.InvalidS3PrefixException = {}));
284
- var InvalidSnsTopicNameException;
285
- (function (InvalidSnsTopicNameException) {
286
- InvalidSnsTopicNameException.filterSensitiveLog = (obj) => ({
287
- ...obj,
288
- });
289
- })(InvalidSnsTopicNameException = exports.InvalidSnsTopicNameException || (exports.InvalidSnsTopicNameException = {}));
290
- var KmsException;
291
- (function (KmsException) {
292
- KmsException.filterSensitiveLog = (obj) => ({
293
- ...obj,
294
- });
295
- })(KmsException = exports.KmsException || (exports.KmsException = {}));
296
- var KmsKeyDisabledException;
297
- (function (KmsKeyDisabledException) {
298
- KmsKeyDisabledException.filterSensitiveLog = (obj) => ({
299
- ...obj,
300
- });
301
- })(KmsKeyDisabledException = exports.KmsKeyDisabledException || (exports.KmsKeyDisabledException = {}));
302
- var KmsKeyNotFoundException;
303
- (function (KmsKeyNotFoundException) {
304
- KmsKeyNotFoundException.filterSensitiveLog = (obj) => ({
305
- ...obj,
306
- });
307
- })(KmsKeyNotFoundException = exports.KmsKeyNotFoundException || (exports.KmsKeyNotFoundException = {}));
308
- var MaximumNumberOfTrailsExceededException;
309
- (function (MaximumNumberOfTrailsExceededException) {
310
- MaximumNumberOfTrailsExceededException.filterSensitiveLog = (obj) => ({
311
- ...obj,
312
- });
313
- })(MaximumNumberOfTrailsExceededException = exports.MaximumNumberOfTrailsExceededException || (exports.MaximumNumberOfTrailsExceededException = {}));
314
- var S3BucketDoesNotExistException;
315
- (function (S3BucketDoesNotExistException) {
316
- S3BucketDoesNotExistException.filterSensitiveLog = (obj) => ({
317
- ...obj,
318
- });
319
- })(S3BucketDoesNotExistException = exports.S3BucketDoesNotExistException || (exports.S3BucketDoesNotExistException = {}));
320
- var TrailAlreadyExistsException;
321
- (function (TrailAlreadyExistsException) {
322
- TrailAlreadyExistsException.filterSensitiveLog = (obj) => ({
323
- ...obj,
324
- });
325
- })(TrailAlreadyExistsException = exports.TrailAlreadyExistsException || (exports.TrailAlreadyExistsException = {}));
326
- var TrailNotProvidedException;
327
- (function (TrailNotProvidedException) {
328
- TrailNotProvidedException.filterSensitiveLog = (obj) => ({
329
- ...obj,
330
- });
331
- })(TrailNotProvidedException = exports.TrailNotProvidedException || (exports.TrailNotProvidedException = {}));
332
85
  var DeleteEventDataStoreRequest;
333
86
  (function (DeleteEventDataStoreRequest) {
334
87
  DeleteEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -341,12 +94,6 @@ var DeleteEventDataStoreResponse;
341
94
  ...obj,
342
95
  });
343
96
  })(DeleteEventDataStoreResponse = exports.DeleteEventDataStoreResponse || (exports.DeleteEventDataStoreResponse = {}));
344
- var EventDataStoreTerminationProtectedException;
345
- (function (EventDataStoreTerminationProtectedException) {
346
- EventDataStoreTerminationProtectedException.filterSensitiveLog = (obj) => ({
347
- ...obj,
348
- });
349
- })(EventDataStoreTerminationProtectedException = exports.EventDataStoreTerminationProtectedException || (exports.EventDataStoreTerminationProtectedException = {}));
350
97
  var DeleteTrailRequest;
351
98
  (function (DeleteTrailRequest) {
352
99
  DeleteTrailRequest.filterSensitiveLog = (obj) => ({
@@ -359,18 +106,6 @@ var DeleteTrailResponse;
359
106
  ...obj,
360
107
  });
361
108
  })(DeleteTrailResponse = exports.DeleteTrailResponse || (exports.DeleteTrailResponse = {}));
362
- var InvalidHomeRegionException;
363
- (function (InvalidHomeRegionException) {
364
- InvalidHomeRegionException.filterSensitiveLog = (obj) => ({
365
- ...obj,
366
- });
367
- })(InvalidHomeRegionException = exports.InvalidHomeRegionException || (exports.InvalidHomeRegionException = {}));
368
- var TrailNotFoundException;
369
- (function (TrailNotFoundException) {
370
- TrailNotFoundException.filterSensitiveLog = (obj) => ({
371
- ...obj,
372
- });
373
- })(TrailNotFoundException = exports.TrailNotFoundException || (exports.TrailNotFoundException = {}));
374
109
  var DescribeQueryRequest;
375
110
  (function (DescribeQueryRequest) {
376
111
  DescribeQueryRequest.filterSensitiveLog = (obj) => ({
@@ -472,12 +207,6 @@ var GetInsightSelectorsResponse;
472
207
  ...obj,
473
208
  });
474
209
  })(GetInsightSelectorsResponse = exports.GetInsightSelectorsResponse || (exports.GetInsightSelectorsResponse = {}));
475
- var InsightNotEnabledException;
476
- (function (InsightNotEnabledException) {
477
- InsightNotEnabledException.filterSensitiveLog = (obj) => ({
478
- ...obj,
479
- });
480
- })(InsightNotEnabledException = exports.InsightNotEnabledException || (exports.InsightNotEnabledException = {}));
481
210
  var GetQueryResultsRequest;
482
211
  (function (GetQueryResultsRequest) {
483
212
  GetQueryResultsRequest.filterSensitiveLog = (obj) => ({
@@ -496,18 +225,6 @@ var GetQueryResultsResponse;
496
225
  ...obj,
497
226
  });
498
227
  })(GetQueryResultsResponse = exports.GetQueryResultsResponse || (exports.GetQueryResultsResponse = {}));
499
- var InvalidMaxResultsException;
500
- (function (InvalidMaxResultsException) {
501
- InvalidMaxResultsException.filterSensitiveLog = (obj) => ({
502
- ...obj,
503
- });
504
- })(InvalidMaxResultsException = exports.InvalidMaxResultsException || (exports.InvalidMaxResultsException = {}));
505
- var InvalidNextTokenException;
506
- (function (InvalidNextTokenException) {
507
- InvalidNextTokenException.filterSensitiveLog = (obj) => ({
508
- ...obj,
509
- });
510
- })(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
511
228
  var GetTrailRequest;
512
229
  (function (GetTrailRequest) {
513
230
  GetTrailRequest.filterSensitiveLog = (obj) => ({
@@ -550,18 +267,6 @@ var ListEventDataStoresResponse;
550
267
  ...obj,
551
268
  });
552
269
  })(ListEventDataStoresResponse = exports.ListEventDataStoresResponse || (exports.ListEventDataStoresResponse = {}));
553
- var InvalidTimeRangeException;
554
- (function (InvalidTimeRangeException) {
555
- InvalidTimeRangeException.filterSensitiveLog = (obj) => ({
556
- ...obj,
557
- });
558
- })(InvalidTimeRangeException = exports.InvalidTimeRangeException || (exports.InvalidTimeRangeException = {}));
559
- var InvalidTokenException;
560
- (function (InvalidTokenException) {
561
- InvalidTokenException.filterSensitiveLog = (obj) => ({
562
- ...obj,
563
- });
564
- })(InvalidTokenException = exports.InvalidTokenException || (exports.InvalidTokenException = {}));
565
270
  var ListPublicKeysRequest;
566
271
  (function (ListPublicKeysRequest) {
567
272
  ListPublicKeysRequest.filterSensitiveLog = (obj) => ({
@@ -580,18 +285,6 @@ var ListPublicKeysResponse;
580
285
  ...obj,
581
286
  });
582
287
  })(ListPublicKeysResponse = exports.ListPublicKeysResponse || (exports.ListPublicKeysResponse = {}));
583
- var InvalidDateRangeException;
584
- (function (InvalidDateRangeException) {
585
- InvalidDateRangeException.filterSensitiveLog = (obj) => ({
586
- ...obj,
587
- });
588
- })(InvalidDateRangeException = exports.InvalidDateRangeException || (exports.InvalidDateRangeException = {}));
589
- var InvalidQueryStatusException;
590
- (function (InvalidQueryStatusException) {
591
- InvalidQueryStatusException.filterSensitiveLog = (obj) => ({
592
- ...obj,
593
- });
594
- })(InvalidQueryStatusException = exports.InvalidQueryStatusException || (exports.InvalidQueryStatusException = {}));
595
288
  var ListQueriesRequest;
596
289
  (function (ListQueriesRequest) {
597
290
  ListQueriesRequest.filterSensitiveLog = (obj) => ({
@@ -646,18 +339,6 @@ var ListTrailsResponse;
646
339
  ...obj,
647
340
  });
648
341
  })(ListTrailsResponse = exports.ListTrailsResponse || (exports.ListTrailsResponse = {}));
649
- var InvalidEventCategoryException;
650
- (function (InvalidEventCategoryException) {
651
- InvalidEventCategoryException.filterSensitiveLog = (obj) => ({
652
- ...obj,
653
- });
654
- })(InvalidEventCategoryException = exports.InvalidEventCategoryException || (exports.InvalidEventCategoryException = {}));
655
- var InvalidLookupAttributesException;
656
- (function (InvalidLookupAttributesException) {
657
- InvalidLookupAttributesException.filterSensitiveLog = (obj) => ({
658
- ...obj,
659
- });
660
- })(InvalidLookupAttributesException = exports.InvalidLookupAttributesException || (exports.InvalidLookupAttributesException = {}));
661
342
  var EventCategory;
662
343
  (function (EventCategory) {
663
344
  EventCategory["Insight"] = "insight";
@@ -703,12 +384,6 @@ var LookupEventsResponse;
703
384
  ...obj,
704
385
  });
705
386
  })(LookupEventsResponse = exports.LookupEventsResponse || (exports.LookupEventsResponse = {}));
706
- var InvalidEventSelectorsException;
707
- (function (InvalidEventSelectorsException) {
708
- InvalidEventSelectorsException.filterSensitiveLog = (obj) => ({
709
- ...obj,
710
- });
711
- })(InvalidEventSelectorsException = exports.InvalidEventSelectorsException || (exports.InvalidEventSelectorsException = {}));
712
387
  var PutEventSelectorsRequest;
713
388
  (function (PutEventSelectorsRequest) {
714
389
  PutEventSelectorsRequest.filterSensitiveLog = (obj) => ({
@@ -721,12 +396,6 @@ var PutEventSelectorsResponse;
721
396
  ...obj,
722
397
  });
723
398
  })(PutEventSelectorsResponse = exports.PutEventSelectorsResponse || (exports.PutEventSelectorsResponse = {}));
724
- var InvalidInsightSelectorsException;
725
- (function (InvalidInsightSelectorsException) {
726
- InvalidInsightSelectorsException.filterSensitiveLog = (obj) => ({
727
- ...obj,
728
- });
729
- })(InvalidInsightSelectorsException = exports.InvalidInsightSelectorsException || (exports.InvalidInsightSelectorsException = {}));
730
399
  var PutInsightSelectorsRequest;
731
400
  (function (PutInsightSelectorsRequest) {
732
401
  PutInsightSelectorsRequest.filterSensitiveLog = (obj) => ({
@@ -751,12 +420,6 @@ var RemoveTagsResponse;
751
420
  ...obj,
752
421
  });
753
422
  })(RemoveTagsResponse = exports.RemoveTagsResponse || (exports.RemoveTagsResponse = {}));
754
- var InvalidEventDataStoreStatusException;
755
- (function (InvalidEventDataStoreStatusException) {
756
- InvalidEventDataStoreStatusException.filterSensitiveLog = (obj) => ({
757
- ...obj,
758
- });
759
- })(InvalidEventDataStoreStatusException = exports.InvalidEventDataStoreStatusException || (exports.InvalidEventDataStoreStatusException = {}));
760
423
  var RestoreEventDataStoreRequest;
761
424
  (function (RestoreEventDataStoreRequest) {
762
425
  RestoreEventDataStoreRequest.filterSensitiveLog = (obj) => ({
@@ -781,18 +444,6 @@ var StartLoggingResponse;
781
444
  ...obj,
782
445
  });
783
446
  })(StartLoggingResponse = exports.StartLoggingResponse || (exports.StartLoggingResponse = {}));
784
- var InvalidQueryStatementException;
785
- (function (InvalidQueryStatementException) {
786
- InvalidQueryStatementException.filterSensitiveLog = (obj) => ({
787
- ...obj,
788
- });
789
- })(InvalidQueryStatementException = exports.InvalidQueryStatementException || (exports.InvalidQueryStatementException = {}));
790
- var MaxConcurrentQueriesException;
791
- (function (MaxConcurrentQueriesException) {
792
- MaxConcurrentQueriesException.filterSensitiveLog = (obj) => ({
793
- ...obj,
794
- });
795
- })(MaxConcurrentQueriesException = exports.MaxConcurrentQueriesException || (exports.MaxConcurrentQueriesException = {}));
796
447
  var StartQueryRequest;
797
448
  (function (StartQueryRequest) {
798
449
  StartQueryRequest.filterSensitiveLog = (obj) => ({
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
18
20
  const getRuntimeConfig = (config) => {
19
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
20
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
21
25
  return {
22
26
  ...clientSharedValues,
23
27
  ...config,
24
28
  runtime: "node",
29
+ defaultsMode,
25
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
26
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
27
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
29
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
32
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
33
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
34
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
35
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
36
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "us-east-1": {
5
5
  variants: [
6
- {
7
- hostname: "cloudtrail.us-east-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "cloudtrail-fips.us-east-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-east-2": {
17
13
  variants: [
18
- {
19
- hostname: "cloudtrail.us-east-2.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "cloudtrail-fips.us-east-2.amazonaws.com",
24
16
  tags: ["fips"],
@@ -45,10 +37,6 @@ var regionHash = {
45
37
  },
46
38
  "us-west-1": {
47
39
  variants: [
48
- {
49
- hostname: "cloudtrail.us-west-1.amazonaws.com",
50
- tags: [],
51
- },
52
40
  {
53
41
  hostname: "cloudtrail-fips.us-west-1.amazonaws.com",
54
42
  tags: ["fips"],
@@ -57,10 +45,6 @@ var regionHash = {
57
45
  },
58
46
  "us-west-2": {
59
47
  variants: [
60
- {
61
- hostname: "cloudtrail.us-west-2.amazonaws.com",
62
- tags: [],
63
- },
64
48
  {
65
49
  hostname: "cloudtrail-fips.us-west-2.amazonaws.com",
66
50
  tags: ["fips"],