@aws-sdk/client-cloudtrail 3.686.0 → 3.691.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.
@@ -13,7 +13,7 @@ export declare class AccessDeniedException extends __BaseException {
13
13
  * <p>Brief description of the exception returned by the request.</p>
14
14
  * @public
15
15
  */
16
- Message?: string;
16
+ Message?: string | undefined;
17
17
  /**
18
18
  * @internal
19
19
  */
@@ -31,7 +31,7 @@ export declare class AccountHasOngoingImportException extends __BaseException {
31
31
  * <p>Brief description of the exception returned by the request.</p>
32
32
  * @public
33
33
  */
34
- Message?: string;
34
+ Message?: string | undefined;
35
35
  /**
36
36
  * @internal
37
37
  */
@@ -49,7 +49,7 @@ export declare class AccountNotFoundException extends __BaseException {
49
49
  * <p>Brief description of the exception returned by the request.</p>
50
50
  * @public
51
51
  */
52
- Message?: string;
52
+ Message?: string | undefined;
53
53
  /**
54
54
  * @internal
55
55
  */
@@ -66,7 +66,7 @@ export declare class AccountNotRegisteredException extends __BaseException {
66
66
  * <p>Brief description of the exception returned by the request.</p>
67
67
  * @public
68
68
  */
69
- Message?: string;
69
+ Message?: string | undefined;
70
70
  /**
71
71
  * @internal
72
72
  */
@@ -84,7 +84,7 @@ export declare class AccountRegisteredException extends __BaseException {
84
84
  * <p>Brief description of the exception returned by the request.</p>
85
85
  * @public
86
86
  */
87
- Message?: string;
87
+ Message?: string | undefined;
88
88
  /**
89
89
  * @internal
90
90
  */
@@ -107,7 +107,7 @@ export interface Tag {
107
107
  * characters.</p>
108
108
  * @public
109
109
  */
110
- Value?: string;
110
+ Value?: string | undefined;
111
111
  }
112
112
  /**
113
113
  * <p>Specifies the tags to add to a trail, event data store, or channel.</p>
@@ -153,7 +153,7 @@ export declare class ChannelARNInvalidException extends __BaseException {
153
153
  * <p>Brief description of the exception returned by the request.</p>
154
154
  * @public
155
155
  */
156
- Message?: string;
156
+ Message?: string | undefined;
157
157
  /**
158
158
  * @internal
159
159
  */
@@ -170,7 +170,7 @@ export declare class ChannelNotFoundException extends __BaseException {
170
170
  * <p>Brief description of the exception returned by the request.</p>
171
171
  * @public
172
172
  */
173
- Message?: string;
173
+ Message?: string | undefined;
174
174
  /**
175
175
  * @internal
176
176
  */
@@ -195,7 +195,7 @@ export declare class CloudTrailARNInvalidException extends __BaseException {
195
195
  * <p>Brief description of the exception returned by the request.</p>
196
196
  * @public
197
197
  */
198
- Message?: string;
198
+ Message?: string | undefined;
199
199
  /**
200
200
  * @internal
201
201
  */
@@ -215,7 +215,7 @@ export declare class ConflictException extends __BaseException {
215
215
  * <p>Brief description of the exception returned by the request.</p>
216
216
  * @public
217
217
  */
218
- Message?: string;
218
+ Message?: string | undefined;
219
219
  /**
220
220
  * @internal
221
221
  */
@@ -233,7 +233,7 @@ export declare class EventDataStoreARNInvalidException extends __BaseException {
233
233
  * <p>Brief description of the exception returned by the request.</p>
234
234
  * @public
235
235
  */
236
- Message?: string;
236
+ Message?: string | undefined;
237
237
  /**
238
238
  * @internal
239
239
  */
@@ -250,7 +250,7 @@ export declare class EventDataStoreNotFoundException extends __BaseException {
250
250
  * <p>Brief description of the exception returned by the request.</p>
251
251
  * @public
252
252
  */
253
- Message?: string;
253
+ Message?: string | undefined;
254
254
  /**
255
255
  * @internal
256
256
  */
@@ -267,7 +267,7 @@ export declare class InactiveEventDataStoreException extends __BaseException {
267
267
  * <p>Brief description of the exception returned by the request.</p>
268
268
  * @public
269
269
  */
270
- Message?: string;
270
+ Message?: string | undefined;
271
271
  /**
272
272
  * @internal
273
273
  */
@@ -285,7 +285,7 @@ export declare class InvalidTagParameterException extends __BaseException {
285
285
  * <p>Brief description of the exception returned by the request.</p>
286
286
  * @public
287
287
  */
288
- Message?: string;
288
+ Message?: string | undefined;
289
289
  /**
290
290
  * @internal
291
291
  */
@@ -322,7 +322,7 @@ export declare class InvalidTrailNameException extends __BaseException {
322
322
  * <p>Brief description of the exception returned by the request.</p>
323
323
  * @public
324
324
  */
325
- Message?: string;
325
+ Message?: string | undefined;
326
326
  /**
327
327
  * @internal
328
328
  */
@@ -340,7 +340,7 @@ export declare class NoManagementAccountSLRExistsException extends __BaseExcepti
340
340
  * <p>Brief description of the exception returned by the request.</p>
341
341
  * @public
342
342
  */
343
- Message?: string;
343
+ Message?: string | undefined;
344
344
  /**
345
345
  * @internal
346
346
  */
@@ -359,7 +359,7 @@ export declare class NotOrganizationMasterAccountException extends __BaseExcepti
359
359
  * <p>Brief description of the exception returned by the request.</p>
360
360
  * @public
361
361
  */
362
- Message?: string;
362
+ Message?: string | undefined;
363
363
  /**
364
364
  * @internal
365
365
  */
@@ -376,7 +376,7 @@ export declare class OperationNotPermittedException extends __BaseException {
376
376
  * <p>Brief description of the exception returned by the request.</p>
377
377
  * @public
378
378
  */
379
- Message?: string;
379
+ Message?: string | undefined;
380
380
  /**
381
381
  * @internal
382
382
  */
@@ -393,7 +393,7 @@ export declare class ResourceNotFoundException extends __BaseException {
393
393
  * <p>Brief description of the exception returned by the request.</p>
394
394
  * @public
395
395
  */
396
- Message?: string;
396
+ Message?: string | undefined;
397
397
  /**
398
398
  * @internal
399
399
  */
@@ -410,7 +410,7 @@ export declare class ResourceTypeNotSupportedException extends __BaseException {
410
410
  * <p>Brief description of the exception returned by the request.</p>
411
411
  * @public
412
412
  */
413
- Message?: string;
413
+ Message?: string | undefined;
414
414
  /**
415
415
  * @internal
416
416
  */
@@ -428,7 +428,7 @@ export declare class TagsLimitExceededException extends __BaseException {
428
428
  * <p>Brief description of the exception returned by the request.</p>
429
429
  * @public
430
430
  */
431
- Message?: string;
431
+ Message?: string | undefined;
432
432
  /**
433
433
  * @internal
434
434
  */
@@ -445,7 +445,7 @@ export declare class UnsupportedOperationException extends __BaseException {
445
445
  * <p>Brief description of the exception returned by the request.</p>
446
446
  * @public
447
447
  */
448
- Message?: string;
448
+ Message?: string | undefined;
449
449
  /**
450
450
  * @internal
451
451
  */
@@ -460,9 +460,16 @@ export interface AdvancedFieldSelector {
460
460
  * <p> A field in a CloudTrail event record on which to filter events to be logged. For
461
461
  * 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
462
462
  * selecting events as filtering is not supported.</p>
463
- * <p>For CloudTrail management events, supported fields include <code>eventCategory</code> (required), <code>eventSource</code>, and <code>readOnly</code>.</p>
464
- * <p>For CloudTrail data events, supported fields include <code>eventCategory</code> (required), <code>resources.type</code> (required), <code>eventName</code>, <code>readOnly</code>,
465
- * and <code>resources.ARN</code>.</p>
463
+ * <p>For CloudTrail management events, supported fields include
464
+ * <code>eventCategory</code> (required), <code>eventSource</code>, and
465
+ * <code>readOnly</code>. The following additional fields are available for event data
466
+ * stores: <code>eventName</code>, <code>eventType</code>,
467
+ * <code>sessionCredentialFromConsole</code>, and <code>userIdentity.arn</code>.</p>
468
+ * <p>For CloudTrail data events, supported fields include <code>eventCategory</code>
469
+ * (required), <code>resources.type</code> (required), <code>eventName</code>,
470
+ * <code>readOnly</code>, and <code>resources.ARN</code>. The following additional fields
471
+ * are available for event data stores: <code>eventSource</code>, <code>eventType</code>,
472
+ * <code>sessionCredentialFromConsole</code>, and <code>userIdentity.arn</code>.</p>
466
473
  * <p>For CloudTrail network activity events, supported fields include <code>eventCategory</code> (required), <code>eventSource</code> (required), <code>eventName</code>,
467
474
  * <code>errorCode</code>, and <code>vpcEndpointId</code>.</p>
468
475
  * <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
@@ -483,10 +490,12 @@ export interface AdvancedFieldSelector {
483
490
  * <p>
484
491
  * <b>
485
492
  * <code>eventSource</code>
486
- * </b> - This field is only used for management events and network activity events.</p>
487
- * <p>For management events, this is an optional field that can be set to <code>NotEquals</code>
493
+ * </b> - This field is only used for management events, data events (for event data stores only), and network activity events.</p>
494
+ * <p>For management events for trails, this is an optional field that can be set to <code>NotEquals</code>
488
495
  * <code>kms.amazonaws.com</code> to exclude KMS management events, or <code>NotEquals</code>
489
496
  * <code>rdsdata.amazonaws.com</code> to exclude RDS management events.</p>
497
+ * <p>For management and data events for event data stores, you can use it to include or
498
+ * exclude any event source and can use any operator.</p>
490
499
  * <p>For network activity events, this is a required field that only uses the
491
500
  * <code>Equals</code> operator. Set this field to the event source for which you want to
492
501
  * log network activity events. If you want to log network activity events for multiple
@@ -520,7 +529,7 @@ export interface AdvancedFieldSelector {
520
529
  * <p>
521
530
  * <b>
522
531
  * <code>eventName</code>
523
- * </b> - This is an optional field that is only used for data events and network activity events. You can use any operator with
532
+ * </b> - This is an optional field that is only used for data events, management events (for event data stores only), and network activity events. You can use any operator with
524
533
  * <code>eventName</code>. You can use it to filter in or filter out specific events. You can have
525
534
  * multiple values for this field, separated by commas.</p>
526
535
  * </li>
@@ -572,7 +581,7 @@ export interface AdvancedFieldSelector {
572
581
  * </li>
573
582
  * <li>
574
583
  * <p>
575
- * For non-Amazon Web Services events, the value must be <code>ActivityAuditLog</code>.
584
+ * For events outside of Amazon Web Services, the value must be <code>ActivityAuditLog</code>.
576
585
  * </p>
577
586
  * </li>
578
587
  * </ul>
@@ -580,6 +589,16 @@ export interface AdvancedFieldSelector {
580
589
  * <li>
581
590
  * <p>
582
591
  * <b>
592
+ * <code>eventType</code>
593
+ * </b> - This is an optional
594
+ * field available only for event data stores, which is used to filter management and
595
+ * data events on the event type. For information about available event types, see
596
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type">CloudTrail record contents</a> in the <i>CloudTrail user
597
+ * guide</i>.</p>
598
+ * </li>
599
+ * <li>
600
+ * <p>
601
+ * <b>
583
602
  * <code>errorCode</code>
584
603
  * </b> - This field is only used to filter CloudTrail network activity events
585
604
  * and is optional. This is the error code to filter on. Currently, the only valid <code>errorCode</code> is <code>VpceAccessDenied</code>.
@@ -588,388 +607,20 @@ export interface AdvancedFieldSelector {
588
607
  * <li>
589
608
  * <p>
590
609
  * <b>
610
+ * <code>sessionCredentialFromConsole</code>
611
+ * </b> - This
612
+ * is an optional field available only for event data stores, which is used to filter
613
+ * management and data events based on whether the events originated from an Amazon Web Services Management Console session. <code>sessionCredentialFromConsole</code> can only use the
614
+ * <code>Equals</code> and <code>NotEquals</code> operators.</p>
615
+ * </li>
616
+ * <li>
617
+ * <p>
618
+ * <b>
591
619
  * <code>resources.type</code>
592
620
  * </b> - This field is
593
621
  * required for CloudTrail data events. <code>resources.type</code> can only
594
622
  * use the <code>Equals</code> operator.</p>
595
- * <p>The value can be one of the following:</p>
596
- * <ul>
597
- * <li>
598
- * <p>
599
- * <code>AWS::AppConfig::Configuration</code>
600
- * </p>
601
- * </li>
602
- * <li>
603
- * <p>
604
- * <code>AWS::B2BI::Transformer</code>
605
- * </p>
606
- * </li>
607
- * <li>
608
- * <p>
609
- * <code>AWS::Bedrock::AgentAlias</code>
610
- * </p>
611
- * </li>
612
- * <li>
613
- * <p>
614
- * <code>AWS::Bedrock::FlowAlias</code>
615
- * </p>
616
- * </li>
617
- * <li>
618
- * <p>
619
- * <code>AWS::Bedrock::Guardrail</code>
620
- * </p>
621
- * </li>
622
- * <li>
623
- * <p>
624
- * <code>AWS::Bedrock::KnowledgeBase</code>
625
- * </p>
626
- * </li>
627
- * <li>
628
- * <p>
629
- * <code>AWS::Cassandra::Table</code>
630
- * </p>
631
- * </li>
632
- * <li>
633
- * <p>
634
- * <code>AWS::CloudFront::KeyValueStore</code>
635
- * </p>
636
- * </li>
637
- * <li>
638
- * <p>
639
- * <code>AWS::CloudTrail::Channel</code>
640
- * </p>
641
- * </li>
642
- * <li>
643
- * <p>
644
- * <code>AWS::CloudWatch::Metric</code>
645
- * </p>
646
- * </li>
647
- * <li>
648
- * <p>
649
- * <code>AWS::CodeWhisperer::Customization</code>
650
- * </p>
651
- * </li>
652
- * <li>
653
- * <p>
654
- * <code>AWS::CodeWhisperer::Profile</code>
655
- * </p>
656
- * </li>
657
- * <li>
658
- * <p>
659
- * <code>AWS::Cognito::IdentityPool</code>
660
- * </p>
661
- * </li>
662
- * <li>
663
- * <p>
664
- * <code>AWS::DynamoDB::Stream</code>
665
- * </p>
666
- * </li>
667
- * <li>
668
- * <p>
669
- * <code>AWS::DynamoDB::Table</code>
670
- * </p>
671
- * </li>
672
- * <li>
673
- * <p>
674
- * <code>AWS::EC2::Snapshot</code>
675
- * </p>
676
- * </li>
677
- * <li>
678
- * <p>
679
- * <code>AWS::EMRWAL::Workspace</code>
680
- * </p>
681
- * </li>
682
- * <li>
683
- * <p>
684
- * <code>AWS::FinSpace::Environment</code>
685
- * </p>
686
- * </li>
687
- * <li>
688
- * <p>
689
- * <code>AWS::Glue::Table</code>
690
- * </p>
691
- * </li>
692
- * <li>
693
- * <p>
694
- * <code>AWS::GreengrassV2::ComponentVersion</code>
695
- * </p>
696
- * </li>
697
- * <li>
698
- * <p>
699
- * <code>AWS::GreengrassV2::Deployment</code>
700
- * </p>
701
- * </li>
702
- * <li>
703
- * <p>
704
- * <code>AWS::GuardDuty::Detector</code>
705
- * </p>
706
- * </li>
707
- * <li>
708
- * <p>
709
- * <code>AWS::IoT::Certificate</code>
710
- * </p>
711
- * </li>
712
- * <li>
713
- * <p>
714
- * <code>AWS::IoT::Thing</code>
715
- * </p>
716
- * </li>
717
- * <li>
718
- * <p>
719
- * <code>AWS::IoTSiteWise::Asset</code>
720
- * </p>
721
- * </li>
722
- * <li>
723
- * <p>
724
- * <code>AWS::IoTSiteWise::TimeSeries</code>
725
- * </p>
726
- * </li>
727
- * <li>
728
- * <p>
729
- * <code>AWS::IoTTwinMaker::Entity</code>
730
- * </p>
731
- * </li>
732
- * <li>
733
- * <p>
734
- * <code>AWS::IoTTwinMaker::Workspace</code>
735
- * </p>
736
- * </li>
737
- * <li>
738
- * <p>
739
- * <code>AWS::KendraRanking::ExecutionPlan</code>
740
- * </p>
741
- * </li>
742
- * <li>
743
- * <p>
744
- * <code>AWS::Kinesis::Stream</code>
745
- * </p>
746
- * </li>
747
- * <li>
748
- * <p>
749
- * <code>AWS::Kinesis::StreamConsumer</code>
750
- * </p>
751
- * </li>
752
- * <li>
753
- * <p>
754
- * <code>AWS::KinesisVideo::Stream</code>
755
- * </p>
756
- * </li>
757
- * <li>
758
- * <p>
759
- * <code>AWS::Lambda::Function</code>
760
- * </p>
761
- * </li>
762
- * <li>
763
- * <p>
764
- * <code>AWS::MachineLearning::MlModel</code>
765
- * </p>
766
- * </li>
767
- * <li>
768
- * <p>
769
- * <code>AWS::ManagedBlockchain::Network</code>
770
- * </p>
771
- * </li>
772
- * <li>
773
- * <p>
774
- * <code>AWS::ManagedBlockchain::Node</code>
775
- * </p>
776
- * </li>
777
- * <li>
778
- * <p>
779
- * <code>AWS::MedicalImaging::Datastore</code>
780
- * </p>
781
- * </li>
782
- * <li>
783
- * <p>
784
- * <code>AWS::NeptuneGraph::Graph</code>
785
- * </p>
786
- * </li>
787
- * <li>
788
- * <p>
789
- * <code>AWS::One::UKey</code>
790
- * </p>
791
- * </li>
792
- * <li>
793
- * <p>
794
- * <code>AWS::One::User</code>
795
- * </p>
796
- * </li>
797
- * <li>
798
- * <p>
799
- * <code>AWS::PaymentCryptography::Alias</code>
800
- * </p>
801
- * </li>
802
- * <li>
803
- * <p>
804
- * <code>AWS::PaymentCryptography::Key</code>
805
- * </p>
806
- * </li>
807
- * <li>
808
- * <p>
809
- * <code>AWS::PCAConnectorAD::Connector</code>
810
- * </p>
811
- * </li>
812
- * <li>
813
- * <p>
814
- * <code>AWS::PCAConnectorSCEP::Connector</code>
815
- * </p>
816
- * </li>
817
- * <li>
818
- * <p>
819
- * <code>AWS::QApps:QApp</code>
820
- * </p>
821
- * </li>
822
- * <li>
823
- * <p>
824
- * <code>AWS::QBusiness::Application</code>
825
- * </p>
826
- * </li>
827
- * <li>
828
- * <p>
829
- * <code>AWS::QBusiness::DataSource</code>
830
- * </p>
831
- * </li>
832
- * <li>
833
- * <p>
834
- * <code>AWS::QBusiness::Index</code>
835
- * </p>
836
- * </li>
837
- * <li>
838
- * <p>
839
- * <code>AWS::QBusiness::WebExperience</code>
840
- * </p>
841
- * </li>
842
- * <li>
843
- * <p>
844
- * <code>AWS::RDS::DBCluster</code>
845
- * </p>
846
- * </li>
847
- * <li>
848
- * <p>
849
- * <code>AWS::RUM::AppMonitor</code>
850
- * </p>
851
- * </li>
852
- * <li>
853
- * <p>
854
- * <code>AWS::S3::AccessPoint</code>
855
- * </p>
856
- * </li>
857
- * <li>
858
- * <p>
859
- * <code>AWS::S3::Object</code>
860
- * </p>
861
- * </li>
862
- * <li>
863
- * <p>
864
- * <code>AWS::S3Express::Object</code>
865
- * </p>
866
- * </li>
867
- * <li>
868
- * <p>
869
- * <code>AWS::S3ObjectLambda::AccessPoint</code>
870
- * </p>
871
- * </li>
872
- * <li>
873
- * <p>
874
- * <code>AWS::S3Outposts::Object</code>
875
- * </p>
876
- * </li>
877
- * <li>
878
- * <p>
879
- * <code>AWS::SageMaker::Endpoint</code>
880
- * </p>
881
- * </li>
882
- * <li>
883
- * <p>
884
- * <code>AWS::SageMaker::ExperimentTrialComponent</code>
885
- * </p>
886
- * </li>
887
- * <li>
888
- * <p>
889
- * <code>AWS::SageMaker::FeatureGroup</code>
890
- * </p>
891
- * </li>
892
- * <li>
893
- * <p>
894
- * <code>AWS::ServiceDiscovery::Namespace </code>
895
- * </p>
896
- * </li>
897
- * <li>
898
- * <p>
899
- * <code>AWS::ServiceDiscovery::Service</code>
900
- * </p>
901
- * </li>
902
- * <li>
903
- * <p>
904
- * <code>AWS::SCN::Instance</code>
905
- * </p>
906
- * </li>
907
- * <li>
908
- * <p>
909
- * <code>AWS::SNS::PlatformEndpoint</code>
910
- * </p>
911
- * </li>
912
- * <li>
913
- * <p>
914
- * <code>AWS::SNS::Topic</code>
915
- * </p>
916
- * </li>
917
- * <li>
918
- * <p>
919
- * <code>AWS::SQS::Queue</code>
920
- * </p>
921
- * </li>
922
- * <li>
923
- * <p>
924
- * <code>AWS::SSM::ManagedNode</code>
925
- * </p>
926
- * </li>
927
- * <li>
928
- * <p>
929
- * <code>AWS::SSMMessages::ControlChannel</code>
930
- * </p>
931
- * </li>
932
- * <li>
933
- * <p>
934
- * <code>AWS::StepFunctions::StateMachine</code>
935
- * </p>
936
- * </li>
937
- * <li>
938
- * <p>
939
- * <code>AWS::SWF::Domain</code>
940
- * </p>
941
- * </li>
942
- * <li>
943
- * <p>
944
- * <code>AWS::ThinClient::Device</code>
945
- * </p>
946
- * </li>
947
- * <li>
948
- * <p>
949
- * <code>AWS::ThinClient::Environment</code>
950
- * </p>
951
- * </li>
952
- * <li>
953
- * <p>
954
- * <code>AWS::Timestream::Database</code>
955
- * </p>
956
- * </li>
957
- * <li>
958
- * <p>
959
- * <code>AWS::Timestream::Table</code>
960
- * </p>
961
- * </li>
962
- * <li>
963
- * <p>
964
- * <code>AWS::VerifiedPermissions::PolicyStore</code>
965
- * </p>
966
- * </li>
967
- * <li>
968
- * <p>
969
- * <code>AWS::XRay::Trace</code>
970
- * </p>
971
- * </li>
972
- * </ul>
623
+ * <p>For a list of available resource types for data events, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events">Data events</a> in the <i>CloudTrail User Guide</i>.</p>
973
624
  * <p> You can have only one <code>resources.type</code> field per selector. To log events on more than one resource type, add another selector.</p>
974
625
  * </li>
975
626
  * <li>
@@ -992,6 +643,16 @@ export interface AdvancedFieldSelector {
992
643
  * <li>
993
644
  * <p>
994
645
  * <b>
646
+ * <code>userIdentity.arn</code>
647
+ * </b> - This is an
648
+ * optional field available only for event data stores, which is used to filter
649
+ * management and data events on the userIdentity ARN. You can use any operator with
650
+ * <code>userIdentity.arn</code>. For more information on the userIdentity element,
651
+ * see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html">CloudTrail userIdentity element</a> in the <i>CloudTrail User Guide</i>.</p>
652
+ * </li>
653
+ * <li>
654
+ * <p>
655
+ * <b>
995
656
  * <code>vpcEndpointId</code>
996
657
  * </b> - This field is only used to filter CloudTrail network activity events
997
658
  * and is optional. This field identifies the VPC endpoint that the request passed through. You can use any operator with <code>vpcEndpointId</code>.</p>
@@ -1007,37 +668,37 @@ export interface AdvancedFieldSelector {
1007
668
  * <code>resources.type</code> fields.</p>
1008
669
  * @public
1009
670
  */
1010
- Equals?: string[];
671
+ Equals?: string[] | undefined;
1011
672
  /**
1012
673
  * <p>An operator that includes events that match the first few characters of the event record
1013
674
  * field specified as the value of <code>Field</code>.</p>
1014
675
  * @public
1015
676
  */
1016
- StartsWith?: string[];
677
+ StartsWith?: string[] | undefined;
1017
678
  /**
1018
679
  * <p>An operator that includes events that match the last few characters of the event record
1019
680
  * field specified as the value of <code>Field</code>.</p>
1020
681
  * @public
1021
682
  */
1022
- EndsWith?: string[];
683
+ EndsWith?: string[] | undefined;
1023
684
  /**
1024
685
  * <p> An operator that excludes events that match the exact value of the event record field
1025
686
  * specified as the value of <code>Field</code>. </p>
1026
687
  * @public
1027
688
  */
1028
- NotEquals?: string[];
689
+ NotEquals?: string[] | undefined;
1029
690
  /**
1030
691
  * <p> An operator that excludes events that match the first few characters of the event
1031
692
  * record field specified as the value of <code>Field</code>. </p>
1032
693
  * @public
1033
694
  */
1034
- NotStartsWith?: string[];
695
+ NotStartsWith?: string[] | undefined;
1035
696
  /**
1036
697
  * <p> An operator that excludes events that match the last few characters of the event record
1037
698
  * field specified as the value of <code>Field</code>. </p>
1038
699
  * @public
1039
700
  */
1040
- NotEndsWith?: string[];
701
+ NotEndsWith?: string[] | undefined;
1041
702
  }
1042
703
  /**
1043
704
  * <p>Advanced event selectors let you create fine-grained selectors for CloudTrail management, data, and network activity events. They help you control costs by logging only those
@@ -1063,6 +724,29 @@ export interface AdvancedFieldSelector {
1063
724
  * </p>
1064
725
  * </li>
1065
726
  * </ul>
727
+ * <p>The following additional fields are available for event data stores:</p>
728
+ * <ul>
729
+ * <li>
730
+ * <p>
731
+ * <code>eventName</code>
732
+ * </p>
733
+ * </li>
734
+ * <li>
735
+ * <p>
736
+ * <code>eventType</code>
737
+ * </p>
738
+ * </li>
739
+ * <li>
740
+ * <p>
741
+ * <code>sessionCredentialFromConsole</code>
742
+ * </p>
743
+ * </li>
744
+ * <li>
745
+ * <p>
746
+ * <code>userIdentity.arn</code>
747
+ * </p>
748
+ * </li>
749
+ * </ul>
1066
750
  * <p>
1067
751
  * <b>Supported CloudTrail event record fields for data events</b>
1068
752
  * </p>
@@ -1091,6 +775,29 @@ export interface AdvancedFieldSelector {
1091
775
  * </p>
1092
776
  * </li>
1093
777
  * </ul>
778
+ * <p>The following additional fields are available for event data stores:</p>
779
+ * <ul>
780
+ * <li>
781
+ * <p>
782
+ * <code>eventSource</code>
783
+ * </p>
784
+ * </li>
785
+ * <li>
786
+ * <p>
787
+ * <code>eventType</code>
788
+ * </p>
789
+ * </li>
790
+ * <li>
791
+ * <p>
792
+ * <code>sessionCredentialFromConsole</code>
793
+ * </p>
794
+ * </li>
795
+ * <li>
796
+ * <p>
797
+ * <code>userIdentity.arn</code>
798
+ * </p>
799
+ * </li>
800
+ * </ul>
1094
801
  * <p>
1095
802
  * <b>Supported CloudTrail event record fields for network activity events</b>
1096
803
  * </p>
@@ -1133,7 +840,7 @@ export interface AdvancedEventSelector {
1133
840
  * for only two S3 buckets".</p>
1134
841
  * @public
1135
842
  */
1136
- Name?: string;
843
+ Name?: string | undefined;
1137
844
  /**
1138
845
  * <p>Contains all selector statements in an advanced event selector.</p>
1139
846
  * @public
@@ -1163,7 +870,7 @@ export interface CancelQueryRequest {
1163
870
  * query is running.</p>
1164
871
  * @public
1165
872
  */
1166
- EventDataStore?: string;
873
+ EventDataStore?: string | undefined;
1167
874
  /**
1168
875
  * <p>The ID of the query that you want to cancel. The <code>QueryId</code> comes from the
1169
876
  * response of a <code>StartQuery</code> operation.</p>
@@ -1215,7 +922,7 @@ export declare class InactiveQueryException extends __BaseException {
1215
922
  * <p>Brief description of the exception returned by the request.</p>
1216
923
  * @public
1217
924
  */
1218
- Message?: string;
925
+ Message?: string | undefined;
1219
926
  /**
1220
927
  * @internal
1221
928
  */
@@ -1232,7 +939,7 @@ export declare class InvalidParameterException extends __BaseException {
1232
939
  * <p>Brief description of the exception returned by the request.</p>
1233
940
  * @public
1234
941
  */
1235
- Message?: string;
942
+ Message?: string | undefined;
1236
943
  /**
1237
944
  * @internal
1238
945
  */
@@ -1249,7 +956,7 @@ export declare class QueryIdNotFoundException extends __BaseException {
1249
956
  * <p>Brief description of the exception returned by the request.</p>
1250
957
  * @public
1251
958
  */
1252
- Message?: string;
959
+ Message?: string | undefined;
1253
960
  /**
1254
961
  * @internal
1255
962
  */
@@ -1267,7 +974,7 @@ export declare class CannotDelegateManagementAccountException extends __BaseExce
1267
974
  * <p>Brief description of the exception returned by the request.</p>
1268
975
  * @public
1269
976
  */
1270
- Message?: string;
977
+ Message?: string | undefined;
1271
978
  /**
1272
979
  * @internal
1273
980
  */
@@ -1282,7 +989,7 @@ export interface Channel {
1282
989
  * <p>The Amazon Resource Name (ARN) of a channel.</p>
1283
990
  * @public
1284
991
  */
1285
- ChannelArn?: string;
992
+ ChannelArn?: string | undefined;
1286
993
  /**
1287
994
  * <p> The name of the CloudTrail channel. For service-linked channels, the name is
1288
995
  * <code>aws-service-channel/service-name/custom-suffix</code> where
@@ -1291,7 +998,7 @@ export interface Channel {
1291
998
  * Amazon Web Services service. </p>
1292
999
  * @public
1293
1000
  */
1294
- Name?: string;
1001
+ Name?: string | undefined;
1295
1002
  }
1296
1003
  /**
1297
1004
  * <p>
@@ -1306,7 +1013,7 @@ export declare class ChannelAlreadyExistsException extends __BaseException {
1306
1013
  * <p>Brief description of the exception returned by the request.</p>
1307
1014
  * @public
1308
1015
  */
1309
- Message?: string;
1016
+ Message?: string | undefined;
1310
1017
  /**
1311
1018
  * @internal
1312
1019
  */
@@ -1324,7 +1031,7 @@ export declare class ChannelExistsForEDSException extends __BaseException {
1324
1031
  * <p>Brief description of the exception returned by the request.</p>
1325
1032
  * @public
1326
1033
  */
1327
- Message?: string;
1034
+ Message?: string | undefined;
1328
1035
  /**
1329
1036
  * @internal
1330
1037
  */
@@ -1343,7 +1050,7 @@ export declare class ChannelMaxLimitExceededException extends __BaseException {
1343
1050
  * <p>Brief description of the exception returned by the request.</p>
1344
1051
  * @public
1345
1052
  */
1346
- Message?: string;
1053
+ Message?: string | undefined;
1347
1054
  /**
1348
1055
  * @internal
1349
1056
  */
@@ -1407,7 +1114,7 @@ export interface CreateChannelRequest {
1407
1114
  * <p>A list of tags.</p>
1408
1115
  * @public
1409
1116
  */
1410
- Tags?: Tag[];
1117
+ Tags?: Tag[] | undefined;
1411
1118
  }
1412
1119
  /**
1413
1120
  * @public
@@ -1417,27 +1124,27 @@ export interface CreateChannelResponse {
1417
1124
  * <p>The Amazon Resource Name (ARN) of the new channel.</p>
1418
1125
  * @public
1419
1126
  */
1420
- ChannelArn?: string;
1127
+ ChannelArn?: string | undefined;
1421
1128
  /**
1422
1129
  * <p>The name of the new channel.</p>
1423
1130
  * @public
1424
1131
  */
1425
- Name?: string;
1132
+ Name?: string | undefined;
1426
1133
  /**
1427
1134
  * <p>The partner or external event source name.</p>
1428
1135
  * @public
1429
1136
  */
1430
- Source?: string;
1137
+ Source?: string | undefined;
1431
1138
  /**
1432
1139
  * <p>The event data stores that log the events arriving through the channel.</p>
1433
1140
  * @public
1434
1141
  */
1435
- Destinations?: Destination[];
1142
+ Destinations?: Destination[] | undefined;
1436
1143
  /**
1437
1144
  * <p>A list of tags.</p>
1438
1145
  * @public
1439
1146
  */
1440
- Tags?: Tag[];
1147
+ Tags?: Tag[] | undefined;
1441
1148
  }
1442
1149
  /**
1443
1150
  * <p>This exception is thrown when event categories of specified event data stores are not
@@ -1451,7 +1158,7 @@ export declare class InvalidEventDataStoreCategoryException extends __BaseExcept
1451
1158
  * <p>Brief description of the exception returned by the request.</p>
1452
1159
  * @public
1453
1160
  */
1454
- Message?: string;
1161
+ Message?: string | undefined;
1455
1162
  /**
1456
1163
  * @internal
1457
1164
  */
@@ -1468,7 +1175,7 @@ export declare class InvalidSourceException extends __BaseException {
1468
1175
  * <p>Brief description of the exception returned by the request.</p>
1469
1176
  * @public
1470
1177
  */
1471
- Message?: string;
1178
+ Message?: string | undefined;
1472
1179
  /**
1473
1180
  * @internal
1474
1181
  */
@@ -1485,7 +1192,7 @@ export declare class CloudTrailAccessNotEnabledException extends __BaseException
1485
1192
  * <p>Brief description of the exception returned by the request.</p>
1486
1193
  * @public
1487
1194
  */
1488
- Message?: string;
1195
+ Message?: string | undefined;
1489
1196
  /**
1490
1197
  * @internal
1491
1198
  */
@@ -1510,19 +1217,19 @@ export interface CreateEventDataStoreRequest {
1510
1217
  * <p>For more information about how to use advanced event selectors to include events outside of Amazon Web Services events in your event data store, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-integrations-cli.html#lake-cli-create-integration">Create an integration to log events from outside Amazon Web Services</a> in the CloudTrail User Guide.</p>
1511
1218
  * @public
1512
1219
  */
1513
- AdvancedEventSelectors?: AdvancedEventSelector[];
1220
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1514
1221
  /**
1515
1222
  * <p>Specifies whether the event data store includes events from all Regions, or only from
1516
1223
  * the Region in which the event data store is created.</p>
1517
1224
  * @public
1518
1225
  */
1519
- MultiRegionEnabled?: boolean;
1226
+ MultiRegionEnabled?: boolean | undefined;
1520
1227
  /**
1521
1228
  * <p>Specifies whether an event data store collects events logged for an organization in
1522
1229
  * Organizations.</p>
1523
1230
  * @public
1524
1231
  */
1525
- OrganizationEnabled?: boolean;
1232
+ OrganizationEnabled?: boolean | undefined;
1526
1233
  /**
1527
1234
  * <p>The retention period of the event data store, in days. If <code>BillingMode</code> is set to <code>EXTENDABLE_RETENTION_PRICING</code>, you can set a retention period of
1528
1235
  * up to 3653 days, the equivalent of 10 years. If <code>BillingMode</code> is set to <code>FIXED_RETENTION_PRICING</code>, you can set a retention period of
@@ -1540,19 +1247,19 @@ export interface CreateEventDataStoreRequest {
1540
1247
  * </note>
1541
1248
  * @public
1542
1249
  */
1543
- RetentionPeriod?: number;
1250
+ RetentionPeriod?: number | undefined;
1544
1251
  /**
1545
1252
  * <p>Specifies whether termination protection is enabled for the event data store. If
1546
1253
  * termination protection is enabled, you cannot delete the event data store until termination
1547
1254
  * protection is disabled.</p>
1548
1255
  * @public
1549
1256
  */
1550
- TerminationProtectionEnabled?: boolean;
1257
+ TerminationProtectionEnabled?: boolean | undefined;
1551
1258
  /**
1552
1259
  * <p>A list of tags.</p>
1553
1260
  * @public
1554
1261
  */
1555
- TagsList?: Tag[];
1262
+ TagsList?: Tag[] | undefined;
1556
1263
  /**
1557
1264
  * <p>Specifies the KMS key ID to use to encrypt the events delivered by
1558
1265
  * CloudTrail. The value can be an alias name prefixed by <code>alias/</code>, a
@@ -1594,12 +1301,12 @@ export interface CreateEventDataStoreRequest {
1594
1301
  * </ul>
1595
1302
  * @public
1596
1303
  */
1597
- KmsKeyId?: string;
1304
+ KmsKeyId?: string | undefined;
1598
1305
  /**
1599
1306
  * <p>Specifies whether the event data store should start ingesting live events. The default is true.</p>
1600
1307
  * @public
1601
1308
  */
1602
- StartIngestion?: boolean;
1309
+ StartIngestion?: boolean | undefined;
1603
1310
  /**
1604
1311
  * <p>The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store.</p>
1605
1312
  * <p>The following are the possible values:</p>
@@ -1621,7 +1328,7 @@ export interface CreateEventDataStoreRequest {
1621
1328
  * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html">Managing CloudTrail Lake costs</a>.</p>
1622
1329
  * @public
1623
1330
  */
1624
- BillingMode?: BillingMode;
1331
+ BillingMode?: BillingMode | undefined;
1625
1332
  }
1626
1333
  /**
1627
1334
  * @public
@@ -1647,62 +1354,62 @@ export interface CreateEventDataStoreResponse {
1647
1354
  * <p>The ARN of the event data store.</p>
1648
1355
  * @public
1649
1356
  */
1650
- EventDataStoreArn?: string;
1357
+ EventDataStoreArn?: string | undefined;
1651
1358
  /**
1652
1359
  * <p>The name of the event data store.</p>
1653
1360
  * @public
1654
1361
  */
1655
- Name?: string;
1362
+ Name?: string | undefined;
1656
1363
  /**
1657
1364
  * <p>The status of event data store creation.</p>
1658
1365
  * @public
1659
1366
  */
1660
- Status?: EventDataStoreStatus;
1367
+ Status?: EventDataStoreStatus | undefined;
1661
1368
  /**
1662
1369
  * <p>The advanced event selectors that were used to select the events for the data
1663
1370
  * store.</p>
1664
1371
  * @public
1665
1372
  */
1666
- AdvancedEventSelectors?: AdvancedEventSelector[];
1373
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1667
1374
  /**
1668
1375
  * <p>Indicates whether the event data store collects events from all Regions, or only from
1669
1376
  * the Region in which it was created.</p>
1670
1377
  * @public
1671
1378
  */
1672
- MultiRegionEnabled?: boolean;
1379
+ MultiRegionEnabled?: boolean | undefined;
1673
1380
  /**
1674
1381
  * <p>Indicates whether an event data store is collecting logged events for an organization in
1675
1382
  * Organizations.</p>
1676
1383
  * @public
1677
1384
  */
1678
- OrganizationEnabled?: boolean;
1385
+ OrganizationEnabled?: boolean | undefined;
1679
1386
  /**
1680
1387
  * <p>The retention period of an event data store, in days.</p>
1681
1388
  * @public
1682
1389
  */
1683
- RetentionPeriod?: number;
1390
+ RetentionPeriod?: number | undefined;
1684
1391
  /**
1685
1392
  * <p>Indicates whether termination protection is enabled for the event data store.</p>
1686
1393
  * @public
1687
1394
  */
1688
- TerminationProtectionEnabled?: boolean;
1395
+ TerminationProtectionEnabled?: boolean | undefined;
1689
1396
  /**
1690
1397
  * <p>A list of tags.</p>
1691
1398
  * @public
1692
1399
  */
1693
- TagsList?: Tag[];
1400
+ TagsList?: Tag[] | undefined;
1694
1401
  /**
1695
1402
  * <p>The timestamp that shows when the event data store was created.</p>
1696
1403
  * @public
1697
1404
  */
1698
- CreatedTimestamp?: Date;
1405
+ CreatedTimestamp?: Date | undefined;
1699
1406
  /**
1700
1407
  * <p>The timestamp that shows when an event data store was updated, if applicable.
1701
1408
  * <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in
1702
1409
  * <code>CreatedTimestamp</code>.</p>
1703
1410
  * @public
1704
1411
  */
1705
- UpdatedTimestamp?: Date;
1412
+ UpdatedTimestamp?: Date | undefined;
1706
1413
  /**
1707
1414
  * <p>Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
1708
1415
  * following format.</p>
@@ -1711,12 +1418,12 @@ export interface CreateEventDataStoreResponse {
1711
1418
  * </p>
1712
1419
  * @public
1713
1420
  */
1714
- KmsKeyId?: string;
1421
+ KmsKeyId?: string | undefined;
1715
1422
  /**
1716
1423
  * <p>The billing mode for the event data store.</p>
1717
1424
  * @public
1718
1425
  */
1719
- BillingMode?: BillingMode;
1426
+ BillingMode?: BillingMode | undefined;
1720
1427
  }
1721
1428
  /**
1722
1429
  * <p>An event data store with that name already exists.</p>
@@ -1729,7 +1436,7 @@ export declare class EventDataStoreAlreadyExistsException extends __BaseExceptio
1729
1436
  * <p>Brief description of the exception returned by the request.</p>
1730
1437
  * @public
1731
1438
  */
1732
- Message?: string;
1439
+ Message?: string | undefined;
1733
1440
  /**
1734
1441
  * @internal
1735
1442
  */
@@ -1746,7 +1453,7 @@ export declare class EventDataStoreMaxLimitExceededException extends __BaseExcep
1746
1453
  * <p>Brief description of the exception returned by the request.</p>
1747
1454
  * @public
1748
1455
  */
1749
- Message?: string;
1456
+ Message?: string | undefined;
1750
1457
  /**
1751
1458
  * @internal
1752
1459
  */
@@ -1765,7 +1472,7 @@ export declare class InsufficientDependencyServiceAccessPermissionException exte
1765
1472
  * <p>Brief description of the exception returned by the request.</p>
1766
1473
  * @public
1767
1474
  */
1768
- Message?: string;
1475
+ Message?: string | undefined;
1769
1476
  /**
1770
1477
  * @internal
1771
1478
  */
@@ -1783,7 +1490,7 @@ export declare class InsufficientEncryptionPolicyException extends __BaseExcepti
1783
1490
  * <p>Brief description of the exception returned by the request.</p>
1784
1491
  * @public
1785
1492
  */
1786
- Message?: string;
1493
+ Message?: string | undefined;
1787
1494
  /**
1788
1495
  * @internal
1789
1496
  */
@@ -1827,7 +1534,7 @@ export declare class InvalidEventSelectorsException extends __BaseException {
1827
1534
  * <p>Brief description of the exception returned by the request.</p>
1828
1535
  * @public
1829
1536
  */
1830
- Message?: string;
1537
+ Message?: string | undefined;
1831
1538
  /**
1832
1539
  * @internal
1833
1540
  */
@@ -1844,7 +1551,7 @@ export declare class InvalidKmsKeyIdException extends __BaseException {
1844
1551
  * <p>Brief description of the exception returned by the request.</p>
1845
1552
  * @public
1846
1553
  */
1847
- Message?: string;
1554
+ Message?: string | undefined;
1848
1555
  /**
1849
1556
  * @internal
1850
1557
  */
@@ -1862,7 +1569,7 @@ export declare class KmsException extends __BaseException {
1862
1569
  * <p>Brief description of the exception returned by the request.</p>
1863
1570
  * @public
1864
1571
  */
1865
- Message?: string;
1572
+ Message?: string | undefined;
1866
1573
  /**
1867
1574
  * @internal
1868
1575
  */
@@ -1881,7 +1588,7 @@ export declare class KmsKeyNotFoundException extends __BaseException {
1881
1588
  * <p>Brief description of the exception returned by the request.</p>
1882
1589
  * @public
1883
1590
  */
1884
- Message?: string;
1591
+ Message?: string | undefined;
1885
1592
  /**
1886
1593
  * @internal
1887
1594
  */
@@ -1900,7 +1607,7 @@ export declare class OrganizationNotInAllFeaturesModeException extends __BaseExc
1900
1607
  * <p>Brief description of the exception returned by the request.</p>
1901
1608
  * @public
1902
1609
  */
1903
- Message?: string;
1610
+ Message?: string | undefined;
1904
1611
  /**
1905
1612
  * @internal
1906
1613
  */
@@ -1919,7 +1626,7 @@ export declare class OrganizationsNotInUseException extends __BaseException {
1919
1626
  * <p>Brief description of the exception returned by the request.</p>
1920
1627
  * @public
1921
1628
  */
1922
- Message?: string;
1629
+ Message?: string | undefined;
1923
1630
  /**
1924
1631
  * @internal
1925
1632
  */
@@ -1938,7 +1645,7 @@ export declare class CloudTrailInvalidClientTokenIdException extends __BaseExcep
1938
1645
  * <p>Brief description of the exception returned by the request.</p>
1939
1646
  * @public
1940
1647
  */
1941
- Message?: string;
1648
+ Message?: string | undefined;
1942
1649
  /**
1943
1650
  * @internal
1944
1651
  */
@@ -1955,7 +1662,7 @@ export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseEx
1955
1662
  * <p>Brief description of the exception returned by the request.</p>
1956
1663
  * @public
1957
1664
  */
1958
- Message?: string;
1665
+ Message?: string | undefined;
1959
1666
  /**
1960
1667
  * @internal
1961
1668
  */
@@ -2004,26 +1711,26 @@ export interface CreateTrailRequest {
2004
1711
  * characters.</p>
2005
1712
  * @public
2006
1713
  */
2007
- S3KeyPrefix?: string;
1714
+ S3KeyPrefix?: string | undefined;
2008
1715
  /**
2009
1716
  * <p>Specifies the name of the Amazon SNS topic defined for notification of log file
2010
1717
  * delivery. The maximum length is 256 characters.</p>
2011
1718
  * @public
2012
1719
  */
2013
- SnsTopicName?: string;
1720
+ SnsTopicName?: string | undefined;
2014
1721
  /**
2015
1722
  * <p>Specifies whether the trail is publishing events from global services such as IAM to the
2016
1723
  * log files.</p>
2017
1724
  * @public
2018
1725
  */
2019
- IncludeGlobalServiceEvents?: boolean;
1726
+ IncludeGlobalServiceEvents?: boolean | undefined;
2020
1727
  /**
2021
1728
  * <p>Specifies whether the trail is created in the current Region or in all Regions. The
2022
1729
  * default is false, which creates a trail only in the Region where you are signed in. As a
2023
1730
  * best practice, consider creating trails that log events in all Regions.</p>
2024
1731
  * @public
2025
1732
  */
2026
- IsMultiRegionTrail?: boolean;
1733
+ IsMultiRegionTrail?: boolean | undefined;
2027
1734
  /**
2028
1735
  * <p>Specifies whether log file integrity validation is enabled. The default is false.</p>
2029
1736
  * <note>
@@ -2037,7 +1744,7 @@ export interface CreateTrailRequest {
2037
1744
  * </note>
2038
1745
  * @public
2039
1746
  */
2040
- EnableLogFileValidation?: boolean;
1747
+ EnableLogFileValidation?: boolean | undefined;
2041
1748
  /**
2042
1749
  * <p>Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that
2043
1750
  * represents the log group to which CloudTrail logs will be delivered. You must use a
@@ -2045,13 +1752,13 @@ export interface CreateTrailRequest {
2045
1752
  * <p>Not required unless you specify <code>CloudWatchLogsRoleArn</code>.</p>
2046
1753
  * @public
2047
1754
  */
2048
- CloudWatchLogsLogGroupArn?: string;
1755
+ CloudWatchLogsLogGroupArn?: string | undefined;
2049
1756
  /**
2050
1757
  * <p>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's
2051
1758
  * log group. You must use a role that exists in your account.</p>
2052
1759
  * @public
2053
1760
  */
2054
- CloudWatchLogsRoleArn?: string;
1761
+ CloudWatchLogsRoleArn?: string | undefined;
2055
1762
  /**
2056
1763
  * <p>Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by <code>alias/</code>, a fully
2057
1764
  * specified ARN to an alias, a fully specified ARN to a key, or a globally unique
@@ -2084,19 +1791,19 @@ export interface CreateTrailRequest {
2084
1791
  * </ul>
2085
1792
  * @public
2086
1793
  */
2087
- KmsKeyId?: string;
1794
+ KmsKeyId?: string | undefined;
2088
1795
  /**
2089
1796
  * <p>Specifies whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false,
2090
1797
  * and cannot be true unless the call is made on behalf of an Amazon Web Services account that
2091
1798
  * is the management account or delegated administrator account for an organization in Organizations.</p>
2092
1799
  * @public
2093
1800
  */
2094
- IsOrganizationTrail?: boolean;
1801
+ IsOrganizationTrail?: boolean | undefined;
2095
1802
  /**
2096
1803
  * <p>A list of tags.</p>
2097
1804
  * @public
2098
1805
  */
2099
- TagsList?: Tag[];
1806
+ TagsList?: Tag[] | undefined;
2100
1807
  }
2101
1808
  /**
2102
1809
  * <p>Returns the objects or data listed below if successful. Otherwise, returns an
@@ -2108,26 +1815,26 @@ export interface CreateTrailResponse {
2108
1815
  * <p>Specifies the name of the trail.</p>
2109
1816
  * @public
2110
1817
  */
2111
- Name?: string;
1818
+ Name?: string | undefined;
2112
1819
  /**
2113
1820
  * <p>Specifies the name of the Amazon S3 bucket designated for publishing log
2114
1821
  * files.</p>
2115
1822
  * @public
2116
1823
  */
2117
- S3BucketName?: string;
1824
+ S3BucketName?: string | undefined;
2118
1825
  /**
2119
1826
  * <p>Specifies the Amazon S3 key prefix that comes after the name of the bucket you
2120
1827
  * have designated for log file delivery. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files">Finding Your CloudTrail Log Files</a>.</p>
2121
1828
  * @public
2122
1829
  */
2123
- S3KeyPrefix?: string;
1830
+ S3KeyPrefix?: string | undefined;
2124
1831
  /**
2125
1832
  * @deprecated
2126
1833
  *
2127
1834
  * <p>This field is no longer in use. Use <code>SnsTopicARN</code>.</p>
2128
1835
  * @public
2129
1836
  */
2130
- SnsTopicName?: string;
1837
+ SnsTopicName?: string | undefined;
2131
1838
  /**
2132
1839
  * <p>Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send
2133
1840
  * notifications when log files are delivered. The format of a topic ARN is:</p>
@@ -2136,18 +1843,18 @@ export interface CreateTrailResponse {
2136
1843
  * </p>
2137
1844
  * @public
2138
1845
  */
2139
- SnsTopicARN?: string;
1846
+ SnsTopicARN?: string | undefined;
2140
1847
  /**
2141
1848
  * <p>Specifies whether the trail is publishing events from global services such as IAM to the
2142
1849
  * log files.</p>
2143
1850
  * @public
2144
1851
  */
2145
- IncludeGlobalServiceEvents?: boolean;
1852
+ IncludeGlobalServiceEvents?: boolean | undefined;
2146
1853
  /**
2147
1854
  * <p>Specifies whether the trail exists in one Region or in all Regions.</p>
2148
1855
  * @public
2149
1856
  */
2150
- IsMultiRegionTrail?: boolean;
1857
+ IsMultiRegionTrail?: boolean | undefined;
2151
1858
  /**
2152
1859
  * <p>Specifies the ARN of the trail that was created. The format of a trail ARN is:</p>
2153
1860
  * <p>
@@ -2155,24 +1862,24 @@ export interface CreateTrailResponse {
2155
1862
  * </p>
2156
1863
  * @public
2157
1864
  */
2158
- TrailARN?: string;
1865
+ TrailARN?: string | undefined;
2159
1866
  /**
2160
1867
  * <p>Specifies whether log file integrity validation is enabled.</p>
2161
1868
  * @public
2162
1869
  */
2163
- LogFileValidationEnabled?: boolean;
1870
+ LogFileValidationEnabled?: boolean | undefined;
2164
1871
  /**
2165
1872
  * <p>Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail
2166
1873
  * logs will be delivered.</p>
2167
1874
  * @public
2168
1875
  */
2169
- CloudWatchLogsLogGroupArn?: string;
1876
+ CloudWatchLogsLogGroupArn?: string | undefined;
2170
1877
  /**
2171
1878
  * <p>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's
2172
1879
  * log group.</p>
2173
1880
  * @public
2174
1881
  */
2175
- CloudWatchLogsRoleArn?: string;
1882
+ CloudWatchLogsRoleArn?: string | undefined;
2176
1883
  /**
2177
1884
  * <p>Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
2178
1885
  * following format.</p>
@@ -2181,12 +1888,12 @@ export interface CreateTrailResponse {
2181
1888
  * </p>
2182
1889
  * @public
2183
1890
  */
2184
- KmsKeyId?: string;
1891
+ KmsKeyId?: string | undefined;
2185
1892
  /**
2186
1893
  * <p>Specifies whether the trail is an organization trail.</p>
2187
1894
  * @public
2188
1895
  */
2189
- IsOrganizationTrail?: boolean;
1896
+ IsOrganizationTrail?: boolean | undefined;
2190
1897
  }
2191
1898
  /**
2192
1899
  * <p>This exception is thrown when the policy on the S3 bucket is not sufficient.</p>
@@ -2199,7 +1906,7 @@ export declare class InsufficientS3BucketPolicyException extends __BaseException
2199
1906
  * <p>Brief description of the exception returned by the request.</p>
2200
1907
  * @public
2201
1908
  */
2202
- Message?: string;
1909
+ Message?: string | undefined;
2203
1910
  /**
2204
1911
  * @internal
2205
1912
  */
@@ -2217,7 +1924,7 @@ export declare class InsufficientSnsTopicPolicyException extends __BaseException
2217
1924
  * <p>Brief description of the exception returned by the request.</p>
2218
1925
  * @public
2219
1926
  */
2220
- Message?: string;
1927
+ Message?: string | undefined;
2221
1928
  /**
2222
1929
  * @internal
2223
1930
  */
@@ -2235,7 +1942,7 @@ export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseExc
2235
1942
  * <p>Brief description of the exception returned by the request.</p>
2236
1943
  * @public
2237
1944
  */
2238
- Message?: string;
1945
+ Message?: string | undefined;
2239
1946
  /**
2240
1947
  * @internal
2241
1948
  */
@@ -2252,7 +1959,7 @@ export declare class InvalidCloudWatchLogsRoleArnException extends __BaseExcepti
2252
1959
  * <p>Brief description of the exception returned by the request.</p>
2253
1960
  * @public
2254
1961
  */
2255
- Message?: string;
1962
+ Message?: string | undefined;
2256
1963
  /**
2257
1964
  * @internal
2258
1965
  */
@@ -2270,7 +1977,7 @@ export declare class InvalidParameterCombinationException extends __BaseExceptio
2270
1977
  * <p>Brief description of the exception returned by the request.</p>
2271
1978
  * @public
2272
1979
  */
2273
- Message?: string;
1980
+ Message?: string | undefined;
2274
1981
  /**
2275
1982
  * @internal
2276
1983
  */
@@ -2287,7 +1994,7 @@ export declare class InvalidS3BucketNameException extends __BaseException {
2287
1994
  * <p>Brief description of the exception returned by the request.</p>
2288
1995
  * @public
2289
1996
  */
2290
- Message?: string;
1997
+ Message?: string | undefined;
2291
1998
  /**
2292
1999
  * @internal
2293
2000
  */
@@ -2304,7 +2011,7 @@ export declare class InvalidS3PrefixException extends __BaseException {
2304
2011
  * <p>Brief description of the exception returned by the request.</p>
2305
2012
  * @public
2306
2013
  */
2307
- Message?: string;
2014
+ Message?: string | undefined;
2308
2015
  /**
2309
2016
  * @internal
2310
2017
  */
@@ -2321,7 +2028,7 @@ export declare class InvalidSnsTopicNameException extends __BaseException {
2321
2028
  * <p>Brief description of the exception returned by the request.</p>
2322
2029
  * @public
2323
2030
  */
2324
- Message?: string;
2031
+ Message?: string | undefined;
2325
2032
  /**
2326
2033
  * @internal
2327
2034
  */
@@ -2340,7 +2047,7 @@ export declare class KmsKeyDisabledException extends __BaseException {
2340
2047
  * <p>Brief description of the exception returned by the request.</p>
2341
2048
  * @public
2342
2049
  */
2343
- Message?: string;
2050
+ Message?: string | undefined;
2344
2051
  /**
2345
2052
  * @internal
2346
2053
  */
@@ -2357,7 +2064,7 @@ export declare class MaximumNumberOfTrailsExceededException extends __BaseExcept
2357
2064
  * <p>Brief description of the exception returned by the request.</p>
2358
2065
  * @public
2359
2066
  */
2360
- Message?: string;
2067
+ Message?: string | undefined;
2361
2068
  /**
2362
2069
  * @internal
2363
2070
  */
@@ -2374,7 +2081,7 @@ export declare class S3BucketDoesNotExistException extends __BaseException {
2374
2081
  * <p>Brief description of the exception returned by the request.</p>
2375
2082
  * @public
2376
2083
  */
2377
- Message?: string;
2084
+ Message?: string | undefined;
2378
2085
  /**
2379
2086
  * @internal
2380
2087
  */
@@ -2393,7 +2100,7 @@ export declare class ThrottlingException extends __BaseException {
2393
2100
  * <p>Brief description of the exception returned by the request.</p>
2394
2101
  * @public
2395
2102
  */
2396
- Message?: string;
2103
+ Message?: string | undefined;
2397
2104
  /**
2398
2105
  * @internal
2399
2106
  */
@@ -2410,7 +2117,7 @@ export declare class TrailAlreadyExistsException extends __BaseException {
2410
2117
  * <p>Brief description of the exception returned by the request.</p>
2411
2118
  * @public
2412
2119
  */
2413
- Message?: string;
2120
+ Message?: string | undefined;
2414
2121
  /**
2415
2122
  * @internal
2416
2123
  */
@@ -2427,7 +2134,7 @@ export declare class TrailNotProvidedException extends __BaseException {
2427
2134
  * <p>Brief description of the exception returned by the request.</p>
2428
2135
  * @public
2429
2136
  */
2430
- Message?: string;
2137
+ Message?: string | undefined;
2431
2138
  /**
2432
2139
  * @internal
2433
2140
  */
@@ -2477,7 +2184,7 @@ export declare class EventDataStoreFederationEnabledException extends __BaseExce
2477
2184
  * <p>Brief description of the exception returned by the request.</p>
2478
2185
  * @public
2479
2186
  */
2480
- Message?: string;
2187
+ Message?: string | undefined;
2481
2188
  /**
2482
2189
  * @internal
2483
2190
  */
@@ -2495,7 +2202,7 @@ export declare class EventDataStoreHasOngoingImportException extends __BaseExcep
2495
2202
  * <p>Brief description of the exception returned by the request.</p>
2496
2203
  * @public
2497
2204
  */
2498
- Message?: string;
2205
+ Message?: string | undefined;
2499
2206
  /**
2500
2207
  * @internal
2501
2208
  */
@@ -2513,7 +2220,7 @@ export declare class EventDataStoreTerminationProtectedException extends __BaseE
2513
2220
  * <p>Brief description of the exception returned by the request.</p>
2514
2221
  * @public
2515
2222
  */
2516
- Message?: string;
2223
+ Message?: string | undefined;
2517
2224
  /**
2518
2225
  * @internal
2519
2226
  */
@@ -2552,7 +2259,7 @@ export declare class ResourceARNNotValidException extends __BaseException {
2552
2259
  * <p>Brief description of the exception returned by the request.</p>
2553
2260
  * @public
2554
2261
  */
2555
- Message?: string;
2262
+ Message?: string | undefined;
2556
2263
  /**
2557
2264
  * @internal
2558
2265
  */
@@ -2571,7 +2278,7 @@ export declare class ResourcePolicyNotFoundException extends __BaseException {
2571
2278
  * <p>Brief description of the exception returned by the request.</p>
2572
2279
  * @public
2573
2280
  */
2574
- Message?: string;
2281
+ Message?: string | undefined;
2575
2282
  /**
2576
2283
  * @internal
2577
2284
  */
@@ -2610,7 +2317,7 @@ export declare class InvalidHomeRegionException extends __BaseException {
2610
2317
  * <p>Brief description of the exception returned by the request.</p>
2611
2318
  * @public
2612
2319
  */
2613
- Message?: string;
2320
+ Message?: string | undefined;
2614
2321
  /**
2615
2322
  * @internal
2616
2323
  */
@@ -2627,7 +2334,7 @@ export declare class TrailNotFoundException extends __BaseException {
2627
2334
  * <p>Brief description of the exception returned by the request.</p>
2628
2335
  * @public
2629
2336
  */
2630
- Message?: string;
2337
+ Message?: string | undefined;
2631
2338
  /**
2632
2339
  * @internal
2633
2340
  */
@@ -2665,7 +2372,7 @@ export declare class NotOrganizationManagementAccountException extends __BaseExc
2665
2372
  * <p>Brief description of the exception returned by the request.</p>
2666
2373
  * @public
2667
2374
  */
2668
- Message?: string;
2375
+ Message?: string | undefined;
2669
2376
  /**
2670
2377
  * @internal
2671
2378
  */
@@ -2682,19 +2389,19 @@ export interface DescribeQueryRequest {
2682
2389
  * query was run.</p>
2683
2390
  * @public
2684
2391
  */
2685
- EventDataStore?: string;
2392
+ EventDataStore?: string | undefined;
2686
2393
  /**
2687
2394
  * <p>The query ID.</p>
2688
2395
  * @public
2689
2396
  */
2690
- QueryId?: string;
2397
+ QueryId?: string | undefined;
2691
2398
  /**
2692
2399
  * <p>
2693
2400
  * The alias that identifies a query template.
2694
2401
  * </p>
2695
2402
  * @public
2696
2403
  */
2697
- QueryAlias?: string;
2404
+ QueryAlias?: string | undefined;
2698
2405
  }
2699
2406
  /**
2700
2407
  * @public
@@ -2726,29 +2433,29 @@ export interface QueryStatisticsForDescribeQuery {
2726
2433
  * <p>The number of events that matched a query.</p>
2727
2434
  * @public
2728
2435
  */
2729
- EventsMatched?: number;
2436
+ EventsMatched?: number | undefined;
2730
2437
  /**
2731
2438
  * <p>The number of events that the query scanned in the event data store.</p>
2732
2439
  * @public
2733
2440
  */
2734
- EventsScanned?: number;
2441
+ EventsScanned?: number | undefined;
2735
2442
  /**
2736
2443
  * <p>The total bytes that the query scanned in the event data store. This value matches the
2737
2444
  * number of bytes for which your account is billed for the query, unless the query is still
2738
2445
  * running.</p>
2739
2446
  * @public
2740
2447
  */
2741
- BytesScanned?: number;
2448
+ BytesScanned?: number | undefined;
2742
2449
  /**
2743
2450
  * <p>The query's run time, in milliseconds.</p>
2744
2451
  * @public
2745
2452
  */
2746
- ExecutionTimeInMillis?: number;
2453
+ ExecutionTimeInMillis?: number | undefined;
2747
2454
  /**
2748
2455
  * <p>The creation time of the query.</p>
2749
2456
  * @public
2750
2457
  */
2751
- CreationTime?: Date;
2458
+ CreationTime?: Date | undefined;
2752
2459
  }
2753
2460
  /**
2754
2461
  * @public
@@ -2758,12 +2465,12 @@ export interface DescribeQueryResponse {
2758
2465
  * <p>The ID of the query.</p>
2759
2466
  * @public
2760
2467
  */
2761
- QueryId?: string;
2468
+ QueryId?: string | undefined;
2762
2469
  /**
2763
2470
  * <p>The SQL code of a query.</p>
2764
2471
  * @public
2765
2472
  */
2766
- QueryString?: string;
2473
+ QueryString?: string | undefined;
2767
2474
  /**
2768
2475
  * <p>The status of a query. Values for <code>QueryStatus</code> include <code>QUEUED</code>,
2769
2476
  * <code>RUNNING</code>, <code>FINISHED</code>, <code>FAILED</code>,
@@ -2771,30 +2478,39 @@ export interface DescribeQueryResponse {
2771
2478
  * </p>
2772
2479
  * @public
2773
2480
  */
2774
- QueryStatus?: QueryStatus;
2481
+ QueryStatus?: QueryStatus | undefined;
2775
2482
  /**
2776
2483
  * <p>Metadata about a query, including the number of events that were matched, the total
2777
2484
  * number of events scanned, the query run time in milliseconds, and the query's creation
2778
2485
  * time.</p>
2779
2486
  * @public
2780
2487
  */
2781
- QueryStatistics?: QueryStatisticsForDescribeQuery;
2488
+ QueryStatistics?: QueryStatisticsForDescribeQuery | undefined;
2782
2489
  /**
2783
2490
  * <p>The error message returned if a query failed.</p>
2784
2491
  * @public
2785
2492
  */
2786
- ErrorMessage?: string;
2493
+ ErrorMessage?: string | undefined;
2787
2494
  /**
2788
2495
  * <p>The URI for the S3 bucket where CloudTrail delivered query results, if
2789
2496
  * applicable.</p>
2790
2497
  * @public
2791
2498
  */
2792
- DeliveryS3Uri?: string;
2499
+ DeliveryS3Uri?: string | undefined;
2793
2500
  /**
2794
2501
  * <p>The delivery status.</p>
2795
2502
  * @public
2796
2503
  */
2797
- DeliveryStatus?: DeliveryStatus;
2504
+ DeliveryStatus?: DeliveryStatus | undefined;
2505
+ /**
2506
+ * <p>
2507
+ * The prompt used for a generated query. For information about generated queries, see
2508
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-query-generator.html">Create CloudTrail Lake queries from natural language prompts</a>
2509
+ * in the <i>CloudTrail </i> user guide.
2510
+ * </p>
2511
+ * @public
2512
+ */
2513
+ Prompt?: string | undefined;
2798
2514
  }
2799
2515
  /**
2800
2516
  * <p>Returns information about the trail.</p>
@@ -2828,7 +2544,7 @@ export interface DescribeTrailsRequest {
2828
2544
  * </note>
2829
2545
  * @public
2830
2546
  */
2831
- trailNameList?: string[];
2547
+ trailNameList?: string[] | undefined;
2832
2548
  /**
2833
2549
  * <p>Specifies whether to include shadow trails in the response. A shadow trail is the
2834
2550
  * replication in a Region of a trail that was created in a different Region, or in the case
@@ -2837,7 +2553,7 @@ export interface DescribeTrailsRequest {
2837
2553
  * replication trails will not be returned. The default is true.</p>
2838
2554
  * @public
2839
2555
  */
2840
- includeShadowTrails?: boolean;
2556
+ includeShadowTrails?: boolean | undefined;
2841
2557
  }
2842
2558
  /**
2843
2559
  * <p>The settings for a trail.</p>
@@ -2849,28 +2565,28 @@ export interface Trail {
2849
2565
  * 128 characters.</p>
2850
2566
  * @public
2851
2567
  */
2852
- Name?: string;
2568
+ Name?: string | undefined;
2853
2569
  /**
2854
2570
  * <p>Name of the Amazon S3 bucket into which CloudTrail delivers your trail
2855
2571
  * files. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Amazon S3
2856
2572
  * Bucket naming rules</a>.</p>
2857
2573
  * @public
2858
2574
  */
2859
- S3BucketName?: string;
2575
+ S3BucketName?: string | undefined;
2860
2576
  /**
2861
2577
  * <p>Specifies the Amazon S3 key prefix that comes after the name of the bucket you
2862
2578
  * have designated for log file delivery. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files">Finding Your CloudTrail Log Files</a>. The maximum length is 200
2863
2579
  * characters.</p>
2864
2580
  * @public
2865
2581
  */
2866
- S3KeyPrefix?: string;
2582
+ S3KeyPrefix?: string | undefined;
2867
2583
  /**
2868
2584
  * @deprecated
2869
2585
  *
2870
2586
  * <p>This field is no longer in use. Use <code>SnsTopicARN</code>.</p>
2871
2587
  * @public
2872
2588
  */
2873
- SnsTopicName?: string;
2589
+ SnsTopicName?: string | undefined;
2874
2590
  /**
2875
2591
  * <p>Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send
2876
2592
  * notifications when log files are delivered. The following is the format of a topic
@@ -2880,23 +2596,23 @@ export interface Trail {
2880
2596
  * </p>
2881
2597
  * @public
2882
2598
  */
2883
- SnsTopicARN?: string;
2599
+ SnsTopicARN?: string | undefined;
2884
2600
  /**
2885
2601
  * <p>Set to <b>True</b> to include Amazon Web Services API calls
2886
2602
  * from Amazon Web Services global services such as IAM. Otherwise, <b>False</b>.</p>
2887
2603
  * @public
2888
2604
  */
2889
- IncludeGlobalServiceEvents?: boolean;
2605
+ IncludeGlobalServiceEvents?: boolean | undefined;
2890
2606
  /**
2891
2607
  * <p>Specifies whether the trail exists only in one Region or exists in all Regions.</p>
2892
2608
  * @public
2893
2609
  */
2894
- IsMultiRegionTrail?: boolean;
2610
+ IsMultiRegionTrail?: boolean | undefined;
2895
2611
  /**
2896
2612
  * <p>The Region in which the trail was created.</p>
2897
2613
  * @public
2898
2614
  */
2899
- HomeRegion?: string;
2615
+ HomeRegion?: string | undefined;
2900
2616
  /**
2901
2617
  * <p>Specifies the ARN of the trail. The following is the format of a trail ARN.</p>
2902
2618
  * <p>
@@ -2904,24 +2620,24 @@ export interface Trail {
2904
2620
  * </p>
2905
2621
  * @public
2906
2622
  */
2907
- TrailARN?: string;
2623
+ TrailARN?: string | undefined;
2908
2624
  /**
2909
2625
  * <p>Specifies whether log file validation is enabled.</p>
2910
2626
  * @public
2911
2627
  */
2912
- LogFileValidationEnabled?: boolean;
2628
+ LogFileValidationEnabled?: boolean | undefined;
2913
2629
  /**
2914
2630
  * <p>Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log
2915
2631
  * group to which CloudTrail logs will be delivered.</p>
2916
2632
  * @public
2917
2633
  */
2918
- CloudWatchLogsLogGroupArn?: string;
2634
+ CloudWatchLogsLogGroupArn?: string | undefined;
2919
2635
  /**
2920
2636
  * <p>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's
2921
2637
  * log group.</p>
2922
2638
  * @public
2923
2639
  */
2924
- CloudWatchLogsRoleArn?: string;
2640
+ CloudWatchLogsRoleArn?: string | undefined;
2925
2641
  /**
2926
2642
  * <p>Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
2927
2643
  * following format.</p>
@@ -2930,23 +2646,23 @@ export interface Trail {
2930
2646
  * </p>
2931
2647
  * @public
2932
2648
  */
2933
- KmsKeyId?: string;
2649
+ KmsKeyId?: string | undefined;
2934
2650
  /**
2935
2651
  * <p>Specifies if the trail has custom event selectors.</p>
2936
2652
  * @public
2937
2653
  */
2938
- HasCustomEventSelectors?: boolean;
2654
+ HasCustomEventSelectors?: boolean | undefined;
2939
2655
  /**
2940
2656
  * <p>Specifies whether a trail has insight types specified in an <code>InsightSelector</code>
2941
2657
  * list.</p>
2942
2658
  * @public
2943
2659
  */
2944
- HasInsightSelectors?: boolean;
2660
+ HasInsightSelectors?: boolean | undefined;
2945
2661
  /**
2946
2662
  * <p>Specifies whether the trail is an organization trail.</p>
2947
2663
  * @public
2948
2664
  */
2949
- IsOrganizationTrail?: boolean;
2665
+ IsOrganizationTrail?: boolean | undefined;
2950
2666
  }
2951
2667
  /**
2952
2668
  * <p>Returns the objects or data listed below if successful. Otherwise, returns an
@@ -2963,7 +2679,7 @@ export interface DescribeTrailsResponse {
2963
2679
  * customer managed keys.</p>
2964
2680
  * @public
2965
2681
  */
2966
- trailList?: Trail[];
2682
+ trailList?: Trail[] | undefined;
2967
2683
  }
2968
2684
  /**
2969
2685
  * <p>
@@ -2978,7 +2694,7 @@ export declare class ConcurrentModificationException extends __BaseException {
2978
2694
  * <p>Brief description of the exception returned by the request.</p>
2979
2695
  * @public
2980
2696
  */
2981
- Message?: string;
2697
+ Message?: string | undefined;
2982
2698
  /**
2983
2699
  * @internal
2984
2700
  */
@@ -3020,14 +2736,14 @@ export interface DisableFederationResponse {
3020
2736
  * </p>
3021
2737
  * @public
3022
2738
  */
3023
- EventDataStoreArn?: string;
2739
+ EventDataStoreArn?: string | undefined;
3024
2740
  /**
3025
2741
  * <p>
3026
2742
  * The federation status.
3027
2743
  * </p>
3028
2744
  * @public
3029
2745
  */
3030
- FederationStatus?: FederationStatus;
2746
+ FederationStatus?: FederationStatus | undefined;
3031
2747
  }
3032
2748
  /**
3033
2749
  * @public
@@ -3057,21 +2773,82 @@ export interface EnableFederationResponse {
3057
2773
  * </p>
3058
2774
  * @public
3059
2775
  */
3060
- EventDataStoreArn?: string;
2776
+ EventDataStoreArn?: string | undefined;
3061
2777
  /**
3062
2778
  * <p>
3063
2779
  * The federation status.
3064
2780
  * </p>
3065
2781
  * @public
3066
2782
  */
3067
- FederationStatus?: FederationStatus;
2783
+ FederationStatus?: FederationStatus | undefined;
3068
2784
  /**
3069
2785
  * <p>
3070
2786
  * The ARN of the federation role.
3071
2787
  * </p>
3072
2788
  * @public
3073
2789
  */
3074
- FederationRoleArn?: string;
2790
+ FederationRoleArn?: string | undefined;
2791
+ }
2792
+ /**
2793
+ * @public
2794
+ */
2795
+ export interface GenerateQueryRequest {
2796
+ /**
2797
+ * <p>
2798
+ * The ARN (or ID suffix of the ARN) of the event data store
2799
+ * that you want to query. You can only specify one event data store.
2800
+ * </p>
2801
+ * @public
2802
+ */
2803
+ EventDataStores: string[] | undefined;
2804
+ /**
2805
+ * <p>
2806
+ * The prompt that you want to use to generate the query. The prompt must be in English. For example prompts, see
2807
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-query-generator.html#lake-query-generator-examples">Example prompts</a>
2808
+ * in the <i>CloudTrail </i> user guide.
2809
+ * </p>
2810
+ * @public
2811
+ */
2812
+ Prompt: string | undefined;
2813
+ }
2814
+ /**
2815
+ * @public
2816
+ */
2817
+ export interface GenerateQueryResponse {
2818
+ /**
2819
+ * <p>
2820
+ * The SQL query statement generated from the prompt.
2821
+ * </p>
2822
+ * @public
2823
+ */
2824
+ QueryStatement?: string | undefined;
2825
+ /**
2826
+ * <p>
2827
+ * An alias that identifies the prompt. When you run the <code>StartQuery</code> operation, you can pass in either the <code>QueryAlias</code> or
2828
+ * <code>QueryStatement</code> parameter.
2829
+ * </p>
2830
+ * @public
2831
+ */
2832
+ QueryAlias?: string | undefined;
2833
+ }
2834
+ /**
2835
+ * <p>
2836
+ * This exception is thrown when a valid query could not be generated for the provided prompt.
2837
+ * </p>
2838
+ * @public
2839
+ */
2840
+ export declare class GenerateResponseException extends __BaseException {
2841
+ readonly name: "GenerateResponseException";
2842
+ readonly $fault: "client";
2843
+ /**
2844
+ * <p>Brief description of the exception returned by the request.</p>
2845
+ * @public
2846
+ */
2847
+ Message?: string | undefined;
2848
+ /**
2849
+ * @internal
2850
+ */
2851
+ constructor(opts: __ExceptionOptionType<GenerateResponseException, __BaseException>);
3075
2852
  }
3076
2853
  /**
3077
2854
  * @public
@@ -3093,27 +2870,27 @@ export interface IngestionStatus {
3093
2870
  * <p>The time stamp of the most recent successful ingestion of events for the channel.</p>
3094
2871
  * @public
3095
2872
  */
3096
- LatestIngestionSuccessTime?: Date;
2873
+ LatestIngestionSuccessTime?: Date | undefined;
3097
2874
  /**
3098
2875
  * <p>The event ID of the most recent successful ingestion of events.</p>
3099
2876
  * @public
3100
2877
  */
3101
- LatestIngestionSuccessEventID?: string;
2878
+ LatestIngestionSuccessEventID?: string | undefined;
3102
2879
  /**
3103
2880
  * <p>The error code for the most recent failure to ingest events.</p>
3104
2881
  * @public
3105
2882
  */
3106
- LatestIngestionErrorCode?: string;
2883
+ LatestIngestionErrorCode?: string | undefined;
3107
2884
  /**
3108
2885
  * <p>The time stamp of the most recent attempt to ingest events on the channel.</p>
3109
2886
  * @public
3110
2887
  */
3111
- LatestIngestionAttemptTime?: Date;
2888
+ LatestIngestionAttemptTime?: Date | undefined;
3112
2889
  /**
3113
2890
  * <p>The event ID of the most recent attempt to ingest events.</p>
3114
2891
  * @public
3115
2892
  */
3116
- LatestIngestionAttemptEventID?: string;
2893
+ LatestIngestionAttemptEventID?: string | undefined;
3117
2894
  }
3118
2895
  /**
3119
2896
  * <p> Contains configuration information about the channel. </p>
@@ -3124,12 +2901,12 @@ export interface SourceConfig {
3124
2901
  * <p> Specifies whether the channel applies to a single Region or to all Regions.</p>
3125
2902
  * @public
3126
2903
  */
3127
- ApplyToAllRegions?: boolean;
2904
+ ApplyToAllRegions?: boolean | undefined;
3128
2905
  /**
3129
2906
  * <p> The advanced event selectors that are configured for the channel.</p>
3130
2907
  * @public
3131
2908
  */
3132
- AdvancedEventSelectors?: AdvancedEventSelector[];
2909
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
3133
2910
  }
3134
2911
  /**
3135
2912
  * @public
@@ -3139,7 +2916,7 @@ export interface GetChannelResponse {
3139
2916
  * <p>The ARN of an channel returned by a <code>GetChannel</code> request.</p>
3140
2917
  * @public
3141
2918
  */
3142
- ChannelArn?: string;
2919
+ ChannelArn?: string | undefined;
3143
2920
  /**
3144
2921
  * <p> The name of the CloudTrail channel. For service-linked channels, the name is
3145
2922
  * <code>aws-service-channel/service-name/custom-suffix</code> where
@@ -3148,31 +2925,31 @@ export interface GetChannelResponse {
3148
2925
  * Amazon Web Services service. </p>
3149
2926
  * @public
3150
2927
  */
3151
- Name?: string;
2928
+ Name?: string | undefined;
3152
2929
  /**
3153
2930
  * <p>The source for the CloudTrail channel.</p>
3154
2931
  * @public
3155
2932
  */
3156
- Source?: string;
2933
+ Source?: string | undefined;
3157
2934
  /**
3158
2935
  * <p> Provides information about the advanced event selectors configured for the channel, and
3159
2936
  * whether the channel applies to all Regions or a single Region. </p>
3160
2937
  * @public
3161
2938
  */
3162
- SourceConfig?: SourceConfig;
2939
+ SourceConfig?: SourceConfig | undefined;
3163
2940
  /**
3164
2941
  * <p>The destinations for the channel. For channels created for integrations,
3165
2942
  * the destinations are the event data stores that log events arriving through the channel.
3166
2943
  * For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.</p>
3167
2944
  * @public
3168
2945
  */
3169
- Destinations?: Destination[];
2946
+ Destinations?: Destination[] | undefined;
3170
2947
  /**
3171
2948
  * <p>A table showing information about the most recent successful and failed attempts
3172
2949
  * to ingest events.</p>
3173
2950
  * @public
3174
2951
  */
3175
- IngestionStatus?: IngestionStatus;
2952
+ IngestionStatus?: IngestionStatus | undefined;
3176
2953
  }
3177
2954
  /**
3178
2955
  * @public
@@ -3209,56 +2986,56 @@ export interface GetEventDataStoreResponse {
3209
2986
  * <p>The event data store Amazon Resource Number (ARN).</p>
3210
2987
  * @public
3211
2988
  */
3212
- EventDataStoreArn?: string;
2989
+ EventDataStoreArn?: string | undefined;
3213
2990
  /**
3214
2991
  * <p>The name of the event data store.</p>
3215
2992
  * @public
3216
2993
  */
3217
- Name?: string;
2994
+ Name?: string | undefined;
3218
2995
  /**
3219
2996
  * <p>The status of an event data store.</p>
3220
2997
  * @public
3221
2998
  */
3222
- Status?: EventDataStoreStatus;
2999
+ Status?: EventDataStoreStatus | undefined;
3223
3000
  /**
3224
3001
  * <p>The advanced event selectors used to select events for the data store.</p>
3225
3002
  * @public
3226
3003
  */
3227
- AdvancedEventSelectors?: AdvancedEventSelector[];
3004
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
3228
3005
  /**
3229
3006
  * <p>Indicates whether the event data store includes events from all Regions, or only from
3230
3007
  * the Region in which it was created.</p>
3231
3008
  * @public
3232
3009
  */
3233
- MultiRegionEnabled?: boolean;
3010
+ MultiRegionEnabled?: boolean | undefined;
3234
3011
  /**
3235
3012
  * <p>Indicates whether an event data store is collecting logged events for an organization in
3236
3013
  * Organizations.</p>
3237
3014
  * @public
3238
3015
  */
3239
- OrganizationEnabled?: boolean;
3016
+ OrganizationEnabled?: boolean | undefined;
3240
3017
  /**
3241
3018
  * <p>The retention period of the event data store, in days.</p>
3242
3019
  * @public
3243
3020
  */
3244
- RetentionPeriod?: number;
3021
+ RetentionPeriod?: number | undefined;
3245
3022
  /**
3246
3023
  * <p>Indicates that termination protection is enabled.</p>
3247
3024
  * @public
3248
3025
  */
3249
- TerminationProtectionEnabled?: boolean;
3026
+ TerminationProtectionEnabled?: boolean | undefined;
3250
3027
  /**
3251
3028
  * <p>The timestamp of the event data store's creation.</p>
3252
3029
  * @public
3253
3030
  */
3254
- CreatedTimestamp?: Date;
3031
+ CreatedTimestamp?: Date | undefined;
3255
3032
  /**
3256
3033
  * <p>Shows the time that an event data store was updated, if applicable.
3257
3034
  * <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in
3258
3035
  * <code>CreatedTimestamp</code>.</p>
3259
3036
  * @public
3260
3037
  */
3261
- UpdatedTimestamp?: Date;
3038
+ UpdatedTimestamp?: Date | undefined;
3262
3039
  /**
3263
3040
  * <p>Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
3264
3041
  * following format.</p>
@@ -3267,12 +3044,12 @@ export interface GetEventDataStoreResponse {
3267
3044
  * </p>
3268
3045
  * @public
3269
3046
  */
3270
- KmsKeyId?: string;
3047
+ KmsKeyId?: string | undefined;
3271
3048
  /**
3272
3049
  * <p>The billing mode for the event data store.</p>
3273
3050
  * @public
3274
3051
  */
3275
- BillingMode?: BillingMode;
3052
+ BillingMode?: BillingMode | undefined;
3276
3053
  /**
3277
3054
  * <p>
3278
3055
  * Indicates the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html">Lake query federation</a> status. The status is
@@ -3280,20 +3057,20 @@ export interface GetEventDataStoreResponse {
3280
3057
  * </p>
3281
3058
  * @public
3282
3059
  */
3283
- FederationStatus?: FederationStatus;
3060
+ FederationStatus?: FederationStatus | undefined;
3284
3061
  /**
3285
3062
  * <p>
3286
3063
  * If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
3287
3064
  * </p>
3288
3065
  * @public
3289
3066
  */
3290
- FederationRoleArn?: string;
3067
+ FederationRoleArn?: string | undefined;
3291
3068
  /**
3292
3069
  * <p>The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes
3293
3070
  * event data into partitions based on values derived from partition keys.</p>
3294
3071
  * @public
3295
3072
  */
3296
- PartitionKeys?: PartitionKey[];
3073
+ PartitionKeys?: PartitionKey[] | undefined;
3297
3074
  }
3298
3075
  /**
3299
3076
  * @public
@@ -3430,10 +3207,10 @@ export interface DataResource {
3430
3207
  * </ul>
3431
3208
  * <p>Additional resource types are available through <i>advanced</i>
3432
3209
  * event selectors. For more
3433
- * information about these additional resource types, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html">AdvancedFieldSelector</a>.</p>
3210
+ * information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html">AdvancedEventSelector</a>.</p>
3434
3211
  * @public
3435
3212
  */
3436
- Type?: string;
3213
+ Type?: string | undefined;
3437
3214
  /**
3438
3215
  * <p>An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified
3439
3216
  * resource type.</p>
@@ -3483,7 +3260,7 @@ export interface DataResource {
3483
3260
  * </ul>
3484
3261
  * @public
3485
3262
  */
3486
- Values?: string[];
3263
+ Values?: string[] | undefined;
3487
3264
  }
3488
3265
  /**
3489
3266
  * @public
@@ -3517,7 +3294,7 @@ export interface EventSelector {
3517
3294
  * <p> By default, the value is <code>All</code>.</p>
3518
3295
  * @public
3519
3296
  */
3520
- ReadWriteType?: ReadWriteType;
3297
+ ReadWriteType?: ReadWriteType | undefined;
3521
3298
  /**
3522
3299
  * <p>Specify if you want your event selector to include management events for your
3523
3300
  * trail.</p>
@@ -3529,7 +3306,7 @@ export interface EventSelector {
3529
3306
  * information about CloudTrail pricing, see <a href="http://aws.amazon.com/cloudtrail/pricing/">CloudTrail Pricing</a>.</p>
3530
3307
  * @public
3531
3308
  */
3532
- IncludeManagementEvents?: boolean;
3309
+ IncludeManagementEvents?: boolean | undefined;
3533
3310
  /**
3534
3311
  * <p>CloudTrail supports data event logging for Amazon S3 objects in standard S3 buckets, Lambda functions, and Amazon DynamoDB tables with basic event selectors.
3535
3312
  * You can specify up to 250 resources for an individual event selector, but the total number
@@ -3545,7 +3322,7 @@ export interface EventSelector {
3545
3322
  * </note>
3546
3323
  * @public
3547
3324
  */
3548
- DataResources?: DataResource[];
3325
+ DataResources?: DataResource[] | undefined;
3549
3326
  /**
3550
3327
  * <p>An optional list of service event sources from which you do not want management events
3551
3328
  * to be logged on your trail. In this release, the list can be empty (disables the filter),
@@ -3556,7 +3333,7 @@ export interface EventSelector {
3556
3333
  * event sources only in Regions that support the event source.</p>
3557
3334
  * @public
3558
3335
  */
3559
- ExcludeManagementEventSources?: string[];
3336
+ ExcludeManagementEventSources?: string[] | undefined;
3560
3337
  }
3561
3338
  /**
3562
3339
  * @public
@@ -3566,17 +3343,17 @@ export interface GetEventSelectorsResponse {
3566
3343
  * <p>The specified trail ARN that has the event selectors.</p>
3567
3344
  * @public
3568
3345
  */
3569
- TrailARN?: string;
3346
+ TrailARN?: string | undefined;
3570
3347
  /**
3571
3348
  * <p>The event selectors that are configured for the trail.</p>
3572
3349
  * @public
3573
3350
  */
3574
- EventSelectors?: EventSelector[];
3351
+ EventSelectors?: EventSelector[] | undefined;
3575
3352
  /**
3576
3353
  * <p> The advanced event selectors that are configured for the trail. </p>
3577
3354
  * @public
3578
3355
  */
3579
- AdvancedEventSelectors?: AdvancedEventSelector[];
3356
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
3580
3357
  }
3581
3358
  /**
3582
3359
  * @public
@@ -3631,27 +3408,27 @@ export interface ImportStatistics {
3631
3408
  * <p> The number of S3 prefixes found for the import. </p>
3632
3409
  * @public
3633
3410
  */
3634
- PrefixesFound?: number;
3411
+ PrefixesFound?: number | undefined;
3635
3412
  /**
3636
3413
  * <p> The number of S3 prefixes that completed import. </p>
3637
3414
  * @public
3638
3415
  */
3639
- PrefixesCompleted?: number;
3416
+ PrefixesCompleted?: number | undefined;
3640
3417
  /**
3641
3418
  * <p>The number of log files that completed import.</p>
3642
3419
  * @public
3643
3420
  */
3644
- FilesCompleted?: number;
3421
+ FilesCompleted?: number | undefined;
3645
3422
  /**
3646
3423
  * <p> The number of trail events imported into the event data store. </p>
3647
3424
  * @public
3648
3425
  */
3649
- EventsCompleted?: number;
3426
+ EventsCompleted?: number | undefined;
3650
3427
  /**
3651
3428
  * <p> The number of failed entries. </p>
3652
3429
  * @public
3653
3430
  */
3654
- FailedEntries?: number;
3431
+ FailedEntries?: number | undefined;
3655
3432
  }
3656
3433
  /**
3657
3434
  * @public
@@ -3676,46 +3453,46 @@ export interface GetImportResponse {
3676
3453
  * <p> The ID of the import. </p>
3677
3454
  * @public
3678
3455
  */
3679
- ImportId?: string;
3456
+ ImportId?: string | undefined;
3680
3457
  /**
3681
3458
  * <p> The ARN of the destination event data store. </p>
3682
3459
  * @public
3683
3460
  */
3684
- Destinations?: string[];
3461
+ Destinations?: string[] | undefined;
3685
3462
  /**
3686
3463
  * <p> The source S3 bucket. </p>
3687
3464
  * @public
3688
3465
  */
3689
- ImportSource?: ImportSource;
3466
+ ImportSource?: ImportSource | undefined;
3690
3467
  /**
3691
3468
  * <p> Used with <code>EndEventTime</code> to bound a <code>StartImport</code> request, and
3692
3469
  * limit imported trail events to only those events logged within a specified time period.
3693
3470
  * </p>
3694
3471
  * @public
3695
3472
  */
3696
- StartEventTime?: Date;
3473
+ StartEventTime?: Date | undefined;
3697
3474
  /**
3698
3475
  * <p> Used with <code>StartEventTime</code> to bound a <code>StartImport</code> request, and
3699
3476
  * limit imported trail events to only those events logged within a specified time period.
3700
3477
  * </p>
3701
3478
  * @public
3702
3479
  */
3703
- EndEventTime?: Date;
3480
+ EndEventTime?: Date | undefined;
3704
3481
  /**
3705
3482
  * <p> The status of the import. </p>
3706
3483
  * @public
3707
3484
  */
3708
- ImportStatus?: ImportStatus;
3485
+ ImportStatus?: ImportStatus | undefined;
3709
3486
  /**
3710
3487
  * <p> The timestamp of the import's creation. </p>
3711
3488
  * @public
3712
3489
  */
3713
- CreatedTimestamp?: Date;
3490
+ CreatedTimestamp?: Date | undefined;
3714
3491
  /**
3715
3492
  * <p> The timestamp of when the import was updated. </p>
3716
3493
  * @public
3717
3494
  */
3718
- UpdatedTimestamp?: Date;
3495
+ UpdatedTimestamp?: Date | undefined;
3719
3496
  /**
3720
3497
  * <p> Provides statistics for the import. CloudTrail does not update import statistics
3721
3498
  * in real-time. Returned values for parameters such as <code>EventsCompleted</code> may be
@@ -3723,7 +3500,7 @@ export interface GetImportResponse {
3723
3500
  * over the course of the import. </p>
3724
3501
  * @public
3725
3502
  */
3726
- ImportStatistics?: ImportStatistics;
3503
+ ImportStatistics?: ImportStatistics | undefined;
3727
3504
  }
3728
3505
  /**
3729
3506
  * <p> The specified import was not found. </p>
@@ -3736,7 +3513,7 @@ export declare class ImportNotFoundException extends __BaseException {
3736
3513
  * <p>Brief description of the exception returned by the request.</p>
3737
3514
  * @public
3738
3515
  */
3739
- Message?: string;
3516
+ Message?: string | undefined;
3740
3517
  /**
3741
3518
  * @internal
3742
3519
  */
@@ -3775,7 +3552,7 @@ export interface GetInsightSelectorsRequest {
3775
3552
  * <p>You cannot use this parameter with the <code>EventDataStore</code> parameter.</p>
3776
3553
  * @public
3777
3554
  */
3778
- TrailName?: string;
3555
+ TrailName?: string | undefined;
3779
3556
  /**
3780
3557
  * <p>
3781
3558
  * Specifies the ARN (or ID suffix of the ARN) of the event data store for which you want to get Insights
@@ -3784,7 +3561,7 @@ export interface GetInsightSelectorsRequest {
3784
3561
  * <p>You cannot use this parameter with the <code>TrailName</code> parameter.</p>
3785
3562
  * @public
3786
3563
  */
3787
- EventDataStore?: string;
3564
+ EventDataStore?: string | undefined;
3788
3565
  }
3789
3566
  /**
3790
3567
  * @public
@@ -3813,7 +3590,7 @@ export interface InsightSelector {
3813
3590
  * unsuccessful.</p>
3814
3591
  * @public
3815
3592
  */
3816
- InsightType?: InsightType;
3593
+ InsightType?: InsightType | undefined;
3817
3594
  }
3818
3595
  /**
3819
3596
  * @public
@@ -3824,27 +3601,27 @@ export interface GetInsightSelectorsResponse {
3824
3601
  * selectors.</p>
3825
3602
  * @public
3826
3603
  */
3827
- TrailARN?: string;
3604
+ TrailARN?: string | undefined;
3828
3605
  /**
3829
3606
  * <p>A JSON string that contains the Insight types you want to log on a trail or event data store. <code>ApiErrorRateInsight</code> and <code>ApiCallRateInsight</code> are supported
3830
3607
  * as Insights types.</p>
3831
3608
  * @public
3832
3609
  */
3833
- InsightSelectors?: InsightSelector[];
3610
+ InsightSelectors?: InsightSelector[] | undefined;
3834
3611
  /**
3835
3612
  * <p>
3836
3613
  * The ARN of the source event data store that enabled Insights events.
3837
3614
  * </p>
3838
3615
  * @public
3839
3616
  */
3840
- EventDataStoreArn?: string;
3617
+ EventDataStoreArn?: string | undefined;
3841
3618
  /**
3842
3619
  * <p>
3843
3620
  * The ARN of the destination event data store that logs Insights events.
3844
3621
  * </p>
3845
3622
  * @public
3846
3623
  */
3847
- InsightsDestination?: string;
3624
+ InsightsDestination?: string | undefined;
3848
3625
  }
3849
3626
  /**
3850
3627
  * <p>If you run <code>GetInsightSelectors</code> on a trail or event data store that does not have Insights
@@ -3859,7 +3636,7 @@ export declare class InsightNotEnabledException extends __BaseException {
3859
3636
  * <p>Brief description of the exception returned by the request.</p>
3860
3637
  * @public
3861
3638
  */
3862
- Message?: string;
3639
+ Message?: string | undefined;
3863
3640
  /**
3864
3641
  * @internal
3865
3642
  */
@@ -3876,7 +3653,7 @@ export interface GetQueryResultsRequest {
3876
3653
  * run.</p>
3877
3654
  * @public
3878
3655
  */
3879
- EventDataStore?: string;
3656
+ EventDataStore?: string | undefined;
3880
3657
  /**
3881
3658
  * <p>The ID of the query for which you want to get results.</p>
3882
3659
  * @public
@@ -3886,12 +3663,12 @@ export interface GetQueryResultsRequest {
3886
3663
  * <p>A token you can use to get the next page of query results.</p>
3887
3664
  * @public
3888
3665
  */
3889
- NextToken?: string;
3666
+ NextToken?: string | undefined;
3890
3667
  /**
3891
3668
  * <p>The maximum number of query results to display on a single page.</p>
3892
3669
  * @public
3893
3670
  */
3894
- MaxQueryResults?: number;
3671
+ MaxQueryResults?: number | undefined;
3895
3672
  }
3896
3673
  /**
3897
3674
  * <p>Metadata about a query, such as the number of results.</p>
@@ -3902,19 +3679,19 @@ export interface QueryStatistics {
3902
3679
  * <p>The number of results returned.</p>
3903
3680
  * @public
3904
3681
  */
3905
- ResultsCount?: number;
3682
+ ResultsCount?: number | undefined;
3906
3683
  /**
3907
3684
  * <p>The total number of results returned by a query.</p>
3908
3685
  * @public
3909
3686
  */
3910
- TotalResultsCount?: number;
3687
+ TotalResultsCount?: number | undefined;
3911
3688
  /**
3912
3689
  * <p>The total bytes that the query scanned in the event data store. This value matches the
3913
3690
  * number of bytes for which your account is billed for the query, unless the query is still
3914
3691
  * running.</p>
3915
3692
  * @public
3916
3693
  */
3917
- BytesScanned?: number;
3694
+ BytesScanned?: number | undefined;
3918
3695
  }
3919
3696
  /**
3920
3697
  * @public
@@ -3926,27 +3703,27 @@ export interface GetQueryResultsResponse {
3926
3703
  * <code>CANCELLED</code>.</p>
3927
3704
  * @public
3928
3705
  */
3929
- QueryStatus?: QueryStatus;
3706
+ QueryStatus?: QueryStatus | undefined;
3930
3707
  /**
3931
3708
  * <p>Shows the count of query results.</p>
3932
3709
  * @public
3933
3710
  */
3934
- QueryStatistics?: QueryStatistics;
3711
+ QueryStatistics?: QueryStatistics | undefined;
3935
3712
  /**
3936
3713
  * <p>Contains the individual event results of the query.</p>
3937
3714
  * @public
3938
3715
  */
3939
- QueryResultRows?: Record<string, string>[][];
3716
+ QueryResultRows?: Record<string, string>[][] | undefined;
3940
3717
  /**
3941
3718
  * <p>A token you can use to get the next page of query results.</p>
3942
3719
  * @public
3943
3720
  */
3944
- NextToken?: string;
3721
+ NextToken?: string | undefined;
3945
3722
  /**
3946
3723
  * <p>The error message returned if a query failed.</p>
3947
3724
  * @public
3948
3725
  */
3949
- ErrorMessage?: string;
3726
+ ErrorMessage?: string | undefined;
3950
3727
  }
3951
3728
  /**
3952
3729
  * <p>This exception is thrown if the limit specified is not valid.</p>
@@ -3959,7 +3736,7 @@ export declare class InvalidMaxResultsException extends __BaseException {
3959
3736
  * <p>Brief description of the exception returned by the request.</p>
3960
3737
  * @public
3961
3738
  */
3962
- Message?: string;
3739
+ Message?: string | undefined;
3963
3740
  /**
3964
3741
  * @internal
3965
3742
  */
@@ -3977,7 +3754,7 @@ export declare class InvalidNextTokenException extends __BaseException {
3977
3754
  * <p>Brief description of the exception returned by the request.</p>
3978
3755
  * @public
3979
3756
  */
3980
- Message?: string;
3757
+ Message?: string | undefined;
3981
3758
  /**
3982
3759
  * @internal
3983
3760
  */
@@ -4007,14 +3784,14 @@ export interface GetResourcePolicyResponse {
4007
3784
  * </p>
4008
3785
  * @public
4009
3786
  */
4010
- ResourceArn?: string;
3787
+ ResourceArn?: string | undefined;
4011
3788
  /**
4012
3789
  * <p>
4013
3790
  * A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.
4014
3791
  * </p>
4015
3792
  * @public
4016
3793
  */
4017
- ResourcePolicy?: string;
3794
+ ResourcePolicy?: string | undefined;
4018
3795
  }
4019
3796
  /**
4020
3797
  * @public
@@ -4035,7 +3812,7 @@ export interface GetTrailResponse {
4035
3812
  * <p>The settings for a trail.</p>
4036
3813
  * @public
4037
3814
  */
4038
- Trail?: Trail;
3815
+ Trail?: Trail | undefined;
4039
3816
  }
4040
3817
  /**
4041
3818
  * <p>The name of a trail about which you want the current status.</p>
@@ -4065,7 +3842,7 @@ export interface GetTrailStatusResponse {
4065
3842
  * calls.</p>
4066
3843
  * @public
4067
3844
  */
4068
- IsLogging?: boolean;
3845
+ IsLogging?: boolean | undefined;
4069
3846
  /**
4070
3847
  * <p>Displays any Amazon S3 error that CloudTrail encountered when attempting
4071
3848
  * to deliver log files to the designated bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html">Error
@@ -4078,7 +3855,7 @@ export interface GetTrailStatusResponse {
4078
3855
  * </note>
4079
3856
  * @public
4080
3857
  */
4081
- LatestDeliveryError?: string;
3858
+ LatestDeliveryError?: string | undefined;
4082
3859
  /**
4083
3860
  * <p>Displays any Amazon SNS error that CloudTrail encountered when attempting
4084
3861
  * to send a notification. For more information about Amazon SNS errors, see the
@@ -4086,49 +3863,49 @@ export interface GetTrailStatusResponse {
4086
3863
  * Developer Guide</a>. </p>
4087
3864
  * @public
4088
3865
  */
4089
- LatestNotificationError?: string;
3866
+ LatestNotificationError?: string | undefined;
4090
3867
  /**
4091
3868
  * <p>Specifies the date and time that CloudTrail last delivered log files to an
4092
3869
  * account's Amazon S3 bucket.</p>
4093
3870
  * @public
4094
3871
  */
4095
- LatestDeliveryTime?: Date;
3872
+ LatestDeliveryTime?: Date | undefined;
4096
3873
  /**
4097
3874
  * <p>Specifies the date and time of the most recent Amazon SNS notification that
4098
3875
  * CloudTrail has written a new log file to an account's Amazon S3
4099
3876
  * bucket.</p>
4100
3877
  * @public
4101
3878
  */
4102
- LatestNotificationTime?: Date;
3879
+ LatestNotificationTime?: Date | undefined;
4103
3880
  /**
4104
3881
  * <p>Specifies the most recent date and time when CloudTrail started recording API
4105
3882
  * calls for an Amazon Web Services account.</p>
4106
3883
  * @public
4107
3884
  */
4108
- StartLoggingTime?: Date;
3885
+ StartLoggingTime?: Date | undefined;
4109
3886
  /**
4110
3887
  * <p>Specifies the most recent date and time when CloudTrail stopped recording API
4111
3888
  * calls for an Amazon Web Services account.</p>
4112
3889
  * @public
4113
3890
  */
4114
- StopLoggingTime?: Date;
3891
+ StopLoggingTime?: Date | undefined;
4115
3892
  /**
4116
3893
  * <p>Displays any CloudWatch Logs error that CloudTrail encountered when attempting
4117
3894
  * to deliver logs to CloudWatch Logs.</p>
4118
3895
  * @public
4119
3896
  */
4120
- LatestCloudWatchLogsDeliveryError?: string;
3897
+ LatestCloudWatchLogsDeliveryError?: string | undefined;
4121
3898
  /**
4122
3899
  * <p>Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.</p>
4123
3900
  * @public
4124
3901
  */
4125
- LatestCloudWatchLogsDeliveryTime?: Date;
3902
+ LatestCloudWatchLogsDeliveryTime?: Date | undefined;
4126
3903
  /**
4127
3904
  * <p>Specifies the date and time that CloudTrail last delivered a digest file to an
4128
3905
  * account's Amazon S3 bucket.</p>
4129
3906
  * @public
4130
3907
  */
4131
- LatestDigestDeliveryTime?: Date;
3908
+ LatestDigestDeliveryTime?: Date | undefined;
4132
3909
  /**
4133
3910
  * <p>Displays any Amazon S3 error that CloudTrail encountered when attempting
4134
3911
  * to deliver a digest file to the designated bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html">Error
@@ -4141,37 +3918,37 @@ export interface GetTrailStatusResponse {
4141
3918
  * </note>
4142
3919
  * @public
4143
3920
  */
4144
- LatestDigestDeliveryError?: string;
3921
+ LatestDigestDeliveryError?: string | undefined;
4145
3922
  /**
4146
3923
  * <p>This field is no longer in use.</p>
4147
3924
  * @public
4148
3925
  */
4149
- LatestDeliveryAttemptTime?: string;
3926
+ LatestDeliveryAttemptTime?: string | undefined;
4150
3927
  /**
4151
3928
  * <p>This field is no longer in use.</p>
4152
3929
  * @public
4153
3930
  */
4154
- LatestNotificationAttemptTime?: string;
3931
+ LatestNotificationAttemptTime?: string | undefined;
4155
3932
  /**
4156
3933
  * <p>This field is no longer in use.</p>
4157
3934
  * @public
4158
3935
  */
4159
- LatestNotificationAttemptSucceeded?: string;
3936
+ LatestNotificationAttemptSucceeded?: string | undefined;
4160
3937
  /**
4161
3938
  * <p>This field is no longer in use.</p>
4162
3939
  * @public
4163
3940
  */
4164
- LatestDeliveryAttemptSucceeded?: string;
3941
+ LatestDeliveryAttemptSucceeded?: string | undefined;
4165
3942
  /**
4166
3943
  * <p>This field is no longer in use.</p>
4167
3944
  * @public
4168
3945
  */
4169
- TimeLoggingStarted?: string;
3946
+ TimeLoggingStarted?: string | undefined;
4170
3947
  /**
4171
3948
  * <p>This field is no longer in use.</p>
4172
3949
  * @public
4173
3950
  */
4174
- TimeLoggingStopped?: string;
3951
+ TimeLoggingStopped?: string | undefined;
4175
3952
  }
4176
3953
  /**
4177
3954
  * @public
@@ -4181,7 +3958,7 @@ export interface ListChannelsRequest {
4181
3958
  * <p> The maximum number of CloudTrail channels to display on a single page. </p>
4182
3959
  * @public
4183
3960
  */
4184
- MaxResults?: number;
3961
+ MaxResults?: number | undefined;
4185
3962
  /**
4186
3963
  * <p>The token to use to get the next page of results after a previous API call. This token
4187
3964
  * must be passed in with the same parameters that were specified in the original call. For
@@ -4189,7 +3966,7 @@ export interface ListChannelsRequest {
4189
3966
  * 'root', the call with NextToken should include those same parameters.</p>
4190
3967
  * @public
4191
3968
  */
4192
- NextToken?: string;
3969
+ NextToken?: string | undefined;
4193
3970
  }
4194
3971
  /**
4195
3972
  * @public
@@ -4199,12 +3976,12 @@ export interface ListChannelsResponse {
4199
3976
  * <p> The list of channels in the account. </p>
4200
3977
  * @public
4201
3978
  */
4202
- Channels?: Channel[];
3979
+ Channels?: Channel[] | undefined;
4203
3980
  /**
4204
3981
  * <p>The token to use to get the next page of results after a previous API call.</p>
4205
3982
  * @public
4206
3983
  */
4207
- NextToken?: string;
3984
+ NextToken?: string | undefined;
4208
3985
  }
4209
3986
  /**
4210
3987
  * @public
@@ -4214,12 +3991,12 @@ export interface ListEventDataStoresRequest {
4214
3991
  * <p>A token you can use to get the next page of event data store results.</p>
4215
3992
  * @public
4216
3993
  */
4217
- NextToken?: string;
3994
+ NextToken?: string | undefined;
4218
3995
  /**
4219
3996
  * <p>The maximum number of event data stores to display on a single page.</p>
4220
3997
  * @public
4221
3998
  */
4222
- MaxResults?: number;
3999
+ MaxResults?: number | undefined;
4223
4000
  }
4224
4001
  /**
4225
4002
  * <p>A storage lake of event data against which you can run complex SQL-based queries. An
@@ -4232,12 +4009,12 @@ export interface EventDataStore {
4232
4009
  * <p>The ARN of the event data store.</p>
4233
4010
  * @public
4234
4011
  */
4235
- EventDataStoreArn?: string;
4012
+ EventDataStoreArn?: string | undefined;
4236
4013
  /**
4237
4014
  * <p>The name of the event data store.</p>
4238
4015
  * @public
4239
4016
  */
4240
- Name?: string;
4017
+ Name?: string | undefined;
4241
4018
  /**
4242
4019
  * @deprecated
4243
4020
  *
@@ -4245,14 +4022,14 @@ export interface EventDataStore {
4245
4022
  * termination.</p>
4246
4023
  * @public
4247
4024
  */
4248
- TerminationProtectionEnabled?: boolean;
4025
+ TerminationProtectionEnabled?: boolean | undefined;
4249
4026
  /**
4250
4027
  * @deprecated
4251
4028
  *
4252
4029
  * <p>The status of an event data store.</p>
4253
4030
  * @public
4254
4031
  */
4255
- Status?: EventDataStoreStatus;
4032
+ Status?: EventDataStoreStatus | undefined;
4256
4033
  /**
4257
4034
  * @deprecated
4258
4035
  *
@@ -4260,7 +4037,7 @@ export interface EventDataStore {
4260
4037
  * events for the data store.</p>
4261
4038
  * @public
4262
4039
  */
4263
- AdvancedEventSelectors?: AdvancedEventSelector[];
4040
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
4264
4041
  /**
4265
4042
  * @deprecated
4266
4043
  *
@@ -4268,7 +4045,7 @@ export interface EventDataStore {
4268
4045
  * from all Regions, or only from the Region in which it was created.</p>
4269
4046
  * @public
4270
4047
  */
4271
- MultiRegionEnabled?: boolean;
4048
+ MultiRegionEnabled?: boolean | undefined;
4272
4049
  /**
4273
4050
  * @deprecated
4274
4051
  *
@@ -4276,21 +4053,21 @@ export interface EventDataStore {
4276
4053
  * events for an organization.</p>
4277
4054
  * @public
4278
4055
  */
4279
- OrganizationEnabled?: boolean;
4056
+ OrganizationEnabled?: boolean | undefined;
4280
4057
  /**
4281
4058
  * @deprecated
4282
4059
  *
4283
4060
  * <p>The retention period, in days.</p>
4284
4061
  * @public
4285
4062
  */
4286
- RetentionPeriod?: number;
4063
+ RetentionPeriod?: number | undefined;
4287
4064
  /**
4288
4065
  * @deprecated
4289
4066
  *
4290
4067
  * <p>The timestamp of the event data store's creation.</p>
4291
4068
  * @public
4292
4069
  */
4293
- CreatedTimestamp?: Date;
4070
+ CreatedTimestamp?: Date | undefined;
4294
4071
  /**
4295
4072
  * @deprecated
4296
4073
  *
@@ -4299,7 +4076,7 @@ export interface EventDataStore {
4299
4076
  * than the time shown in <code>CreatedTimestamp</code>.</p>
4300
4077
  * @public
4301
4078
  */
4302
- UpdatedTimestamp?: Date;
4079
+ UpdatedTimestamp?: Date | undefined;
4303
4080
  }
4304
4081
  /**
4305
4082
  * @public
@@ -4310,12 +4087,12 @@ export interface ListEventDataStoresResponse {
4310
4087
  * Region.</p>
4311
4088
  * @public
4312
4089
  */
4313
- EventDataStores?: EventDataStore[];
4090
+ EventDataStores?: EventDataStore[] | undefined;
4314
4091
  /**
4315
4092
  * <p>A token you can use to get the next page of results.</p>
4316
4093
  * @public
4317
4094
  */
4318
- NextToken?: string;
4095
+ NextToken?: string | undefined;
4319
4096
  }
4320
4097
  /**
4321
4098
  * @public
@@ -4330,12 +4107,12 @@ export interface ListImportFailuresRequest {
4330
4107
  * <p> The maximum number of failures to display on a single page. </p>
4331
4108
  * @public
4332
4109
  */
4333
- MaxResults?: number;
4110
+ MaxResults?: number | undefined;
4334
4111
  /**
4335
4112
  * <p> A token you can use to get the next page of import failures. </p>
4336
4113
  * @public
4337
4114
  */
4338
- NextToken?: string;
4115
+ NextToken?: string | undefined;
4339
4116
  }
4340
4117
  /**
4341
4118
  * @public
@@ -4359,27 +4136,27 @@ export interface ImportFailureListItem {
4359
4136
  * <p> The location of the failure in the S3 bucket. </p>
4360
4137
  * @public
4361
4138
  */
4362
- Location?: string;
4139
+ Location?: string | undefined;
4363
4140
  /**
4364
4141
  * <p> The status of the import. </p>
4365
4142
  * @public
4366
4143
  */
4367
- Status?: ImportFailureStatus;
4144
+ Status?: ImportFailureStatus | undefined;
4368
4145
  /**
4369
4146
  * <p> The type of import error. </p>
4370
4147
  * @public
4371
4148
  */
4372
- ErrorType?: string;
4149
+ ErrorType?: string | undefined;
4373
4150
  /**
4374
4151
  * <p> Provides the reason the import failed. </p>
4375
4152
  * @public
4376
4153
  */
4377
- ErrorMessage?: string;
4154
+ ErrorMessage?: string | undefined;
4378
4155
  /**
4379
4156
  * <p> When the import was last updated. </p>
4380
4157
  * @public
4381
4158
  */
4382
- LastUpdatedTime?: Date;
4159
+ LastUpdatedTime?: Date | undefined;
4383
4160
  }
4384
4161
  /**
4385
4162
  * @public
@@ -4389,12 +4166,12 @@ export interface ListImportFailuresResponse {
4389
4166
  * <p> Contains information about the import failures. </p>
4390
4167
  * @public
4391
4168
  */
4392
- Failures?: ImportFailureListItem[];
4169
+ Failures?: ImportFailureListItem[] | undefined;
4393
4170
  /**
4394
4171
  * <p> A token you can use to get the next page of results. </p>
4395
4172
  * @public
4396
4173
  */
4397
- NextToken?: string;
4174
+ NextToken?: string | undefined;
4398
4175
  }
4399
4176
  /**
4400
4177
  * @public
@@ -4404,22 +4181,22 @@ export interface ListImportsRequest {
4404
4181
  * <p> The maximum number of imports to display on a single page. </p>
4405
4182
  * @public
4406
4183
  */
4407
- MaxResults?: number;
4184
+ MaxResults?: number | undefined;
4408
4185
  /**
4409
4186
  * <p> The ARN of the destination event data store. </p>
4410
4187
  * @public
4411
4188
  */
4412
- Destination?: string;
4189
+ Destination?: string | undefined;
4413
4190
  /**
4414
4191
  * <p> The status of the import. </p>
4415
4192
  * @public
4416
4193
  */
4417
- ImportStatus?: ImportStatus;
4194
+ ImportStatus?: ImportStatus | undefined;
4418
4195
  /**
4419
4196
  * <p> A token you can use to get the next page of import results. </p>
4420
4197
  * @public
4421
4198
  */
4422
- NextToken?: string;
4199
+ NextToken?: string | undefined;
4423
4200
  }
4424
4201
  /**
4425
4202
  * <p> Contains information about an import that was returned by a lookup request. </p>
@@ -4430,27 +4207,27 @@ export interface ImportsListItem {
4430
4207
  * <p> The ID of the import. </p>
4431
4208
  * @public
4432
4209
  */
4433
- ImportId?: string;
4210
+ ImportId?: string | undefined;
4434
4211
  /**
4435
4212
  * <p> The status of the import. </p>
4436
4213
  * @public
4437
4214
  */
4438
- ImportStatus?: ImportStatus;
4215
+ ImportStatus?: ImportStatus | undefined;
4439
4216
  /**
4440
4217
  * <p> The ARN of the destination event data store. </p>
4441
4218
  * @public
4442
4219
  */
4443
- Destinations?: string[];
4220
+ Destinations?: string[] | undefined;
4444
4221
  /**
4445
4222
  * <p> The timestamp of the import's creation. </p>
4446
4223
  * @public
4447
4224
  */
4448
- CreatedTimestamp?: Date;
4225
+ CreatedTimestamp?: Date | undefined;
4449
4226
  /**
4450
4227
  * <p> The timestamp of the import's last update. </p>
4451
4228
  * @public
4452
4229
  */
4453
- UpdatedTimestamp?: Date;
4230
+ UpdatedTimestamp?: Date | undefined;
4454
4231
  }
4455
4232
  /**
4456
4233
  * @public
@@ -4460,12 +4237,12 @@ export interface ListImportsResponse {
4460
4237
  * <p> The list of returned imports. </p>
4461
4238
  * @public
4462
4239
  */
4463
- Imports?: ImportsListItem[];
4240
+ Imports?: ImportsListItem[] | undefined;
4464
4241
  /**
4465
4242
  * <p> A token you can use to get the next page of import results. </p>
4466
4243
  * @public
4467
4244
  */
4468
- NextToken?: string;
4245
+ NextToken?: string | undefined;
4469
4246
  }
4470
4247
  /**
4471
4248
  * @public
@@ -4505,44 +4282,44 @@ export interface ListInsightsMetricDataRequest {
4505
4282
  * <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>
4506
4283
  * @public
4507
4284
  */
4508
- ErrorCode?: string;
4285
+ ErrorCode?: string | undefined;
4509
4286
  /**
4510
4287
  * <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>
4511
4288
  * <p>The default is 90 days before the time of request.</p>
4512
4289
  * @public
4513
4290
  */
4514
- StartTime?: Date;
4291
+ StartTime?: Date | undefined;
4515
4292
  /**
4516
4293
  * <p>Specifies, in UTC, the end time for time-series data. The value specified is exclusive;
4517
4294
  * results include data points up to the specified time stamp.</p>
4518
4295
  * <p>The default is the time of request.</p>
4519
4296
  * @public
4520
4297
  */
4521
- EndTime?: Date;
4298
+ EndTime?: Date | undefined;
4522
4299
  /**
4523
4300
  * <p>Granularity of data to retrieve, in seconds. Valid values are <code>60</code>, <code>300</code>, and <code>3600</code>.
4524
4301
  * If you specify any other value, you will get an error. The default is 3600 seconds.</p>
4525
4302
  * @public
4526
4303
  */
4527
- Period?: number;
4304
+ Period?: number | undefined;
4528
4305
  /**
4529
4306
  * <p>Type of datapoints to return. Valid values are <code>NonZeroData</code> and
4530
4307
  * <code>FillWithZeros</code>. The default is <code>NonZeroData</code>.</p>
4531
4308
  * @public
4532
4309
  */
4533
- DataType?: InsightsMetricDataType;
4310
+ DataType?: InsightsMetricDataType | undefined;
4534
4311
  /**
4535
4312
  * <p>The maximum number of datapoints to return. Valid values are integers from 1 to 21600.
4536
4313
  * The default value is 21600.</p>
4537
4314
  * @public
4538
4315
  */
4539
- MaxResults?: number;
4316
+ MaxResults?: number | undefined;
4540
4317
  /**
4541
4318
  * <p>Returned if all datapoints can't be returned in a single call. For example, due to reaching <code>MaxResults</code>.</p>
4542
4319
  * <p>Add this parameter to the request to continue retrieving results starting from the last evaluated point.</p>
4543
4320
  * @public
4544
4321
  */
4545
- NextToken?: string;
4322
+ NextToken?: string | undefined;
4546
4323
  }
4547
4324
  /**
4548
4325
  * @public
@@ -4552,41 +4329,41 @@ export interface ListInsightsMetricDataResponse {
4552
4329
  * <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>
4553
4330
  * @public
4554
4331
  */
4555
- EventSource?: string;
4332
+ EventSource?: string | undefined;
4556
4333
  /**
4557
4334
  * <p>The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.</p>
4558
4335
  * @public
4559
4336
  */
4560
- EventName?: string;
4337
+ EventName?: string | undefined;
4561
4338
  /**
4562
4339
  * <p>The type of CloudTrail Insights event, which is either <code>ApiCallRateInsight</code> or <code>ApiErrorRateInsight</code>.
4563
4340
  * The <code>ApiCallRateInsight</code> Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.
4564
4341
  * The <code>ApiErrorRateInsight</code> Insights type analyzes management API calls that result in error codes.</p>
4565
4342
  * @public
4566
4343
  */
4567
- InsightType?: InsightType;
4344
+ InsightType?: InsightType | undefined;
4568
4345
  /**
4569
4346
  * <p>Only returned if <code>InsightType</code> parameter was set to <code>ApiErrorRateInsight</code>.</p>
4570
4347
  * <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>
4571
4348
  * @public
4572
4349
  */
4573
- ErrorCode?: string;
4350
+ ErrorCode?: string | undefined;
4574
4351
  /**
4575
4352
  * <p>List of timestamps at intervals corresponding to the specified time period.</p>
4576
4353
  * @public
4577
4354
  */
4578
- Timestamps?: Date[];
4355
+ Timestamps?: Date[] | undefined;
4579
4356
  /**
4580
4357
  * <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>
4581
4358
  * @public
4582
4359
  */
4583
- Values?: number[];
4360
+ Values?: number[] | undefined;
4584
4361
  /**
4585
4362
  * <p>Only returned if the full results could not be returned in a single query. You can set the <code>NextToken</code> parameter
4586
4363
  * in the next request to this value to continue retrieval.</p>
4587
4364
  * @public
4588
4365
  */
4589
- NextToken?: string;
4366
+ NextToken?: string | undefined;
4590
4367
  }
4591
4368
  /**
4592
4369
  * <p>Occurs if the timestamp values are not valid. Either the start time occurs after the end
@@ -4600,7 +4377,7 @@ export declare class InvalidTimeRangeException extends __BaseException {
4600
4377
  * <p>Brief description of the exception returned by the request.</p>
4601
4378
  * @public
4602
4379
  */
4603
- Message?: string;
4380
+ Message?: string | undefined;
4604
4381
  /**
4605
4382
  * @internal
4606
4383
  */
@@ -4617,7 +4394,7 @@ export declare class InvalidTokenException extends __BaseException {
4617
4394
  * <p>Brief description of the exception returned by the request.</p>
4618
4395
  * @public
4619
4396
  */
4620
- Message?: string;
4397
+ Message?: string | undefined;
4621
4398
  /**
4622
4399
  * @internal
4623
4400
  */
@@ -4634,18 +4411,18 @@ export interface ListPublicKeysRequest {
4634
4411
  * current public key is returned.</p>
4635
4412
  * @public
4636
4413
  */
4637
- StartTime?: Date;
4414
+ StartTime?: Date | undefined;
4638
4415
  /**
4639
4416
  * <p>Optionally specifies, in UTC, the end of the time range to look up public keys for
4640
4417
  * CloudTrail digest files. If not specified, the current time is used.</p>
4641
4418
  * @public
4642
4419
  */
4643
- EndTime?: Date;
4420
+ EndTime?: Date | undefined;
4644
4421
  /**
4645
4422
  * <p>Reserved for future use.</p>
4646
4423
  * @public
4647
4424
  */
4648
- NextToken?: string;
4425
+ NextToken?: string | undefined;
4649
4426
  }
4650
4427
  /**
4651
4428
  * <p>Contains information about a returned public key.</p>
@@ -4656,22 +4433,22 @@ export interface PublicKey {
4656
4433
  * <p>The DER encoded public key value in PKCS#1 format.</p>
4657
4434
  * @public
4658
4435
  */
4659
- Value?: Uint8Array;
4436
+ Value?: Uint8Array | undefined;
4660
4437
  /**
4661
4438
  * <p>The starting time of validity of the public key.</p>
4662
4439
  * @public
4663
4440
  */
4664
- ValidityStartTime?: Date;
4441
+ ValidityStartTime?: Date | undefined;
4665
4442
  /**
4666
4443
  * <p>The ending time of validity of the public key.</p>
4667
4444
  * @public
4668
4445
  */
4669
- ValidityEndTime?: Date;
4446
+ ValidityEndTime?: Date | undefined;
4670
4447
  /**
4671
4448
  * <p>The fingerprint of the public key.</p>
4672
4449
  * @public
4673
4450
  */
4674
- Fingerprint?: string;
4451
+ Fingerprint?: string | undefined;
4675
4452
  }
4676
4453
  /**
4677
4454
  * <p>Returns the objects or data listed below if successful. Otherwise, returns an
@@ -4686,12 +4463,12 @@ export interface ListPublicKeysResponse {
4686
4463
  * </note>
4687
4464
  * @public
4688
4465
  */
4689
- PublicKeyList?: PublicKey[];
4466
+ PublicKeyList?: PublicKey[] | undefined;
4690
4467
  /**
4691
4468
  * <p>Reserved for future use.</p>
4692
4469
  * @public
4693
4470
  */
4694
- NextToken?: string;
4471
+ NextToken?: string | undefined;
4695
4472
  }
4696
4473
  /**
4697
4474
  * <p>A date range for the query was specified that is not valid. Be sure that the start time
@@ -4706,7 +4483,7 @@ export declare class InvalidDateRangeException extends __BaseException {
4706
4483
  * <p>Brief description of the exception returned by the request.</p>
4707
4484
  * @public
4708
4485
  */
4709
- Message?: string;
4486
+ Message?: string | undefined;
4710
4487
  /**
4711
4488
  * @internal
4712
4489
  */
@@ -4723,7 +4500,7 @@ export declare class InvalidQueryStatusException extends __BaseException {
4723
4500
  * <p>Brief description of the exception returned by the request.</p>
4724
4501
  * @public
4725
4502
  */
4726
- Message?: string;
4503
+ Message?: string | undefined;
4727
4504
  /**
4728
4505
  * @internal
4729
4506
  */
@@ -4743,24 +4520,24 @@ export interface ListQueriesRequest {
4743
4520
  * <p>A token you can use to get the next page of results.</p>
4744
4521
  * @public
4745
4522
  */
4746
- NextToken?: string;
4523
+ NextToken?: string | undefined;
4747
4524
  /**
4748
4525
  * <p>The maximum number of queries to show on a page.</p>
4749
4526
  * @public
4750
4527
  */
4751
- MaxResults?: number;
4528
+ MaxResults?: number | undefined;
4752
4529
  /**
4753
4530
  * <p>Use with <code>EndTime</code> to bound a <code>ListQueries</code> request, and limit its
4754
4531
  * results to only those queries run within a specified time period.</p>
4755
4532
  * @public
4756
4533
  */
4757
- StartTime?: Date;
4534
+ StartTime?: Date | undefined;
4758
4535
  /**
4759
4536
  * <p>Use with <code>StartTime</code> to bound a <code>ListQueries</code> request, and limit
4760
4537
  * its results to only those queries run within a specified time period.</p>
4761
4538
  * @public
4762
4539
  */
4763
- EndTime?: Date;
4540
+ EndTime?: Date | undefined;
4764
4541
  /**
4765
4542
  * <p>The status of queries that you want to return in results. Valid values for
4766
4543
  * <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
@@ -4768,7 +4545,7 @@ export interface ListQueriesRequest {
4768
4545
  * <code>CANCELLED</code>.</p>
4769
4546
  * @public
4770
4547
  */
4771
- QueryStatus?: QueryStatus;
4548
+ QueryStatus?: QueryStatus | undefined;
4772
4549
  }
4773
4550
  /**
4774
4551
  * <p>A SQL string of criteria about events that you want to collect in an event data
@@ -4780,19 +4557,19 @@ export interface Query {
4780
4557
  * <p>The ID of a query.</p>
4781
4558
  * @public
4782
4559
  */
4783
- QueryId?: string;
4560
+ QueryId?: string | undefined;
4784
4561
  /**
4785
4562
  * <p>The status of the query. This can be <code>QUEUED</code>, <code>RUNNING</code>,
4786
4563
  * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
4787
4564
  * <code>CANCELLED</code>.</p>
4788
4565
  * @public
4789
4566
  */
4790
- QueryStatus?: QueryStatus;
4567
+ QueryStatus?: QueryStatus | undefined;
4791
4568
  /**
4792
4569
  * <p>The creation time of a query.</p>
4793
4570
  * @public
4794
4571
  */
4795
- CreationTime?: Date;
4572
+ CreationTime?: Date | undefined;
4796
4573
  }
4797
4574
  /**
4798
4575
  * @public
@@ -4803,12 +4580,12 @@ export interface ListQueriesResponse {
4803
4580
  * query.</p>
4804
4581
  * @public
4805
4582
  */
4806
- Queries?: Query[];
4583
+ Queries?: Query[] | undefined;
4807
4584
  /**
4808
4585
  * <p>A token you can use to get the next page of results.</p>
4809
4586
  * @public
4810
4587
  */
4811
- NextToken?: string;
4588
+ NextToken?: string | undefined;
4812
4589
  }
4813
4590
  /**
4814
4591
  * <p>Specifies a list of tags to return.</p>
@@ -4834,7 +4611,7 @@ export interface ListTagsRequest {
4834
4611
  * <p>Reserved for future use.</p>
4835
4612
  * @public
4836
4613
  */
4837
- NextToken?: string;
4614
+ NextToken?: string | undefined;
4838
4615
  }
4839
4616
  /**
4840
4617
  * <p>A resource tag.</p>
@@ -4845,12 +4622,12 @@ export interface ResourceTag {
4845
4622
  * <p>Specifies the ARN of the resource.</p>
4846
4623
  * @public
4847
4624
  */
4848
- ResourceId?: string;
4625
+ ResourceId?: string | undefined;
4849
4626
  /**
4850
4627
  * <p>A list of tags.</p>
4851
4628
  * @public
4852
4629
  */
4853
- TagsList?: Tag[];
4630
+ TagsList?: Tag[] | undefined;
4854
4631
  }
4855
4632
  /**
4856
4633
  * <p>Returns the objects or data listed below if successful. Otherwise, returns an
@@ -4862,12 +4639,12 @@ export interface ListTagsResponse {
4862
4639
  * <p>A list of resource tags.</p>
4863
4640
  * @public
4864
4641
  */
4865
- ResourceTagList?: ResourceTag[];
4642
+ ResourceTagList?: ResourceTag[] | undefined;
4866
4643
  /**
4867
4644
  * <p>Reserved for future use.</p>
4868
4645
  * @public
4869
4646
  */
4870
- NextToken?: string;
4647
+ NextToken?: string | undefined;
4871
4648
  }
4872
4649
  /**
4873
4650
  * @public
@@ -4880,7 +4657,7 @@ export interface ListTrailsRequest {
4880
4657
  * 'root', the call with NextToken should include those same parameters.</p>
4881
4658
  * @public
4882
4659
  */
4883
- NextToken?: string;
4660
+ NextToken?: string | undefined;
4884
4661
  }
4885
4662
  /**
4886
4663
  * <p>Information about a CloudTrail trail, including the trail's name, home Region,
@@ -4892,17 +4669,17 @@ export interface TrailInfo {
4892
4669
  * <p>The ARN of a trail.</p>
4893
4670
  * @public
4894
4671
  */
4895
- TrailARN?: string;
4672
+ TrailARN?: string | undefined;
4896
4673
  /**
4897
4674
  * <p>The name of a trail.</p>
4898
4675
  * @public
4899
4676
  */
4900
- Name?: string;
4677
+ Name?: string | undefined;
4901
4678
  /**
4902
4679
  * <p>The Amazon Web Services Region in which a trail was created.</p>
4903
4680
  * @public
4904
4681
  */
4905
- HomeRegion?: string;
4682
+ HomeRegion?: string | undefined;
4906
4683
  }
4907
4684
  /**
4908
4685
  * @public
@@ -4912,7 +4689,7 @@ export interface ListTrailsResponse {
4912
4689
  * <p>Returns the name, ARN, and home Region of trails in the current account.</p>
4913
4690
  * @public
4914
4691
  */
4915
- Trails?: TrailInfo[];
4692
+ Trails?: TrailInfo[] | undefined;
4916
4693
  /**
4917
4694
  * <p>The token to use to get the next page of results after a previous API call. If the token
4918
4695
  * does not appear, there are no more results to return. The token must be passed in with the
@@ -4921,7 +4698,7 @@ export interface ListTrailsResponse {
4921
4698
  * those same parameters.</p>
4922
4699
  * @public
4923
4700
  */
4924
- NextToken?: string;
4701
+ NextToken?: string | undefined;
4925
4702
  }
4926
4703
  /**
4927
4704
  * <p>Occurs if an event category that is not valid is specified as a value of
@@ -4935,7 +4712,7 @@ export declare class InvalidEventCategoryException extends __BaseException {
4935
4712
  * <p>Brief description of the exception returned by the request.</p>
4936
4713
  * @public
4937
4714
  */
4938
- Message?: string;
4715
+ Message?: string | undefined;
4939
4716
  /**
4940
4717
  * @internal
4941
4718
  */
@@ -4952,7 +4729,7 @@ export declare class InvalidLookupAttributesException extends __BaseException {
4952
4729
  * <p>Brief description of the exception returned by the request.</p>
4953
4730
  * @public
4954
4731
  */
4955
- Message?: string;
4732
+ Message?: string | undefined;
4956
4733
  /**
4957
4734
  * @internal
4958
4735
  */
@@ -5016,19 +4793,19 @@ export interface LookupEventsRequest {
5016
4793
  * item.</p>
5017
4794
  * @public
5018
4795
  */
5019
- LookupAttributes?: LookupAttribute[];
4796
+ LookupAttributes?: LookupAttribute[] | undefined;
5020
4797
  /**
5021
4798
  * <p>Specifies that only events that occur after or at the specified time are returned. If
5022
4799
  * the specified start time is after the specified end time, an error is returned.</p>
5023
4800
  * @public
5024
4801
  */
5025
- StartTime?: Date;
4802
+ StartTime?: Date | undefined;
5026
4803
  /**
5027
4804
  * <p>Specifies that only events that occur before or at the specified time are returned. If
5028
4805
  * the specified end time is before the specified start time, an error is returned.</p>
5029
4806
  * @public
5030
4807
  */
5031
- EndTime?: Date;
4808
+ EndTime?: Date | undefined;
5032
4809
  /**
5033
4810
  * <p>Specifies the event category. If you do not specify an event category, events of the
5034
4811
  * category are not returned in the response. For example, if you do not specify
@@ -5036,13 +4813,13 @@ export interface LookupEventsRequest {
5036
4813
  * returned.</p>
5037
4814
  * @public
5038
4815
  */
5039
- EventCategory?: EventCategory;
4816
+ EventCategory?: EventCategory | undefined;
5040
4817
  /**
5041
4818
  * <p>The number of events to return. Possible values are 1 through 50. The default is
5042
4819
  * 50.</p>
5043
4820
  * @public
5044
4821
  */
5045
- MaxResults?: number;
4822
+ MaxResults?: number | undefined;
5046
4823
  /**
5047
4824
  * <p>The token to use to get the next page of results after a previous API call. This token
5048
4825
  * must be passed in with the same parameters that were specified in the original call. For
@@ -5050,7 +4827,7 @@ export interface LookupEventsRequest {
5050
4827
  * 'root', the call with NextToken should include those same parameters.</p>
5051
4828
  * @public
5052
4829
  */
5053
- NextToken?: string;
4830
+ NextToken?: string | undefined;
5054
4831
  }
5055
4832
  /**
5056
4833
  * <p>Specifies the type and name of a resource referenced by an event.</p>
@@ -5063,7 +4840,7 @@ export interface Resource {
5063
4840
  * events by the resource types supported for a service, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events">Filtering CloudTrail Events</a>.</p>
5064
4841
  * @public
5065
4842
  */
5066
- ResourceType?: string;
4843
+ ResourceType?: string | undefined;
5067
4844
  /**
5068
4845
  * <p>The name of the resource referenced by the event returned. These are user-created names
5069
4846
  * whose values will depend on the environment. For example, the resource name might be
@@ -5071,7 +4848,7 @@ export interface Resource {
5071
4848
  * Instance.</p>
5072
4849
  * @public
5073
4850
  */
5074
- ResourceName?: string;
4851
+ ResourceName?: string | undefined;
5075
4852
  }
5076
4853
  /**
5077
4854
  * <p>Contains information about an event that was returned by a lookup request. The result
@@ -5083,50 +4860,50 @@ export interface Event {
5083
4860
  * <p>The CloudTrail ID of the event returned.</p>
5084
4861
  * @public
5085
4862
  */
5086
- EventId?: string;
4863
+ EventId?: string | undefined;
5087
4864
  /**
5088
4865
  * <p>The name of the event returned.</p>
5089
4866
  * @public
5090
4867
  */
5091
- EventName?: string;
4868
+ EventName?: string | undefined;
5092
4869
  /**
5093
4870
  * <p>Information about whether the event is a write event or a read event. </p>
5094
4871
  * @public
5095
4872
  */
5096
- ReadOnly?: string;
4873
+ ReadOnly?: string | undefined;
5097
4874
  /**
5098
4875
  * <p>The Amazon Web Services access key ID that was used to sign the request. If the request
5099
4876
  * was made with temporary security credentials, this is the access key ID of the temporary
5100
4877
  * credentials.</p>
5101
4878
  * @public
5102
4879
  */
5103
- AccessKeyId?: string;
4880
+ AccessKeyId?: string | undefined;
5104
4881
  /**
5105
4882
  * <p>The date and time of the event returned.</p>
5106
4883
  * @public
5107
4884
  */
5108
- EventTime?: Date;
4885
+ EventTime?: Date | undefined;
5109
4886
  /**
5110
4887
  * <p>The Amazon Web Services service to which the request was made.</p>
5111
4888
  * @public
5112
4889
  */
5113
- EventSource?: string;
4890
+ EventSource?: string | undefined;
5114
4891
  /**
5115
4892
  * <p>A user name or role name of the requester that called the API in the event
5116
4893
  * returned.</p>
5117
4894
  * @public
5118
4895
  */
5119
- Username?: string;
4896
+ Username?: string | undefined;
5120
4897
  /**
5121
4898
  * <p>A list of resources referenced by the event returned.</p>
5122
4899
  * @public
5123
4900
  */
5124
- Resources?: Resource[];
4901
+ Resources?: Resource[] | undefined;
5125
4902
  /**
5126
4903
  * <p>A JSON string that contains a representation of the event returned.</p>
5127
4904
  * @public
5128
4905
  */
5129
- CloudTrailEvent?: string;
4906
+ CloudTrailEvent?: string | undefined;
5130
4907
  }
5131
4908
  /**
5132
4909
  * <p>Contains a response to a LookupEvents action.</p>
@@ -5138,7 +4915,7 @@ export interface LookupEventsResponse {
5138
4915
  * first.</p>
5139
4916
  * @public
5140
4917
  */
5141
- Events?: Event[];
4918
+ Events?: Event[] | undefined;
5142
4919
  /**
5143
4920
  * <p>The token to use to get the next page of results after a previous API call. If the token
5144
4921
  * does not appear, there are no more results to return. The token must be passed in with the
@@ -5147,7 +4924,7 @@ export interface LookupEventsResponse {
5147
4924
  * those same parameters.</p>
5148
4925
  * @public
5149
4926
  */
5150
- NextToken?: string;
4927
+ NextToken?: string | undefined;
5151
4928
  }
5152
4929
  /**
5153
4930
  * @public
@@ -5209,7 +4986,7 @@ export interface PutEventSelectorsRequest {
5209
4986
  * <code>AdvancedEventSelectors</code> are overwritten.</p>
5210
4987
  * @public
5211
4988
  */
5212
- EventSelectors?: EventSelector[];
4989
+ EventSelectors?: EventSelector[] | undefined;
5213
4990
  /**
5214
4991
  * <p> Specifies the settings for advanced event selectors. You can use advanced event selectors to
5215
4992
  * log management events, data events for all resource types, and network activity events.</p>
@@ -5224,7 +5001,7 @@ export interface PutEventSelectorsRequest {
5224
5001
  * in the <i>CloudTrail User Guide</i>. </p>
5225
5002
  * @public
5226
5003
  */
5227
- AdvancedEventSelectors?: AdvancedEventSelector[];
5004
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
5228
5005
  }
