@aws-sdk/client-cloudtrail 3.45.0 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist-cjs/CloudTrail.js +165 -0
- package/dist-cjs/commands/CancelQueryCommand.js +36 -0
- package/dist-cjs/commands/CreateEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/DeleteEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/DescribeQueryCommand.js +36 -0
- package/dist-cjs/commands/GetEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/GetQueryResultsCommand.js +36 -0
- package/dist-cjs/commands/ListEventDataStoresCommand.js +36 -0
- package/dist-cjs/commands/ListQueriesCommand.js +36 -0
- package/dist-cjs/commands/RestoreEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/StartQueryCommand.js +36 -0
- package/dist-cjs/commands/UpdateEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/models/models_0.js +291 -36
- package/dist-cjs/pagination/GetQueryResultsPaginator.js +34 -0
- package/dist-cjs/pagination/ListEventDataStoresPaginator.js +35 -0
- package/dist-cjs/pagination/ListQueriesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2319 -389
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/CloudTrail.js +165 -0
- package/dist-es/commands/CancelQueryCommand.js +39 -0
- package/dist-es/commands/CreateEventDataStoreCommand.js +39 -0
- package/dist-es/commands/DeleteEventDataStoreCommand.js +39 -0
- package/dist-es/commands/DescribeQueryCommand.js +39 -0
- package/dist-es/commands/GetEventDataStoreCommand.js +39 -0
- package/dist-es/commands/GetQueryResultsCommand.js +39 -0
- package/dist-es/commands/ListEventDataStoresCommand.js +39 -0
- package/dist-es/commands/ListQueriesCommand.js +39 -0
- package/dist-es/commands/RestoreEventDataStoreCommand.js +39 -0
- package/dist-es/commands/StartQueryCommand.js +39 -0
- package/dist-es/commands/UpdateEventDataStoreCommand.js +39 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +198 -24
- package/dist-es/pagination/GetQueryResultsPaginator.js +73 -0
- package/dist-es/pagination/ListEventDataStoresPaginator.js +74 -0
- package/dist-es/pagination/ListQueriesPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +2669 -704
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/CloudTrail.d.ts +100 -1
- package/dist-types/CloudTrailClient.d.ts +13 -2
- package/dist-types/commands/CancelQueryCommand.d.ts +37 -0
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +35 -0
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +41 -0
- package/dist-types/commands/DescribeQueryCommand.d.ts +36 -0
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +35 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +36 -0
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +35 -0
- package/dist-types/commands/ListQueriesCommand.d.ts +39 -0
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +37 -0
- package/dist-types/commands/StartQueryCommand.d.ts +36 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +1053 -107
- package/dist-types/pagination/GetQueryResultsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +4 -0
- package/dist-types/pagination/ListQueriesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +33 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +55 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +13 -2
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +611 -61
- package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +33 -0
- package/package.json +36 -43
|
@@ -33,7 +33,7 @@ export interface AddTagsRequest {
|
|
|
33
33
|
/**
|
|
34
34
|
* <p>Contains a list of tags, up to a limit of 50</p>
|
|
35
35
|
*/
|
|
36
|
-
TagsList
|
|
36
|
+
TagsList: Tag[] | undefined;
|
|
37
37
|
}
|
|
38
38
|
export declare namespace AddTagsRequest {
|
|
39
39
|
/**
|
|
@@ -72,6 +72,59 @@ export declare namespace CloudTrailARNInvalidException {
|
|
|
72
72
|
*/
|
|
73
73
|
const filterSensitiveLog: (obj: CloudTrailARNInvalidException) => any;
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>This exception is thrown when the specified resource is not ready for an operation.
|
|
77
|
+
* This can occur when you try to run an operation on a trail before CloudTrail has time to fully load the trail.
|
|
78
|
+
* If this exception occurs, wait a few minutes, and then try the operation again.</p>
|
|
79
|
+
*/
|
|
80
|
+
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
81
|
+
name: "ConflictException";
|
|
82
|
+
$fault: "client";
|
|
83
|
+
/**
|
|
84
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
85
|
+
*/
|
|
86
|
+
Message?: string;
|
|
87
|
+
}
|
|
88
|
+
export declare namespace ConflictException {
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* <p>The specified event data store was not found.</p>
|
|
96
|
+
*/
|
|
97
|
+
export interface EventDataStoreNotFoundException extends __SmithyException, $MetadataBearer {
|
|
98
|
+
name: "EventDataStoreNotFoundException";
|
|
99
|
+
$fault: "client";
|
|
100
|
+
/**
|
|
101
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
102
|
+
*/
|
|
103
|
+
Message?: string;
|
|
104
|
+
}
|
|
105
|
+
export declare namespace EventDataStoreNotFoundException {
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
const filterSensitiveLog: (obj: EventDataStoreNotFoundException) => any;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* <p>The event data store against which you ran your query is inactive.</p>
|
|
113
|
+
*/
|
|
114
|
+
export interface InactiveEventDataStoreException extends __SmithyException, $MetadataBearer {
|
|
115
|
+
name: "InactiveEventDataStoreException";
|
|
116
|
+
$fault: "client";
|
|
117
|
+
/**
|
|
118
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
119
|
+
*/
|
|
120
|
+
Message?: string;
|
|
121
|
+
}
|
|
122
|
+
export declare namespace InactiveEventDataStoreException {
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
const filterSensitiveLog: (obj: InactiveEventDataStoreException) => any;
|
|
127
|
+
}
|
|
75
128
|
/**
|
|
76
129
|
* <p>This exception is thrown when the specified tag key or values are not valid.
|
|
77
130
|
* It can also occur if there are duplicate tags or too many tags on the resource.</p>
|
|
@@ -539,6 +592,116 @@ export declare namespace AdvancedEventSelector {
|
|
|
539
592
|
*/
|
|
540
593
|
const filterSensitiveLog: (obj: AdvancedEventSelector) => any;
|
|
541
594
|
}
|
|
595
|
+
export interface CancelQueryRequest {
|
|
596
|
+
/**
|
|
597
|
+
* <p>The ARN (or the ID suffix of the ARN) of an event data store on which the specified query is running.</p>
|
|
598
|
+
*/
|
|
599
|
+
EventDataStore: string | undefined;
|
|
600
|
+
/**
|
|
601
|
+
* <p>The ID of the query that you want to cancel. The <code>QueryId</code> comes from the response of a <code>StartQuery</code>
|
|
602
|
+
* operation.</p>
|
|
603
|
+
*/
|
|
604
|
+
QueryId: string | undefined;
|
|
605
|
+
}
|
|
606
|
+
export declare namespace CancelQueryRequest {
|
|
607
|
+
/**
|
|
608
|
+
* @internal
|
|
609
|
+
*/
|
|
610
|
+
const filterSensitiveLog: (obj: CancelQueryRequest) => any;
|
|
611
|
+
}
|
|
612
|
+
export declare enum QueryStatus {
|
|
613
|
+
CANCELLED = "CANCELLED",
|
|
614
|
+
FAILED = "FAILED",
|
|
615
|
+
FINISHED = "FINISHED",
|
|
616
|
+
QUEUED = "QUEUED",
|
|
617
|
+
RUNNING = "RUNNING"
|
|
618
|
+
}
|
|
619
|
+
export interface CancelQueryResponse {
|
|
620
|
+
/**
|
|
621
|
+
* <p>The ID of the canceled query.</p>
|
|
622
|
+
*/
|
|
623
|
+
QueryId: string | undefined;
|
|
624
|
+
/**
|
|
625
|
+
* <p>Shows the status of a query after a <code>CancelQuery</code> request. Typically, the values shown are either
|
|
626
|
+
* <code>RUNNING</code> or <code>CANCELLED</code>.</p>
|
|
627
|
+
*/
|
|
628
|
+
QueryStatus: QueryStatus | string | undefined;
|
|
629
|
+
}
|
|
630
|
+
export declare namespace CancelQueryResponse {
|
|
631
|
+
/**
|
|
632
|
+
* @internal
|
|
633
|
+
*/
|
|
634
|
+
const filterSensitiveLog: (obj: CancelQueryResponse) => any;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* <p>The specified event data store ARN is not valid or does not map to an event data store in your account.</p>
|
|
638
|
+
*/
|
|
639
|
+
export interface EventDataStoreARNInvalidException extends __SmithyException, $MetadataBearer {
|
|
640
|
+
name: "EventDataStoreARNInvalidException";
|
|
641
|
+
$fault: "client";
|
|
642
|
+
/**
|
|
643
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
644
|
+
*/
|
|
645
|
+
Message?: string;
|
|
646
|
+
}
|
|
647
|
+
export declare namespace EventDataStoreARNInvalidException {
|
|
648
|
+
/**
|
|
649
|
+
* @internal
|
|
650
|
+
*/
|
|
651
|
+
const filterSensitiveLog: (obj: EventDataStoreARNInvalidException) => any;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>, <code>FAILED</code>, or
|
|
655
|
+
* <code>CANCELLED</code> state.</p>
|
|
656
|
+
*/
|
|
657
|
+
export interface InactiveQueryException extends __SmithyException, $MetadataBearer {
|
|
658
|
+
name: "InactiveQueryException";
|
|
659
|
+
$fault: "client";
|
|
660
|
+
/**
|
|
661
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
662
|
+
*/
|
|
663
|
+
Message?: string;
|
|
664
|
+
}
|
|
665
|
+
export declare namespace InactiveQueryException {
|
|
666
|
+
/**
|
|
667
|
+
* @internal
|
|
668
|
+
*/
|
|
669
|
+
const filterSensitiveLog: (obj: InactiveQueryException) => any;
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
673
|
+
*/
|
|
674
|
+
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
675
|
+
name: "InvalidParameterException";
|
|
676
|
+
$fault: "client";
|
|
677
|
+
/**
|
|
678
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
679
|
+
*/
|
|
680
|
+
Message?: string;
|
|
681
|
+
}
|
|
682
|
+
export declare namespace InvalidParameterException {
|
|
683
|
+
/**
|
|
684
|
+
* @internal
|
|
685
|
+
*/
|
|
686
|
+
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* <p>The query ID does not exist or does not map to a query.</p>
|
|
690
|
+
*/
|
|
691
|
+
export interface QueryIdNotFoundException extends __SmithyException, $MetadataBearer {
|
|
692
|
+
name: "QueryIdNotFoundException";
|
|
693
|
+
$fault: "client";
|
|
694
|
+
/**
|
|
695
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
696
|
+
*/
|
|
697
|
+
Message?: string;
|
|
698
|
+
}
|
|
699
|
+
export declare namespace QueryIdNotFoundException {
|
|
700
|
+
/**
|
|
701
|
+
* @internal
|
|
702
|
+
*/
|
|
703
|
+
const filterSensitiveLog: (obj: QueryIdNotFoundException) => any;
|
|
704
|
+
}
|
|
542
705
|
/**
|
|
543
706
|
* <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information,
|
|
544
707
|
* see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Enabling Trusted Access with Other Amazon Web Services Services</a>
|
|
@@ -558,6 +721,195 @@ export declare namespace CloudTrailAccessNotEnabledException {
|
|
|
558
721
|
*/
|
|
559
722
|
const filterSensitiveLog: (obj: CloudTrailAccessNotEnabledException) => any;
|
|
560
723
|
}
|
|
724
|
+
export interface CreateEventDataStoreRequest {
|
|
725
|
+
/**
|
|
726
|
+
* <p>The name of the event data store.</p>
|
|
727
|
+
*/
|
|
728
|
+
Name: string | undefined;
|
|
729
|
+
/**
|
|
730
|
+
* <p>The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event
|
|
731
|
+
* selectors, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced">Log events by using advanced event selectors</a> in the CloudTrail
|
|
732
|
+
* User Guide.</p>
|
|
733
|
+
*/
|
|
734
|
+
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
735
|
+
/**
|
|
736
|
+
* <p>Specifies whether the event data store includes events from all regions, or only from the region in which the event data store
|
|
737
|
+
* is created.</p>
|
|
738
|
+
*/
|
|
739
|
+
MultiRegionEnabled?: boolean;
|
|
740
|
+
/**
|
|
741
|
+
* <p>Specifies whether an event data store collects events logged for an organization in Organizations.</p>
|
|
742
|
+
*/
|
|
743
|
+
OrganizationEnabled?: boolean;
|
|
744
|
+
/**
|
|
745
|
+
* <p>The retention period of the event data store, in days. You can set a retention period of up to 2555 days,
|
|
746
|
+
* the equivalent of seven years.</p>
|
|
747
|
+
*/
|
|
748
|
+
RetentionPeriod?: number;
|
|
749
|
+
/**
|
|
750
|
+
* <p>Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you
|
|
751
|
+
* cannot delete the event data store until termination protection is disabled.</p>
|
|
752
|
+
*/
|
|
753
|
+
TerminationProtectionEnabled?: boolean;
|
|
754
|
+
/**
|
|
755
|
+
* <p>A list of tags.</p>
|
|
756
|
+
*/
|
|
757
|
+
TagsList?: Tag[];
|
|
758
|
+
}
|
|
759
|
+
export declare namespace CreateEventDataStoreRequest {
|
|
760
|
+
/**
|
|
761
|
+
* @internal
|
|
762
|
+
*/
|
|
763
|
+
const filterSensitiveLog: (obj: CreateEventDataStoreRequest) => any;
|
|
764
|
+
}
|
|
765
|
+
export declare enum EventDataStoreStatus {
|
|
766
|
+
CREATED = "CREATED",
|
|
767
|
+
ENABLED = "ENABLED",
|
|
768
|
+
PENDING_DELETION = "PENDING_DELETION"
|
|
769
|
+
}
|
|
770
|
+
export interface CreateEventDataStoreResponse {
|
|
771
|
+
/**
|
|
772
|
+
* <p>The ARN of the event data store.</p>
|
|
773
|
+
*/
|
|
774
|
+
EventDataStoreArn?: string;
|
|
775
|
+
/**
|
|
776
|
+
* <p>The name of the event data store.</p>
|
|
777
|
+
*/
|
|
778
|
+
Name?: string;
|
|
779
|
+
/**
|
|
780
|
+
* <p>The status of event data store creation.</p>
|
|
781
|
+
*/
|
|
782
|
+
Status?: EventDataStoreStatus | string;
|
|
783
|
+
/**
|
|
784
|
+
* <p>The advanced event selectors that were used to select the events for the data store.</p>
|
|
785
|
+
*/
|
|
786
|
+
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
787
|
+
/**
|
|
788
|
+
* <p>Indicates whether the event data store collects events from all regions, or only from the region in which it was created.</p>
|
|
789
|
+
*/
|
|
790
|
+
MultiRegionEnabled?: boolean;
|
|
791
|
+
/**
|
|
792
|
+
* <p>Indicates whether an event data store is collecting logged events for an organization in Organizations.</p>
|
|
793
|
+
*/
|
|
794
|
+
OrganizationEnabled?: boolean;
|
|
795
|
+
/**
|
|
796
|
+
* <p>The retention period of an event data store, in days.</p>
|
|
797
|
+
*/
|
|
798
|
+
RetentionPeriod?: number;
|
|
799
|
+
/**
|
|
800
|
+
* <p>Indicates whether termination protection is enabled for the event data store.</p>
|
|
801
|
+
*/
|
|
802
|
+
TerminationProtectionEnabled?: boolean;
|
|
803
|
+
/**
|
|
804
|
+
* <p>A list of tags.</p>
|
|
805
|
+
*/
|
|
806
|
+
TagsList?: Tag[];
|
|
807
|
+
/**
|
|
808
|
+
* <p>The timestamp that shows when the event data store was created.</p>
|
|
809
|
+
*/
|
|
810
|
+
CreatedTimestamp?: Date;
|
|
811
|
+
/**
|
|
812
|
+
* <p>The timestamp that shows when an event data store was updated, if applicable.
|
|
813
|
+
* <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in <code>CreatedTimestamp</code>.</p>
|
|
814
|
+
*/
|
|
815
|
+
UpdatedTimestamp?: Date;
|
|
816
|
+
}
|
|
817
|
+
export declare namespace CreateEventDataStoreResponse {
|
|
818
|
+
/**
|
|
819
|
+
* @internal
|
|
820
|
+
*/
|
|
821
|
+
const filterSensitiveLog: (obj: CreateEventDataStoreResponse) => any;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* <p>An event data store with that name already exists.</p>
|
|
825
|
+
*/
|
|
826
|
+
export interface EventDataStoreAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
827
|
+
name: "EventDataStoreAlreadyExistsException";
|
|
828
|
+
$fault: "client";
|
|
829
|
+
/**
|
|
830
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
831
|
+
*/
|
|
832
|
+
Message?: string;
|
|
833
|
+
}
|
|
834
|
+
export declare namespace EventDataStoreAlreadyExistsException {
|
|
835
|
+
/**
|
|
836
|
+
* @internal
|
|
837
|
+
*/
|
|
838
|
+
const filterSensitiveLog: (obj: EventDataStoreAlreadyExistsException) => any;
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* <p>Your account has used the maximum number of event data stores.</p>
|
|
842
|
+
*/
|
|
843
|
+
export interface EventDataStoreMaxLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
844
|
+
name: "EventDataStoreMaxLimitExceededException";
|
|
845
|
+
$fault: "client";
|
|
846
|
+
/**
|
|
847
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
848
|
+
*/
|
|
849
|
+
Message?: string;
|
|
850
|
+
}
|
|
851
|
+
export declare namespace EventDataStoreMaxLimitExceededException {
|
|
852
|
+
/**
|
|
853
|
+
* @internal
|
|
854
|
+
*/
|
|
855
|
+
const filterSensitiveLog: (obj: EventDataStoreMaxLimitExceededException) => any;
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* <p>This exception is thrown when the IAM user or role that is used to create the organization trail is lacking one or more required permissions for
|
|
859
|
+
* creating an organization trail in a required service. For more information, see
|
|
860
|
+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a>.</p>
|
|
861
|
+
*/
|
|
862
|
+
export interface InsufficientDependencyServiceAccessPermissionException extends __SmithyException, $MetadataBearer {
|
|
863
|
+
name: "InsufficientDependencyServiceAccessPermissionException";
|
|
864
|
+
$fault: "client";
|
|
865
|
+
/**
|
|
866
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
867
|
+
*/
|
|
868
|
+
Message?: string;
|
|
869
|
+
}
|
|
870
|
+
export declare namespace InsufficientDependencyServiceAccessPermissionException {
|
|
871
|
+
/**
|
|
872
|
+
* @internal
|
|
873
|
+
*/
|
|
874
|
+
const filterSensitiveLog: (obj: InsufficientDependencyServiceAccessPermissionException) => any;
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
* <p>This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support
|
|
878
|
+
* creating an organization trail. For more information, see
|
|
879
|
+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a>.</p>
|
|
880
|
+
*/
|
|
881
|
+
export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
|
|
882
|
+
name: "OrganizationNotInAllFeaturesModeException";
|
|
883
|
+
$fault: "client";
|
|
884
|
+
/**
|
|
885
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
886
|
+
*/
|
|
887
|
+
Message?: string;
|
|
888
|
+
}
|
|
889
|
+
export declare namespace OrganizationNotInAllFeaturesModeException {
|
|
890
|
+
/**
|
|
891
|
+
* @internal
|
|
892
|
+
*/
|
|
893
|
+
const filterSensitiveLog: (obj: OrganizationNotInAllFeaturesModeException) => any;
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* <p>This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization.
|
|
897
|
+
* To make this request, sign in using the credentials of an account that belongs to an organization.</p>
|
|
898
|
+
*/
|
|
899
|
+
export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
|
|
900
|
+
name: "OrganizationsNotInUseException";
|
|
901
|
+
$fault: "client";
|
|
902
|
+
/**
|
|
903
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
904
|
+
*/
|
|
905
|
+
Message?: string;
|
|
906
|
+
}
|
|
907
|
+
export declare namespace OrganizationsNotInUseException {
|
|
908
|
+
/**
|
|
909
|
+
* @internal
|
|
910
|
+
*/
|
|
911
|
+
const filterSensitiveLog: (obj: OrganizationsNotInUseException) => any;
|
|
912
|
+
}
|
|
561
913
|
/**
|
|
562
914
|
* <p>This exception is thrown when a call results in the <code>InvalidClientTokenId</code> error code.
|
|
563
915
|
* This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that
|
|
@@ -780,36 +1132,17 @@ export declare namespace CreateTrailResponse {
|
|
|
780
1132
|
const filterSensitiveLog: (obj: CreateTrailResponse) => any;
|
|
781
1133
|
}
|
|
782
1134
|
/**
|
|
783
|
-
* <p>This exception is thrown when the
|
|
784
|
-
* creating an organization trail in a required service. For more information, see
|
|
785
|
-
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a>.</p>
|
|
1135
|
+
* <p>This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.</p>
|
|
786
1136
|
*/
|
|
787
|
-
export interface
|
|
788
|
-
name: "
|
|
1137
|
+
export interface InsufficientEncryptionPolicyException extends __SmithyException, $MetadataBearer {
|
|
1138
|
+
name: "InsufficientEncryptionPolicyException";
|
|
789
1139
|
$fault: "client";
|
|
790
1140
|
/**
|
|
791
1141
|
* <p>Brief description of the exception returned by the request.</p>
|
|
792
1142
|
*/
|
|
793
1143
|
Message?: string;
|
|
794
1144
|
}
|
|
795
|
-
export declare namespace
|
|
796
|
-
/**
|
|
797
|
-
* @internal
|
|
798
|
-
*/
|
|
799
|
-
const filterSensitiveLog: (obj: InsufficientDependencyServiceAccessPermissionException) => any;
|
|
800
|
-
}
|
|
801
|
-
/**
|
|
802
|
-
* <p>This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.</p>
|
|
803
|
-
*/
|
|
804
|
-
export interface InsufficientEncryptionPolicyException extends __SmithyException, $MetadataBearer {
|
|
805
|
-
name: "InsufficientEncryptionPolicyException";
|
|
806
|
-
$fault: "client";
|
|
807
|
-
/**
|
|
808
|
-
* <p>Brief description of the exception returned by the request.</p>
|
|
809
|
-
*/
|
|
810
|
-
Message?: string;
|
|
811
|
-
}
|
|
812
|
-
export declare namespace InsufficientEncryptionPolicyException {
|
|
1145
|
+
export declare namespace InsufficientEncryptionPolicyException {
|
|
813
1146
|
/**
|
|
814
1147
|
* @internal
|
|
815
1148
|
*/
|
|
@@ -1040,43 +1373,6 @@ export declare namespace MaximumNumberOfTrailsExceededException {
|
|
|
1040
1373
|
*/
|
|
1041
1374
|
const filterSensitiveLog: (obj: MaximumNumberOfTrailsExceededException) => any;
|
|
1042
1375
|
}
|
|
1043
|
-
/**
|
|
1044
|
-
* <p>This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support
|
|
1045
|
-
* creating an organization trail. For more information, see
|
|
1046
|
-
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a>.</p>
|
|
1047
|
-
*/
|
|
1048
|
-
export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
|
|
1049
|
-
name: "OrganizationNotInAllFeaturesModeException";
|
|
1050
|
-
$fault: "client";
|
|
1051
|
-
/**
|
|
1052
|
-
* <p>Brief description of the exception returned by the request.</p>
|
|
1053
|
-
*/
|
|
1054
|
-
Message?: string;
|
|
1055
|
-
}
|
|
1056
|
-
export declare namespace OrganizationNotInAllFeaturesModeException {
|
|
1057
|
-
/**
|
|
1058
|
-
* @internal
|
|
1059
|
-
*/
|
|
1060
|
-
const filterSensitiveLog: (obj: OrganizationNotInAllFeaturesModeException) => any;
|
|
1061
|
-
}
|
|
1062
|
-
/**
|
|
1063
|
-
* <p>This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization.
|
|
1064
|
-
* To make this request, sign in using the credentials of an account that belongs to an organization.</p>
|
|
1065
|
-
*/
|
|
1066
|
-
export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
|
|
1067
|
-
name: "OrganizationsNotInUseException";
|
|
1068
|
-
$fault: "client";
|
|
1069
|
-
/**
|
|
1070
|
-
* <p>Brief description of the exception returned by the request.</p>
|
|
1071
|
-
*/
|
|
1072
|
-
Message?: string;
|
|
1073
|
-
}
|
|
1074
|
-
export declare namespace OrganizationsNotInUseException {
|
|
1075
|
-
/**
|
|
1076
|
-
* @internal
|
|
1077
|
-
*/
|
|
1078
|
-
const filterSensitiveLog: (obj: OrganizationsNotInUseException) => any;
|
|
1079
|
-
}
|
|
1080
1376
|
/**
|
|
1081
1377
|
* <p>This exception is thrown when the specified S3 bucket does not exist.</p>
|
|
1082
1378
|
*/
|
|
@@ -1128,24 +1424,42 @@ export declare namespace TrailNotProvidedException {
|
|
|
1128
1424
|
*/
|
|
1129
1425
|
const filterSensitiveLog: (obj: TrailNotProvidedException) => any;
|
|
1130
1426
|
}
|
|
1427
|
+
export interface DeleteEventDataStoreRequest {
|
|
1428
|
+
/**
|
|
1429
|
+
* <p>The ARN (or the ID suffix of the ARN) of the event data store to delete.</p>
|
|
1430
|
+
*/
|
|
1431
|
+
EventDataStore: string | undefined;
|
|
1432
|
+
}
|
|
1433
|
+
export declare namespace DeleteEventDataStoreRequest {
|
|
1434
|
+
/**
|
|
1435
|
+
* @internal
|
|
1436
|
+
*/
|
|
1437
|
+
const filterSensitiveLog: (obj: DeleteEventDataStoreRequest) => any;
|
|
1438
|
+
}
|
|
1439
|
+
export interface DeleteEventDataStoreResponse {
|
|
1440
|
+
}
|
|
1441
|
+
export declare namespace DeleteEventDataStoreResponse {
|
|
1442
|
+
/**
|
|
1443
|
+
* @internal
|
|
1444
|
+
*/
|
|
1445
|
+
const filterSensitiveLog: (obj: DeleteEventDataStoreResponse) => any;
|
|
1446
|
+
}
|
|
1131
1447
|
/**
|
|
1132
|
-
* <p>
|
|
1133
|
-
* This can occur when you try to run an operation on a trail before CloudTrail has time to fully load the trail.
|
|
1134
|
-
* If this exception occurs, wait a few minutes, and then try the operation again.</p>
|
|
1448
|
+
* <p>The event data store cannot be deleted because termination protection is enabled for it.</p>
|
|
1135
1449
|
*/
|
|
1136
|
-
export interface
|
|
1137
|
-
name: "
|
|
1450
|
+
export interface EventDataStoreTerminationProtectedException extends __SmithyException, $MetadataBearer {
|
|
1451
|
+
name: "EventDataStoreTerminationProtectedException";
|
|
1138
1452
|
$fault: "client";
|
|
1139
1453
|
/**
|
|
1140
1454
|
* <p>Brief description of the exception returned by the request.</p>
|
|
1141
1455
|
*/
|
|
1142
1456
|
Message?: string;
|
|
1143
1457
|
}
|
|
1144
|
-
export declare namespace
|
|
1458
|
+
export declare namespace EventDataStoreTerminationProtectedException {
|
|
1145
1459
|
/**
|
|
1146
1460
|
* @internal
|
|
1147
1461
|
*/
|
|
1148
|
-
const filterSensitiveLog: (obj:
|
|
1462
|
+
const filterSensitiveLog: (obj: EventDataStoreTerminationProtectedException) => any;
|
|
1149
1463
|
}
|
|
1150
1464
|
/**
|
|
1151
1465
|
* <p>The request that specifies the name of a trail to delete.</p>
|
|
@@ -1210,6 +1524,81 @@ export declare namespace TrailNotFoundException {
|
|
|
1210
1524
|
*/
|
|
1211
1525
|
const filterSensitiveLog: (obj: TrailNotFoundException) => any;
|
|
1212
1526
|
}
|
|
1527
|
+
export interface DescribeQueryRequest {
|
|
1528
|
+
/**
|
|
1529
|
+
* <p>The ARN (or the ID suffix of the ARN) of an event data store on which the specified query was run.</p>
|
|
1530
|
+
*/
|
|
1531
|
+
EventDataStore: string | undefined;
|
|
1532
|
+
/**
|
|
1533
|
+
* <p>The query ID.</p>
|
|
1534
|
+
*/
|
|
1535
|
+
QueryId: string | undefined;
|
|
1536
|
+
}
|
|
1537
|
+
export declare namespace DescribeQueryRequest {
|
|
1538
|
+
/**
|
|
1539
|
+
* @internal
|
|
1540
|
+
*/
|
|
1541
|
+
const filterSensitiveLog: (obj: DescribeQueryRequest) => any;
|
|
1542
|
+
}
|
|
1543
|
+
/**
|
|
1544
|
+
* <p>Gets metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time
|
|
1545
|
+
* in milliseconds, and the query's creation time.</p>
|
|
1546
|
+
*/
|
|
1547
|
+
export interface QueryStatisticsForDescribeQuery {
|
|
1548
|
+
/**
|
|
1549
|
+
* <p>The number of events that matched a query.</p>
|
|
1550
|
+
*/
|
|
1551
|
+
EventsMatched?: number;
|
|
1552
|
+
/**
|
|
1553
|
+
* <p>The number of events that the query scanned in the event data store.</p>
|
|
1554
|
+
*/
|
|
1555
|
+
EventsScanned?: number;
|
|
1556
|
+
/**
|
|
1557
|
+
* <p>The query's run time, in milliseconds.</p>
|
|
1558
|
+
*/
|
|
1559
|
+
ExecutionTimeInMillis?: number;
|
|
1560
|
+
/**
|
|
1561
|
+
* <p>The creation time of the query.</p>
|
|
1562
|
+
*/
|
|
1563
|
+
CreationTime?: Date;
|
|
1564
|
+
}
|
|
1565
|
+
export declare namespace QueryStatisticsForDescribeQuery {
|
|
1566
|
+
/**
|
|
1567
|
+
* @internal
|
|
1568
|
+
*/
|
|
1569
|
+
const filterSensitiveLog: (obj: QueryStatisticsForDescribeQuery) => any;
|
|
1570
|
+
}
|
|
1571
|
+
export interface DescribeQueryResponse {
|
|
1572
|
+
/**
|
|
1573
|
+
* <p>The ID of the query.</p>
|
|
1574
|
+
*/
|
|
1575
|
+
QueryId?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* <p>The SQL code of a query.</p>
|
|
1578
|
+
*/
|
|
1579
|
+
QueryString?: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* <p>The status of a query. Values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
|
|
1582
|
+
* <code>FINISHED</code>, <code>FAILED</code>, or <code>CANCELLED</code>
|
|
1583
|
+
* </p>
|
|
1584
|
+
*/
|
|
1585
|
+
QueryStatus?: QueryStatus | string;
|
|
1586
|
+
/**
|
|
1587
|
+
* <p>Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time
|
|
1588
|
+
* in milliseconds, and the query's creation time.</p>
|
|
1589
|
+
*/
|
|
1590
|
+
QueryStatistics?: QueryStatisticsForDescribeQuery;
|
|
1591
|
+
/**
|
|
1592
|
+
* <p>The error message returned if a query failed.</p>
|
|
1593
|
+
*/
|
|
1594
|
+
ErrorMessage?: string;
|
|
1595
|
+
}
|
|
1596
|
+
export declare namespace DescribeQueryResponse {
|
|
1597
|
+
/**
|
|
1598
|
+
* @internal
|
|
1599
|
+
*/
|
|
1600
|
+
const filterSensitiveLog: (obj: DescribeQueryResponse) => any;
|
|
1601
|
+
}
|
|
1213
1602
|
/**
|
|
1214
1603
|
* <p>Returns information about the trail.</p>
|
|
1215
1604
|
*/
|
|
@@ -1357,6 +1746,66 @@ export declare namespace DescribeTrailsResponse {
|
|
|
1357
1746
|
*/
|
|
1358
1747
|
const filterSensitiveLog: (obj: DescribeTrailsResponse) => any;
|
|
1359
1748
|
}
|
|
1749
|
+
export interface GetEventDataStoreRequest {
|
|
1750
|
+
/**
|
|
1751
|
+
* <p>The ARN (or ID suffix of the ARN) of the event data store about which you want information.</p>
|
|
1752
|
+
*/
|
|
1753
|
+
EventDataStore: string | undefined;
|
|
1754
|
+
}
|
|
1755
|
+
export declare namespace GetEventDataStoreRequest {
|
|
1756
|
+
/**
|
|
1757
|
+
* @internal
|
|
1758
|
+
*/
|
|
1759
|
+
const filterSensitiveLog: (obj: GetEventDataStoreRequest) => any;
|
|
1760
|
+
}
|
|
1761
|
+
export interface GetEventDataStoreResponse {
|
|
1762
|
+
/**
|
|
1763
|
+
* <p>The event data store Amazon Resource Number (ARN).</p>
|
|
1764
|
+
*/
|
|
1765
|
+
EventDataStoreArn?: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* <p>The name of the event data store.</p>
|
|
1768
|
+
*/
|
|
1769
|
+
Name?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
* <p>The status of an event data store. Values can be <code>ENABLED</code> and <code>PENDING_DELETION</code>.</p>
|
|
1772
|
+
*/
|
|
1773
|
+
Status?: EventDataStoreStatus | string;
|
|
1774
|
+
/**
|
|
1775
|
+
* <p>The advanced event selectors used to select events for the data store.</p>
|
|
1776
|
+
*/
|
|
1777
|
+
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
1778
|
+
/**
|
|
1779
|
+
* <p>Indicates whether the event data store includes events from all regions, or only from the region in which it was created.</p>
|
|
1780
|
+
*/
|
|
1781
|
+
MultiRegionEnabled?: boolean;
|
|
1782
|
+
/**
|
|
1783
|
+
* <p>Indicates whether an event data store is collecting logged events for an organization in Organizations.</p>
|
|
1784
|
+
*/
|
|
1785
|
+
OrganizationEnabled?: boolean;
|
|
1786
|
+
/**
|
|
1787
|
+
* <p>The retention period of the event data store, in days.</p>
|
|
1788
|
+
*/
|
|
1789
|
+
RetentionPeriod?: number;
|
|
1790
|
+
/**
|
|
1791
|
+
* <p>Indicates that termination protection is enabled.</p>
|
|
1792
|
+
*/
|
|
1793
|
+
TerminationProtectionEnabled?: boolean;
|
|
1794
|
+
/**
|
|
1795
|
+
* <p>The timestamp of the event data store's creation.</p>
|
|
1796
|
+
*/
|
|
1797
|
+
CreatedTimestamp?: Date;
|
|
1798
|
+
/**
|
|
1799
|
+
* <p>Shows the time that an event data store was updated, if applicable. <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in <code>CreatedTimestamp</code>.</p>
|
|
1800
|
+
*/
|
|
1801
|
+
UpdatedTimestamp?: Date;
|
|
1802
|
+
}
|
|
1803
|
+
export declare namespace GetEventDataStoreResponse {
|
|
1804
|
+
/**
|
|
1805
|
+
* @internal
|
|
1806
|
+
*/
|
|
1807
|
+
const filterSensitiveLog: (obj: GetEventDataStoreResponse) => any;
|
|
1808
|
+
}
|
|
1360
1809
|
export interface GetEventSelectorsRequest {
|
|
1361
1810
|
/**
|
|
1362
1811
|
* <p>Specifies the name of the trail or trail ARN. If you specify a trail name, the
|
|
@@ -1682,7 +2131,7 @@ export declare enum InsightType {
|
|
|
1682
2131
|
*/
|
|
1683
2132
|
export interface InsightSelector {
|
|
1684
2133
|
/**
|
|
1685
|
-
* <p>The type of
|
|
2134
|
+
* <p>The type of insights to log on a trail. <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code> are valid insight types.</p>
|
|
1686
2135
|
*/
|
|
1687
2136
|
InsightType?: InsightType | string;
|
|
1688
2137
|
}
|
|
@@ -1698,7 +2147,8 @@ export interface GetInsightSelectorsResponse {
|
|
|
1698
2147
|
*/
|
|
1699
2148
|
TrailARN?: string;
|
|
1700
2149
|
/**
|
|
1701
|
-
* <p>A JSON string that contains the insight types you want to log on a trail. In this release,
|
|
2150
|
+
* <p>A JSON string that contains the insight types you want to log on a trail. In this release, <code>ApiErrorRateInsight</code> and
|
|
2151
|
+
* <code>ApiCallRateInsight</code> are supported as insight types.</p>
|
|
1702
2152
|
*/
|
|
1703
2153
|
InsightSelectors?: InsightSelector[];
|
|
1704
2154
|
}
|
|
@@ -1725,6 +2175,114 @@ export declare namespace InsightNotEnabledException {
|
|
|
1725
2175
|
*/
|
|
1726
2176
|
const filterSensitiveLog: (obj: InsightNotEnabledException) => any;
|
|
1727
2177
|
}
|
|
2178
|
+
export interface GetQueryResultsRequest {
|
|
2179
|
+
/**
|
|
2180
|
+
* <p>The ARN (or ID suffix of the ARN) of the event data store against which the query was run.</p>
|
|
2181
|
+
*/
|
|
2182
|
+
EventDataStore: string | undefined;
|
|
2183
|
+
/**
|
|
2184
|
+
* <p>The ID of the query for which you want to get results.</p>
|
|
2185
|
+
*/
|
|
2186
|
+
QueryId: string | undefined;
|
|
2187
|
+
/**
|
|
2188
|
+
* <p>A token you can use to get the next page of query results.</p>
|
|
2189
|
+
*/
|
|
2190
|
+
NextToken?: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* <p>The maximum number of query results to display on a single page.</p>
|
|
2193
|
+
*/
|
|
2194
|
+
MaxQueryResults?: number;
|
|
2195
|
+
}
|
|
2196
|
+
export declare namespace GetQueryResultsRequest {
|
|
2197
|
+
/**
|
|
2198
|
+
* @internal
|
|
2199
|
+
*/
|
|
2200
|
+
const filterSensitiveLog: (obj: GetQueryResultsRequest) => any;
|
|
2201
|
+
}
|
|
2202
|
+
/**
|
|
2203
|
+
* <p>Metadata about a query, such as the number of results.</p>
|
|
2204
|
+
*/
|
|
2205
|
+
export interface QueryStatistics {
|
|
2206
|
+
/**
|
|
2207
|
+
* <p>The number of results returned.</p>
|
|
2208
|
+
*/
|
|
2209
|
+
ResultsCount?: number;
|
|
2210
|
+
/**
|
|
2211
|
+
* <p>The total number of results returned by a query.</p>
|
|
2212
|
+
*/
|
|
2213
|
+
TotalResultsCount?: number;
|
|
2214
|
+
}
|
|
2215
|
+
export declare namespace QueryStatistics {
|
|
2216
|
+
/**
|
|
2217
|
+
* @internal
|
|
2218
|
+
*/
|
|
2219
|
+
const filterSensitiveLog: (obj: QueryStatistics) => any;
|
|
2220
|
+
}
|
|
2221
|
+
export interface GetQueryResultsResponse {
|
|
2222
|
+
/**
|
|
2223
|
+
* <p>The status of the query. Values include <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>, <code>FAILED</code>,
|
|
2224
|
+
* or <code>CANCELLED</code>.</p>
|
|
2225
|
+
*/
|
|
2226
|
+
QueryStatus?: QueryStatus | string;
|
|
2227
|
+
/**
|
|
2228
|
+
* <p>Shows the count of query results.</p>
|
|
2229
|
+
*/
|
|
2230
|
+
QueryStatistics?: QueryStatistics;
|
|
2231
|
+
/**
|
|
2232
|
+
* <p>Contains the individual event results of the query.</p>
|
|
2233
|
+
*/
|
|
2234
|
+
QueryResultRows?: {
|
|
2235
|
+
[key: string]: string;
|
|
2236
|
+
}[][];
|
|
2237
|
+
/**
|
|
2238
|
+
* <p>A token you can use to get the next page of query results.</p>
|
|
2239
|
+
*/
|
|
2240
|
+
NextToken?: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* <p>The error message returned if a query failed.</p>
|
|
2243
|
+
*/
|
|
2244
|
+
ErrorMessage?: string;
|
|
2245
|
+
}
|
|
2246
|
+
export declare namespace GetQueryResultsResponse {
|
|
2247
|
+
/**
|
|
2248
|
+
* @internal
|
|
2249
|
+
*/
|
|
2250
|
+
const filterSensitiveLog: (obj: GetQueryResultsResponse) => any;
|
|
2251
|
+
}
|
|
2252
|
+
/**
|
|
2253
|
+
* <p>This exception is thrown if the limit specified is not valid.</p>
|
|
2254
|
+
*/
|
|
2255
|
+
export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
|
|
2256
|
+
name: "InvalidMaxResultsException";
|
|
2257
|
+
$fault: "client";
|
|
2258
|
+
/**
|
|
2259
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
2260
|
+
*/
|
|
2261
|
+
Message?: string;
|
|
2262
|
+
}
|
|
2263
|
+
export declare namespace InvalidMaxResultsException {
|
|
2264
|
+
/**
|
|
2265
|
+
* @internal
|
|
2266
|
+
*/
|
|
2267
|
+
const filterSensitiveLog: (obj: InvalidMaxResultsException) => any;
|
|
2268
|
+
}
|
|
2269
|
+
/**
|
|
2270
|
+
* <p>A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.</p>
|
|
2271
|
+
*/
|
|
2272
|
+
export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
|
|
2273
|
+
name: "InvalidNextTokenException";
|
|
2274
|
+
$fault: "client";
|
|
2275
|
+
/**
|
|
2276
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
2277
|
+
*/
|
|
2278
|
+
Message?: string;
|
|
2279
|
+
}
|
|
2280
|
+
export declare namespace InvalidNextTokenException {
|
|
2281
|
+
/**
|
|
2282
|
+
* @internal
|
|
2283
|
+
*/
|
|
2284
|
+
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
2285
|
+
}
|
|
1728
2286
|
export interface GetTrailRequest {
|
|
1729
2287
|
/**
|
|
1730
2288
|
* <p>The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.</p>
|
|
@@ -1865,6 +2423,92 @@ export declare namespace GetTrailStatusResponse {
|
|
|
1865
2423
|
*/
|
|
1866
2424
|
const filterSensitiveLog: (obj: GetTrailStatusResponse) => any;
|
|
1867
2425
|
}
|
|
2426
|
+
export interface ListEventDataStoresRequest {
|
|
2427
|
+
/**
|
|
2428
|
+
* <p>A token you can use to get the next page of event data store results.</p>
|
|
2429
|
+
*/
|
|
2430
|
+
NextToken?: string;
|
|
2431
|
+
/**
|
|
2432
|
+
* <p>The maximum number of event data stores to display on a single page.</p>
|
|
2433
|
+
*/
|
|
2434
|
+
MaxResults?: number;
|
|
2435
|
+
}
|
|
2436
|
+
export declare namespace ListEventDataStoresRequest {
|
|
2437
|
+
/**
|
|
2438
|
+
* @internal
|
|
2439
|
+
*/
|
|
2440
|
+
const filterSensitiveLog: (obj: ListEventDataStoresRequest) => any;
|
|
2441
|
+
}
|
|
2442
|
+
/**
|
|
2443
|
+
* <p>A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events
|
|
2444
|
+
* that you have logged on your account from the last 90 to 2555 days
|
|
2445
|
+
* (about three months to up to seven years). To select events for an event data store,
|
|
2446
|
+
* use <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced">advanced event selectors</a>.</p>
|
|
2447
|
+
*/
|
|
2448
|
+
export interface EventDataStore {
|
|
2449
|
+
/**
|
|
2450
|
+
* <p>The ARN of the event data store.</p>
|
|
2451
|
+
*/
|
|
2452
|
+
EventDataStoreArn?: string;
|
|
2453
|
+
/**
|
|
2454
|
+
* <p>The name of the event data store.</p>
|
|
2455
|
+
*/
|
|
2456
|
+
Name?: string;
|
|
2457
|
+
/**
|
|
2458
|
+
* <p>Indicates whether the event data store is protected from termination.</p>
|
|
2459
|
+
*/
|
|
2460
|
+
TerminationProtectionEnabled?: boolean;
|
|
2461
|
+
/**
|
|
2462
|
+
* <p>The status of an event data store. Values are <code>ENABLED</code> and <code>PENDING_DELETION</code>.</p>
|
|
2463
|
+
*/
|
|
2464
|
+
Status?: EventDataStoreStatus | string;
|
|
2465
|
+
/**
|
|
2466
|
+
* <p>The advanced event selectors that were used to select events for the data store.</p>
|
|
2467
|
+
*/
|
|
2468
|
+
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
2469
|
+
/**
|
|
2470
|
+
* <p>Indicates whether the event data store includes events from all regions, or only from the region in which it was created.</p>
|
|
2471
|
+
*/
|
|
2472
|
+
MultiRegionEnabled?: boolean;
|
|
2473
|
+
/**
|
|
2474
|
+
* <p>Indicates that an event data store is collecting logged events for an organization.</p>
|
|
2475
|
+
*/
|
|
2476
|
+
OrganizationEnabled?: boolean;
|
|
2477
|
+
/**
|
|
2478
|
+
* <p>The retention period, in days.</p>
|
|
2479
|
+
*/
|
|
2480
|
+
RetentionPeriod?: number;
|
|
2481
|
+
/**
|
|
2482
|
+
* <p>The timestamp of the event data store's creation.</p>
|
|
2483
|
+
*/
|
|
2484
|
+
CreatedTimestamp?: Date;
|
|
2485
|
+
/**
|
|
2486
|
+
* <p>The timestamp showing when an event data store was updated, if applicable. <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in <code>CreatedTimestamp</code>.</p>
|
|
2487
|
+
*/
|
|
2488
|
+
UpdatedTimestamp?: Date;
|
|
2489
|
+
}
|
|
2490
|
+
export declare namespace EventDataStore {
|
|
2491
|
+
/**
|
|
2492
|
+
* @internal
|
|
2493
|
+
*/
|
|
2494
|
+
const filterSensitiveLog: (obj: EventDataStore) => any;
|
|
2495
|
+
}
|
|
2496
|
+
export interface ListEventDataStoresResponse {
|
|
2497
|
+
/**
|
|
2498
|
+
* <p>Contains information about event data stores in the account, in the current region.</p>
|
|
2499
|
+
*/
|
|
2500
|
+
EventDataStores?: EventDataStore[];
|
|
2501
|
+
/**
|
|
2502
|
+
* <p>A token you can use to get the next page of results.</p>
|
|
2503
|
+
*/
|
|
2504
|
+
NextToken?: string;
|
|
2505
|
+
}
|
|
2506
|
+
export declare namespace ListEventDataStoresResponse {
|
|
2507
|
+
/**
|
|
2508
|
+
* @internal
|
|
2509
|
+
*/
|
|
2510
|
+
const filterSensitiveLog: (obj: ListEventDataStoresResponse) => any;
|
|
2511
|
+
}
|
|
1868
2512
|
/**
|
|
1869
2513
|
* <p>Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.</p>
|
|
1870
2514
|
*/
|
|
@@ -1973,6 +2617,117 @@ export declare namespace ListPublicKeysResponse {
|
|
|
1973
2617
|
*/
|
|
1974
2618
|
const filterSensitiveLog: (obj: ListPublicKeysResponse) => any;
|
|
1975
2619
|
}
|
|
2620
|
+
/**
|
|
2621
|
+
* <p>A date range for the query was specified that is not valid. For more information
|
|
2622
|
+
* about writing a query, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create
|
|
2623
|
+
* or edit a query</a> in the <i>CloudTrail User Guide</i>.</p>
|
|
2624
|
+
*/
|
|
2625
|
+
export interface InvalidDateRangeException extends __SmithyException, $MetadataBearer {
|
|
2626
|
+
name: "InvalidDateRangeException";
|
|
2627
|
+
$fault: "client";
|
|
2628
|
+
/**
|
|
2629
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
2630
|
+
*/
|
|
2631
|
+
Message?: string;
|
|
2632
|
+
}
|
|
2633
|
+
export declare namespace InvalidDateRangeException {
|
|
2634
|
+
/**
|
|
2635
|
+
* @internal
|
|
2636
|
+
*/
|
|
2637
|
+
const filterSensitiveLog: (obj: InvalidDateRangeException) => any;
|
|
2638
|
+
}
|
|
2639
|
+
/**
|
|
2640
|
+
* <p>The query status is not valid for the operation.</p>
|
|
2641
|
+
*/
|
|
2642
|
+
export interface InvalidQueryStatusException extends __SmithyException, $MetadataBearer {
|
|
2643
|
+
name: "InvalidQueryStatusException";
|
|
2644
|
+
$fault: "client";
|
|
2645
|
+
/**
|
|
2646
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
2647
|
+
*/
|
|
2648
|
+
Message?: string;
|
|
2649
|
+
}
|
|
2650
|
+
export declare namespace InvalidQueryStatusException {
|
|
2651
|
+
/**
|
|
2652
|
+
* @internal
|
|
2653
|
+
*/
|
|
2654
|
+
const filterSensitiveLog: (obj: InvalidQueryStatusException) => any;
|
|
2655
|
+
}
|
|
2656
|
+
export interface ListQueriesRequest {
|
|
2657
|
+
/**
|
|
2658
|
+
* <p>The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.</p>
|
|
2659
|
+
*/
|
|
2660
|
+
EventDataStore: string | undefined;
|
|
2661
|
+
/**
|
|
2662
|
+
* <p>A token you can use to get the next page of results.</p>
|
|
2663
|
+
*/
|
|
2664
|
+
NextToken?: string;
|
|
2665
|
+
/**
|
|
2666
|
+
* <p>The maximum number of queries to show on a page.</p>
|
|
2667
|
+
*/
|
|
2668
|
+
MaxResults?: number;
|
|
2669
|
+
/**
|
|
2670
|
+
* <p>Use with <code>EndTime</code> to bound a <code>ListQueries</code> request, and limit its results to only those queries run
|
|
2671
|
+
* within a specified time period.</p>
|
|
2672
|
+
*/
|
|
2673
|
+
StartTime?: Date;
|
|
2674
|
+
/**
|
|
2675
|
+
* <p>Use with <code>StartTime</code> to bound a <code>ListQueries</code> request, and limit its results to only those queries run
|
|
2676
|
+
* within a specified time period.</p>
|
|
2677
|
+
*/
|
|
2678
|
+
EndTime?: Date;
|
|
2679
|
+
/**
|
|
2680
|
+
* <p>The status of queries that you want to return in results. Valid values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
|
|
2681
|
+
* <code>FINISHED</code>, <code>FAILED</code>, or <code>CANCELLED</code>.</p>
|
|
2682
|
+
*/
|
|
2683
|
+
QueryStatus?: QueryStatus | string;
|
|
2684
|
+
}
|
|
2685
|
+
export declare namespace ListQueriesRequest {
|
|
2686
|
+
/**
|
|
2687
|
+
* @internal
|
|
2688
|
+
*/
|
|
2689
|
+
const filterSensitiveLog: (obj: ListQueriesRequest) => any;
|
|
2690
|
+
}
|
|
2691
|
+
/**
|
|
2692
|
+
* <p>A SQL string of criteria about events that you want to collect in an event data store.</p>
|
|
2693
|
+
*/
|
|
2694
|
+
export interface Query {
|
|
2695
|
+
/**
|
|
2696
|
+
* <p>The ID of a query.</p>
|
|
2697
|
+
*/
|
|
2698
|
+
QueryId?: string;
|
|
2699
|
+
/**
|
|
2700
|
+
* <p>The status of the query. This can be <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>, <code>FAILED</code>,
|
|
2701
|
+
* or <code>CANCELLED</code>.</p>
|
|
2702
|
+
*/
|
|
2703
|
+
QueryStatus?: QueryStatus | string;
|
|
2704
|
+
/**
|
|
2705
|
+
* <p>The creation time of a query.</p>
|
|
2706
|
+
*/
|
|
2707
|
+
CreationTime?: Date;
|
|
2708
|
+
}
|
|
2709
|
+
export declare namespace Query {
|
|
2710
|
+
/**
|
|
2711
|
+
* @internal
|
|
2712
|
+
*/
|
|
2713
|
+
const filterSensitiveLog: (obj: Query) => any;
|
|
2714
|
+
}
|
|
2715
|
+
export interface ListQueriesResponse {
|
|
2716
|
+
/**
|
|
2717
|
+
* <p>Lists matching query results, and shows query ID, status, and creation time of each query.</p>
|
|
2718
|
+
*/
|
|
2719
|
+
Queries?: Query[];
|
|
2720
|
+
/**
|
|
2721
|
+
* <p>A token you can use to get the next page of results.</p>
|
|
2722
|
+
*/
|
|
2723
|
+
NextToken?: string;
|
|
2724
|
+
}
|
|
2725
|
+
export declare namespace ListQueriesResponse {
|
|
2726
|
+
/**
|
|
2727
|
+
* @internal
|
|
2728
|
+
*/
|
|
2729
|
+
const filterSensitiveLog: (obj: ListQueriesResponse) => any;
|
|
2730
|
+
}
|
|
1976
2731
|
/**
|
|
1977
2732
|
* <p>Specifies a list of trail tags to return.</p>
|
|
1978
2733
|
*/
|
|
@@ -2125,40 +2880,6 @@ export declare namespace InvalidLookupAttributesException {
|
|
|
2125
2880
|
*/
|
|
2126
2881
|
const filterSensitiveLog: (obj: InvalidLookupAttributesException) => any;
|
|
2127
2882
|
}
|
|
2128
|
-
/**
|
|
2129
|
-
* <p>This exception is thrown if the limit specified is not valid.</p>
|
|
2130
|
-
*/
|
|
2131
|
-
export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
|
|
2132
|
-
name: "InvalidMaxResultsException";
|
|
2133
|
-
$fault: "client";
|
|
2134
|
-
/**
|
|
2135
|
-
* <p>Brief description of the exception returned by the request.</p>
|
|
2136
|
-
*/
|
|
2137
|
-
Message?: string;
|
|
2138
|
-
}
|
|
2139
|
-
export declare namespace InvalidMaxResultsException {
|
|
2140
|
-
/**
|
|
2141
|
-
* @internal
|
|
2142
|
-
*/
|
|
2143
|
-
const filterSensitiveLog: (obj: InvalidMaxResultsException) => any;
|
|
2144
|
-
}
|
|
2145
|
-
/**
|
|
2146
|
-
* <p>A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.</p>
|
|
2147
|
-
*/
|
|
2148
|
-
export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
|
|
2149
|
-
name: "InvalidNextTokenException";
|
|
2150
|
-
$fault: "client";
|
|
2151
|
-
/**
|
|
2152
|
-
* <p>Brief description of the exception returned by the request.</p>
|
|
2153
|
-
*/
|
|
2154
|
-
Message?: string;
|
|
2155
|
-
}
|
|
2156
|
-
export declare namespace InvalidNextTokenException {
|
|
2157
|
-
/**
|
|
2158
|
-
* @internal
|
|
2159
|
-
*/
|
|
2160
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
2161
|
-
}
|
|
2162
2883
|
export declare enum EventCategory {
|
|
2163
2884
|
Insight = "insight"
|
|
2164
2885
|
}
|
|
@@ -2459,7 +3180,7 @@ export interface PutInsightSelectorsRequest {
|
|
|
2459
3180
|
*/
|
|
2460
3181
|
TrailName: string | undefined;
|
|
2461
3182
|
/**
|
|
2462
|
-
* <p>A JSON string that contains the
|
|
3183
|
+
* <p>A JSON string that contains the insight types you want to log on a trail. <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code> are valid insight types.</p>
|
|
2463
3184
|
*/
|
|
2464
3185
|
InsightSelectors: InsightSelector[] | undefined;
|
|
2465
3186
|
}
|
|
@@ -2475,7 +3196,8 @@ export interface PutInsightSelectorsResponse {
|
|
|
2475
3196
|
*/
|
|
2476
3197
|
TrailARN?: string;
|
|
2477
3198
|
/**
|
|
2478
|
-
* <p>A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights
|
|
3199
|
+
* <p>A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights types in this release are
|
|
3200
|
+
* <code>ApiErrorRateInsight</code> and <code>ApiCallRateInsight</code>.</p>
|
|
2479
3201
|
*/
|
|
2480
3202
|
InsightSelectors?: InsightSelector[];
|
|
2481
3203
|
}
|
|
@@ -2499,7 +3221,7 @@ export interface RemoveTagsRequest {
|
|
|
2499
3221
|
/**
|
|
2500
3222
|
* <p>Specifies a list of tags to be removed.</p>
|
|
2501
3223
|
*/
|
|
2502
|
-
TagsList
|
|
3224
|
+
TagsList: Tag[] | undefined;
|
|
2503
3225
|
}
|
|
2504
3226
|
export declare namespace RemoveTagsRequest {
|
|
2505
3227
|
/**
|
|
@@ -2518,6 +3240,85 @@ export declare namespace RemoveTagsResponse {
|
|
|
2518
3240
|
*/
|
|
2519
3241
|
const filterSensitiveLog: (obj: RemoveTagsResponse) => any;
|
|
2520
3242
|
}
|
|
3243
|
+
/**
|
|
3244
|
+
* <p>The event data store is not in a status that supports the operation.</p>
|
|
3245
|
+
*/
|
|
3246
|
+
export interface InvalidEventDataStoreStatusException extends __SmithyException, $MetadataBearer {
|
|
3247
|
+
name: "InvalidEventDataStoreStatusException";
|
|
3248
|
+
$fault: "client";
|
|
3249
|
+
/**
|
|
3250
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
3251
|
+
*/
|
|
3252
|
+
Message?: string;
|
|
3253
|
+
}
|
|
3254
|
+
export declare namespace InvalidEventDataStoreStatusException {
|
|
3255
|
+
/**
|
|
3256
|
+
* @internal
|
|
3257
|
+
*/
|
|
3258
|
+
const filterSensitiveLog: (obj: InvalidEventDataStoreStatusException) => any;
|
|
3259
|
+
}
|
|
3260
|
+
export interface RestoreEventDataStoreRequest {
|
|
3261
|
+
/**
|
|
3262
|
+
* <p>The ARN (or the ID suffix of the ARN) of the event data store that you want to restore.</p>
|
|
3263
|
+
*/
|
|
3264
|
+
EventDataStore: string | undefined;
|
|
3265
|
+
}
|
|
3266
|
+
export declare namespace RestoreEventDataStoreRequest {
|
|
3267
|
+
/**
|
|
3268
|
+
* @internal
|
|
3269
|
+
*/
|
|
3270
|
+
const filterSensitiveLog: (obj: RestoreEventDataStoreRequest) => any;
|
|
3271
|
+
}
|
|
3272
|
+
export interface RestoreEventDataStoreResponse {
|
|
3273
|
+
/**
|
|
3274
|
+
* <p>The event data store ARN.</p>
|
|
3275
|
+
*/
|
|
3276
|
+
EventDataStoreArn?: string;
|
|
3277
|
+
/**
|
|
3278
|
+
* <p>The name of the event data store.</p>
|
|
3279
|
+
*/
|
|
3280
|
+
Name?: string;
|
|
3281
|
+
/**
|
|
3282
|
+
* <p>The status of the event data store.</p>
|
|
3283
|
+
*/
|
|
3284
|
+
Status?: EventDataStoreStatus | string;
|
|
3285
|
+
/**
|
|
3286
|
+
* <p>The advanced event selectors that were used to select events.</p>
|
|
3287
|
+
*/
|
|
3288
|
+
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
3289
|
+
/**
|
|
3290
|
+
* <p>Indicates whether the event data store is collecting events from all regions, or only from the region in which the event data
|
|
3291
|
+
* store was created.</p>
|
|
3292
|
+
*/
|
|
3293
|
+
MultiRegionEnabled?: boolean;
|
|
3294
|
+
/**
|
|
3295
|
+
* <p>Indicates whether an event data store is collecting logged events for an organization in Organizations.</p>
|
|
3296
|
+
*/
|
|
3297
|
+
OrganizationEnabled?: boolean;
|
|
3298
|
+
/**
|
|
3299
|
+
* <p>The retention period, in days.</p>
|
|
3300
|
+
*/
|
|
3301
|
+
RetentionPeriod?: number;
|
|
3302
|
+
/**
|
|
3303
|
+
* <p>Indicates that termination protection is enabled and the event data store cannot be automatically deleted.</p>
|
|
3304
|
+
*/
|
|
3305
|
+
TerminationProtectionEnabled?: boolean;
|
|
3306
|
+
/**
|
|
3307
|
+
* <p>The timestamp of an event data store's creation.</p>
|
|
3308
|
+
*/
|
|
3309
|
+
CreatedTimestamp?: Date;
|
|
3310
|
+
/**
|
|
3311
|
+
* <p>The timestamp that shows when an event data store was updated, if applicable.
|
|
3312
|
+
* <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in <code>CreatedTimestamp</code>.</p>
|
|
3313
|
+
*/
|
|
3314
|
+
UpdatedTimestamp?: Date;
|
|
3315
|
+
}
|
|
3316
|
+
export declare namespace RestoreEventDataStoreResponse {
|
|
3317
|
+
/**
|
|
3318
|
+
* @internal
|
|
3319
|
+
*/
|
|
3320
|
+
const filterSensitiveLog: (obj: RestoreEventDataStoreResponse) => any;
|
|
3321
|
+
}
|
|
2521
3322
|
/**
|
|
2522
3323
|
* <p>The request to CloudTrail to start logging Amazon Web Services API calls for an account.</p>
|
|
2523
3324
|
*/
|
|
@@ -2548,6 +3349,67 @@ export declare namespace StartLoggingResponse {
|
|
|
2548
3349
|
*/
|
|
2549
3350
|
const filterSensitiveLog: (obj: StartLoggingResponse) => any;
|
|
2550
3351
|
}
|
|
3352
|
+
/**
|
|
3353
|
+
* <p>The query that was submitted has validation errors, or uses incorrect syntax or unsupported keywords. For more information
|
|
3354
|
+
* about writing a query, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create
|
|
3355
|
+
* or edit a query</a> in the <i>CloudTrail User Guide</i>.</p>
|
|
3356
|
+
*/
|
|
3357
|
+
export interface InvalidQueryStatementException extends __SmithyException, $MetadataBearer {
|
|
3358
|
+
name: "InvalidQueryStatementException";
|
|
3359
|
+
$fault: "client";
|
|
3360
|
+
/**
|
|
3361
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
3362
|
+
*/
|
|
3363
|
+
Message?: string;
|
|
3364
|
+
}
|
|
3365
|
+
export declare namespace InvalidQueryStatementException {
|
|
3366
|
+
/**
|
|
3367
|
+
* @internal
|
|
3368
|
+
*/
|
|
3369
|
+
const filterSensitiveLog: (obj: InvalidQueryStatementException) => any;
|
|
3370
|
+
}
|
|
3371
|
+
/**
|
|
3372
|
+
* <p>You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then
|
|
3373
|
+
* run the query again.</p>
|
|
3374
|
+
*/
|
|
3375
|
+
export interface MaxConcurrentQueriesException extends __SmithyException, $MetadataBearer {
|
|
3376
|
+
name: "MaxConcurrentQueriesException";
|
|
3377
|
+
$fault: "client";
|
|
3378
|
+
/**
|
|
3379
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
3380
|
+
*/
|
|
3381
|
+
Message?: string;
|
|
3382
|
+
}
|
|
3383
|
+
export declare namespace MaxConcurrentQueriesException {
|
|
3384
|
+
/**
|
|
3385
|
+
* @internal
|
|
3386
|
+
*/
|
|
3387
|
+
const filterSensitiveLog: (obj: MaxConcurrentQueriesException) => any;
|
|
3388
|
+
}
|
|
3389
|
+
export interface StartQueryRequest {
|
|
3390
|
+
/**
|
|
3391
|
+
* <p>The SQL code of your query.</p>
|
|
3392
|
+
*/
|
|
3393
|
+
QueryStatement: string | undefined;
|
|
3394
|
+
}
|
|
3395
|
+
export declare namespace StartQueryRequest {
|
|
3396
|
+
/**
|
|
3397
|
+
* @internal
|
|
3398
|
+
*/
|
|
3399
|
+
const filterSensitiveLog: (obj: StartQueryRequest) => any;
|
|
3400
|
+
}
|
|
3401
|
+
export interface StartQueryResponse {
|
|
3402
|
+
/**
|
|
3403
|
+
* <p>The ID of the started query.</p>
|
|
3404
|
+
*/
|
|
3405
|
+
QueryId?: string;
|
|
3406
|
+
}
|
|
3407
|
+
export declare namespace StartQueryResponse {
|
|
3408
|
+
/**
|
|
3409
|
+
* @internal
|
|
3410
|
+
*/
|
|
3411
|
+
const filterSensitiveLog: (obj: StartQueryResponse) => any;
|
|
3412
|
+
}
|
|
2551
3413
|
/**
|
|
2552
3414
|
* <p>Passes the request to CloudTrail to stop logging Amazon Web Services API calls for the specified account.</p>
|
|
2553
3415
|
*/
|
|
@@ -2578,6 +3440,90 @@ export declare namespace StopLoggingResponse {
|
|
|
2578
3440
|
*/
|
|
2579
3441
|
const filterSensitiveLog: (obj: StopLoggingResponse) => any;
|
|
2580
3442
|
}
|
|
3443
|
+
export interface UpdateEventDataStoreRequest {
|
|
3444
|
+
/**
|
|
3445
|
+
* <p>The ARN (or the ID suffix of the ARN) of the event data store that you want to update.</p>
|
|
3446
|
+
*/
|
|
3447
|
+
EventDataStore: string | undefined;
|
|
3448
|
+
/**
|
|
3449
|
+
* <p>The event data store name.</p>
|
|
3450
|
+
*/
|
|
3451
|
+
Name?: string;
|
|
3452
|
+
/**
|
|
3453
|
+
* <p>The advanced event selectors used to select events for the event data store.</p>
|
|
3454
|
+
*/
|
|
3455
|
+
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
3456
|
+
/**
|
|
3457
|
+
* <p>Specifies whether an event data store collects events from all regions, or only from the region in which it was created.</p>
|
|
3458
|
+
*/
|
|
3459
|
+
MultiRegionEnabled?: boolean;
|
|
3460
|
+
/**
|
|
3461
|
+
* <p>Specifies whether an event data store collects events logged for an organization in Organizations.</p>
|
|
3462
|
+
*/
|
|
3463
|
+
OrganizationEnabled?: boolean;
|
|
3464
|
+
/**
|
|
3465
|
+
* <p>The retention period, in days.</p>
|
|
3466
|
+
*/
|
|
3467
|
+
RetentionPeriod?: number;
|
|
3468
|
+
/**
|
|
3469
|
+
* <p>Indicates that termination protection is enabled and the event data store cannot be automatically deleted.</p>
|
|
3470
|
+
*/
|
|
3471
|
+
TerminationProtectionEnabled?: boolean;
|
|
3472
|
+
}
|
|
3473
|
+
export declare namespace UpdateEventDataStoreRequest {
|
|
3474
|
+
/**
|
|
3475
|
+
* @internal
|
|
3476
|
+
*/
|
|
3477
|
+
const filterSensitiveLog: (obj: UpdateEventDataStoreRequest) => any;
|
|
3478
|
+
}
|
|
3479
|
+
export interface UpdateEventDataStoreResponse {
|
|
3480
|
+
/**
|
|
3481
|
+
* <p>The ARN of the event data store.</p>
|
|
3482
|
+
*/
|
|
3483
|
+
EventDataStoreArn?: string;
|
|
3484
|
+
/**
|
|
3485
|
+
* <p>The name of the event data store.</p>
|
|
3486
|
+
*/
|
|
3487
|
+
Name?: string;
|
|
3488
|
+
/**
|
|
3489
|
+
* <p>The status of an event data store. Values can be <code>ENABLED</code> and <code>PENDING_DELETION</code>.</p>
|
|
3490
|
+
*/
|
|
3491
|
+
Status?: EventDataStoreStatus | string;
|
|
3492
|
+
/**
|
|
3493
|
+
* <p>The advanced event selectors that are applied to the event data store.</p>
|
|
3494
|
+
*/
|
|
3495
|
+
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
3496
|
+
/**
|
|
3497
|
+
* <p>Indicates whether the event data store includes events from all regions, or only from the region in which it was created.</p>
|
|
3498
|
+
*/
|
|
3499
|
+
MultiRegionEnabled?: boolean;
|
|
3500
|
+
/**
|
|
3501
|
+
* <p>Indicates whether an event data store is collecting logged events for an organization in Organizations.</p>
|
|
3502
|
+
*/
|
|
3503
|
+
OrganizationEnabled?: boolean;
|
|
3504
|
+
/**
|
|
3505
|
+
* <p>The retention period, in days.</p>
|
|
3506
|
+
*/
|
|
3507
|
+
RetentionPeriod?: number;
|
|
3508
|
+
/**
|
|
3509
|
+
* <p>Indicates whether termination protection is enabled for the event data store.</p>
|
|
3510
|
+
*/
|
|
3511
|
+
TerminationProtectionEnabled?: boolean;
|
|
3512
|
+
/**
|
|
3513
|
+
* <p>The timestamp that shows when an event data store was first created.</p>
|
|
3514
|
+
*/
|
|
3515
|
+
CreatedTimestamp?: Date;
|
|
3516
|
+
/**
|
|
3517
|
+
* <p>The timestamp that shows when the event data store was last updated. <code>UpdatedTimestamp</code> is always either the same or newer than the time shown in <code>CreatedTimestamp</code>.</p>
|
|
3518
|
+
*/
|
|
3519
|
+
UpdatedTimestamp?: Date;
|
|
3520
|
+
}
|
|
3521
|
+
export declare namespace UpdateEventDataStoreResponse {
|
|
3522
|
+
/**
|
|
3523
|
+
* @internal
|
|
3524
|
+
*/
|
|
3525
|
+
const filterSensitiveLog: (obj: UpdateEventDataStoreResponse) => any;
|
|
3526
|
+
}
|
|
2581
3527
|
/**
|
|
2582
3528
|
* <p>Specifies settings to update for the trail.</p>
|
|
2583
3529
|
*/
|