@aws-sdk/client-cloudtrail 3.332.0 → 3.335.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 (38) hide show
  1. package/dist-cjs/models/models_0.js +29 -29
  2. package/dist-cjs/protocols/Aws_json1_1.js +22 -1
  3. package/dist-es/models/models_0.js +26 -26
  4. package/dist-es/protocols/Aws_json1_1.js +22 -1
  5. package/dist-types/CloudTrailClient.d.ts +3 -2
  6. package/dist-types/commands/AddTagsCommand.d.ts +8 -0
  7. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateTrailCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteTrailCommand.d.ts +1 -1
  11. package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +1 -1
  12. package/dist-types/commands/GetEventSelectorsCommand.d.ts +2 -2
  13. package/dist-types/commands/ListTagsCommand.d.ts +8 -0
  14. package/dist-types/commands/PutEventSelectorsCommand.d.ts +13 -5
  15. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +5 -0
  16. package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +1 -1
  17. package/dist-types/commands/RemoveTagsCommand.d.ts +8 -0
  18. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +1 -1
  19. package/dist-types/commands/StartLoggingCommand.d.ts +1 -1
  20. package/dist-types/commands/StopLoggingCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +2 -3
  22. package/dist-types/commands/UpdateTrailCommand.d.ts +1 -1
  23. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  24. package/dist-types/models/models_0.d.ts +172 -101
  25. package/dist-types/protocols/Aws_json1_1.d.ts +2 -2
  26. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  27. package/dist-types/runtimeConfig.d.ts +9 -9
  28. package/dist-types/runtimeConfig.native.d.ts +13 -13
  29. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  30. package/dist-types/ts3.4/CloudTrailClient.d.ts +7 -5
  31. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  32. package/dist-types/ts3.4/models/models_0.d.ts +19 -19
  33. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  38. package/package.json +5 -4
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvalidParameterCombinationException = exports.InvalidCloudWatchLogsRoleArnException = exports.InvalidCloudWatchLogsLogGroupArnException = exports.InsufficientSnsTopicPolicyException = exports.InsufficientS3BucketPolicyException = exports.CloudWatchLogsDeliveryUnavailableException = exports.CloudTrailInvalidClientTokenIdException = exports.OrganizationsNotInUseException = exports.OrganizationNotInAllFeaturesModeException = exports.KmsKeyNotFoundException = exports.KmsException = exports.InvalidKmsKeyIdException = exports.InvalidEventSelectorsException = exports.InsufficientEncryptionPolicyException = exports.InsufficientDependencyServiceAccessPermissionException = exports.EventDataStoreMaxLimitExceededException = exports.EventDataStoreAlreadyExistsException = exports.EventDataStoreStatus = exports.CloudTrailAccessNotEnabledException = exports.InvalidSourceException = exports.InvalidEventDataStoreCategoryException = exports.DestinationType = exports.ChannelMaxLimitExceededException = exports.ChannelExistsForEDSException = exports.ChannelARNInvalidException = exports.ChannelAlreadyExistsException = exports.CannotDelegateManagementAccountException = exports.QueryIdNotFoundException = exports.InvalidParameterException = exports.InactiveQueryException = exports.EventDataStoreARNInvalidException = exports.QueryStatus = exports.UnsupportedOperationException = exports.TagsLimitExceededException = exports.ResourceTypeNotSupportedException = exports.ResourceNotFoundException = exports.OperationNotPermittedException = exports.NotOrganizationMasterAccountException = exports.NoManagementAccountSLRExistsException = exports.InvalidTrailNameException = exports.InvalidTagParameterException = exports.InactiveEventDataStoreException = exports.EventDataStoreNotFoundException = exports.ConflictException = exports.CloudTrailARNInvalidException = exports.ChannelNotFoundException = exports.AccountRegisteredException = exports.AccountNotRegisteredException = exports.AccountNotFoundException = exports.AccountHasOngoingImportException = void 0;
3
+ exports.InvalidParameterCombinationException = exports.InvalidCloudWatchLogsRoleArnException = exports.InvalidCloudWatchLogsLogGroupArnException = exports.InsufficientSnsTopicPolicyException = exports.InsufficientS3BucketPolicyException = exports.CloudWatchLogsDeliveryUnavailableException = exports.CloudTrailInvalidClientTokenIdException = exports.OrganizationsNotInUseException = exports.OrganizationNotInAllFeaturesModeException = exports.KmsKeyNotFoundException = exports.KmsException = exports.InvalidKmsKeyIdException = exports.InvalidEventSelectorsException = exports.InsufficientEncryptionPolicyException = exports.InsufficientDependencyServiceAccessPermissionException = exports.EventDataStoreMaxLimitExceededException = exports.EventDataStoreAlreadyExistsException = exports.EventDataStoreStatus = exports.CloudTrailAccessNotEnabledException = exports.InvalidSourceException = exports.InvalidEventDataStoreCategoryException = exports.DestinationType = exports.ChannelMaxLimitExceededException = exports.ChannelExistsForEDSException = exports.ChannelAlreadyExistsException = exports.CannotDelegateManagementAccountException = exports.QueryIdNotFoundException = exports.InvalidParameterException = exports.InactiveQueryException = exports.QueryStatus = exports.UnsupportedOperationException = exports.TagsLimitExceededException = exports.ResourceTypeNotSupportedException = exports.ResourceNotFoundException = exports.OperationNotPermittedException = exports.NotOrganizationMasterAccountException = exports.NoManagementAccountSLRExistsException = exports.InvalidTrailNameException = exports.InvalidTagParameterException = exports.InactiveEventDataStoreException = exports.EventDataStoreNotFoundException = exports.EventDataStoreARNInvalidException = exports.ConflictException = exports.CloudTrailARNInvalidException = exports.ChannelNotFoundException = exports.ChannelARNInvalidException = exports.AccountRegisteredException = exports.AccountNotRegisteredException = exports.AccountNotFoundException = exports.AccountHasOngoingImportException = void 0;
4
4
  exports.MaxConcurrentQueriesException = exports.InvalidQueryStatementException = exports.InvalidImportSourceException = exports.InvalidEventDataStoreStatusException = exports.DelegatedAdminAccountLimitExceededException = exports.ResourcePolicyNotValidException = exports.InvalidInsightSelectorsException = exports.LookupAttributeKey = exports.EventCategory = exports.InvalidLookupAttributesException = exports.InvalidEventCategoryException = exports.InvalidQueryStatusException = exports.InvalidDateRangeException = exports.InvalidTokenException = exports.InvalidTimeRangeException = exports.ImportFailureStatus = exports.InvalidNextTokenException = exports.InvalidMaxResultsException = exports.InsightNotEnabledException = exports.InsightType = exports.ImportNotFoundException = exports.ImportStatus = exports.ReadWriteType = exports.DeliveryStatus = exports.NotOrganizationManagementAccountException = exports.TrailNotFoundException = exports.InvalidHomeRegionException = exports.ResourcePolicyNotFoundException = exports.ResourceARNNotValidException = exports.EventDataStoreTerminationProtectedException = exports.EventDataStoreHasOngoingImportException = exports.TrailNotProvidedException = exports.TrailAlreadyExistsException = exports.S3BucketDoesNotExistException = exports.MaximumNumberOfTrailsExceededException = exports.KmsKeyDisabledException = exports.InvalidSnsTopicNameException = exports.InvalidS3PrefixException = exports.InvalidS3BucketNameException = void 0;