5229
5006
  /**
5230
5007
  * @public
@@ -5238,17 +5015,17 @@ export interface PutEventSelectorsResponse {
5238
5015
  * </p>
5239
5016
  * @public
5240
5017
  */
5241
- TrailARN?: string;
5018
+ TrailARN?: string | undefined;
5242
5019
  /**
5243
5020
  * <p>Specifies the event selectors configured for your trail.</p>
5244
5021
  * @public
5245
5022
  */
5246
- EventSelectors?: EventSelector[];
5023
+ EventSelectors?: EventSelector[] | undefined;
5247
5024
  /**
5248
5025
  * <p>Specifies the advanced event selectors configured for your trail.</p>
5249
5026
  * @public
5250
5027
  */
5251
- AdvancedEventSelectors?: AdvancedEventSelector[];
5028
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
5252
5029
  }
5253
5030
  /**
5254
5031
  * <p>For <code>PutInsightSelectors</code>, this exception is thrown when the formatting or syntax of the <code>InsightSelectors</code> JSON statement is not
@@ -5269,7 +5046,7 @@ export declare class InvalidInsightSelectorsException extends __BaseException {
5269
5046
  * <p>Brief description of the exception returned by the request.</p>
5270
5047
  * @public
5271
5048
  */
5272
- Message?: string;
5049
+ Message?: string | undefined;
5273
5050
  /**
5274
5051
  * @internal
5275
5052
  */
