@aws-sdk/client-cloudtrail 3.489.0 → 3.495.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 (101) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/CloudTrail.js +1 -107
  3. package/dist-cjs/CloudTrailClient.js +1 -43
  4. package/dist-cjs/commands/AddTagsCommand.js +1 -28
  5. package/dist-cjs/commands/CancelQueryCommand.js +1 -28
  6. package/dist-cjs/commands/CreateChannelCommand.js +1 -28
  7. package/dist-cjs/commands/CreateEventDataStoreCommand.js +1 -28
  8. package/dist-cjs/commands/CreateTrailCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteChannelCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteTrailCommand.js +1 -28
  13. package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeQueryCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeTrailsCommand.js +1 -28
  16. package/dist-cjs/commands/DisableFederationCommand.js +1 -28
  17. package/dist-cjs/commands/EnableFederationCommand.js +1 -28
  18. package/dist-cjs/commands/GetChannelCommand.js +1 -28
  19. package/dist-cjs/commands/GetEventDataStoreCommand.js +1 -28
  20. package/dist-cjs/commands/GetEventSelectorsCommand.js +1 -28
  21. package/dist-cjs/commands/GetImportCommand.js +1 -28
  22. package/dist-cjs/commands/GetInsightSelectorsCommand.js +1 -28
  23. package/dist-cjs/commands/GetQueryResultsCommand.js +1 -28
  24. package/dist-cjs/commands/GetResourcePolicyCommand.js +1 -28
  25. package/dist-cjs/commands/GetTrailCommand.js +1 -28
  26. package/dist-cjs/commands/GetTrailStatusCommand.js +1 -28
  27. package/dist-cjs/commands/ListChannelsCommand.js +1 -28
  28. package/dist-cjs/commands/ListEventDataStoresCommand.js +1 -28
  29. package/dist-cjs/commands/ListImportFailuresCommand.js +1 -28
  30. package/dist-cjs/commands/ListImportsCommand.js +1 -28
  31. package/dist-cjs/commands/ListInsightsMetricDataCommand.js +1 -0
  32. package/dist-cjs/commands/ListPublicKeysCommand.js +1 -28
  33. package/dist-cjs/commands/ListQueriesCommand.js +1 -28
  34. package/dist-cjs/commands/ListTagsCommand.js +1 -28
  35. package/dist-cjs/commands/ListTrailsCommand.js +1 -28
  36. package/dist-cjs/commands/LookupEventsCommand.js +1 -28
  37. package/dist-cjs/commands/PutEventSelectorsCommand.js +1 -28
  38. package/dist-cjs/commands/PutInsightSelectorsCommand.js +1 -28
  39. package/dist-cjs/commands/PutResourcePolicyCommand.js +1 -28
  40. package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +1 -28
  41. package/dist-cjs/commands/RemoveTagsCommand.js +1 -28
  42. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +1 -28
  43. package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +1 -28
  44. package/dist-cjs/commands/StartImportCommand.js +1 -28
  45. package/dist-cjs/commands/StartLoggingCommand.js +1 -28
  46. package/dist-cjs/commands/StartQueryCommand.js +1 -28
  47. package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +1 -28
  48. package/dist-cjs/commands/StopImportCommand.js +1 -28
  49. package/dist-cjs/commands/StopLoggingCommand.js +1 -28
  50. package/dist-cjs/commands/UpdateChannelCommand.js +1 -28
  51. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +1 -28
  52. package/dist-cjs/commands/UpdateTrailCommand.js +1 -28
  53. package/dist-cjs/commands/index.js +1 -51
  54. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  55. package/dist-cjs/extensionConfiguration.js +1 -2
  56. package/dist-cjs/index.js +7365 -11
  57. package/dist-cjs/models/CloudTrailServiceException.js +1 -12
  58. package/dist-cjs/models/index.js +1 -4
  59. package/dist-cjs/models/models_0.js +1 -1242
  60. package/dist-cjs/pagination/GetQueryResultsPaginator.js +1 -7
  61. package/dist-cjs/pagination/Interfaces.js +1 -2
  62. package/dist-cjs/pagination/ListChannelsPaginator.js +1 -7
  63. package/dist-cjs/pagination/ListEventDataStoresPaginator.js +1 -7
  64. package/dist-cjs/pagination/ListImportFailuresPaginator.js +1 -7
  65. package/dist-cjs/pagination/ListImportsPaginator.js +1 -7
  66. package/dist-cjs/pagination/ListInsightsMetricDataPaginator.js +1 -0
  67. package/dist-cjs/pagination/ListPublicKeysPaginator.js +1 -7
  68. package/dist-cjs/pagination/ListQueriesPaginator.js +1 -7
  69. package/dist-cjs/pagination/ListTagsPaginator.js +1 -7
  70. package/dist-cjs/pagination/ListTrailsPaginator.js +1 -7
  71. package/dist-cjs/pagination/LookupEventsPaginator.js +1 -7
  72. package/dist-cjs/pagination/index.js +1 -14
  73. package/dist-cjs/protocols/Aws_json1_1.js +1 -4429
  74. package/dist-cjs/runtimeExtensions.js +1 -22
  75. package/dist-es/CloudTrail.js +2 -0
  76. package/dist-es/commands/ListInsightsMetricDataCommand.js +24 -0
  77. package/dist-es/commands/index.js +1 -0
  78. package/dist-es/models/models_0.js +4 -0
  79. package/dist-es/pagination/ListInsightsMetricDataPaginator.js +4 -0
  80. package/dist-es/pagination/index.js +1 -0
  81. package/dist-es/protocols/Aws_json1_1.js +86 -1
  82. package/dist-types/CloudTrail.d.ts +7 -0
  83. package/dist-types/CloudTrailClient.d.ts +3 -2
  84. package/dist-types/commands/DisableFederationCommand.d.ts +4 -5
  85. package/dist-types/commands/EnableFederationCommand.d.ts +3 -4
  86. package/dist-types/commands/ListInsightsMetricDataCommand.d.ts +102 -0
  87. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +2 -2
  88. package/dist-types/commands/index.d.ts +1 -0
  89. package/dist-types/models/models_0.d.ts +428 -164
  90. package/dist-types/pagination/ListInsightsMetricDataPaginator.d.ts +7 -0
  91. package/dist-types/pagination/index.d.ts +1 -0
  92. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  93. package/dist-types/ts3.4/CloudTrail.d.ts +17 -0
  94. package/dist-types/ts3.4/CloudTrailClient.d.ts +6 -0
  95. package/dist-types/ts3.4/commands/ListInsightsMetricDataCommand.d.ts +30 -0
  96. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  97. package/dist-types/ts3.4/models/models_0.d.ts +27 -0
  98. package/dist-types/ts3.4/pagination/ListInsightsMetricDataPaginator.d.ts +11 -0
  99. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  100. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  101. package/package.json +40 -40