5
5
  const CloudTrailServiceException_1 = require("./CloudTrailServiceException");
6
6
  class AccountHasOngoingImportException extends CloudTrailServiceException_1.CloudTrailServiceException {
@@ -59,6 +59,20 @@ class AccountRegisteredException extends CloudTrailServiceException_1.CloudTrail
59
59
  }
60
60
  }
61
61
  exports.AccountRegisteredException = AccountRegisteredException;
62
+ class ChannelARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
63
+ constructor(opts) {
64
+ super({
65
+ name: "ChannelARNInvalidException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ this.name = "ChannelARNInvalidException";
70
+ this.$fault = "client";
71
+ Object.setPrototypeOf(this, ChannelARNInvalidException.prototype);
72
+ this.Message = opts.Message;
73
+ }
74
+ }
75
+ exports.ChannelARNInvalidException = ChannelARNInvalidException;
62
76
  class ChannelNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
63
77
  constructor(opts) {
64
78
  super({
@@ -101,6 +115,20 @@ class ConflictException extends CloudTrailServiceException_1.CloudTrailServiceEx
101
115
  }
102
116
  }
103
117
  exports.ConflictException = ConflictException;
118
+ class EventDataStoreARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
119
+ constructor(opts) {
120
+ super({
121
+ name: "EventDataStoreARNInvalidException",
122
+ $fault: "client",
123
+ ...opts,
124
+ });
125
+ this.name = "EventDataStoreARNInvalidException";
126
+ this.$fault = "client";
127
+ Object.setPrototypeOf(this, EventDataStoreARNInvalidException.prototype);
128
+ this.Message = opts.Message;
129
+ }
130
+ }
131
+ exports.EventDataStoreARNInvalidException = EventDataStoreARNInvalidException;
104
132
  class EventDataStoreNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
105
133
  constructor(opts) {
106
134
  super({
@@ -263,20 +291,6 @@ exports.QueryStatus = {
263
291
  RUNNING: "RUNNING",
264
292
  TIMED_OUT: "TIMED_OUT",
265
293
  };
266
- class EventDataStoreARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
267
- constructor(opts) {
268
- super({
269
- name: "EventDataStoreARNInvalidException",
270
- $fault: "client",
271
- ...opts,
272
- });
273
- this.name = "EventDataStoreARNInvalidException";
274
- this.$fault = "client";
275
- Object.setPrototypeOf(this, EventDataStoreARNInvalidException.prototype);
276
- this.Message = opts.Message;
277
- }
278
- }
279
- exports.EventDataStoreARNInvalidException = EventDataStoreARNInvalidException;
280
294
  class InactiveQueryException extends CloudTrailServiceException_1.CloudTrailServiceException {
281
295
  constructor(opts) {
282
296
  super({
@@ -347,20 +361,6 @@ class ChannelAlreadyExistsException extends CloudTrailServiceException_1.CloudTr
347
361
  }
348
362
  }
349
363
  exports.ChannelAlreadyExistsException = ChannelAlreadyExistsException;
350
- class ChannelARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
351
- constructor(opts) {
352
- super({
353
- name: "ChannelARNInvalidException",
354
- $fault: "client",
355
- ...opts,
356
- });
357
- this.name = "ChannelARNInvalidException";
358
- this.$fault = "client";
359
- Object.setPrototypeOf(this, ChannelARNInvalidException.prototype);
360
- this.Message = opts.Message;
361
- }
362
- }
363
- exports.ChannelARNInvalidException = ChannelARNInvalidException;
364
364
  class ChannelExistsForEDSException extends CloudTrailServiceException_1.CloudTrailServiceException {
365
365
  constructor(opts) {
366
366
  super({
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_DeleteChannelCommand = exports.de_CreateTrailCommand = exports.de_CreateEventDataStoreCommand = exports.de_CreateChannelCommand = exports.de_CancelQueryCommand = exports.de_AddTagsCommand = exports.se_UpdateTrailCommand = exports.se_UpdateEventDataStoreCommand = exports.se_UpdateChannelCommand = exports.se_StopLoggingCommand = exports.se_StopImportCommand = exports.se_StartQueryCommand = exports.se_StartLoggingCommand = exports.se_StartImportCommand = exports.se_RestoreEventDataStoreCommand = exports.se_RemoveTagsCommand = exports.se_RegisterOrganizationDelegatedAdminCommand = exports.se_PutResourcePolicyCommand = exports.se_PutInsightSelectorsCommand = exports.se_PutEventSelectorsCommand = exports.se_LookupEventsCommand = exports.se_ListTrailsCommand = exports.se_ListTagsCommand = exports.se_ListQueriesCommand = exports.se_ListPublicKeysCommand = exports.se_ListImportsCommand = exports.se_ListImportFailuresCommand = exports.se_ListEventDataStoresCommand = exports.se_ListChannelsCommand = exports.se_GetTrailStatusCommand = exports.se_GetTrailCommand = exports.se_GetResourcePolicyCommand = exports.se_GetQueryResultsCommand = exports.se_GetInsightSelectorsCommand = exports.se_GetImportCommand = exports.se_GetEventSelectorsCommand = exports.se_GetEventDataStoreCommand = exports.se_GetChannelCommand = exports.se_DescribeTrailsCommand = exports.se_DescribeQueryCommand = exports.se_DeregisterOrganizationDelegatedAdminCommand = exports.se_DeleteTrailCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteEventDataStoreCommand = exports.se_DeleteChannelCommand = exports.se_CreateTrailCommand = exports.se_CreateEventDataStoreCommand = exports.se_CreateChannelCommand = exports.se_CancelQueryCommand = exports.se_AddTagsCommand = void 0;
4
4
  exports.de_UpdateTrailCommand = exports.de_UpdateEventDataStoreCommand = exports.de_UpdateChannelCommand = exports.de_StopLoggingCommand = exports.de_StopImportCommand = exports.de_StartQueryCommand = exports.de_StartLoggingCommand = exports.de_StartImportCommand = exports.de_RestoreEventDataStoreCommand = exports.de_RemoveTagsCommand = exports.de_RegisterOrganizationDelegatedAdminCommand = exports.de_PutResourcePolicyCommand = exports.de_PutInsightSelectorsCommand = exports.de_PutEventSelectorsCommand = exports.de_LookupEventsCommand = exports.de_ListTrailsCommand = exports.de_ListTagsCommand = exports.de_ListQueriesCommand = exports.de_ListPublicKeysCommand = exports.de_ListImportsCommand = exports.de_ListImportFailuresCommand = exports.de_ListEventDataStoresCommand = exports.de_ListChannelsCommand = exports.de_GetTrailStatusCommand = exports.de_GetTrailCommand = exports.de_GetResourcePolicyCommand = exports.de_GetQueryResultsCommand = exports.de_GetInsightSelectorsCommand = exports.de_GetImportCommand = exports.de_GetEventSelectorsCommand = exports.de_GetEventDataStoreCommand = exports.de_GetChannelCommand = exports.de_DescribeTrailsCommand = exports.de_DescribeQueryCommand = exports.de_DeregisterOrganizationDelegatedAdminCommand = exports.de_DeleteTrailCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteEventDataStoreCommand = void 0;
5
- const protocol_http_1 = require("@aws-sdk/protocol-http");
6
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const protocol_http_1 = require("@smithy/protocol-http");
7
7
  const CloudTrailServiceException_1 = require("../models/CloudTrailServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const se_AddTagsCommand = async (input, context) => {
@@ -335,6 +335,9 @@ const de_AddTagsCommandError = async (output, context) => {
335
335
  };
336
336
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
337
337
  switch (errorCode) {
338
+ case "ChannelARNInvalidException":
339
+ case "com.amazonaws.cloudtrail#ChannelARNInvalidException":
340
+ throw await de_ChannelARNInvalidExceptionRes(parsedOutput, context);
338
341
  case "ChannelNotFoundException":
339
342
  case "com.amazonaws.cloudtrail#ChannelNotFoundException":
340
343
  throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
@@ -344,6 +347,9 @@ const de_AddTagsCommandError = async (output, context) => {
344
347
  case "ConflictException":
345
348
  case "com.amazonaws.cloudtrail#ConflictException":
346
349
  throw await de_ConflictExceptionRes(parsedOutput, context);
350
+ case "EventDataStoreARNInvalidException":
351
+ case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
352
+ throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
347
353
  case "EventDataStoreNotFoundException":
348
354
  case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
349
355
  throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
@@ -1820,9 +1826,15 @@ const de_ListTagsCommandError = async (output, context) => {
1820
1826
  };
1821
1827
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1822
1828
  switch (errorCode) {
1829
+ case "ChannelARNInvalidException":
1830
+ case "com.amazonaws.cloudtrail#ChannelARNInvalidException":
1831
+ throw await de_ChannelARNInvalidExceptionRes(parsedOutput, context);
1823
1832
  case "CloudTrailARNInvalidException":
1824
1833
  case "com.amazonaws.cloudtrail#CloudTrailARNInvalidException":
1825
1834
  throw await de_CloudTrailARNInvalidExceptionRes(parsedOutput, context);
1835
+ case "EventDataStoreARNInvalidException":
1836
+ case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
1837
+ throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
1826
1838
  case "EventDataStoreNotFoundException":
1827
1839
  case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
1828
1840
  throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
@@ -1970,6 +1982,9 @@ const de_PutEventSelectorsCommandError = async (output, context) => {
1970
1982
  case "CloudTrailARNInvalidException":
1971
1983
  case "com.amazonaws.cloudtrail#CloudTrailARNInvalidException":
1972
1984
  throw await de_CloudTrailARNInvalidExceptionRes(parsedOutput, context);
1985
+ case "ConflictException":
1986
+ case "com.amazonaws.cloudtrail#ConflictException":
1987
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1973
1988
  case "InsufficientDependencyServiceAccessPermissionException":
1974
1989
  case "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException":
1975
1990
  throw await de_InsufficientDependencyServiceAccessPermissionExceptionRes(parsedOutput, context);
@@ -2213,12 +2228,18 @@ const de_RemoveTagsCommandError = async (output, context) => {
2213
2228
  };
2214
2229
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2215
2230
  switch (errorCode) {
2231
+ case "ChannelARNInvalidException":
2232
+ case "com.amazonaws.cloudtrail#ChannelARNInvalidException":
2233
+ throw await de_ChannelARNInvalidExceptionRes(parsedOutput, context);
2216
2234
  case "ChannelNotFoundException":
2217
2235
  case "com.amazonaws.cloudtrail#ChannelNotFoundException":
2218
2236
  throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
2219
2237
  case "CloudTrailARNInvalidException":
2220
2238
  case "com.amazonaws.cloudtrail#CloudTrailARNInvalidException":
2221
2239
  throw await de_CloudTrailARNInvalidExceptionRes(parsedOutput, context);
2240
+ case "EventDataStoreARNInvalidException":
2241
+ case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
2242
+ throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
2222
2243
  case "EventDataStoreNotFoundException":
2223
2244
  case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
2224
2245
  throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
@@ -51,6 +51,19 @@ export class AccountRegisteredException extends __BaseException {
51
51
  this.Message = opts.Message;
52
52
  }
53
53
  }
54
+ export class ChannelARNInvalidException extends __BaseException {
55
+ constructor(opts) {
56
+ super({
57
+ name: "ChannelARNInvalidException",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ this.name = "ChannelARNInvalidException";
62
+ this.$fault = "client";
63
+ Object.setPrototypeOf(this, ChannelARNInvalidException.prototype);
64
+ this.Message = opts.Message;
65
+ }
66
+ }
54
67
  export class ChannelNotFoundException extends __BaseException {
55
68
  constructor(opts) {
56
69
  super({
@@ -90,6 +103,19 @@ export class ConflictException extends __BaseException {
90
103
  this.Message = opts.Message;
91
104
  }
92
105
  }
106
+ export class EventDataStoreARNInvalidException extends __BaseException {
107
+ constructor(opts) {
108
+ super({
109
+ name: "EventDataStoreARNInvalidException",
110
+ $fault: "client",
111
+ ...opts,
112
+ });
113
+ this.name = "EventDataStoreARNInvalidException";
114
+ this.$fault = "client";
115
+ Object.setPrototypeOf(this, EventDataStoreARNInvalidException.prototype);
116
+ this.Message = opts.Message;
117
+ }
118
+ }
93
119
  export class EventDataStoreNotFoundException extends __BaseException {
94
120
  constructor(opts) {
95
121
  super({
@@ -241,19 +267,6 @@ export const QueryStatus = {
241
267
  RUNNING: "RUNNING",
242
268
  TIMED_OUT: "TIMED_OUT",
243
269
  };
244
- export class EventDataStoreARNInvalidException extends __BaseException {
245
- constructor(opts) {
246
- super({
247
- name: "EventDataStoreARNInvalidException",
248
- $fault: "client",
249
- ...opts,
250
- });
251
- this.name = "EventDataStoreARNInvalidException";
252
- this.$fault = "client";
253
- Object.setPrototypeOf(this, EventDataStoreARNInvalidException.prototype);
254
- this.Message = opts.Message;
255
- }
256
- }
257
270
  export class InactiveQueryException extends __BaseException {
258
271
  constructor(opts) {
259
272
  super({
@@ -319,19 +332,6 @@ export class ChannelAlreadyExistsException extends __BaseException {
319
332
  this.Message = opts.Message;
320
333
  }
321
334
  }
322
- export class ChannelARNInvalidException extends __BaseException {
323
- constructor(opts) {
324
- super({
325
- name: "ChannelARNInvalidException",
326
- $fault: "client",
327
- ...opts,
328
- });
329
- this.name = "ChannelARNInvalidException";
330
- this.$fault = "client";
331
- Object.setPrototypeOf(this, ChannelARNInvalidException.prototype);
332
- this.Message = opts.Message;
333
- }
334
- }
335
335
  export class ChannelExistsForEDSException extends __BaseException {
336
336
  constructor(opts) {
337
337
  super({
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
1
  import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
2
+ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { CloudTrailServiceException as __BaseException } from "../models/CloudTrailServiceException";
4
4
  import { AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelARNInvalidException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConflictException, DelegatedAdminAccountLimitExceededException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, ImportNotFoundException, InactiveEventDataStoreException, InactiveQueryException, InsightNotEnabledException, InsufficientDependencyServiceAccessPermissionException, InsufficientEncryptionPolicyException, InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException, InvalidDateRangeException, InvalidEventCategoryException, InvalidEventDataStoreCategoryException, InvalidEventDataStoreStatusException, InvalidEventSelectorsException, InvalidHomeRegionException, InvalidImportSourceException, InvalidInsightSelectorsException, InvalidKmsKeyIdException, InvalidLookupAttributesException, InvalidMaxResultsException, InvalidNextTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidQueryStatementException, InvalidQueryStatusException, InvalidS3BucketNameException, InvalidS3PrefixException, InvalidSnsTopicNameException, InvalidSourceException, InvalidTagParameterException, InvalidTimeRangeException, InvalidTokenException, InvalidTrailNameException, KmsException, KmsKeyDisabledException, KmsKeyNotFoundException, MaxConcurrentQueriesException, MaximumNumberOfTrailsExceededException, NoManagementAccountSLRExistsException, NotOrganizationManagementAccountException, NotOrganizationMasterAccountException, OperationNotPermittedException, OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException, QueryIdNotFoundException, ResourceARNNotValidException, ResourceNotFoundException, ResourcePolicyNotFoundException, ResourcePolicyNotValidException, ResourceTypeNotSupportedException, S3BucketDoesNotExistException, TagsLimitExceededException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
5
5
  export const se_AddTagsCommand = async (input, context) => {
@@ -286,6 +286,9 @@ const de_AddTagsCommandError = async (output, context) => {
286
286
  };
287
287
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
288
288
  switch (errorCode) {
289
+ case "ChannelARNInvalidException":
290
+ case "com.amazonaws.cloudtrail#ChannelARNInvalidException":
291
+ throw await de_ChannelARNInvalidExceptionRes(parsedOutput, context);
289
292
  case "ChannelNotFoundException":
290
293
  case "com.amazonaws.cloudtrail#ChannelNotFoundException":
291
294
  throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
@@ -295,6 +298,9 @@ const de_AddTagsCommandError = async (output, context) => {
295
298
  case "ConflictException":
296
299
  case "com.amazonaws.cloudtrail#ConflictException":
297
300
  throw await de_ConflictExceptionRes(parsedOutput, context);
301
+ case "EventDataStoreARNInvalidException":
302
+ case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
303
+ throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
298
304
  case "EventDataStoreNotFoundException":
299
305
  case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
300
306
  throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
@@ -1744,9 +1750,15 @@ const de_ListTagsCommandError = async (output, context) => {
1744
1750
  };
1745
1751
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1746
1752
  switch (errorCode) {
1753
+ case "ChannelARNInvalidException":
1754
+ case "com.amazonaws.cloudtrail#ChannelARNInvalidException":
1755
+ throw await de_ChannelARNInvalidExceptionRes(parsedOutput, context);
1747
1756
  case "CloudTrailARNInvalidException":
1748
1757
  case "com.amazonaws.cloudtrail#CloudTrailARNInvalidException":
1749
1758
  throw await de_CloudTrailARNInvalidExceptionRes(parsedOutput, context);
1759
+ case "EventDataStoreARNInvalidException":
1760
+ case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
1761
+ throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
1750
1762
  case "EventDataStoreNotFoundException":
1751
1763
  case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
1752
1764
  throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
@@ -1891,6 +1903,9 @@ const de_PutEventSelectorsCommandError = async (output, context) => {
1891
1903
  case "CloudTrailARNInvalidException":
1892
1904
  case "com.amazonaws.cloudtrail#CloudTrailARNInvalidException":
1893
1905
  throw await de_CloudTrailARNInvalidExceptionRes(parsedOutput, context);
1906
+ case "ConflictException":
1907
+ case "com.amazonaws.cloudtrail#ConflictException":
1908
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1894
1909
  case "InsufficientDependencyServiceAccessPermissionException":
1895
1910
  case "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException":
1896
1911
  throw await de_InsufficientDependencyServiceAccessPermissionExceptionRes(parsedOutput, context);
@@ -2130,12 +2145,18 @@ const de_RemoveTagsCommandError = async (output, context) => {
2130
2145
  };
2131
2146
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2132
2147
  switch (errorCode) {
2148
+ case "ChannelARNInvalidException":
2149
+ case "com.amazonaws.cloudtrail#ChannelARNInvalidException":
2150
+ throw await de_ChannelARNInvalidExceptionRes(parsedOutput, context);
2133
2151
  case "ChannelNotFoundException":
2134
2152
  case "com.amazonaws.cloudtrail#ChannelNotFoundException":
2135
2153
  throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
2136
2154
  case "CloudTrailARNInvalidException":
2137
2155
  case "com.amazonaws.cloudtrail#CloudTrailARNInvalidException":
2138
2156
  throw await de_CloudTrailARNInvalidExceptionRes(parsedOutput, context);
2157
+ case "EventDataStoreARNInvalidException":
2158
+ case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
2159
+ throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
2139
2160
  case "EventDataStoreNotFoundException":
2140
2161
  case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
2141
2162
  throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
4
4
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
+ import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
10
11
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
11
12
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
12
13
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
@@ -53,6 +53,10 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
53
53
  * @see {@link AddTagsCommandOutput} for command's `response` shape.
54
54
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
55
55
  *
56
+ * @throws {@link ChannelARNInvalidException} (client fault)
57
+ * <p>This exception is thrown when the specified value of <code>ChannelARN</code> is not
58
+ * valid.</p>
59
+ *
56
60
  * @throws {@link ChannelNotFoundException} (client fault)
57
61
  * <p>This exception is thrown when CloudTrail cannot find the specified channel.</p>
58
62
  *
@@ -76,6 +80,10 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
76
80
  * to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
77
81
  * operation again.</p>
78
82
  *
83
+ * @throws {@link EventDataStoreARNInvalidException} (client fault)
84
+ * <p>The specified event data store ARN is not valid or does not map to an event data store
85
+ * in your account.</p>
86
+ *
79
87
  * @throws {@link EventDataStoreNotFoundException} (client fault)
80
88
  * <p>The specified event data store was not found.</p>
81
89
  *
@@ -137,7 +137,7 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
137
137
  * <p>Your account has used the maximum number of event data stores.</p>
138
138
  *
139
139
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
140
- * <p>This exception is thrown when the IAM user or role that is used to create
140
+ * <p>This exception is thrown when the IAM identity that is used to create
141
141
  * the organization resource lacks one or more required permissions for creating an
142
142
  * organization resource in a required service.</p>
143
143
  *
@@ -90,7 +90,7 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
90
90
  * operation again.</p>
91
91
  *
92
92
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
93
- * <p>This exception is thrown when the IAM user or role that is used to create
93
+ * <p>This exception is thrown when the IAM identity that is used to create
94
94
  * the organization resource lacks one or more required permissions for creating an
95
95
  * organization resource in a required service.</p>
96
96
  *
@@ -73,7 +73,7 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
73
73
  * <p>The event data store is inactive.</p>
74
74
  *
75
75
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
76
- * <p>This exception is thrown when the IAM user or role that is used to create
76
+ * <p>This exception is thrown when the IAM identity that is used to create
77
77
  * the organization resource lacks one or more required permissions for creating an
78
78
  * organization resource in a required service.</p>
79
79
  *
@@ -64,7 +64,7 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
64
64
  * operation again.</p>
65
65
  *
66
66
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
67
- * <p>This exception is thrown when the IAM user or role that is used to create
67
+ * <p>This exception is thrown when the IAM identity that is used to create
68
68
  * the organization resource lacks one or more required permissions for creating an
69
69
  * organization resource in a required service.</p>
70
70
  *
@@ -59,7 +59,7 @@ export interface DeregisterOrganizationDelegatedAdminCommandOutput extends Dereg
59
59
  * operation again.</p>
60
60
  *
61
61
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
62
- * <p>This exception is thrown when the IAM user or role that is used to create
62
+ * <p>This exception is thrown when the IAM identity that is used to create
63
63
  * the organization resource lacks one or more required permissions for creating an
64
64
  * organization resource in a required service.</p>
65
65
  *
@@ -39,12 +39,12 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
39
39
  * <ul>
40
40
  * <li>
41
41
  * <p>
42
- * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events for trails </a>
42
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events</a>
43
43
  * </p>
44
44
  * </li>
45
45
  * <li>
46
46
  * <p>
47
- * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events for trails </a>
47
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events</a>
48
48
  * </p>
49
49
  * </li>
50
50
  * </ul>
@@ -57,6 +57,10 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
57
57
  * @see {@link ListTagsCommandOutput} for command's `response` shape.
58
58
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
59
59
  *
60
+ * @throws {@link ChannelARNInvalidException} (client fault)
61
+ * <p>This exception is thrown when the specified value of <code>ChannelARN</code> is not
62
+ * valid.</p>
63
+ *
60
64
  * @throws {@link CloudTrailARNInvalidException} (client fault)
61
65
  * <p>This exception is thrown when an operation is called with a trail ARN that is not valid.
62
66
  * The following is the format of a trail ARN.</p>
@@ -71,6 +75,10 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
71
75
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
72
76
  * </p>
73
77
  *
78
+ * @throws {@link EventDataStoreARNInvalidException} (client fault)
79
+ * <p>The specified event data store ARN is not valid or does not map to an event data store
80
+ * in your account.</p>
81
+ *
74
82
  * @throws {@link EventDataStoreNotFoundException} (client fault)
75
83
  * <p>The specified event data store was not found.</p>
76
84
  *
@@ -21,7 +21,9 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
21
21
  * @public
22
22
  * <p>Configures an event selector or advanced event selectors for your trail. Use event
23
23
  * selectors or advanced event selectors to specify management and data event settings for
24
- * your trail. By default, trails created without specific event selectors are configured to
24
+ * your trail. If you want your trail to log Insights events, be sure the event selector
25
+ * enables logging of the Insights event types you want configured for your trail. For more information about logging Insights events, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html">Logging Insights events for trails</a> in the <i>CloudTrail User Guide</i>.
26
+ * By default, trails created without specific event selectors are configured to
25
27
  * log all read and write management events, and no data events.</p>
26
28
  * <p>When an event occurs in your account, CloudTrail evaluates the event selectors or
27
29
  * advanced event selectors in all trails. For each trail, if the event matches any event
@@ -53,15 +55,15 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
53
55
  * trail was created; otherwise, an <code>InvalidHomeRegionException</code> exception is
54
56
  * thrown.</p>
55
57
  * <p>You can configure up to five event selectors for each trail. For more information, see
56
- * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events for trails </a>, <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging
57
- * data events for trails </a>, and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in CloudTrail</a> in the <i>CloudTrail User
58
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events</a>, <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging
59
+ * data events</a>, and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in CloudTrail</a> in the <i>CloudTrail User
58
60
  * Guide</i>.</p>
59
61
  * <p>You can add advanced event selectors, and conditions for your advanced event selectors,
60
62
  * up to a maximum of 500 values for all conditions and selectors on a trail. You can use
61
63
  * either <code>AdvancedEventSelectors</code> or <code>EventSelectors</code>, but not both. If
62
64
  * you apply <code>AdvancedEventSelectors</code> to a trail, any existing
63
65
  * <code>EventSelectors</code> are overwritten. For more information about advanced event
64
- * selectors, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events for trails</a> in the <i>CloudTrail User Guide</i>.</p>
66
+ * selectors, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events</a> in the <i>CloudTrail User Guide</i>.</p>
65
67
  * @example
66
68
  * Use a bare-bones client and the command you need to make an API call.
67
69
  * ```javascript
@@ -185,8 +187,14 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
185
187
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
186
188
  * </p>
187
189
  *
190
+ * @throws {@link ConflictException} (client fault)
191
+ * <p>This exception is thrown when the specified resource is not ready for an operation. This
192
+ * can occur when you try to run an operation on a resource before CloudTrail has time
193
+ * to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
194
+ * operation again.</p>
195
+ *
188
196
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
189
- * <p>This exception is thrown when the IAM user or role that is used to create
197
+ * <p>This exception is thrown when the IAM identity that is used to create
190
198
  * the organization resource lacks one or more required permissions for creating an
191
199
  * organization resource in a required service.</p>
192
200
  *
@@ -24,6 +24,11 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
24
24
  * off Insights event logging, by passing an empty list of insight types. The valid Insights
25
25
  * event types in this release are <code>ApiErrorRateInsight</code> and
26
26
  * <code>ApiCallRateInsight</code>.</p>
27
+ * <p>To log CloudTrail Insights events on API call volume, the trail
28
+ * must log <code>write</code> management events. To log CloudTrail
29
+ * Insights events on API error rate, the trail must log <code>read</code> or
30
+ * <code>write</code> management events. You can call <code>GetEventSelectors</code> on a trail
31
+ * to check whether the trail logs management events.</p>
27
32
  * @example
28
33
  * Use a bare-bones client and the command you need to make an API call.
29
34
  * ```javascript
@@ -68,7 +68,7 @@ export interface RegisterOrganizationDelegatedAdminCommandOutput extends Registe
68
68
  * administrators is reached.</p>
69
69
  *
70
70
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
71
- * <p>This exception is thrown when the IAM user or role that is used to create
71
+ * <p>This exception is thrown when the IAM identity that is used to create
72
72
  * the organization resource lacks one or more required permissions for creating an
73
73
  * organization resource in a required service.</p>
74
74
  *
@@ -47,6 +47,10 @@ export interface RemoveTagsCommandOutput extends RemoveTagsResponse, __MetadataB
47
47
  * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
48
48
  * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
49
49
  *
50
+ * @throws {@link ChannelARNInvalidException} (client fault)
51
+ * <p>This exception is thrown when the specified value of <code>ChannelARN</code> is not
52
+ * valid.</p>
53
+ *
50
54
  * @throws {@link ChannelNotFoundException} (client fault)
51
55
  * <p>This exception is thrown when CloudTrail cannot find the specified channel.</p>
52
56
  *
@@ -64,6 +68,10 @@ export interface RemoveTagsCommandOutput extends RemoveTagsResponse, __MetadataB
64
68
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
65
69
  * </p>
66
70
  *
71
+ * @throws {@link EventDataStoreARNInvalidException} (client fault)
72
+ * <p>The specified event data store ARN is not valid or does not map to an event data store
73
+ * in your account.</p>
74
+ *
67
75
  * @throws {@link EventDataStoreNotFoundException} (client fault)
68
76
  * <p>The specified event data store was not found.</p>
69
77
  *
@@ -95,7 +95,7 @@ export interface RestoreEventDataStoreCommandOutput extends RestoreEventDataStor
95
95
  * <p>The specified event data store was not found.</p>
96
96
  *
97
97
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
98
- * <p>This exception is thrown when the IAM user or role that is used to create
98
+ * <p>This exception is thrown when the IAM identity that is used to create
99
99
  * the organization resource lacks one or more required permissions for creating an
100
100
  * organization resource in a required service.</p>
101
101
  *
@@ -65,7 +65,7 @@ export interface StartLoggingCommandOutput extends StartLoggingResponse, __Metad
65
65
  * operation again.</p>
66
66
  *
67
67
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
68
- * <p>This exception is thrown when the IAM user or role that is used to create
68
+ * <p>This exception is thrown when the IAM identity that is used to create
69
69
  * the organization resource lacks one or more required permissions for creating an
70
70
  * organization resource in a required service.</p>
71
71
  *
@@ -68,7 +68,7 @@ export interface StopLoggingCommandOutput extends StopLoggingResponse, __Metadat
68
68
  * operation again.</p>
69
69
  *
70
70
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
71
- * <p>This exception is thrown when the IAM user or role that is used to create
71
+ * <p>This exception is thrown when the IAM identity that is used to create
72
72
  * the organization resource lacks one or more required permissions for creating an
73
73
  * organization resource in a required service.</p>
74
74
  *
@@ -28,8 +28,7 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
28
28
  * includes or excludes management and data events in your event data store. For more
29
29
  * information about <code>AdvancedEventSelectors</code>, see <a>PutEventSelectorsRequest$AdvancedEventSelectors</a>. </p>
30
30
  * <p> For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events,
31
- * <code>AdvancedEventSelectors</code> includes events of that type in your event data
32
- * store.</p>
31
+ * <code>AdvancedEventSelectors</code> includes events of that type in your event data store.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -138,7 +137,7 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
138
137
  * <p>The event data store is inactive.</p>
139
138
  *
140
139
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
141
- * <p>This exception is thrown when the IAM user or role that is used to create
140
+ * <p>This exception is thrown when the IAM identity that is used to create
142
141
  * the organization resource lacks one or more required permissions for creating an
143
142
  * organization resource in a required service.</p>
144
143
  *
@@ -102,7 +102,7 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
102
102
  * operation again.</p>
103
103
  *
104
104
  * @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
105
- * <p>This exception is thrown when the IAM user or role that is used to create
105
+ * <p>This exception is thrown when the IAM identity that is used to create
106
106
  * the organization resource lacks one or more required permissions for creating an
107
107
  * organization resource in a required service.</p>
108
108
  *
@@ -1,4 +1,5 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
1
+ import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
+ import { Endpoint, Provider } from "@smithy/types";
2
3
  export interface ClientInputEndpointParameters {
3
4
  region?: string | Provider<string>;
4
5
  useDualstackEndpoint?: boolean | Provider<boolean>;