@@ -5285,7 +5062,7 @@ export interface PutInsightSelectorsRequest {
5285
5062
  * <p>You cannot use this parameter with the <code>EventDataStore</code> and <code>InsightsDestination</code> parameters.</p>
5286
5063
  * @public
5287
5064
  */
5288
- TrailName?: string;
5065
+ TrailName?: string | undefined;
5289
5066
  /**
5290
5067
  * <p>A JSON string that contains the Insights types you want to log on a trail or event data store.
5291
5068
  * <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code> are valid Insight
@@ -5305,7 +5082,7 @@ export interface PutInsightSelectorsRequest {
5305
5082
  * <p>You cannot use this parameter with the <code>TrailName</code> parameter.</p>
5306
5083
  * @public
5307
5084
  */
5308
- EventDataStore?: string;
5085
+ EventDataStore?: string | undefined;
5309
5086
  /**
5310
5087
  * <p>
5311
5088
  * The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable Insights on an event data store, you must provide both the
@@ -5314,7 +5091,7 @@ export interface PutInsightSelectorsRequest {
5314
5091
  * <p>You cannot use this parameter with the <code>TrailName</code> parameter.</p>
5315
5092
  * @public
5316
5093
  */
5317
- InsightsDestination?: string;
5094
+ InsightsDestination?: string | undefined;
5318
5095
  }