@@ -459,12 +459,13 @@ export interface AdvancedFieldSelector {
459
459
  /**
460
460
  * @public
461
461
  * <p> A field in a CloudTrail event record on which to filter events to be logged. For
462
- * event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the field is used only for
463
- * selecting events as filtering is not supported. </p>
464
- * <p> For CloudTrail event records, supported fields include <code>readOnly</code>,
465
- * <code>eventCategory</code>, <code>eventSource</code> (for management events),
466
- * <code>eventName</code>, <code>resources.type</code>, and <code>resources.ARN</code>. </p>
467
- * <p> For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the only supported field is
462
+ * event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the field is used only for
463
+ * selecting events as filtering is not supported.</p>
464
+ * <p>For CloudTrail management events, supported fields include <code>readOnly</code>,
465
+ * <code>eventCategory</code>, and <code>eventSource</code>.</p>
466
+ * <p>For CloudTrail data events, supported fields include <code>readOnly</code>,
467
+ * <code>eventCategory</code>, <code>eventName</code>, <code>resources.type</code>, and <code>resources.ARN</code>.</p>
468
+ * <p> For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the only supported field is
468
469
  * <code>eventCategory</code>. </p>
469
470
  * <ul>
470
471
  * <li>
@@ -506,13 +507,22 @@ export interface AdvancedFieldSelector {
506
507
  * <ul>
507
508
  * <li>
508
509
  * <p>
509
- * For CloudTrail event records, the value
510
- * must be <code>Management</code> or <code>Data</code>.
510
+ * For CloudTrail management events, the value
511
+ * must be <code>Management</code>.
511
512
  * </p>
512
513
  * </li>
513
514
  * <li>
514
515
  * <p>
515
- * For CloudTrail Insights event records, the value
516
+ * For CloudTrail data events, the value
517
+ * must be <code>Data</code>.
518
+ * </p>
519
+ * </li>
520
+ * </ul>
521
+ * <p>The following are used only for event data stores:</p>
522
+ * <ul>
523
+ * <li>
524
+ * <p>
525
+ * For CloudTrail Insights events, the value
516
526
  * must be <code>Insight</code>.
517
527
  * </p>
518
528
  * </li>
@@ -560,6 +570,31 @@ export interface AdvancedFieldSelector {
560
570
  * </li>
561
571
  * <li>
562
572
  * <p>
573
+ * <code>AWS::B2BI::Transformer</code>
574
+ * </p>
575
+ * </li>
576
+ * <li>
577
+ * <p>
578
+ * <code>AWS::Bedrock::AgentAlias</code>
579
+ * </p>
580
+ * </li>
581
+ * <li>
582
+ * <p>
583
+ * <code>AWS::Bedrock::KnowledgeBase</code>
584
+ * </p>
585
+ * </li>
586
+ * <li>
587
+ * <p>
588
+ * <code>AWS::Cassandra::Table</code>
589
+ * </p>
590
+ * </li>
591
+ * <li>
592
+ * <p>
593
+ * <code>AWS::CloudFront::KeyValueStore</code>
594
+ * </p>
595
+ * </li>
596
+ * <li>
597
+ * <p>
563
598
  * <code>AWS::CloudTrail::Channel</code>
564
599
  * </p>
565
600
  * </li>
@@ -610,6 +645,16 @@ export interface AdvancedFieldSelector {
610
645
  * </li>
611
646
  * <li>
612
647
  * <p>
648
+ * <code>AWS::IoTTwinMaker::Entity</code>
649
+ * </p>
650
+ * </li>
651
+ * <li>
652
+ * <p>
653
+ * <code>AWS::IoTTwinMaker::Workspace</code>
654
+ * </p>
655
+ * </li>
656
+ * <li>
657
+ * <p>
613
658
  * <code>AWS::KendraRanking::ExecutionPlan</code>
614
659
  * </p>
615
660
  * </li>
@@ -635,11 +680,41 @@ export interface AdvancedFieldSelector {
635
680
  * </li>
636
681
  * <li>
637
682
  * <p>
683
+ * <code>AWS::NeptuneGraph::Graph</code>
684
+ * </p>
685
+ * </li>
686
+ * <li>
687
+ * <p>
638
688
  * <code>AWS::PCAConnectorAD::Connector</code>
639
689
  * </p>
640
690
  * </li>
641
691
  * <li>
642
692
  * <p>
693
+ * <code>AWS::QBusiness::Application</code>
694
+ * </p>
695
+ * </li>
696
+ * <li>
697
+ * <p>
698
+ * <code>AWS::QBusiness::DataSource</code>
699
+ * </p>
700
+ * </li>
701
+ * <li>
702
+ * <p>
703
+ * <code>AWS::QBusiness::Index</code>
704
+ * </p>
705
+ * </li>
706
+ * <li>
707
+ * <p>
708
+ * <code>AWS::QBusiness::WebExperience</code>
709
+ * </p>
710
+ * </li>
711
+ * <li>
712
+ * <p>
713
+ * <code>AWS::RDS::DBCluster</code>
714
+ * </p>
715
+ * </li>
716
+ * <li>
717
+ * <p>
643
718
  * <code>AWS::SageMaker::Endpoint</code>
644
719
  * </p>
645
720
  * </li>
@@ -655,6 +730,21 @@ export interface AdvancedFieldSelector {
655
730
  * </li>
656
731
  * <li>
657
732
  * <p>
733
+ * <code>AWS::ServiceDiscovery::Namespace </code>
734
+ * </p>
735
+ * </li>
736
+ * <li>
737
+ * <p>
738
+ * <code>AWS::ServiceDiscovery::Service</code>
739
+ * </p>
740
+ * </li>
741
+ * <li>
742
+ * <p>
743
+ * <code>AWS::SCN::Instance</code>
744
+ * </p>
745
+ * </li>
746
+ * <li>
747
+ * <p>
658
748
  * <code>AWS::SNS::PlatformEndpoint</code>
659
749
  * </p>
660
750
  * </li>
@@ -665,6 +755,11 @@ export interface AdvancedFieldSelector {
665
755
  * </li>
666
756
  * <li>
667
757
  * <p>
758
+ * <code>AWS::SQS::Queue</code>
759
+ * </p>
760
+ * </li>
761
+ * <li>
762
+ * <p>
668
763
  * <code>AWS::S3::AccessPoint</code>
669
764
  * </p>
670
765
  * </li>
@@ -685,6 +780,16 @@ export interface AdvancedFieldSelector {
685
780
  * </li>
686
781
  * <li>
687
782
  * <p>
783
+ * <code>AWS::ThinClient::Device</code>
784
+ * </p>
785
+ * </li>
786
+ * <li>
787
+ * <p>
788
+ * <code>AWS::ThinClient::Environment</code>
789
+ * </p>
790
+ * </li>
791
+ * <li>
792
+ * <p>
688
793
  * <code>AWS::Timestream::Database</code>
689
794
  * </p>
690
795
  * </li>
@@ -748,6 +853,56 @@ export interface AdvancedFieldSelector {
748
853
  * </p>
749
854
  * </li>
750
855
  * </ul>
856
+ * <p>When resources.type equals <code>AWS::B2BI::Transformer</code>, and the operator is
857
+ * set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
858
+ * following format:</p>
859
+ * <ul>
860
+ * <li>
861
+ * <p>
862
+ * <code>arn:<partition>:b2bi:<region>:<account_ID>:transformer/<transformer_ID></code>
863
+ * </p>
864
+ * </li>
865
+ * </ul>
866
+ * <p>When resources.type equals <code>AWS::Bedrock::AgentAlias</code>, and the operator is
867
+ * set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
868
+ * following format:</p>
869
+ * <ul>
870
+ * <li>
871
+ * <p>
872
+ * <code>arn:<partition>:bedrock:<region>:<account_ID>:agent-alias/<agent_ID>/<alias_ID></code>
873
+ * </p>
874
+ * </li>
875
+ * </ul>
876
+ * <p>When resources.type equals <code>AWS::Bedrock::KnowledgeBase</code>, and the operator is
877
+ * set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
878
+ * following format:</p>
879
+ * <ul>
880
+ * <li>
881
+ * <p>
882
+ * <code>arn:<partition>:bedrock:<region>:<account_ID>:knowledge-base/<knowledge_base_ID></code>
883
+ * </p>
884
+ * </li>
885
+ * </ul>
886
+ * <p>When resources.type equals <code>AWS::Cassandra::Table</code>, and the operator is
887
+ * set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
888
+ * following format:</p>
889
+ * <ul>
890
+ * <li>
891
+ * <p>
892
+ * <code>arn:<partition>:cassandra:<region>:<account_ID>:/keyspace/<keyspace_name>/table/<table_name></code>
893
+ * </p>
894
+ * </li>
895
+ * </ul>
896
+ * <p>When resources.type equals <code>AWS::CloudFront::KeyValueStore</code>, and the operator is
897
+ * set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
898
+ * following format:</p>
899
+ * <ul>
900
+ * <li>
901
+ * <p>
902
+ * <code>arn:<partition>:cloudfront:<region>:<account_ID>:key-value-store/<KVS_name></code>
903
+ * </p>
904
+ * </li>
905
+ * </ul>
751
906
  * <p>When resources.type equals <code>AWS::CloudTrail::Channel</code>, and the operator is
752
907
  * set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
753
908
  * following format:</p>
@@ -814,7 +969,7 @@ export interface AdvancedFieldSelector {
814
969
  * <ul>
815
970
  * <li>
816
971
  * <p>
817
- * <code>arn:<partition>:emrwal:<region>::workspace/<workspace_name></code>
972
+ * <code>arn:<partition>:emrwal:<region>:<account_ID>:workspace/<workspace_name></code>
818
973
  * </p>
819
974
  * </li>
820
975
  * </ul>
@@ -848,6 +1003,26 @@ export interface AdvancedFieldSelector {
848
1003
  * </p>
849
1004
  * </li>
850
1005
  * </ul>
1006
+ * <p>When <code>resources.type</code> equals <code>AWS::IoTTwinMaker::Entity</code>,
1007
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1008
+ * must be in the following format:</p>
1009
+ * <ul>
1010
+ * <li>
1011
+ * <p>
1012
+ * <code>arn:<partition>:iottwinmaker:<region>:<account_ID>:workspace/<workspace_ID>/entity/<entity_ID></code>
1013
+ * </p>
1014
+ * </li>
1015
+ * </ul>
1016
+ * <p>When <code>resources.type</code> equals <code>AWS::IoTTwinMaker::Workspace</code>,
1017
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1018
+ * must be in the following format:</p>
1019
+ * <ul>
1020
+ * <li>
1021
+ * <p>
1022
+ * <code>arn:<partition>:iottwinmaker:<region>:<account_ID>:workspace/<workspace_ID></code>
1023
+ * </p>
1024
+ * </li>
1025
+ * </ul>
851
1026
  * <p>When <code>resources.type</code> equals <code>AWS::KendraRanking::ExecutionPlan</code>, and the
852
1027
  * operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in
853
1028
  * the following format:</p>
@@ -864,7 +1039,7 @@ export interface AdvancedFieldSelector {
864
1039
  * <ul>
865
1040
  * <li>
866
1041
  * <p>
867
- * <code>arn:<partition>:kinesisvideo:<region>:<account_ID>:stream/<stream_name/<creation_time></code>
1042
+ * <code>arn:<partition>:kinesisvideo:<region>:<account_ID>:stream/<stream_name>/<creation_time></code>
868
1043
  * </p>
869
1044
  * </li>
870
1045
  * </ul>
@@ -898,6 +1073,16 @@ export interface AdvancedFieldSelector {
898
1073
  * </p>
899
1074
  * </li>
900
1075
  * </ul>
1076
+ * <p>When <code>resources.type</code> equals <code>AWS::NeptuneGraph::Graph</code>,
1077
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1078
+ * must be in the following format:</p>
1079
+ * <ul>
1080
+ * <li>
1081
+ * <p>
1082
+ * <code>arn:<partition>:neptune-graph:<region>:<account_ID>:graph/<graph_ID></code>
1083
+ * </p>
1084
+ * </li>
1085
+ * </ul>
901
1086
  * <p>When <code>resources.type</code> equals <code>AWS::PCAConnectorAD::Connector</code>,
902
1087
  * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
903
1088
  * must be in the following format:</p>
@@ -908,6 +1093,56 @@ export interface AdvancedFieldSelector {
908
1093
  * </p>
909
1094
  * </li>
910
1095
  * </ul>
1096
+ * <p>When <code>resources.type</code> equals <code>AWS::QBusiness::Application</code>,
1097
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1098
+ * must be in the following format:</p>
1099
+ * <ul>
1100
+ * <li>
1101
+ * <p>
1102
+ * <code>arn:<partition>:qbusiness:<region>:<account_ID>:application/<application_ID></code>
1103
+ * </p>
1104
+ * </li>
1105
+ * </ul>
1106
+ * <p>When <code>resources.type</code> equals <code>AWS::QBusiness::DataSource</code>,
1107
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1108
+ * must be in the following format:</p>
1109
+ * <ul>
1110
+ * <li>
1111
+ * <p>
1112
+ * <code>arn:<partition>:qbusiness:<region>:<account_ID>:application/<application_ID>/index/<index_ID>/data-source/<datasource_ID></code>
1113
+ * </p>
1114
+ * </li>
1115
+ * </ul>
1116
+ * <p>When <code>resources.type</code> equals <code>AWS::QBusiness::Index</code>,
1117
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1118
+ * must be in the following format:</p>
1119
+ * <ul>
1120
+ * <li>
1121
+ * <p>
1122
+ * <code>arn:<partition>:qbusiness:<region>:<account_ID>:application/<application_ID>/index/<index_ID></code>
1123
+ * </p>
1124
+ * </li>
1125
+ * </ul>
1126
+ * <p>When <code>resources.type</code> equals <code>AWS::QBusiness::WebExperience</code>,
1127
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1128
+ * must be in the following format:</p>
1129
+ * <ul>
1130
+ * <li>
1131
+ * <p>
1132
+ * <code>arn:<partition>:qbusiness:<region>:<account_ID>:application/<application_ID>/web-experience/<web_experience_ID></code>
1133
+ * </p>
1134
+ * </li>
1135
+ * </ul>
1136
+ * <p>When <code>resources.type</code> equals <code>AWS::RDS::DBCluster</code>,
1137
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1138
+ * must be in the following format:</p>
1139
+ * <ul>
1140
+ * <li>
1141
+ * <p>
1142
+ * <code>arn:<partition>:rds:<region>:<account_ID>:cluster/<cluster_name></code>
1143
+ * </p>
1144
+ * </li>
1145
+ * </ul>
911
1146
  * <p>When <code>resources.type</code> equals <code>AWS::SageMaker::Endpoint</code>, and the operator is set to
912
1147
  * <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p>
913
1148
  * <ul>
@@ -935,6 +1170,33 @@ export interface AdvancedFieldSelector {
935
1170
  * </p>
936
1171
  * </li>
937
1172
  * </ul>
1173
+ * <p>When <code>resources.type</code> equals <code>AWS::SCN::Instance</code>, and the operator is set to
1174
+ * <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p>
1175
+ * <ul>
1176
+ * <li>
1177
+ * <p>
1178
+ * <code>arn:<partition>:scn:<region>:<account_ID>:instance/<instance_ID></code>
1179
+ * </p>
1180
+ * </li>
1181
+ * </ul>
1182
+ * <p>When <code>resources.type</code> equals <code>AWS::ServiceDiscovery::Namespace</code>, and the operator is set to
1183
+ * <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p>
1184
+ * <ul>
1185
+ * <li>
1186
+ * <p>
1187
+ * <code>arn:<partition>:servicediscovery:<region>:<account_ID>:namespace/<namespace_ID></code>
1188
+ * </p>
1189
+ * </li>
1190
+ * </ul>
1191
+ * <p>When <code>resources.type</code> equals <code>AWS::ServiceDiscovery::Service</code>, and the operator is set to
1192
+ * <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p>
1193
+ * <ul>
1194
+ * <li>
1195
+ * <p>
1196
+ * <code>arn:<partition>:servicediscovery:<region>:<account_ID>:service/<service_ID></code>
1197
+ * </p>
1198
+ * </li>
1199
+ * </ul>
938
1200
  * <p>When <code>resources.type</code> equals <code>AWS::SNS::PlatformEndpoint</code>,
939
1201
  * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
940
1202
  * must be in the following format:</p>
@@ -955,6 +1217,16 @@ export interface AdvancedFieldSelector {
955
1217
  * </p>
956
1218
  * </li>
957
1219
  * </ul>
1220
+ * <p>When <code>resources.type</code> equals <code>AWS::SQS::Queue</code>,
1221
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1222
+ * must be in the following format:</p>
1223
+ * <ul>
1224
+ * <li>
1225
+ * <p>
1226
+ * <code>arn:<partition>:sqs:<region>:<account_ID>:<queue_name></code>
1227
+ * </p>
1228
+ * </li>
1229
+ * </ul>
958
1230
  * <p>When <code>resources.type</code> equals <code>AWS::S3::AccessPoint</code>, and the
959
1231
  * operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in
960
1232
  * one of the following formats. To log events on all objects in an S3 access point, we
@@ -1003,6 +1275,26 @@ export interface AdvancedFieldSelector {
1003
1275
  * </p>
1004
1276
  * </li>
1005
1277
  * </ul>
1278
+ * <p>When <code>resources.type</code> equals <code>AWS::ThinClient::Device</code>, and
1279
+ * the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be
1280
+ * in the following format:</p>
1281
+ * <ul>
1282
+ * <li>
1283
+ * <p>
1284
+ * <code>arn:<partition>:thinclient:<region>:<account_ID>:device/<device_ID></code>
1285
+ * </p>
1286
+ * </li>
1287
+ * </ul>
1288
+ * <p>When <code>resources.type</code> equals <code>AWS::ThinClient::Environment</code>, and
1289
+ * the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be
1290
+ * in the following format:</p>
1291
+ * <ul>
1292
+ * <li>
1293
+ * <p>
1294
+ * <code>arn:<partition>:thinclient:<region>:<account_ID>:environment/<environment_ID></code>
1295
+ * </p>
1296
+ * </li>
1297
+ * </ul>
1006
1298
  * <p>When <code>resources.type</code> equals <code>AWS::Timestream::Database</code>,
1007
1299
  * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
1008
1300
  * must be in the following format:</p>
@@ -1356,7 +1648,7 @@ export type DestinationType = (typeof DestinationType)[keyof typeof DestinationT
1356
1648
  export interface Destination {
1357
1649
  /**
1358
1650
  * @public
1359
- * <p>The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is <code>EventDataStore</code>. For service-linked channels,
1651
+ * <p>The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is <code>EVENT_DATA_STORE</code>. For service-linked channels,
1360
1652
  * the value is <code>AWS_SERVICE</code>. </p>
1361
1653
  */
1362
1654
  Type: DestinationType | undefined;
@@ -2031,9 +2323,6 @@ export interface CreateTrailRequest {
2031
2323
  * represents the log group to which CloudTrail logs will be delivered. You must use a
2032
2324
  * log group that exists in your account.</p>
2033
2325
  * <p>Not required unless you specify <code>CloudWatchLogsRoleArn</code>.</p>
2034
- * <note>
2035
- * <p>Only the management account can configure a CloudWatch Logs log group for an organization trail. </p>
2036
- * </note>
2037
2326
  */
2038
2327
  CloudWatchLogsLogGroupArn?: string;
2039
2328
  /**
@@ -3381,152 +3670,9 @@ export interface DataResource {
3381
3670
  * </p>
3382
3671
  * </li>
3383
3672
  * </ul>
3384
- * <p>The following resource types are also available through <i>advanced</i>
3385
- * event selectors. Basic event selector resource types are valid in advanced event selectors,
3386
- * but advanced event selector resource types are not valid in basic event selectors. For more
3387
- * information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html">AdvancedFieldSelector</a>.</p>
3388
- * <ul>
3389
- * <li>
3390
- * <p>
3391
- * <code>AWS::CloudTrail::Channel</code>
3392
- * </p>
3393
- * </li>
3394
- * <li>
3395
- * <p>
3396
- * <code>AWS::CodeWhisperer::Customization</code>
3397
- * </p>
3398
- * </li>
3399
- * <li>
3400
- * <p>
3401
- * <code>AWS::CodeWhisperer::Profile</code>
3402
- * </p>
3403
- * </li>
3404
- * <li>
3405
- * <p>
3406
- * <code>AWS::Cognito::IdentityPool</code>
3407
- * </p>
3408
- * </li>
3409
- * <li>
3410
- * <p>
3411
- * <code>AWS::DynamoDB::Stream</code>
3412
- * </p>
3413
- * </li>
3414
- * <li>
3415
- * <p>
3416
- * <code>AWS::EC2::Snapshot</code>
3417
- * </p>
3418
- * </li>
3419
- * <li>
3420
- * <p>
3421
- * <code>AWS::EMRWAL::Workspace</code>
3422
- * </p>
3423
- * </li>
3424
- * <li>
3425
- * <p>
3426
- * <code>AWS::FinSpace::Environment</code>
3427
- * </p>
3428
- * </li>
3429
- * <li>
3430
- * <p>
3431
- * <code>AWS::Glue::Table</code>
3432
- * </p>
3433
- * </li>
3434
- * <li>
3435
- * <p>
3436
- * <code>AWS::GuardDuty::Detector</code>
3437
- * </p>
3438
- * </li>
3439
- * <li>
3440
- * <p>
3441
- * <code>AWS::KendraRanking::ExecutionPlan</code>
3442
- * </p>
3443
- * </li>
3444
- * <li>
3445
- * <p>
3446
- * <code>AWS::KinesisVideo::Stream</code>
3447
- * </p>
3448
- * </li>
3449
- * <li>
3450
- * <p>
3451
- * <code>AWS::ManagedBlockchain::Network</code>
3452
- * </p>
3453
- * </li>
3454
- * <li>
3455
- * <p>
3456
- * <code>AWS::ManagedBlockchain::Node</code>
3457
- * </p>
3458
- * </li>
3459
- * <li>
3460
- * <p>
3461
- * <code>AWS::MedicalImaging::Datastore</code>
3462
- * </p>
3463
- * </li>
3464
- * <li>
3465
- * <p>
3466
- * <code>AWS::PCAConnectorAD::Connector</code>
3467
- * </p>
3468
- * </li>
3469
- * <li>
3470
- * <p>
3471
- * <code>AWS::SageMaker::Endpoint</code>
3472
- * </p>
3473
- * </li>
3474
- * <li>
3475
- * <p>
3476
- * <code>AWS::SageMaker::ExperimentTrialComponent</code>
3477
- * </p>
3478
- * </li>
3479
- * <li>
3480
- * <p>
3481
- * <code>AWS::SageMaker::FeatureGroup</code>
3482
- * </p>
3483
- * </li>
3484
- * <li>
3485
- * <p>
3486
- * <code>AWS::SNS::PlatformEndpoint</code>
3487
- * </p>
3488
- * </li>
3489
- * <li>
3490
- * <p>
3491
- * <code>AWS::SNS::Topic</code>
3492
- * </p>
3493
- * </li>
3494
- * <li>
3495
- * <p>
3496
- * <code>AWS::S3::AccessPoint</code>
3497
- * </p>
3498
- * </li>
3499
- * <li>
3500
- * <p>
3501
- * <code>AWS::S3ObjectLambda::AccessPoint</code>
3502
- * </p>
3503
- * </li>
3504
- * <li>
3505
- * <p>
3506
- * <code>AWS::S3Outposts::Object</code>
3507
- * </p>
3508
- * </li>
3509
- * <li>
3510
- * <p>
3511
- * <code>AWS::SSMMessages::ControlChannel</code>
3512
- * </p>
3513
- * </li>
3514
- * <li>
3515
- * <p>
3516
- * <code>AWS::Timestream::Database</code>
3517
- * </p>
3518
- * </li>
3519
- * <li>
3520
- * <p>
3521
- * <code>AWS::Timestream::Table</code>
3522
- * </p>
3523
- * </li>
3524
- * <li>
3525
- * <p>
3526
- * <code>AWS::VerifiedPermissions::PolicyStore</code>
3527
- * </p>
3528
- * </li>
3529
- * </ul>
3673
+ * <p>Additional resource types are available through <i>advanced</i>
3674
+ * event selectors. For more
3675
+ * information about these additional resource types, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html">AdvancedFieldSelector</a>.</p>
3530
3676
  */
3531
3677
  Type?: string;
3532
3678
  /**
@@ -4557,6 +4703,127 @@ export interface ListImportsResponse {
4557
4703
  */
4558
4704
  NextToken?: string;
4559
4705
  }
4706
+ /**
4707
+ * @public
4708
+ * @enum
4709
+ */
4710
+ export declare const InsightsMetricDataType: {
4711
+ readonly FILL_WITH_ZEROS: "FillWithZeros";
4712
+ readonly NON_ZERO_DATA: "NonZeroData";
4713
+ };
4714
+ /**
4715
+ * @public
4716
+ */
4717
+ export type InsightsMetricDataType = (typeof InsightsMetricDataType)[keyof typeof InsightsMetricDataType];
4718
+ /**
4719
+ * @public
4720
+ */
4721
+ export interface ListInsightsMetricDataRequest {
4722
+ /**
4723
+ * @public
4724
+ * <p>The Amazon Web Services service to which the request was made, such as <code>iam.amazonaws.com</code> or <code>s3.amazonaws.com</code>.</p>
4725
+ */
4726
+ EventSource: string | undefined;
4727
+ /**
4728
+ * @public
4729
+ * <p>The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.</p>
4730
+ */
4731
+ EventName: string | undefined;
4732
+ /**
4733
+ * @public
4734
+ * <p>The type of CloudTrail Insights event, which is either <code>ApiCallRateInsight</code> or <code>ApiErrorRateInsight</code>.
4735
+ * The <code>ApiCallRateInsight</code> Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.
4736
+ * The <code>ApiErrorRateInsight</code> Insights type analyzes management API calls that result in error codes.</p>
4737
+ */
4738
+ InsightType: InsightType | undefined;
4739
+ /**
4740
+ * @public
4741
+ * <p>Conditionally required if the <code>InsightType</code> parameter is set to <code>ApiErrorRateInsight</code>.</p>
4742
+ * <p>If returning metrics for the <code>ApiErrorRateInsight</code> Insights type, this is the error to retrieve data for. For example, <code>AccessDenied</code>.</p>
4743
+ */
4744
+ ErrorCode?: string;
4745
+ /**
4746
+ * @public
4747
+ * <p>Specifies, in UTC, the start time for time-series data. The value specified is inclusive; results include data points with the specified time stamp.</p>
4748
+ * <p>The default is 90 days before the time of request.</p>
4749
+ */
4750
+ StartTime?: Date;
4751
+ /**
4752
+ * @public
4753
+ * <p>Specifies, in UTC, the end time for time-series data. The value specified is exclusive;
4754
+ * results include data points up to the specified time stamp.</p>
4755
+ * <p>The default is the time of request.</p>
4756
+ */
4757
+ EndTime?: Date;
4758
+ /**
4759
+ * @public
4760
+ * <p>Granularity of data to retrieve, in seconds. Valid values are <code>60</code>, <code>300</code>, and <code>3600</code>.
4761
+ * If you specify any other value, you will get an error. The default is 3600 seconds.</p>
4762
+ */
4763
+ Period?: number;
4764
+ /**
4765
+ * @public
4766
+ * <p>Type of datapoints to return. Valid values are <code>NonZeroData</code> and
4767
+ * <code>FillWithZeros</code>. The default is <code>NonZeroData</code>.</p>
4768
+ */
4769
+ DataType?: InsightsMetricDataType;
4770
+ /**
4771
+ * @public
4772
+ * <p>The maximum number of datapoints to return. Valid values are integers from 1 to 21600.
4773
+ * The default value is 21600.</p>
4774
+ */
4775
+ MaxResults?: number;
4776
+ /**
4777
+ * @public
4778
+ * <p>Returned if all datapoints can't be returned in a single call. For example, due to reaching <code>MaxResults</code>.</p>
4779
+ * <p>Add this parameter to the request to continue retrieving results starting from the last evaluated point.</p>
4780
+ */
4781
+ NextToken?: string;
4782
+ }
4783
+ /**
4784
+ * @public
4785
+ */
4786
+ export interface ListInsightsMetricDataResponse {
4787
+ /**
4788
+ * @public
4789
+ * <p>The Amazon Web Services service to which the request was made, such as <code>iam.amazonaws.com</code> or <code>s3.amazonaws.com</code>.</p>
4790
+ */
4791
+ EventSource?: string;
4792
+ /**
4793
+ * @public
4794
+ * <p>The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.</p>
4795
+ */
4796
+ EventName?: string;
4797
+ /**
4798
+ * @public
4799
+ * <p>The type of CloudTrail Insights event, which is either <code>ApiCallRateInsight</code> or <code>ApiErrorRateInsight</code>.
4800
+ * The <code>ApiCallRateInsight</code> Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.
4801
+ * The <code>ApiErrorRateInsight</code> Insights type analyzes management API calls that result in error codes.</p>
4802
+ */
4803
+ InsightType?: InsightType;
4804
+ /**
4805
+ * @public
4806
+ * <p>Only returned if <code>InsightType</code> parameter was set to <code>ApiErrorRateInsight</code>.</p>
4807
+ * <p>If returning metrics for the <code>ApiErrorRateInsight</code> Insights type, this is the error to retrieve data for. For example, <code>AccessDenied</code>.</p>
4808
+ */
4809
+ ErrorCode?: string;
4810
+ /**
4811
+ * @public
4812
+ * <p>List of timestamps at intervals corresponding to the specified time period.</p>
4813
+ */
4814
+ Timestamps?: Date[];
4815
+ /**
4816
+ * @public
4817
+ * <p>List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.</p>
4818
+ */
4819
+ Values?: number[];
4820
+ /**
4821
+ * @public
4822
+ * <p>Only returned if the full results could not be returned in a single query. You can set the <code>NextToken</code> parameter
4823
+ * in the next request to this value to continue retrieval.</p>
4824
+ */
4825
+ NextToken?: string;
4826
+ }
4560
4827
  /**
4561
4828
  * @public
4562
4829
  * <p>Occurs if the timestamp values are not valid. Either the start time occurs after the end
@@ -6232,9 +6499,6 @@ export interface UpdateTrailRequest {
6232
6499
  * represents the log group to which CloudTrail logs are delivered. You must use a log
6233
6500
  * group that exists in your account.</p>
6234
6501
  * <p>Not required unless you specify <code>CloudWatchLogsRoleArn</code>.</p>
6235
- * <note>
6236
- * <p>Only the management account can configure a CloudWatch Logs log group for an organization trail. </p>
6237
- * </note>
6238
6502
  */
6239
6503
  CloudWatchLogsLogGroupArn?: string;
6240
6504
  /**