@aws-sdk/client-cloudtrail 3.693.0 → 3.698.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 (62) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +346 -44
  3. package/dist-es/CloudTrail.js +12 -0
  4. package/dist-es/commands/CreateDashboardCommand.js +22 -0
  5. package/dist-es/commands/DeleteDashboardCommand.js +22 -0
  6. package/dist-es/commands/GetDashboardCommand.js +22 -0
  7. package/dist-es/commands/ListDashboardsCommand.js +22 -0
  8. package/dist-es/commands/StartDashboardRefreshCommand.js +22 -0
  9. package/dist-es/commands/UpdateDashboardCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_0.js +58 -26
  12. package/dist-es/protocols/Aws_json1_1.js +160 -7
  13. package/dist-types/CloudTrail.d.ts +43 -0
  14. package/dist-types/CloudTrailClient.d.ts +8 -2
  15. package/dist-types/commands/AddTagsCommand.d.ts +4 -2
  16. package/dist-types/commands/CancelQueryCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateDashboardCommand.d.ts +189 -0
  19. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +5 -1
  20. package/dist-types/commands/CreateTrailCommand.d.ts +6 -2
  21. package/dist-types/commands/DeleteDashboardCommand.d.ts +83 -0
  22. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -3
  23. package/dist-types/commands/DeleteTrailCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeQueryCommand.d.ts +7 -3
  25. package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -0
  26. package/dist-types/commands/GenerateQueryCommand.d.ts +1 -0
  27. package/dist-types/commands/GetDashboardCommand.d.ts +106 -0
  28. package/dist-types/commands/GetEventSelectorsCommand.d.ts +2 -0
  29. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +2 -0
  30. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -1
  31. package/dist-types/commands/GetResourcePolicyCommand.d.ts +11 -3
  32. package/dist-types/commands/GetTrailCommand.d.ts +2 -0
  33. package/dist-types/commands/GetTrailStatusCommand.d.ts +2 -0
  34. package/dist-types/commands/ListDashboardsCommand.d.ts +85 -0
  35. package/dist-types/commands/ListTagsCommand.d.ts +3 -1
  36. package/dist-types/commands/PutEventSelectorsCommand.d.ts +2 -0
  37. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +7 -1
  38. package/dist-types/commands/PutResourcePolicyCommand.d.ts +17 -21
  39. package/dist-types/commands/RemoveTagsCommand.d.ts +3 -1
  40. package/dist-types/commands/StartDashboardRefreshCommand.d.ts +98 -0
  41. package/dist-types/commands/StartImportCommand.d.ts +5 -1
  42. package/dist-types/commands/StartLoggingCommand.d.ts +2 -0
  43. package/dist-types/commands/StartQueryCommand.d.ts +7 -1
  44. package/dist-types/commands/StopLoggingCommand.d.ts +2 -0
  45. package/dist-types/commands/UpdateDashboardCommand.d.ts +164 -0
  46. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +5 -1
  47. package/dist-types/commands/UpdateTrailCommand.d.ts +7 -1
  48. package/dist-types/commands/index.d.ts +6 -0
  49. package/dist-types/models/models_0.d.ts +823 -116
  50. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  51. package/dist-types/ts3.4/CloudTrail.d.ts +103 -0
  52. package/dist-types/ts3.4/CloudTrailClient.d.ts +36 -0
  53. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +50 -0
  55. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +47 -0
  56. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/StartDashboardRefreshCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +156 -19
  61. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  62. package/package.json +35 -35
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { CloudTrailServiceException as __BaseException } from "../models/CloudTrailServiceException";
5
- import { AccessDeniedException, AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelARNInvalidException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConcurrentModificationException, ConflictException, DelegatedAdminAccountLimitExceededException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreFederationEnabledException, EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, GenerateResponseException, 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, ThrottlingException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
5
+ import { AccessDeniedException, AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelARNInvalidException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConcurrentModificationException, ConflictException, DelegatedAdminAccountLimitExceededException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreFederationEnabledException, EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, GenerateResponseException, 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, ServiceQuotaExceededException, TagsLimitExceededException, ThrottlingException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
6
6
  export const se_AddTagsCommand = async (input, context) => {
7
7
  const headers = sharedHeaders("AddTags");
8
8
  let body;
@@ -21,6 +21,12 @@ export const se_CreateChannelCommand = async (input, context) => {
21
21
  body = JSON.stringify(_json(input));
22
22
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
23
23
  };
24
+ export const se_CreateDashboardCommand = async (input, context) => {
25
+ const headers = sharedHeaders("CreateDashboard");
26
+ let body;
27
+ body = JSON.stringify(_json(input));
28
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
29
+ };
24
30
  export const se_CreateEventDataStoreCommand = async (input, context) => {
25
31
  const headers = sharedHeaders("CreateEventDataStore");
26
32
  let body;
@@ -39,6 +45,12 @@ export const se_DeleteChannelCommand = async (input, context) => {
39
45
  body = JSON.stringify(_json(input));
40
46
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
47
  };
48
+ export const se_DeleteDashboardCommand = async (input, context) => {
49
+ const headers = sharedHeaders("DeleteDashboard");
50
+ let body;
51
+ body = JSON.stringify(_json(input));
52
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
53
+ };
42
54
  export const se_DeleteEventDataStoreCommand = async (input, context) => {
43
55
  const headers = sharedHeaders("DeleteEventDataStore");
44
56
  let body;
@@ -99,6 +111,12 @@ export const se_GetChannelCommand = async (input, context) => {
99
111
  body = JSON.stringify(_json(input));
100
112
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
101
113
  };
114
+ export const se_GetDashboardCommand = async (input, context) => {
115
+ const headers = sharedHeaders("GetDashboard");
116
+ let body;
117
+ body = JSON.stringify(_json(input));
118
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
119
+ };
102
120
  export const se_GetEventDataStoreCommand = async (input, context) => {
103
121
  const headers = sharedHeaders("GetEventDataStore");
104
122
  let body;
@@ -153,6 +171,12 @@ export const se_ListChannelsCommand = async (input, context) => {
153
171
  body = JSON.stringify(_json(input));
154
172
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
155
173
  };
174
+ export const se_ListDashboardsCommand = async (input, context) => {
175
+ const headers = sharedHeaders("ListDashboards");
176
+ let body;
177
+ body = JSON.stringify(_json(input));
178
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
179
+ };
156
180
  export const se_ListEventDataStoresCommand = async (input, context) => {
157
181
  const headers = sharedHeaders("ListEventDataStores");
158
182
  let body;
@@ -243,6 +267,12 @@ export const se_RestoreEventDataStoreCommand = async (input, context) => {
243
267
  body = JSON.stringify(_json(input));
244
268
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
245
269
  };
270
+ export const se_StartDashboardRefreshCommand = async (input, context) => {
271
+ const headers = sharedHeaders("StartDashboardRefresh");
272
+ let body;
273
+ body = JSON.stringify(_json(input));
274
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
275
+ };
246
276
  export const se_StartEventDataStoreIngestionCommand = async (input, context) => {
247
277
  const headers = sharedHeaders("StartEventDataStoreIngestion");
248
278
  let body;
@@ -291,6 +321,12 @@ export const se_UpdateChannelCommand = async (input, context) => {
291
321
  body = JSON.stringify(_json(input));
292
322
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
293
323
  };
324
+ export const se_UpdateDashboardCommand = async (input, context) => {
325
+ const headers = sharedHeaders("UpdateDashboard");
326
+ let body;
327
+ body = JSON.stringify(_json(input));
328
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
329
+ };
294
330
  export const se_UpdateEventDataStoreCommand = async (input, context) => {
295
331
  const headers = sharedHeaders("UpdateEventDataStore");
296
332
  let body;
@@ -342,6 +378,19 @@ export const de_CreateChannelCommand = async (output, context) => {
342
378
  };
343
379
  return response;
344
380
  };
381
+ export const de_CreateDashboardCommand = async (output, context) => {
382
+ if (output.statusCode >= 300) {
383
+ return de_CommandError(output, context);
384
+ }
385
+ const data = await parseBody(output.body, context);
386
+ let contents = {};
387
+ contents = _json(data);
388
+ const response = {
389
+ $metadata: deserializeMetadata(output),
390
+ ...contents,
391
+ };
392
+ return response;
393
+ };
345
394
  export const de_CreateEventDataStoreCommand = async (output, context) => {
346
395
  if (output.statusCode >= 300) {
347
396
  return de_CommandError(output, context);
@@ -381,6 +430,19 @@ export const de_DeleteChannelCommand = async (output, context) => {
381
430
  };
382
431
  return response;
383
432
  };
433
+ export const de_DeleteDashboardCommand = async (output, context) => {
434
+ if (output.statusCode >= 300) {
435
+ return de_CommandError(output, context);
436
+ }
437
+ const data = await parseBody(output.body, context);
438
+ let contents = {};
439
+ contents = _json(data);
440
+ const response = {
441
+ $metadata: deserializeMetadata(output),
442
+ ...contents,
443
+ };
444
+ return response;
445
+ };
384
446
  export const de_DeleteEventDataStoreCommand = async (output, context) => {
385
447
  if (output.statusCode >= 300) {
386
448
  return de_CommandError(output, context);
@@ -511,6 +573,19 @@ export const de_GetChannelCommand = async (output, context) => {
511
573
  };
512
574
  return response;
513
575
  };
576
+ export const de_GetDashboardCommand = async (output, context) => {
577
+ if (output.statusCode >= 300) {
578
+ return de_CommandError(output, context);
579
+ }
580
+ const data = await parseBody(output.body, context);
581
+ let contents = {};
582
+ contents = de_GetDashboardResponse(data, context);
583
+ const response = {
584
+ $metadata: deserializeMetadata(output),
585
+ ...contents,
586
+ };
587
+ return response;
588
+ };
514
589
  export const de_GetEventDataStoreCommand = async (output, context) => {
515
590
  if (output.statusCode >= 300) {
516
591
  return de_CommandError(output, context);
@@ -628,6 +703,19 @@ export const de_ListChannelsCommand = async (output, context) => {
628
703
  };
629
704
  return response;
630
705
  };
706
+ export const de_ListDashboardsCommand = async (output, context) => {
707
+ if (output.statusCode >= 300) {
708
+ return de_CommandError(output, context);
709
+ }
710
+ const data = await parseBody(output.body, context);
711
+ let contents = {};
712
+ contents = _json(data);
713
+ const response = {
714
+ $metadata: deserializeMetadata(output),
715
+ ...contents,
716
+ };
717
+ return response;
718
+ };
631
719
  export const de_ListEventDataStoresCommand = async (output, context) => {
632
720
  if (output.statusCode >= 300) {
633
721
  return de_CommandError(output, context);
@@ -823,6 +911,19 @@ export const de_RestoreEventDataStoreCommand = async (output, context) => {
823
911
  };
824
912
  return response;
825
913
  };
914
+ export const de_StartDashboardRefreshCommand = async (output, context) => {
915
+ if (output.statusCode >= 300) {
916
+ return de_CommandError(output, context);
917
+ }
918
+ const data = await parseBody(output.body, context);
919
+ let contents = {};
920
+ contents = _json(data);
921
+ const response = {
922
+ $metadata: deserializeMetadata(output),
923
+ ...contents,
924
+ };
925
+ return response;
926
+ };
826
927
  export const de_StartEventDataStoreIngestionCommand = async (output, context) => {
827
928
  if (output.statusCode >= 300) {
828
929
  return de_CommandError(output, context);
@@ -927,6 +1028,19 @@ export const de_UpdateChannelCommand = async (output, context) => {
927
1028
  };
928
1029
  return response;
929
1030
  };
1031
+ export const de_UpdateDashboardCommand = async (output, context) => {
1032
+ if (output.statusCode >= 300) {
1033
+ return de_CommandError(output, context);
1034
+ }
1035
+ const data = await parseBody(output.body, context);
1036
+ let contents = {};
1037
+ contents = de_UpdateDashboardResponse(data, context);
1038
+ const response = {
1039
+ $metadata: deserializeMetadata(output),
1040
+ ...contents,
1041
+ };
1042
+ return response;
1043
+ };
930
1044
  export const de_UpdateEventDataStoreCommand = async (output, context) => {
931
1045
  if (output.statusCode >= 300) {
932
1046
  return de_CommandError(output, context);
@@ -1029,6 +1143,15 @@ const de_CommandError = async (output, context) => {
1029
1143
  case "InvalidSourceException":
1030
1144
  case "com.amazonaws.cloudtrail#InvalidSourceException":
1031
1145
  throw await de_InvalidSourceExceptionRes(parsedOutput, context);
1146
+ case "InsufficientEncryptionPolicyException":
1147
+ case "com.amazonaws.cloudtrail#InsufficientEncryptionPolicyException":
1148
+ throw await de_InsufficientEncryptionPolicyExceptionRes(parsedOutput, context);
1149
+ case "InvalidQueryStatementException":
1150
+ case "com.amazonaws.cloudtrail#InvalidQueryStatementException":
1151
+ throw await de_InvalidQueryStatementExceptionRes(parsedOutput, context);
1152
+ case "ServiceQuotaExceededException":
1153
+ case "com.amazonaws.cloudtrail#ServiceQuotaExceededException":
1154
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1032
1155
  case "CloudTrailAccessNotEnabledException":
1033
1156
  case "com.amazonaws.cloudtrail#CloudTrailAccessNotEnabledException":
1034
1157
  throw await de_CloudTrailAccessNotEnabledExceptionRes(parsedOutput, context);
@@ -1041,9 +1164,6 @@ const de_CommandError = async (output, context) => {
1041
1164
  case "InsufficientDependencyServiceAccessPermissionException":
1042
1165
  case "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException":
1043
1166
  throw await de_InsufficientDependencyServiceAccessPermissionExceptionRes(parsedOutput, context);
1044
- case "InsufficientEncryptionPolicyException":
1045
- case "com.amazonaws.cloudtrail#InsufficientEncryptionPolicyException":
1046
- throw await de_InsufficientEncryptionPolicyExceptionRes(parsedOutput, context);
1047
1167
  case "InvalidEventSelectorsException":
1048
1168
  case "com.amazonaws.cloudtrail#InvalidEventSelectorsException":
1049
1169
  throw await de_InvalidEventSelectorsExceptionRes(parsedOutput, context);
@@ -1206,9 +1326,6 @@ const de_CommandError = async (output, context) => {
1206
1326
  case "InvalidImportSourceException":
1207
1327
  case "com.amazonaws.cloudtrail#InvalidImportSourceException":
1208
1328
  throw await de_InvalidImportSourceExceptionRes(parsedOutput, context);
1209
- case "InvalidQueryStatementException":
1210
- case "com.amazonaws.cloudtrail#InvalidQueryStatementException":
1211
- throw await de_InvalidQueryStatementExceptionRes(parsedOutput, context);
1212
1329
  case "MaxConcurrentQueriesException":
1213
1330
  case "com.amazonaws.cloudtrail#MaxConcurrentQueriesException":
1214
1331
  throw await de_MaxConcurrentQueriesExceptionRes(parsedOutput, context);
@@ -1923,6 +2040,15 @@ const de_S3BucketDoesNotExistExceptionRes = async (parsedOutput, context) => {
1923
2040
  });
1924
2041
  return __decorateServiceException(exception, body);
1925
2042
  };
2043
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2044
+ const body = parsedOutput.body;
2045
+ const deserialized = _json(body);
2046
+ const exception = new ServiceQuotaExceededException({
2047
+ $metadata: deserializeMetadata(parsedOutput),
2048
+ ...deserialized,
2049
+ });
2050
+ return __decorateServiceException(exception, body);
2051
+ };
1926
2052
  const de_TagsLimitExceededExceptionRes = async (parsedOutput, context) => {
1927
2053
  const body = parsedOutput.body;
1928
2054
  const deserialized = _json(body);
@@ -2049,6 +2175,7 @@ const de_DescribeQueryResponse = (output, context) => {
2049
2175
  DeliveryS3Uri: __expectString,
2050
2176
  DeliveryStatus: __expectString,
2051
2177
  ErrorMessage: __expectString,
2178
+ EventDataStoreOwnerAccountId: __expectString,
2052
2179
  Prompt: __expectString,
2053
2180
  QueryId: __expectString,
2054
2181
  QueryStatistics: (_) => de_QueryStatisticsForDescribeQuery(_, context),
@@ -2109,6 +2236,20 @@ const de_GetChannelResponse = (output, context) => {
2109
2236
  SourceConfig: _json,
2110
2237
  });
2111
2238
  };
2239
+ const de_GetDashboardResponse = (output, context) => {
2240
+ return take(output, {
2241
+ CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2242
+ DashboardArn: __expectString,
2243
+ LastRefreshFailureReason: __expectString,
2244
+ LastRefreshId: __expectString,
2245
+ RefreshSchedule: _json,
2246
+ Status: __expectString,
2247
+ TerminationProtectionEnabled: __expectBoolean,
2248
+ Type: __expectString,
2249
+ UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2250
+ Widgets: _json,
2251
+ });
2252
+ };
2112
2253
  const de_GetEventDataStoreResponse = (output, context) => {
2113
2254
  return take(output, {
2114
2255
  AdvancedEventSelectors: _json,
@@ -2349,6 +2490,18 @@ const de_Timestamps = (output, context) => {
2349
2490
  });
2350
2491
  return retVal;
2351
2492
  };
2493
+ const de_UpdateDashboardResponse = (output, context) => {
2494
+ return take(output, {
2495
+ CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2496
+ DashboardArn: __expectString,
2497
+ Name: __expectString,
2498
+ RefreshSchedule: _json,
2499
+ TerminationProtectionEnabled: __expectBoolean,
2500
+ Type: __expectString,
2501
+ UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2502
+ Widgets: _json,
2503
+ });
2504
+ };
2352
2505
  const de_UpdateEventDataStoreResponse = (output, context) => {
2353
2506
  return take(output, {
2354
2507
  AdvancedEventSelectors: _json,
@@ -3,9 +3,11 @@ import { CloudTrailClient } from "./CloudTrailClient";
3
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
4
4
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
5
5
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
6
+ import { CreateDashboardCommandInput, CreateDashboardCommandOutput } from "./commands/CreateDashboardCommand";
6
7
  import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
7
8
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
8
9
  import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
10
+ import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "./commands/DeleteDashboardCommand";
9
11
  import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "./commands/DeleteEventDataStoreCommand";
10
12
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
11
13
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
@@ -16,6 +18,7 @@ import { DisableFederationCommandInput, DisableFederationCommandOutput } from ".
16
18
  import { EnableFederationCommandInput, EnableFederationCommandOutput } from "./commands/EnableFederationCommand";
17
19
  import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
18
20
  import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
21
+ import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
19
22
  import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
20
23
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
21
24
  import { GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImportCommand";
@@ -25,6 +28,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
25
28
  import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
26
29
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
27
30
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
31
+ import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
28
32
  import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
29
33
  import { ListImportFailuresCommandInput, ListImportFailuresCommandOutput } from "./commands/ListImportFailuresCommand";
30
34
  import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
@@ -40,6 +44,7 @@ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from ".
40
44
  import { RegisterOrganizationDelegatedAdminCommandInput, RegisterOrganizationDelegatedAdminCommandOutput } from "./commands/RegisterOrganizationDelegatedAdminCommand";
41
45
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
42
46
  import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand";
47
+ import { StartDashboardRefreshCommandInput, StartDashboardRefreshCommandOutput } from "./commands/StartDashboardRefreshCommand";
43
48
  import { StartEventDataStoreIngestionCommandInput, StartEventDataStoreIngestionCommandOutput } from "./commands/StartEventDataStoreIngestionCommand";
44
49
  import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
45
50
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
@@ -48,6 +53,7 @@ import { StopEventDataStoreIngestionCommandInput, StopEventDataStoreIngestionCom
48
53
  import { StopImportCommandInput, StopImportCommandOutput } from "./commands/StopImportCommand";
49
54
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
50
55
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
56
+ import { UpdateDashboardCommandInput, UpdateDashboardCommandOutput } from "./commands/UpdateDashboardCommand";
51
57
  import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
52
58
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
53
59
  export interface CloudTrail {
@@ -69,6 +75,12 @@ export interface CloudTrail {
69
75
  createChannel(args: CreateChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateChannelCommandOutput>;
70
76
  createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
71
77
  createChannel(args: CreateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
78
+ /**
79
+ * @see {@link CreateDashboardCommand}
80
+ */
81
+ createDashboard(args: CreateDashboardCommandInput, options?: __HttpHandlerOptions): Promise<CreateDashboardCommandOutput>;
82
+ createDashboard(args: CreateDashboardCommandInput, cb: (err: any, data?: CreateDashboardCommandOutput) => void): void;
83
+ createDashboard(args: CreateDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDashboardCommandOutput) => void): void;
72
84
  /**
73
85
  * @see {@link CreateEventDataStoreCommand}
74
86
  */
@@ -87,6 +99,12 @@ export interface CloudTrail {
87
99
  deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelCommandOutput>;
88
100
  deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
89
101
  deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
102
+ /**
103
+ * @see {@link DeleteDashboardCommand}
104
+ */
105
+ deleteDashboard(args: DeleteDashboardCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDashboardCommandOutput>;
106
+ deleteDashboard(args: DeleteDashboardCommandInput, cb: (err: any, data?: DeleteDashboardCommandOutput) => void): void;
107
+ deleteDashboard(args: DeleteDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDashboardCommandOutput) => void): void;
90
108
  /**
91
109
  * @see {@link DeleteEventDataStoreCommand}
92
110
  */
@@ -149,6 +167,12 @@ export interface CloudTrail {
149
167
  getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelCommandOutput>;
150
168
  getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
151
169
  getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
170
+ /**
171
+ * @see {@link GetDashboardCommand}
172
+ */
173
+ getDashboard(args: GetDashboardCommandInput, options?: __HttpHandlerOptions): Promise<GetDashboardCommandOutput>;
174
+ getDashboard(args: GetDashboardCommandInput, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
175
+ getDashboard(args: GetDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
152
176
  /**
153
177
  * @see {@link GetEventDataStoreCommand}
154
178
  */
@@ -205,6 +229,13 @@ export interface CloudTrail {
205
229
  listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
206
230
  listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
207
231
  listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
232
+ /**
233
+ * @see {@link ListDashboardsCommand}
234
+ */
235
+ listDashboards(): Promise<ListDashboardsCommandOutput>;
236
+ listDashboards(args: ListDashboardsCommandInput, options?: __HttpHandlerOptions): Promise<ListDashboardsCommandOutput>;
237
+ listDashboards(args: ListDashboardsCommandInput, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
238
+ listDashboards(args: ListDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
208
239
  /**
209
240
  * @see {@link ListEventDataStoresCommand}
210
241
  */
@@ -300,6 +331,12 @@ export interface CloudTrail {
300
331
  restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<RestoreEventDataStoreCommandOutput>;
301
332
  restoreEventDataStore(args: RestoreEventDataStoreCommandInput, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void;
302
333
  restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void;
334
+ /**
335
+ * @see {@link StartDashboardRefreshCommand}
336
+ */
337
+ startDashboardRefresh(args: StartDashboardRefreshCommandInput, options?: __HttpHandlerOptions): Promise<StartDashboardRefreshCommandOutput>;
338
+ startDashboardRefresh(args: StartDashboardRefreshCommandInput, cb: (err: any, data?: StartDashboardRefreshCommandOutput) => void): void;
339
+ startDashboardRefresh(args: StartDashboardRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDashboardRefreshCommandOutput) => void): void;
303
340
  /**
304
341
  * @see {@link StartEventDataStoreIngestionCommand}
305
342
  */
@@ -350,6 +387,12 @@ export interface CloudTrail {
350
387
  updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelCommandOutput>;
351
388
  updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
352
389
  updateChannel(args: UpdateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
390
+ /**
391
+ * @see {@link UpdateDashboardCommand}
392
+ */
393
+ updateDashboard(args: UpdateDashboardCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDashboardCommandOutput>;
394
+ updateDashboard(args: UpdateDashboardCommandInput, cb: (err: any, data?: UpdateDashboardCommandOutput) => void): void;
395
+ updateDashboard(args: UpdateDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDashboardCommandOutput) => void): void;
353
396
  /**
354
397
  * @see {@link UpdateEventDataStoreCommand}
355
398
  */
@@ -10,9 +10,11 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
10
10
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
11
11
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
12
12
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
13
+ import { CreateDashboardCommandInput, CreateDashboardCommandOutput } from "./commands/CreateDashboardCommand";
13
14
  import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
14
15
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
15
16
  import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
17
+ import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "./commands/DeleteDashboardCommand";
16
18
  import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "./commands/DeleteEventDataStoreCommand";
17
19
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
18
20
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
@@ -23,6 +25,7 @@ import { DisableFederationCommandInput, DisableFederationCommandOutput } from ".
23
25
  import { EnableFederationCommandInput, EnableFederationCommandOutput } from "./commands/EnableFederationCommand";
24
26
  import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
25
27
  import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
28
+ import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
26
29
  import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
27
30
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
28
31
  import { GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImportCommand";
@@ -32,6 +35,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
32
35
  import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
33
36
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
34
37
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
38
+ import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
35
39
  import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
36
40
  import { ListImportFailuresCommandInput, ListImportFailuresCommandOutput } from "./commands/ListImportFailuresCommand";
37
41
  import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
@@ -47,6 +51,7 @@ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from ".
47
51
  import { RegisterOrganizationDelegatedAdminCommandInput, RegisterOrganizationDelegatedAdminCommandOutput } from "./commands/RegisterOrganizationDelegatedAdminCommand";
48
52
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
49
53
  import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand";
54
+ import { StartDashboardRefreshCommandInput, StartDashboardRefreshCommandOutput } from "./commands/StartDashboardRefreshCommand";
50
55
  import { StartEventDataStoreIngestionCommandInput, StartEventDataStoreIngestionCommandOutput } from "./commands/StartEventDataStoreIngestionCommand";
51
56
  import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
52
57
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
@@ -55,6 +60,7 @@ import { StopEventDataStoreIngestionCommandInput, StopEventDataStoreIngestionCom
55
60
  import { StopImportCommandInput, StopImportCommandOutput } from "./commands/StopImportCommand";
56
61
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
57
62
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
63
+ import { UpdateDashboardCommandInput, UpdateDashboardCommandOutput } from "./commands/UpdateDashboardCommand";
58
64
  import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
59
65
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
60
66
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
@@ -63,11 +69,11 @@ export { __Client };
63
69
  /**
64
70
  * @public
65
71
  */
66
- export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | DisableFederationCommandInput | EnableFederationCommandInput | GenerateQueryCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListInsightsMetricDataCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
72
+ export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateDashboardCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteDashboardCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | DisableFederationCommandInput | EnableFederationCommandInput | GenerateQueryCommandInput | GetChannelCommandInput | GetDashboardCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListDashboardsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListInsightsMetricDataCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartDashboardRefreshCommandInput | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateDashboardCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
67
73
  /**
68
74
  * @public
69
75
  */
70
- export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | DisableFederationCommandOutput | EnableFederationCommandOutput | GenerateQueryCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListInsightsMetricDataCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
76
+ export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateDashboardCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteDashboardCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | DisableFederationCommandOutput | EnableFederationCommandOutput | GenerateQueryCommandOutput | GetChannelCommandOutput | GetDashboardCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListDashboardsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListInsightsMetricDataCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartDashboardRefreshCommandOutput | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateDashboardCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
71
77
  /**
72
78
  * @public
73
79
  */
@@ -27,7 +27,7 @@ declare const AddTagsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an
30
+ * <p>Adds one or more tags to a trail, event data store, dashboard, or channel, up to a limit of 50. Overwrites an
31
31
  * existing tag's value when a new value is specified for an existing tag key. Tag key names
32
32
  * must be unique; you cannot have two keys with the same name but different
33
33
  * values. If you specify a key without a value, the tag will be created with the specified
@@ -75,6 +75,8 @@ declare const AddTagsCommand_base: {
75
75
  * <p>The following is the format of an event data store ARN:
76
76
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
77
77
  * </p>
78
+ * <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
79
+ * </p>
78
80
  * <p>The following is the format of a channel ARN:
79
81
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
80
82
  * </p>
@@ -141,7 +143,7 @@ declare const AddTagsCommand_base: {
141
143
  * <p>This exception is thrown when the specified resource type is not supported by CloudTrail.</p>
142
144
  *
143
145
  * @throws {@link TagsLimitExceededException} (client fault)
144
- * <p>The number of tags per trail, event data store, or channel has exceeded the permitted amount. Currently, the limit is
146
+ * <p>The number of tags per trail, event data store, dashboard, or channel has exceeded the permitted amount. Currently, the limit is
145
147
  * 50.</p>
146
148
  *
147
149
  * @throws {@link UnsupportedOperationException} (client fault)
@@ -42,12 +42,14 @@ declare const CancelQueryCommand_base: {
42
42
  * const input = { // CancelQueryRequest
43
43
  * EventDataStore: "STRING_VALUE",
44
44
  * QueryId: "STRING_VALUE", // required
45
+ * EventDataStoreOwnerAccountId: "STRING_VALUE",
45
46
  * };
46
47
  * const command = new CancelQueryCommand(input);
47
48
  * const response = await client.send(command);
48
49
  * // { // CancelQueryResponse
49
50
  * // QueryId: "STRING_VALUE", // required
50
51
  * // QueryStatus: "QUEUED" || "RUNNING" || "FINISHED" || "FAILED" || "CANCELLED" || "TIMED_OUT", // required
52
+ * // EventDataStoreOwnerAccountId: "STRING_VALUE",
51
53
  * // };
52
54
  *
53
55
  * ```
@@ -118,7 +118,7 @@ declare const CreateChannelCommand_base: {
118
118
  * <p>This exception is thrown when the requested operation is not permitted.</p>
119
119
  *
120
120
  * @throws {@link TagsLimitExceededException} (client fault)
121
- * <p>The number of tags per trail, event data store, or channel has exceeded the permitted amount. Currently, the limit is
121
+ * <p>The number of tags per trail, event data store, dashboard, or channel has exceeded the permitted amount. Currently, the limit is
122
122
  * 50.</p>
123
123
  *
124
124
  * @throws {@link UnsupportedOperationException} (client fault)