5319
5096
  /**
5320
5097
  * @public
@@ -5325,27 +5102,27 @@ export interface PutInsightSelectorsResponse {
5325
5102
  * selectors.</p>
5326
5103
  * @public
5327
5104
  */
5328
- TrailARN?: string;
5105
+ TrailARN?: string | undefined;
5329
5106
  /**
5330
5107
  * <p>A JSON string that contains the Insights event types that you want to log on a trail or event data store.
5331
5108
  * The valid Insights types are <code>ApiErrorRateInsight</code> and
5332
5109
  * <code>ApiCallRateInsight</code>.</p>
5333
5110
  * @public
5334
5111
  */
5335
- InsightSelectors?: InsightSelector[];
5112
+ InsightSelectors?: InsightSelector[] | undefined;
5336
5113
  /**
5337
5114
  * <p>The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights
5338
5115
  * selectors.</p>
5339
5116
  * @public
5340
5117
  */
5341
- EventDataStoreArn?: string;
5118
+ EventDataStoreArn?: string | undefined;
5342
5119
  /**
5343
5120
  * <p>
5344
5121
  * The ARN of the destination event data store that logs Insights events.
5345
5122
  * </p>
5346
5123
  * @public
5347
5124
  */
5348
- InsightsDestination?: string;
5125
+ InsightsDestination?: string | undefined;
5349
5126
  }
5350
5127
  /**
5351
5128
  * @public
@@ -5396,14 +5173,14 @@ export interface PutResourcePolicyResponse {
5396
5173
  * </p>
5397
5174
  * @public
5398
5175
  */
5399
- ResourceArn?: string;
5176
+ ResourceArn?: string | undefined;
5400
5177
  /**
5401
5178
  * <p>
5402
5179
  * The JSON-formatted string of the Amazon Web Services resource-based policy attached to the CloudTrail channel.
5403
5180
  * </p>
5404
5181
  * @public
5405
5182
  */
5406
- ResourcePolicy?: string;
5183
+ ResourcePolicy?: string | undefined;
5407
5184
  }
5408
5185
  /**
5409
5186
  * <p>
@@ -5436,7 +5213,7 @@ export declare class ResourcePolicyNotValidException extends __BaseException {
5436
5213
  * <p>Brief description of the exception returned by the request.</p>
5437
5214
  * @public
5438
5215
  */
5439
- Message?: string;
5216
+ Message?: string | undefined;
5440
5217
  /**
5441
5218
  * @internal
5442
5219
  */
@@ -5454,7 +5231,7 @@ export declare class DelegatedAdminAccountLimitExceededException extends __BaseE
5454
5231
  * <p>Brief description of the exception returned by the request.</p>
5455
5232
  * @public
5456
5233
  */
5457
- Message?: string;
5234
+ Message?: string | undefined;
5458
5235
  /**
5459
5236
  * @internal
5460
5237
  */
@@ -5523,7 +5300,7 @@ export declare class InvalidEventDataStoreStatusException extends __BaseExceptio
5523
5300
  * <p>Brief description of the exception returned by the request.</p>
5524
5301
  * @public
5525
5302
  */
5526
- Message?: string;
5303
+ Message?: string | undefined;
5527
5304
  /**
5528
5305
  * @internal
5529
5306
  */
@@ -5548,57 +5325,57 @@ export interface RestoreEventDataStoreResponse {
5548
5325
  * <p>The event data store ARN.</p>
5549
5326
  * @public
5550
5327
  */
5551
- EventDataStoreArn?: string;
5328
+ EventDataStoreArn?: string | undefined;
5552
5329
  /**
5553
5330
  * <p>The name of the event data store.</p>
5554
5331
  * @public
5555
5332
  */
5556
- Name?: string;
5333
+ Name?: string | undefined;
5557
5334
  /**
5558
5335
  * <p>The status of the event data store.</p>
5559
5336
  * @public
5560
5337
  */
5561
- Status?: EventDataStoreStatus;
5338
+ Status?: EventDataStoreStatus | undefined;
5562
5339
  /**
5563
5340
  * <p>The advanced event selectors that were used to select events.</p>
5564
5341
  * @public
5565
5342
  */
5566
- AdvancedEventSelectors?: AdvancedEventSelector[];
5343
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
5567
5344
  /**
5568
5345
  * <p>Indicates whether the event data store is collecting events from all Regions, or only
5569
5346
  * from the Region in which the event data store was created.</p>
5570
5347
  * @public
5571
5348
  */
5572
- MultiRegionEnabled?: boolean;
5349
+ MultiRegionEnabled?: boolean | undefined;
5573
5350
  /**
5574
5351
  * <p>Indicates whether an event data store is collecting logged events for an organization in
5575
5352
  * Organizations.</p>
5576
5353
  * @public
5577
5354
  */
5578
- OrganizationEnabled?: boolean;
5355
+ OrganizationEnabled?: boolean | undefined;
5579
5356
  /**
5580
5357
  * <p>The retention period, in days.</p>
5581
5358
  * @public
5582
5359
  */
5583
- RetentionPeriod?: number;
5360
+ RetentionPeriod?: number | undefined;
5584
5361
  /**
5585
5362
  * <p>Indicates that termination protection is enabled and the event data store cannot be
5586
5363
  * automatically deleted.</p>
5587
5364
  * @public
5588
5365
  */
5589
- TerminationProtectionEnabled?: boolean;
5366
+ TerminationProtectionEnabled?: boolean | undefined;
5590
5367
  /**
5591
5368
  * <p>The timestamp of an event data store's creation.</p>
5592
5369
  * @public
5593
5370
  */
5594
- CreatedTimestamp?: Date;
5371
+ CreatedTimestamp?: Date | undefined;
5595
5372
  /**
5596
5373
  * <p>The timestamp that shows when an event data store was updated, if applicable.
5597
5374
  * <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in
5598
5375
  * <code>CreatedTimestamp</code>.</p>
5599
5376
  * @public
5600
5377
  */
5601
- UpdatedTimestamp?: Date;
5378
+ UpdatedTimestamp?: Date | undefined;
5602
5379
  /**
5603
5380
  * <p>Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
5604
5381
  * following format.</p>
@@ -5607,12 +5384,12 @@ export interface RestoreEventDataStoreResponse {
5607
5384
  * </p>
5608
5385
  * @public
5609
5386
  */
5610
- KmsKeyId?: string;
5387
+ KmsKeyId?: string | undefined;
5611
5388
  /**
5612
5389
  * <p>The billing mode for the event data store.</p>
5613
5390
  * @public
5614
5391
  */
5615
- BillingMode?: BillingMode;
5392
+ BillingMode?: BillingMode | undefined;
5616
5393
  }
5617
5394
  /**
5618
5395
  * @public
@@ -5641,7 +5418,7 @@ export declare class InvalidImportSourceException extends __BaseException {
5641
5418
  * <p>Brief description of the exception returned by the request.</p>
5642
5419
  * @public
5643
5420
  */
5644
- Message?: string;
5421
+ Message?: string | undefined;
5645
5422
  /**
5646
5423
  * @internal
5647
5424
  */
@@ -5656,12 +5433,12 @@ export interface StartImportRequest {
5656
5433
  * </p>
5657
5434
  * @public
5658
5435
  */
5659
- Destinations?: string[];
5436
+ Destinations?: string[] | undefined;
5660
5437
  /**
5661
5438
  * <p> The source S3 bucket for the import. Use this parameter for a new import. </p>
5662
5439
  * @public
5663
5440
  */
5664
- ImportSource?: ImportSource;
5441
+ ImportSource?: ImportSource | undefined;
5665
5442
  /**
5666
5443
  * <p> Use with <code>EndEventTime</code> to bound a <code>StartImport</code> request, and
5667
5444
  * limit imported trail events to only those events logged within a specified time period.
@@ -5670,7 +5447,7 @@ export interface StartImportRequest {
5670
5447
  * <code>EndEventTime</code> before attempting to import events. </p>
5671
5448
  * @public
5672
5449
  */
5673
- StartEventTime?: Date;
5450
+ StartEventTime?: Date | undefined;
5674
5451
  /**
5675
5452
  * <p> Use with <code>StartEventTime</code> to bound a <code>StartImport</code> request, and
5676
5453
  * limit imported trail events to only those events logged within a specified time period.
@@ -5679,12 +5456,12 @@ export interface StartImportRequest {
5679
5456
  * <code>EndEventTime</code> before attempting to import events. </p>
5680
5457
  * @public
5681
5458
  */
5682
- EndEventTime?: Date;
5459
+ EndEventTime?: Date | undefined;
5683
5460
  /**
5684
5461
  * <p> The ID of the import. Use this parameter when you are retrying an import. </p>
5685
5462
  * @public
5686
5463
  */
5687
- ImportId?: string;
5464
+ ImportId?: string | undefined;
5688
5465
  }
5689
5466
  /**
5690
5467
  * @public
@@ -5694,48 +5471,48 @@ export interface StartImportResponse {
5694
5471
  * <p> The ID of the import. </p>
5695
5472
  * @public
5696
5473
  */
5697
- ImportId?: string;
5474
+ ImportId?: string | undefined;
5698
5475
  /**
5699
5476
  * <p> The ARN of the destination event data store. </p>
5700
5477
  * @public
5701
5478
  */
5702
- Destinations?: string[];
5479
+ Destinations?: string[] | undefined;
5703
5480
  /**
5704
5481
  * <p> The source S3 bucket for the import. </p>
5705
5482
  * @public
5706
5483
  */
5707
- ImportSource?: ImportSource;
5484
+ ImportSource?: ImportSource | undefined;
5708
5485
  /**
5709
5486
  * <p> Used with <code>EndEventTime</code> to bound a <code>StartImport</code> request, and
5710
5487
  * limit imported trail events to only those events logged within a specified time period.
5711
5488
  * </p>
5712
5489
  * @public
5713
5490
  */
5714
- StartEventTime?: Date;
5491
+ StartEventTime?: Date | undefined;
5715
5492
  /**
5716
5493
  * <p> Used with <code>StartEventTime</code> to bound a <code>StartImport</code> request, and
5717
5494
  * limit imported trail events to only those events logged within a specified time period.
5718
5495
  * </p>
5719
5496
  * @public
5720
5497
  */
5721
- EndEventTime?: Date;
5498
+ EndEventTime?: Date | undefined;
5722
5499
  /**
5723
5500
  * <p> Shows the status of the import after a <code>StartImport</code> request. An import
5724
5501
  * finishes with a status of <code>COMPLETED</code> if there were no failures, or
5725
5502
  * <code>FAILED</code> if there were failures. </p>
5726
5503
  * @public
5727
5504
  */
5728
- ImportStatus?: ImportStatus;
5505
+ ImportStatus?: ImportStatus | undefined;
5729
5506
  /**
5730
5507
  * <p> The timestamp for the import's creation. </p>
5731
5508
  * @public
5732
5509
  */
5733
- CreatedTimestamp?: Date;
5510
+ CreatedTimestamp?: Date | undefined;
5734
5511
  /**
5735
5512
  * <p> The timestamp of the import's last update, if applicable. </p>
5736
5513
  * @public
5737
5514
  */
5738
- UpdatedTimestamp?: Date;
5515
+ UpdatedTimestamp?: Date | undefined;
5739
5516
  }
5740
5517
  /**
5741
5518
  * <p>The request to CloudTrail to start logging Amazon Web Services API calls for an
@@ -5773,7 +5550,7 @@ export declare class InvalidQueryStatementException extends __BaseException {
5773
5550
  * <p>Brief description of the exception returned by the request.</p>
5774
5551
  * @public
5775
5552
  */
5776
- Message?: string;
5553
+ Message?: string | undefined;
5777
5554
  /**
5778
5555
  * @internal
5779
5556
  */
@@ -5791,7 +5568,7 @@ export declare class MaxConcurrentQueriesException extends __BaseException {
5791
5568
  * <p>Brief description of the exception returned by the request.</p>
5792
5569
  * @public
5793
5570
  */
5794
- Message?: string;
5571
+ Message?: string | undefined;
5795
5572
  /**
5796
5573
  * @internal
5797
5574
  */
@@ -5805,26 +5582,26 @@ export interface StartQueryRequest {
5805
5582
  * <p>The SQL code of your query.</p>
5806
5583
  * @public
5807
5584
  */
5808
- QueryStatement?: string;
5585
+ QueryStatement?: string | undefined;
5809
5586
  /**
5810
5587
  * <p> The URI for the S3 bucket where CloudTrail delivers the query results. </p>
5811
5588
  * @public
5812
5589
  */
5813
- DeliveryS3Uri?: string;
5590
+ DeliveryS3Uri?: string | undefined;
5814
5591
  /**
5815
5592
  * <p>
5816
5593
  * The alias that identifies a query template.
5817
5594
  * </p>
5818
5595
  * @public
5819
5596
  */
5820
- QueryAlias?: string;
5597
+ QueryAlias?: string | undefined;
5821
5598
  /**
5822
5599
  * <p>
5823
5600
  * The query parameters for the specified <code>QueryAlias</code>.
5824
5601
  * </p>
5825
5602
  * @public
5826
5603
  */
5827
- QueryParameters?: string[];
5604
+ QueryParameters?: string[] | undefined;
5828
5605
  }
5829
5606
  /**
5830
5607
  * @public
@@ -5834,7 +5611,7 @@ export interface StartQueryResponse {
5834
5611
  * <p>The ID of the started query.</p>
5835
5612
  * @public
5836
5613
  */
5837
- QueryId?: string;
5614
+ QueryId?: string | undefined;
5838
5615
  }
5839
5616
  /**
5840
5617
  * @public
@@ -5869,51 +5646,51 @@ export interface StopImportResponse {
5869
5646
  * <p> The ID for the import. </p>
5870
5647
  * @public
5871
5648
  */
5872
- ImportId?: string;
5649
+ ImportId?: string | undefined;
5873
5650
  /**
5874
5651
  * <p> The source S3 bucket for the import. </p>
5875
5652
  * @public
5876
5653
  */
5877
- ImportSource?: ImportSource;
5654
+ ImportSource?: ImportSource | undefined;
5878
5655
  /**
5879
5656
  * <p> The ARN of the destination event data store. </p>
5880
5657
  * @public
5881
5658
  */
5882
- Destinations?: string[];
5659
+ Destinations?: string[] | undefined;
5883
5660
  /**
5884
5661
  * <p> The status of the import. </p>
5885
5662
  * @public
5886
5663
  */
5887
- ImportStatus?: ImportStatus;
5664
+ ImportStatus?: ImportStatus | undefined;
5888
5665
  /**
5889
5666
  * <p> The timestamp of the import's creation. </p>
5890
5667
  * @public
5891
5668
  */
5892
- CreatedTimestamp?: Date;
5669
+ CreatedTimestamp?: Date | undefined;
5893
5670
  /**
5894
5671
  * <p> The timestamp of the import's last update. </p>
5895
5672
  * @public
5896
5673
  */
5897
- UpdatedTimestamp?: Date;
5674
+ UpdatedTimestamp?: Date | undefined;
5898
5675
  /**
5899
5676
  * <p> Used with <code>EndEventTime</code> to bound a <code>StartImport</code> request, and
5900
5677
  * limit imported trail events to only those events logged within a specified time period.
5901
5678
  * </p>
5902
5679
  * @public
5903
5680
  */
5904
- StartEventTime?: Date;
5681
+ StartEventTime?: Date | undefined;
5905
5682
  /**
5906
5683
  * <p> Used with <code>StartEventTime</code> to bound a <code>StartImport</code> request, and
5907
5684
  * limit imported trail events to only those events logged within a specified time period.
5908
5685
  * </p>
5909
5686
  * @public
5910
5687
  */
5911
- EndEventTime?: Date;
5688
+ EndEventTime?: Date | undefined;
5912
5689
  /**
5913
5690
  * <p> Returns information on the stopped import. </p>
5914
5691
  * @public
5915
5692
  */
5916
- ImportStatistics?: ImportStatistics;
5693
+ ImportStatistics?: ImportStatistics | undefined;
5917
5694
  }
5918
5695
  /**
5919
5696
  * <p>Passes the request to CloudTrail to stop logging Amazon Web Services API calls for
@@ -5952,14 +5729,14 @@ export interface UpdateChannelRequest {
5952
5729
  * <p>The ARNs of event data stores that you want to log events arriving through the channel.</p>
5953
5730
  * @public
5954
5731
  */
5955
- Destinations?: Destination[];
5732
+ Destinations?: Destination[] | undefined;
5956
5733
  /**
5957
5734
  * <p>
5958
5735
  * Changes the name of the channel.
5959
5736
  * </p>
5960
5737
  * @public
5961
5738
  */
5962
- Name?: string;
5739
+ Name?: string | undefined;
5963
5740
  }
5964
5741
  /**
5965
5742
  * @public
@@ -5969,22 +5746,22 @@ export interface UpdateChannelResponse {
5969
5746
  * <p>The ARN of the channel that was updated.</p>
5970
5747
  * @public
5971
5748
  */
5972
- ChannelArn?: string;
5749
+ ChannelArn?: string | undefined;
5973
5750
  /**
5974
5751
  * <p>The name of the channel that was updated.</p>
5975
5752
  * @public
5976
5753
  */
5977
- Name?: string;
5754
+ Name?: string | undefined;
5978
5755
  /**
5979
5756
  * <p>The event source of the channel that was updated.</p>
5980
5757
  * @public
5981
5758
  */
5982
- Source?: string;
5759
+ Source?: string | undefined;
5983
5760
  /**
5984
5761
  * <p>The event data stores that log events arriving through the channel.</p>
5985
5762
  * @public
5986
5763
  */
5987
- Destinations?: Destination[];
5764
+ Destinations?: Destination[] | undefined;
5988
5765
  }
5989
5766
  /**
5990
5767
  * @public
@@ -6000,19 +5777,19 @@ export interface UpdateEventDataStoreRequest {
6000
5777
  * <p>The event data store name.</p>
6001
5778
  * @public
6002
5779
  */
6003
- Name?: string;
5780
+ Name?: string | undefined;
6004
5781
  /**
6005
5782
  * <p>The advanced event selectors used to select events for the event data store. You can
6006
5783
  * configure up to five advanced event selectors for each event data store.</p>
6007
5784
  * @public
6008
5785
  */
6009
- AdvancedEventSelectors?: AdvancedEventSelector[];
5786
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
6010
5787
  /**
6011
5788
  * <p>Specifies whether an event data store collects events from all Regions, or only from the
6012
5789
  * Region in which it was created.</p>
6013
5790
  * @public
6014
5791
  */
6015
- MultiRegionEnabled?: boolean;
5792
+ MultiRegionEnabled?: boolean | undefined;
6016
5793
  /**
6017
5794
  * <p>Specifies whether an event data store collects events logged for an organization in
6018
5795
  * Organizations.</p>
@@ -6022,7 +5799,7 @@ export interface UpdateEventDataStoreRequest {
6022
5799
  * </note>
6023
5800
  * @public
6024
5801
  */
6025
- OrganizationEnabled?: boolean;
5802
+ OrganizationEnabled?: boolean | undefined;
6026
5803
  /**
6027
5804
  * <p>The retention period of the event data store, in days. If <code>BillingMode</code> is set to <code>EXTENDABLE_RETENTION_PRICING</code>, you can set a retention period of
6028
5805
  * up to 3653 days, the equivalent of 10 years. If <code>BillingMode</code> is set to <code>FIXED_RETENTION_PRICING</code>, you can set a retention period of
@@ -6036,13 +5813,13 @@ export interface UpdateEventDataStoreRequest {
6036
5813
  * </note>
6037
5814
  * @public
6038
5815
  */
6039
- RetentionPeriod?: number;
5816
+ RetentionPeriod?: number | undefined;
6040
5817
  /**
6041
5818
  * <p>Indicates that termination protection is enabled and the event data store cannot be
6042
5819
  * automatically deleted.</p>
6043
5820
  * @public
6044
5821
  */
6045
- TerminationProtectionEnabled?: boolean;
5822
+ TerminationProtectionEnabled?: boolean | undefined;
6046
5823
  /**
6047
5824
  * <p>Specifies the KMS key ID to use to encrypt the events delivered by
6048
5825
  * CloudTrail. The value can be an alias name prefixed by <code>alias/</code>, a
@@ -6084,7 +5861,7 @@ export interface UpdateEventDataStoreRequest {
6084
5861
  * </ul>
6085
5862
  * @public
6086
5863
  */
6087
- KmsKeyId?: string;
5864
+ KmsKeyId?: string | undefined;
6088
5865
  /**
6089
5866
  * <note>
6090
5867
  * <p>You can't change the billing mode from <code>EXTENDABLE_RETENTION_PRICING</code> to <code>FIXED_RETENTION_PRICING</code>. If <code>BillingMode</code> is set to
@@ -6110,7 +5887,7 @@ export interface UpdateEventDataStoreRequest {
6110
5887
  * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html">Managing CloudTrail Lake costs</a>.</p>
6111
5888
  * @public
6112
5889
  */
6113
- BillingMode?: BillingMode;
5890
+ BillingMode?: BillingMode | undefined;
6114
5891
  }
6115
5892
  /**
6116
5893
  * @public
@@ -6120,56 +5897,56 @@ export interface UpdateEventDataStoreResponse {
6120
5897
  * <p>The ARN of the event data store.</p>
6121
5898
  * @public
6122
5899
  */
6123
- EventDataStoreArn?: string;
5900
+ EventDataStoreArn?: string | undefined;
6124
5901
  /**
6125
5902
  * <p>The name of the event data store.</p>
6126
5903
  * @public
6127
5904
  */
6128
- Name?: string;
5905
+ Name?: string | undefined;
6129
5906
  /**
6130
5907
  * <p>The status of an event data store.</p>
6131
5908
  * @public
6132
5909
  */
6133
- Status?: EventDataStoreStatus;
5910
+ Status?: EventDataStoreStatus | undefined;
6134
5911
  /**
6135
5912
  * <p>The advanced event selectors that are applied to the event data store.</p>
6136
5913
  * @public
6137
5914
  */
6138
- AdvancedEventSelectors?: AdvancedEventSelector[];
5915
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
6139
5916
  /**
6140
5917
  * <p>Indicates whether the event data store includes events from all Regions, or only from
6141
5918
  * the Region in which it was created.</p>
6142
5919
  * @public
6143
5920
  */
6144
- MultiRegionEnabled?: boolean;
5921
+ MultiRegionEnabled?: boolean | undefined;
6145
5922
  /**
6146
5923
  * <p>Indicates whether an event data store is collecting logged events for an organization in
6147
5924
  * Organizations.</p>
6148
5925
  * @public
6149
5926
  */
6150
- OrganizationEnabled?: boolean;
5927
+ OrganizationEnabled?: boolean | undefined;
6151
5928
  /**
6152
5929
  * <p>The retention period, in days.</p>
6153
5930
  * @public
6154
5931
  */
6155
- RetentionPeriod?: number;
5932
+ RetentionPeriod?: number | undefined;
6156
5933
  /**
6157
5934
  * <p>Indicates whether termination protection is enabled for the event data store.</p>
6158
5935
  * @public
6159
5936
  */
6160
- TerminationProtectionEnabled?: boolean;
5937
+ TerminationProtectionEnabled?: boolean | undefined;
6161
5938
  /**
6162
5939
  * <p>The timestamp that shows when an event data store was first created.</p>
6163
5940
  * @public
6164
5941
  */
6165
- CreatedTimestamp?: Date;
5942
+ CreatedTimestamp?: Date | undefined;
6166
5943
  /**
6167
5944
  * <p>The timestamp that shows when the event data store was last updated.
6168
5945
  * <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in
6169
5946
  * <code>CreatedTimestamp</code>.</p>
6170
5947
  * @public
6171
5948
  */
6172
- UpdatedTimestamp?: Date;
5949
+ UpdatedTimestamp?: Date | undefined;
6173
5950
  /**
6174
5951
  * <p>Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
6175
5952
  * following format.</p>
@@ -6178,12 +5955,12 @@ export interface UpdateEventDataStoreResponse {
6178
5955
  * </p>
6179
5956
  * @public
6180
5957
  */
6181
- KmsKeyId?: string;
5958
+ KmsKeyId?: string | undefined;
6182
5959
  /**
6183
5960
  * <p>The billing mode for the event data store.</p>
6184
5961
  * @public
6185
5962
  */
6186
- BillingMode?: BillingMode;
5963
+ BillingMode?: BillingMode | undefined;
6187
5964
  /**
6188
5965
  * <p>
6189
5966
  * Indicates the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html">Lake query federation</a> status. The status is
@@ -6191,14 +5968,14 @@ export interface UpdateEventDataStoreResponse {
6191
5968
  * </p>
6192
5969
  * @public
6193
5970
  */
6194
- FederationStatus?: FederationStatus;
5971
+ FederationStatus?: FederationStatus | undefined;
6195
5972
  /**
6196
5973
  * <p>
6197
5974
  * If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
6198
5975
  * </p>
6199
5976
  * @public
6200
5977
  */
6201
- FederationRoleArn?: string;
5978
+ FederationRoleArn?: string | undefined;
6202
5979
  }
6203
5980
  /**
6204
5981
  * <p>Specifies settings to update for the trail.</p>
@@ -6240,25 +6017,25 @@ export interface UpdateTrailRequest {
6240
6017
  * Bucket naming rules</a>.</p>
6241
6018
  * @public
6242
6019
  */
6243
- S3BucketName?: string;
6020
+ S3BucketName?: string | undefined;
6244
6021
  /**
6245
6022
  * <p>Specifies the Amazon S3 key prefix that comes after the name of the bucket you
6246
6023
  * have designated for log file delivery. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files">Finding Your CloudTrail Log Files</a>. The maximum length is 200
6247
6024
  * characters.</p>
6248
6025
  * @public
6249
6026
  */
6250
- S3KeyPrefix?: string;
6027
+ S3KeyPrefix?: string | undefined;
6251
6028
  /**
6252
6029
  * <p>Specifies the name of the Amazon SNS topic defined for notification of log file
6253
6030
  * delivery. The maximum length is 256 characters.</p>
6254
6031
  * @public
6255
6032
  */
6256
- SnsTopicName?: string;
6033
+ SnsTopicName?: string | undefined;
6257
6034
  /**
6258
6035
  * <p>Specifies whether the trail is publishing events from global services such as IAM to the log files.</p>
6259
6036
  * @public
6260
6037
  */
6261
- IncludeGlobalServiceEvents?: boolean;
6038
+ IncludeGlobalServiceEvents?: boolean | undefined;
6262
6039
  /**
6263
6040
  * <p>Specifies whether the trail applies only to the current Region or to all Regions. The
6264
6041
  * default is false. If the trail exists only in the current Region and this value is set to
@@ -6268,7 +6045,7 @@ export interface UpdateTrailRequest {
6268
6045
  * a best practice, consider using trails that log events in all Regions.</p>
6269
6046
  * @public
6270
6047
  */
6271
- IsMultiRegionTrail?: boolean;
6048
+ IsMultiRegionTrail?: boolean | undefined;
6272
6049
  /**
6273
6050
  * <p>Specifies whether log file validation is enabled. The default is false.</p>
6274
6051
  * <note>
@@ -6282,7 +6059,7 @@ export interface UpdateTrailRequest {
6282
6059
  * </note>
6283
6060
  * @public
6284
6061
  */
6285
- EnableLogFileValidation?: boolean;
6062
+ EnableLogFileValidation?: boolean | undefined;
6286
6063
  /**
6287
6064
  * <p>Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that
6288
6065
  * represents the log group to which CloudTrail logs are delivered. You must use a log
@@ -6290,13 +6067,13 @@ export interface UpdateTrailRequest {
6290
6067
  * <p>Not required unless you specify <code>CloudWatchLogsRoleArn</code>.</p>
6291
6068
  * @public
6292
6069
  */
6293
- CloudWatchLogsLogGroupArn?: string;
6070
+ CloudWatchLogsLogGroupArn?: string | undefined;
6294
6071
  /**
6295
6072
  * <p>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's
6296
6073
  * log group. You must use a role that exists in your account.</p>
6297
6074
  * @public
6298
6075
  */
6299
- CloudWatchLogsRoleArn?: string;
6076
+ CloudWatchLogsRoleArn?: string | undefined;
6300
6077
  /**
6301
6078
  * <p>Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to
6302
6079
  * an alias, a fully specified ARN to a key, or a globally unique identifier.</p>
@@ -6320,7 +6097,7 @@ export interface UpdateTrailRequest {
6320
6097
  * </ul>
6321
6098
  * @public
6322
6099
  */
6323
- KmsKeyId?: string;
6100
+ KmsKeyId?: string | undefined;
6324
6101
  /**
6325
6102
  * <p>Specifies whether the trail is applied to all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false,
6326
6103
  * and cannot be true unless the call is made on behalf of an Amazon Web Services account that
@@ -6335,7 +6112,7 @@ export interface UpdateTrailRequest {
6335
6112
  * </note>
6336
6113
  * @public
6337
6114
  */
6338
- IsOrganizationTrail?: boolean;
6115
+ IsOrganizationTrail?: boolean | undefined;
6339
6116
  }
6340
6117
  /**
6341
6118
  * <p>Returns the objects or data listed below if successful. Otherwise, returns an
@@ -6347,26 +6124,26 @@ export interface UpdateTrailResponse {
6347
6124
  * <p>Specifies the name of the trail.</p>
6348
6125
  * @public
6349
6126
  */
6350
- Name?: string;
6127
+ Name?: string | undefined;
6351
6128
  /**
6352
6129
  * <p>Specifies the name of the Amazon S3 bucket designated for publishing log
6353
6130
  * files.</p>
6354
6131
  * @public
6355
6132
  */
6356
- S3BucketName?: string;
6133
+ S3BucketName?: string | undefined;
6357
6134
  /**
6358
6135
  * <p>Specifies the Amazon S3 key prefix that comes after the name of the bucket you
6359
6136
  * have designated for log file delivery. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files">Finding Your IAM Log Files</a>.</p>
6360
6137
  * @public
6361
6138
  */
6362
- S3KeyPrefix?: string;
6139
+ S3KeyPrefix?: string | undefined;
6363
6140
  /**
6364
6141
  * @deprecated
6365
6142
  *
6366
6143
  * <p>This field is no longer in use. Use <code>SnsTopicARN</code>.</p>
6367
6144
  * @public
6368
6145
  */
6369
- SnsTopicName?: string;
6146
+ SnsTopicName?: string | undefined;
6370
6147
  /**
6371
6148
  * <p>Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send
6372
6149
  * notifications when log files are delivered. The following is the format of a topic
@@ -6376,17 +6153,17 @@ export interface UpdateTrailResponse {
6376
6153
  * </p>
6377
6154
  * @public
6378
6155
  */
6379
- SnsTopicARN?: string;
6156
+ SnsTopicARN?: string | undefined;
6380
6157
  /**
6381
6158
  * <p>Specifies whether the trail is publishing events from global services such as IAM to the log files.</p>
6382
6159
  * @public
6383
6160
  */
6384
- IncludeGlobalServiceEvents?: boolean;
6161
+ IncludeGlobalServiceEvents?: boolean | undefined;
6385
6162
  /**
6386
6163
  * <p>Specifies whether the trail exists in one Region or in all Regions.</p>
6387
6164
  * @public
6388
6165
  */
6389
- IsMultiRegionTrail?: boolean;
6166
+ IsMultiRegionTrail?: boolean | undefined;
6390
6167
  /**
6391
6168
  * <p>Specifies the ARN of the trail that was updated. The following is the format of a trail
6392
6169
  * ARN.</p>
@@ -6395,24 +6172,24 @@ export interface UpdateTrailResponse {
6395
6172
  * </p>
6396
6173
  * @public
6397
6174
  */
6398
- TrailARN?: string;
6175
+ TrailARN?: string | undefined;
6399
6176
  /**
6400
6177
  * <p>Specifies whether log file integrity validation is enabled.</p>
6401
6178
  * @public
6402
6179
  */
6403
- LogFileValidationEnabled?: boolean;
6180
+ LogFileValidationEnabled?: boolean | undefined;
6404
6181
  /**
6405
6182
  * <p>Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail
6406
6183
  * logs are delivered.</p>
6407
6184
  * @public
6408
6185
  */
6409
- CloudWatchLogsLogGroupArn?: string;
6186
+ CloudWatchLogsLogGroupArn?: string | undefined;
6410
6187
  /**
6411
6188
  * <p>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's
6412
6189
  * log group.</p>
6413
6190
  * @public
6414
6191
  */
6415
- CloudWatchLogsRoleArn?: string;
6192
+ CloudWatchLogsRoleArn?: string | undefined;
6416
6193
  /**
6417
6194
  * <p>Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the
6418
6195
  * following format.</p>
@@ -6421,10 +6198,10 @@ export interface UpdateTrailResponse {
6421
6198
  * </p>
6422
6199
  * @public
6423
6200
  */
6424
- KmsKeyId?: string;
6201
+ KmsKeyId?: string | undefined;
6425
6202
  /**
6426
6203
  * <p>Specifies whether the trail is an organization trail.</p>
6427
6204
  * @public
6428
6205
  */
6429
- IsOrganizationTrail?: boolean;
6206
+ IsOrganizationTrail?: boolean | undefined;
6430
6207
  }