@aws-sdk/client-cloudtrail 3.52.0 → 3.54.1

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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
2
3
  /**
3
4
  * <p>A custom key-value pair associated with a resource such as a CloudTrail trail.</p>
4
5
  */
@@ -58,60 +59,80 @@ export declare namespace AddTagsResponse {
58
59
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
59
60
  * </p>
60
61
  */
61
- export interface CloudTrailARNInvalidException extends __SmithyException, $MetadataBearer {
62
- name: "CloudTrailARNInvalidException";
63
- $fault: "client";
62
+ export declare class CloudTrailARNInvalidException extends __BaseException {
63
+ readonly name: "CloudTrailARNInvalidException";
64
+ readonly $fault: "client";
64
65
  /**
65
66
  * <p>Brief description of the exception returned by the request.</p>
66
67
  */
67
68
  Message?: string;
69
+ /**
70
+ * @internal
71
+ */
72
+ constructor(opts: __ExceptionOptionType<CloudTrailARNInvalidException, __BaseException>);
68
73
  }
69
74
  /**
70
75
  * <p>This exception is thrown when the specified resource is not ready for an operation.
71
76
  * This can occur when you try to run an operation on a trail before CloudTrail has time to fully load the trail.
72
77
  * If this exception occurs, wait a few minutes, and then try the operation again.</p>
73
78
  */
74
- export interface ConflictException extends __SmithyException, $MetadataBearer {
75
- name: "ConflictException";
76
- $fault: "client";
79
+ export declare class ConflictException extends __BaseException {
80
+ readonly name: "ConflictException";
81
+ readonly $fault: "client";
77
82
  /**
78
83
  * <p>Brief description of the exception returned by the request.</p>
79
84
  */
80
85
  Message?: string;
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
81
90
  }
82
91
  /**
83
92
  * <p>The specified event data store was not found.</p>
84
93
  */
85
- export interface EventDataStoreNotFoundException extends __SmithyException, $MetadataBearer {
86
- name: "EventDataStoreNotFoundException";
87
- $fault: "client";
94
+ export declare class EventDataStoreNotFoundException extends __BaseException {
95
+ readonly name: "EventDataStoreNotFoundException";
96
+ readonly $fault: "client";
88
97
  /**
89
98
  * <p>Brief description of the exception returned by the request.</p>
90
99
  */
91
100
  Message?: string;
101
+ /**
102
+ * @internal
103
+ */
104
+ constructor(opts: __ExceptionOptionType<EventDataStoreNotFoundException, __BaseException>);
92
105
  }
93
106
  /**
94
107
  * <p>The event data store against which you ran your query is inactive.</p>
95
108
  */
96
- export interface InactiveEventDataStoreException extends __SmithyException, $MetadataBearer {
97
- name: "InactiveEventDataStoreException";
98
- $fault: "client";
109
+ export declare class InactiveEventDataStoreException extends __BaseException {
110
+ readonly name: "InactiveEventDataStoreException";
111
+ readonly $fault: "client";
99
112
  /**
100
113
  * <p>Brief description of the exception returned by the request.</p>
101
114
  */
102
115
  Message?: string;
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<InactiveEventDataStoreException, __BaseException>);
103
120
  }
104
121
  /**
105
122
  * <p>This exception is thrown when the specified tag key or values are not valid.
106
123
  * It can also occur if there are duplicate tags or too many tags on the resource.</p>
107
124
  */
108
- export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
109
- name: "InvalidTagParameterException";
110
- $fault: "client";
125
+ export declare class InvalidTagParameterException extends __BaseException {
126
+ readonly name: "InvalidTagParameterException";
127
+ readonly $fault: "client";
111
128
  /**
112
129
  * <p>Brief description of the exception returned by the request.</p>
113
130
  */
114
131
  Message?: string;
132
+ /**
133
+ * @internal
134
+ */
135
+ constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
115
136
  }
116
137
  /**
117
138
  * <p>This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:</p>
@@ -134,81 +155,109 @@ export interface InvalidTagParameterException extends __SmithyException, $Metada
134
155
  * </li>
135
156
  * </ul>
136
157
  */
137
- export interface InvalidTrailNameException extends __SmithyException, $MetadataBearer {
138
- name: "InvalidTrailNameException";
139
- $fault: "client";
158
+ export declare class InvalidTrailNameException extends __BaseException {
159
+ readonly name: "InvalidTrailNameException";
160
+ readonly $fault: "client";
140
161
  /**
141
162
  * <p>Brief description of the exception returned by the request.</p>
142
163
  */
143
164
  Message?: string;
165
+ /**
166
+ * @internal
167
+ */
168
+ constructor(opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>);
144
169
  }
145
170
  /**
146
171
  * <p>This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail is not the management account for an
147
172
  * organization in Organizations. For more information, see
148
173
  * <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>
149
174
  */
150
- export interface NotOrganizationMasterAccountException extends __SmithyException, $MetadataBearer {
151
- name: "NotOrganizationMasterAccountException";
152
- $fault: "client";
175
+ export declare class NotOrganizationMasterAccountException extends __BaseException {
176
+ readonly name: "NotOrganizationMasterAccountException";
177
+ readonly $fault: "client";
153
178
  /**
154
179
  * <p>Brief description of the exception returned by the request.</p>
155
180
  */
156
181
  Message?: string;
182
+ /**
183
+ * @internal
184
+ */
185
+ constructor(opts: __ExceptionOptionType<NotOrganizationMasterAccountException, __BaseException>);
157
186
  }
158
187
  /**
159
188
  * <p>This exception is thrown when the requested operation is not permitted.</p>
160
189
  */
161
- export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
162
- name: "OperationNotPermittedException";
163
- $fault: "client";
190
+ export declare class OperationNotPermittedException extends __BaseException {
191
+ readonly name: "OperationNotPermittedException";
192
+ readonly $fault: "client";
164
193
  /**
165
194
  * <p>Brief description of the exception returned by the request.</p>
166
195
  */
167
196
  Message?: string;
197
+ /**
198
+ * @internal
199
+ */
200
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
168
201
  }
169
202
  /**
170
203
  * <p>This exception is thrown when the specified resource is not found.</p>
171
204
  */
172
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
173
- name: "ResourceNotFoundException";
174
- $fault: "client";
205
+ export declare class ResourceNotFoundException extends __BaseException {
206
+ readonly name: "ResourceNotFoundException";
207
+ readonly $fault: "client";
175
208
  /**
176
209
  * <p>Brief description of the exception returned by the request.</p>
177
210
  */
178
211
  Message?: string;
212
+ /**
213
+ * @internal
214
+ */
215
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
179
216
  }
180
217
  /**
181
218
  * <p>This exception is thrown when the specified resource type is not supported by CloudTrail.</p>
182
219
  */
183
- export interface ResourceTypeNotSupportedException extends __SmithyException, $MetadataBearer {
184
- name: "ResourceTypeNotSupportedException";
185
- $fault: "client";
220
+ export declare class ResourceTypeNotSupportedException extends __BaseException {
221
+ readonly name: "ResourceTypeNotSupportedException";
222
+ readonly $fault: "client";
186
223
  /**
187
224
  * <p>Brief description of the exception returned by the request.</p>
188
225
  */
189
226
  Message?: string;
227
+ /**
228
+ * @internal
229
+ */
230
+ constructor(opts: __ExceptionOptionType<ResourceTypeNotSupportedException, __BaseException>);
190
231
  }
191
232
  /**
192
233
  * <p>The number of tags per trail has exceeded the permitted amount. Currently, the limit is 50.</p>
193
234
  */
194
- export interface TagsLimitExceededException extends __SmithyException, $MetadataBearer {
195
- name: "TagsLimitExceededException";
196
- $fault: "client";
235
+ export declare class TagsLimitExceededException extends __BaseException {
236
+ readonly name: "TagsLimitExceededException";
237
+ readonly $fault: "client";
197
238
  /**
198
239
  * <p>Brief description of the exception returned by the request.</p>
199
240
  */
200
241
  Message?: string;
242
+ /**
243
+ * @internal
244
+ */
245
+ constructor(opts: __ExceptionOptionType<TagsLimitExceededException, __BaseException>);
201
246
  }
202
247
  /**
203
248
  * <p>This exception is thrown when the requested operation is not supported.</p>
204
249
  */
205
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
206
- name: "UnsupportedOperationException";
207
- $fault: "client";
250
+ export declare class UnsupportedOperationException extends __BaseException {
251
+ readonly name: "UnsupportedOperationException";
252
+ readonly $fault: "client";
208
253
  /**
209
254
  * <p>Brief description of the exception returned by the request.</p>
210
255
  */
211
256
  Message?: string;
257
+ /**
258
+ * @internal
259
+ */
260
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
212
261
  }
213
262
  /**
214
263
  * <p>A single selector statement in an advanced event selector.</p>
@@ -557,7 +606,8 @@ export declare enum QueryStatus {
557
606
  FAILED = "FAILED",
558
607
  FINISHED = "FINISHED",
559
608
  QUEUED = "QUEUED",
560
- RUNNING = "RUNNING"
609
+ RUNNING = "RUNNING",
610
+ TIMED_OUT = "TIMED_OUT"
561
611
  }
562
612
  export interface CancelQueryResponse {
563
613
  /**
@@ -579,60 +629,80 @@ export declare namespace CancelQueryResponse {
579
629
  /**
580
630
  * <p>The specified event data store ARN is not valid or does not map to an event data store in your account.</p>
581
631
  */
582
- export interface EventDataStoreARNInvalidException extends __SmithyException, $MetadataBearer {
583
- name: "EventDataStoreARNInvalidException";
584
- $fault: "client";
632
+ export declare class EventDataStoreARNInvalidException extends __BaseException {
633
+ readonly name: "EventDataStoreARNInvalidException";
634
+ readonly $fault: "client";
585
635
  /**
586
636
  * <p>Brief description of the exception returned by the request.</p>
587
637
  */
588
638
  Message?: string;
639
+ /**
640
+ * @internal
641
+ */
642
+ constructor(opts: __ExceptionOptionType<EventDataStoreARNInvalidException, __BaseException>);
589
643
  }
590
644
  /**
591
- * <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>, <code>FAILED</code>, or
645
+ * <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
592
646
  * <code>CANCELLED</code> state.</p>
593
647
  */
594
- export interface InactiveQueryException extends __SmithyException, $MetadataBearer {
595
- name: "InactiveQueryException";
596
- $fault: "client";
648
+ export declare class InactiveQueryException extends __BaseException {
649
+ readonly name: "InactiveQueryException";
650
+ readonly $fault: "client";
597
651
  /**
598
652
  * <p>Brief description of the exception returned by the request.</p>
599
653
  */
600
654
  Message?: string;
655
+ /**
656
+ * @internal
657
+ */
658
+ constructor(opts: __ExceptionOptionType<InactiveQueryException, __BaseException>);
601
659
  }
602
660
  /**
603
661
  * <p>The request includes a parameter that is not valid.</p>
604
662
  */
605
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
606
- name: "InvalidParameterException";
607
- $fault: "client";
663
+ export declare class InvalidParameterException extends __BaseException {
664
+ readonly name: "InvalidParameterException";
665
+ readonly $fault: "client";
608
666
  /**
609
667
  * <p>Brief description of the exception returned by the request.</p>
610
668
  */
611
669
  Message?: string;
670
+ /**
671
+ * @internal
672
+ */
673
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
612
674
  }
613
675
  /**
614
676
  * <p>The query ID does not exist or does not map to a query.</p>
615
677
  */
616
- export interface QueryIdNotFoundException extends __SmithyException, $MetadataBearer {
617
- name: "QueryIdNotFoundException";
618
- $fault: "client";
678
+ export declare class QueryIdNotFoundException extends __BaseException {
679
+ readonly name: "QueryIdNotFoundException";
680
+ readonly $fault: "client";
619
681
  /**
620
682
  * <p>Brief description of the exception returned by the request.</p>
621
683
  */
622
684
  Message?: string;
685
+ /**
686
+ * @internal
687
+ */
688
+ constructor(opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>);
623
689
  }
624
690
  /**
625
691
  * <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information,
626
692
  * 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>
627
693
  * and <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>
628
694
  */
629
- export interface CloudTrailAccessNotEnabledException extends __SmithyException, $MetadataBearer {
630
- name: "CloudTrailAccessNotEnabledException";
631
- $fault: "client";
695
+ export declare class CloudTrailAccessNotEnabledException extends __BaseException {
696
+ readonly name: "CloudTrailAccessNotEnabledException";
697
+ readonly $fault: "client";
632
698
  /**
633
699
  * <p>Brief description of the exception returned by the request.</p>
634
700
  */
635
701
  Message?: string;
702
+ /**
703
+ * @internal
704
+ */
705
+ constructor(opts: __ExceptionOptionType<CloudTrailAccessNotEnabledException, __BaseException>);
636
706
  }
637
707
  export interface CreateEventDataStoreRequest {
638
708
  /**
@@ -736,86 +806,114 @@ export declare namespace CreateEventDataStoreResponse {
736
806
  /**
737
807
  * <p>An event data store with that name already exists.</p>
738
808
  */
739
- export interface EventDataStoreAlreadyExistsException extends __SmithyException, $MetadataBearer {
740
- name: "EventDataStoreAlreadyExistsException";
741
- $fault: "client";
809
+ export declare class EventDataStoreAlreadyExistsException extends __BaseException {
810
+ readonly name: "EventDataStoreAlreadyExistsException";
811
+ readonly $fault: "client";
742
812
  /**
743
813
  * <p>Brief description of the exception returned by the request.</p>
744
814
  */
745
815
  Message?: string;
816
+ /**
817
+ * @internal
818
+ */
819
+ constructor(opts: __ExceptionOptionType<EventDataStoreAlreadyExistsException, __BaseException>);
746
820
  }
747
821
  /**
748
822
  * <p>Your account has used the maximum number of event data stores.</p>
749
823
  */
750
- export interface EventDataStoreMaxLimitExceededException extends __SmithyException, $MetadataBearer {
751
- name: "EventDataStoreMaxLimitExceededException";
752
- $fault: "client";
824
+ export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
825
+ readonly name: "EventDataStoreMaxLimitExceededException";
826
+ readonly $fault: "client";
753
827
  /**
754
828
  * <p>Brief description of the exception returned by the request.</p>
755
829
  */
756
830
  Message?: string;
831
+ /**
832
+ * @internal
833
+ */
834
+ constructor(opts: __ExceptionOptionType<EventDataStoreMaxLimitExceededException, __BaseException>);
757
835
  }
758
836
  /**
759
837
  * <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
760
838
  * creating an organization trail in a required service. For more information, see
761
839
  * <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>
762
840
  */
763
- export interface InsufficientDependencyServiceAccessPermissionException extends __SmithyException, $MetadataBearer {
764
- name: "InsufficientDependencyServiceAccessPermissionException";
765
- $fault: "client";
841
+ export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
842
+ readonly name: "InsufficientDependencyServiceAccessPermissionException";
843
+ readonly $fault: "client";
766
844
  /**
767
845
  * <p>Brief description of the exception returned by the request.</p>
768
846
  */
769
847
  Message?: string;
848
+ /**
849
+ * @internal
850
+ */
851
+ constructor(opts: __ExceptionOptionType<InsufficientDependencyServiceAccessPermissionException, __BaseException>);
770
852
  }
771
853
  /**
772
854
  * <p>This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support
773
855
  * creating an organization trail. For more information, see
774
856
  * <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>
775
857
  */
776
- export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
777
- name: "OrganizationNotInAllFeaturesModeException";
778
- $fault: "client";
858
+ export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
859
+ readonly name: "OrganizationNotInAllFeaturesModeException";
860
+ readonly $fault: "client";
779
861
  /**
780
862
  * <p>Brief description of the exception returned by the request.</p>
781
863
  */
782
864
  Message?: string;
865
+ /**
866
+ * @internal
867
+ */
868
+ constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
783
869
  }
784
870
  /**
785
871
  * <p>This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization.
786
872
  * To make this request, sign in using the credentials of an account that belongs to an organization.</p>
787
873
  */
788
- export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
789
- name: "OrganizationsNotInUseException";
790
- $fault: "client";
874
+ export declare class OrganizationsNotInUseException extends __BaseException {
875
+ readonly name: "OrganizationsNotInUseException";
876
+ readonly $fault: "client";
791
877
  /**
792
878
  * <p>Brief description of the exception returned by the request.</p>
793
879
  */
794
880
  Message?: string;
881
+ /**
882
+ * @internal
883
+ */
884
+ constructor(opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>);
795
885
  }
796
886
  /**
797
887
  * <p>This exception is thrown when a call results in the <code>InvalidClientTokenId</code> error code.
798
888
  * This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that
799
889
  * is in a suspended Amazon Web Services account.</p>
800
890
  */
801
- export interface CloudTrailInvalidClientTokenIdException extends __SmithyException, $MetadataBearer {
802
- name: "CloudTrailInvalidClientTokenIdException";
803
- $fault: "client";
891
+ export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
892
+ readonly name: "CloudTrailInvalidClientTokenIdException";
893
+ readonly $fault: "client";
804
894
  /**
805
895
  * <p>Brief description of the exception returned by the request.</p>
806
896
  */
807
897
  Message?: string;
898
+ /**
899
+ * @internal
900
+ */
901
+ constructor(opts: __ExceptionOptionType<CloudTrailInvalidClientTokenIdException, __BaseException>);
808
902
  }
809
903
  /**
810
904
  * <p>Cannot set a CloudWatch Logs delivery for this region.</p>
811
905
  */
812
- export interface CloudWatchLogsDeliveryUnavailableException extends __SmithyException, $MetadataBearer {
813
- name: "CloudWatchLogsDeliveryUnavailableException";
814
- $fault: "client";
906
+ export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
907
+ readonly name: "CloudWatchLogsDeliveryUnavailableException";
908
+ readonly $fault: "client";
815
909
  /**
816
910
  * <p>Brief description of the exception returned by the request.</p>
817
911
  */
818
912
  Message?: string;
913
+ /**
914
+ * @internal
915
+ */
916
+ constructor(opts: __ExceptionOptionType<CloudWatchLogsDeliveryUnavailableException, __BaseException>);
819
917
  }
820
918
  /**
821
919
  * <p>Specifies the settings for each trail.</p>
@@ -1005,193 +1103,261 @@ export declare namespace CreateTrailResponse {
1005
1103
  /**
1006
1104
  * <p>This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.</p>
1007
1105
  */
1008
- export interface InsufficientEncryptionPolicyException extends __SmithyException, $MetadataBearer {
1009
- name: "InsufficientEncryptionPolicyException";
1010
- $fault: "client";
1106
+ export declare class InsufficientEncryptionPolicyException extends __BaseException {
1107
+ readonly name: "InsufficientEncryptionPolicyException";
1108
+ readonly $fault: "client";
1011
1109
  /**
1012
1110
  * <p>Brief description of the exception returned by the request.</p>
1013
1111
  */
1014
1112
  Message?: string;
1113
+ /**
1114
+ * @internal
1115
+ */
1116
+ constructor(opts: __ExceptionOptionType<InsufficientEncryptionPolicyException, __BaseException>);
1015
1117
  }
1016
1118
  /**
1017
1119
  * <p>This exception is thrown when the policy on the S3 bucket is not sufficient.</p>
1018
1120
  */
1019
- export interface InsufficientS3BucketPolicyException extends __SmithyException, $MetadataBearer {
1020
- name: "InsufficientS3BucketPolicyException";
1021
- $fault: "client";
1121
+ export declare class InsufficientS3BucketPolicyException extends __BaseException {
1122
+ readonly name: "InsufficientS3BucketPolicyException";
1123
+ readonly $fault: "client";
1022
1124
  /**
1023
1125
  * <p>Brief description of the exception returned by the request.</p>
1024
1126
  */
1025
1127
  Message?: string;
1128
+ /**
1129
+ * @internal
1130
+ */
1131
+ constructor(opts: __ExceptionOptionType<InsufficientS3BucketPolicyException, __BaseException>);
1026
1132
  }
1027
1133
  /**
1028
1134
  * <p>This exception is thrown when the policy on the Amazon SNS topic is not sufficient.</p>
1029
1135
  */
1030
- export interface InsufficientSnsTopicPolicyException extends __SmithyException, $MetadataBearer {
1031
- name: "InsufficientSnsTopicPolicyException";
1032
- $fault: "client";
1136
+ export declare class InsufficientSnsTopicPolicyException extends __BaseException {
1137
+ readonly name: "InsufficientSnsTopicPolicyException";
1138
+ readonly $fault: "client";
1033
1139
  /**
1034
1140
  * <p>Brief description of the exception returned by the request.</p>
1035
1141
  */
1036
1142
  Message?: string;
1143
+ /**
1144
+ * @internal
1145
+ */
1146
+ constructor(opts: __ExceptionOptionType<InsufficientSnsTopicPolicyException, __BaseException>);
1037
1147
  }
1038
1148
  /**
1039
1149
  * <p>This exception is thrown when the provided CloudWatch Logs log group is not valid.</p>
1040
1150
  */
1041
- export interface InvalidCloudWatchLogsLogGroupArnException extends __SmithyException, $MetadataBearer {
1042
- name: "InvalidCloudWatchLogsLogGroupArnException";
1043
- $fault: "client";
1151
+ export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
1152
+ readonly name: "InvalidCloudWatchLogsLogGroupArnException";
1153
+ readonly $fault: "client";
1044
1154
  /**
1045
1155
  * <p>Brief description of the exception returned by the request.</p>
1046
1156
  */
1047
1157
  Message?: string;
1158
+ /**
1159
+ * @internal
1160
+ */
1161
+ constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsLogGroupArnException, __BaseException>);
1048
1162
  }
1049
1163
  /**
1050
1164
  * <p>This exception is thrown when the provided role is not valid.</p>
1051
1165
  */
1052
- export interface InvalidCloudWatchLogsRoleArnException extends __SmithyException, $MetadataBearer {
1053
- name: "InvalidCloudWatchLogsRoleArnException";
1054
- $fault: "client";
1166
+ export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
1167
+ readonly name: "InvalidCloudWatchLogsRoleArnException";
1168
+ readonly $fault: "client";
1055
1169
  /**
1056
1170
  * <p>Brief description of the exception returned by the request.</p>
1057
1171
  */
1058
1172
  Message?: string;
1173
+ /**
1174
+ * @internal
1175
+ */
1176
+ constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsRoleArnException, __BaseException>);
1059
1177
  }
1060
1178
  /**
1061
1179
  * <p>This exception is thrown when the KMS key ARN is not valid.</p>
1062
1180
  */
1063
- export interface InvalidKmsKeyIdException extends __SmithyException, $MetadataBearer {
1064
- name: "InvalidKmsKeyIdException";
1065
- $fault: "client";
1181
+ export declare class InvalidKmsKeyIdException extends __BaseException {
1182
+ readonly name: "InvalidKmsKeyIdException";
1183
+ readonly $fault: "client";
1066
1184
  /**
1067
1185
  * <p>Brief description of the exception returned by the request.</p>
1068
1186
  */
1069
1187
  Message?: string;
1188
+ /**
1189
+ * @internal
1190
+ */
1191
+ constructor(opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>);
1070
1192
  }
1071
1193
  /**
1072
1194
  * <p>This exception is thrown when the combination of parameters provided is not valid.</p>
1073
1195
  */
1074
- export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
1075
- name: "InvalidParameterCombinationException";
1076
- $fault: "client";
1196
+ export declare class InvalidParameterCombinationException extends __BaseException {
1197
+ readonly name: "InvalidParameterCombinationException";
1198
+ readonly $fault: "client";
1077
1199
  /**
1078
1200
  * <p>Brief description of the exception returned by the request.</p>
1079
1201
  */
1080
1202
  Message?: string;
1203
+ /**
1204
+ * @internal
1205
+ */
1206
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
1081
1207
  }
1082
1208
  /**
1083
1209
  * <p>This exception is thrown when the provided S3 bucket name is not valid.</p>
1084
1210
  */
1085
- export interface InvalidS3BucketNameException extends __SmithyException, $MetadataBearer {
1086
- name: "InvalidS3BucketNameException";
1087
- $fault: "client";
1211
+ export declare class InvalidS3BucketNameException extends __BaseException {
1212
+ readonly name: "InvalidS3BucketNameException";
1213
+ readonly $fault: "client";
1088
1214
  /**
1089
1215
  * <p>Brief description of the exception returned by the request.</p>
1090
1216
  */
1091
1217
  Message?: string;
1218
+ /**
1219
+ * @internal
1220
+ */
1221
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>);
1092
1222
  }
1093
1223
  /**
1094
1224
  * <p>This exception is thrown when the provided S3 prefix is not valid.</p>
1095
1225
  */
1096
- export interface InvalidS3PrefixException extends __SmithyException, $MetadataBearer {
1097
- name: "InvalidS3PrefixException";
1098
- $fault: "client";
1226
+ export declare class InvalidS3PrefixException extends __BaseException {
1227
+ readonly name: "InvalidS3PrefixException";
1228
+ readonly $fault: "client";
1099
1229
  /**
1100
1230
  * <p>Brief description of the exception returned by the request.</p>
1101
1231
  */
1102
1232
  Message?: string;
1233
+ /**
1234
+ * @internal
1235
+ */
1236
+ constructor(opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>);
1103
1237
  }
1104
1238
  /**
1105
1239
  * <p>This exception is thrown when the provided SNS topic name is not valid.</p>
1106
1240
  */
1107
- export interface InvalidSnsTopicNameException extends __SmithyException, $MetadataBearer {
1108
- name: "InvalidSnsTopicNameException";
1109
- $fault: "client";
1241
+ export declare class InvalidSnsTopicNameException extends __BaseException {
1242
+ readonly name: "InvalidSnsTopicNameException";
1243
+ readonly $fault: "client";
1110
1244
  /**
1111
1245
  * <p>Brief description of the exception returned by the request.</p>
1112
1246
  */
1113
1247
  Message?: string;
1248
+ /**
1249
+ * @internal
1250
+ */
1251
+ constructor(opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>);
1114
1252
  }
1115
1253
  /**
1116
1254
  * <p>This exception is thrown when there is an issue with the specified KMS key and the trail can’t be updated.</p>
1117
1255
  */
1118
- export interface KmsException extends __SmithyException, $MetadataBearer {
1119
- name: "KmsException";
1120
- $fault: "client";
1256
+ export declare class KmsException extends __BaseException {
1257
+ readonly name: "KmsException";
1258
+ readonly $fault: "client";
1121
1259
  /**
1122
1260
  * <p>Brief description of the exception returned by the request.</p>
1123
1261
  */
1124
1262
  Message?: string;
1263
+ /**
1264
+ * @internal
1265
+ */
1266
+ constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
1125
1267
  }
1126
1268
  /**
1127
1269
  * @deprecated
1128
1270
  *
1129
1271
  * <p>This exception is no longer in use.</p>
1130
1272
  */
1131
- export interface KmsKeyDisabledException extends __SmithyException, $MetadataBearer {
1132
- name: "KmsKeyDisabledException";
1133
- $fault: "client";
1273
+ export declare class KmsKeyDisabledException extends __BaseException {
1274
+ readonly name: "KmsKeyDisabledException";
1275
+ readonly $fault: "client";
1134
1276
  /**
1135
1277
  * <p>Brief description of the exception returned by the request.</p>
1136
1278
  */
1137
1279
  Message?: string;
1280
+ /**
1281
+ * @internal
1282
+ */
1283
+ constructor(opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>);
1138
1284
  }
1139
1285
  /**
1140
1286
  * <p>This exception is thrown when the KMS key does not exist, when the S3 bucket and the
1141
1287
  * KMS key are not in the same region, or when the KMS key associated with the Amazon SNS
1142
1288
  * topic either does not exist or is not in the same region.</p>
1143
1289
  */
1144
- export interface KmsKeyNotFoundException extends __SmithyException, $MetadataBearer {
1145
- name: "KmsKeyNotFoundException";
1146
- $fault: "client";
1290
+ export declare class KmsKeyNotFoundException extends __BaseException {
1291
+ readonly name: "KmsKeyNotFoundException";
1292
+ readonly $fault: "client";
1147
1293
  /**
1148
1294
  * <p>Brief description of the exception returned by the request.</p>
1149
1295
  */
1150
1296
  Message?: string;
1297
+ /**
1298
+ * @internal
1299
+ */
1300
+ constructor(opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>);
1151
1301
  }
1152
1302
  /**
1153
1303
  * <p>This exception is thrown when the maximum number of trails is reached.</p>
1154
1304
  */
1155
- export interface MaximumNumberOfTrailsExceededException extends __SmithyException, $MetadataBearer {
1156
- name: "MaximumNumberOfTrailsExceededException";
1157
- $fault: "client";
1305
+ export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
1306
+ readonly name: "MaximumNumberOfTrailsExceededException";
1307
+ readonly $fault: "client";
1158
1308
  /**
1159
1309
  * <p>Brief description of the exception returned by the request.</p>
1160
1310
  */
1161
1311
  Message?: string;
1312
+ /**
1313
+ * @internal
1314
+ */
1315
+ constructor(opts: __ExceptionOptionType<MaximumNumberOfTrailsExceededException, __BaseException>);
1162
1316
  }
1163
1317
  /**
1164
1318
  * <p>This exception is thrown when the specified S3 bucket does not exist.</p>
1165
1319
  */
1166
- export interface S3BucketDoesNotExistException extends __SmithyException, $MetadataBearer {
1167
- name: "S3BucketDoesNotExistException";
1168
- $fault: "client";
1320
+ export declare class S3BucketDoesNotExistException extends __BaseException {
1321
+ readonly name: "S3BucketDoesNotExistException";
1322
+ readonly $fault: "client";
1169
1323
  /**
1170
1324
  * <p>Brief description of the exception returned by the request.</p>
1171
1325
  */
1172
1326
  Message?: string;
1327
+ /**
1328
+ * @internal
1329
+ */
1330
+ constructor(opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>);
1173
1331
  }
1174
1332
  /**
1175
1333
  * <p>This exception is thrown when the specified trail already exists.</p>
1176
1334
  */
1177
- export interface TrailAlreadyExistsException extends __SmithyException, $MetadataBearer {
1178
- name: "TrailAlreadyExistsException";
1179
- $fault: "client";
1335
+ export declare class TrailAlreadyExistsException extends __BaseException {
1336
+ readonly name: "TrailAlreadyExistsException";
1337
+ readonly $fault: "client";
1180
1338
  /**
1181
1339
  * <p>Brief description of the exception returned by the request.</p>
1182
1340
  */
1183
1341
  Message?: string;
1342
+ /**
1343
+ * @internal
1344
+ */
1345
+ constructor(opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>);
1184
1346
  }
1185
1347
  /**
1186
1348
  * <p>This exception is no longer in use.</p>
1187
1349
  */
1188
- export interface TrailNotProvidedException extends __SmithyException, $MetadataBearer {
1189
- name: "TrailNotProvidedException";
1190
- $fault: "client";
1350
+ export declare class TrailNotProvidedException extends __BaseException {
1351
+ readonly name: "TrailNotProvidedException";
1352
+ readonly $fault: "client";
1191
1353
  /**
1192
1354
  * <p>Brief description of the exception returned by the request.</p>
1193
1355
  */
1194
1356
  Message?: string;
1357
+ /**
1358
+ * @internal
1359
+ */
1360
+ constructor(opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>);
1195
1361
  }
1196
1362
  export interface DeleteEventDataStoreRequest {
1197
1363
  /**
@@ -1216,13 +1382,17 @@ export declare namespace DeleteEventDataStoreResponse {
1216
1382
  /**
1217
1383
  * <p>The event data store cannot be deleted because termination protection is enabled for it.</p>
1218
1384
  */
1219
- export interface EventDataStoreTerminationProtectedException extends __SmithyException, $MetadataBearer {
1220
- name: "EventDataStoreTerminationProtectedException";
1221
- $fault: "client";
1385
+ export declare class EventDataStoreTerminationProtectedException extends __BaseException {
1386
+ readonly name: "EventDataStoreTerminationProtectedException";
1387
+ readonly $fault: "client";
1222
1388
  /**
1223
1389
  * <p>Brief description of the exception returned by the request.</p>
1224
1390
  */
1225
1391
  Message?: string;
1392
+ /**
1393
+ * @internal
1394
+ */
1395
+ constructor(opts: __ExceptionOptionType<EventDataStoreTerminationProtectedException, __BaseException>);
1226
1396
  }
1227
1397
  /**
1228
1398
  * <p>The request that specifies the name of a trail to delete.</p>
@@ -1256,24 +1426,32 @@ export declare namespace DeleteTrailResponse {
1256
1426
  /**
1257
1427
  * <p>This exception is thrown when an operation is called on a trail from a region other than the region in which the trail was created.</p>
1258
1428
  */
1259
- export interface InvalidHomeRegionException extends __SmithyException, $MetadataBearer {
1260
- name: "InvalidHomeRegionException";
1261
- $fault: "client";
1429
+ export declare class InvalidHomeRegionException extends __BaseException {
1430
+ readonly name: "InvalidHomeRegionException";
1431
+ readonly $fault: "client";
1262
1432
  /**
1263
1433
  * <p>Brief description of the exception returned by the request.</p>
1264
1434
  */
1265
1435
  Message?: string;
1436
+ /**
1437
+ * @internal
1438
+ */
1439
+ constructor(opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>);
1266
1440
  }
1267
1441
  /**
1268
1442
  * <p>This exception is thrown when the trail with the given name is not found.</p>
1269
1443
  */
1270
- export interface TrailNotFoundException extends __SmithyException, $MetadataBearer {
1271
- name: "TrailNotFoundException";
1272
- $fault: "client";
1444
+ export declare class TrailNotFoundException extends __BaseException {
1445
+ readonly name: "TrailNotFoundException";
1446
+ readonly $fault: "client";
1273
1447
  /**
1274
1448
  * <p>Brief description of the exception returned by the request.</p>
1275
1449
  */
1276
1450
  Message?: string;
1451
+ /**
1452
+ * @internal
1453
+ */
1454
+ constructor(opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>);
1277
1455
  }
1278
1456
  export interface DescribeQueryRequest {
1279
1457
  /**
@@ -1304,6 +1482,11 @@ export interface QueryStatisticsForDescribeQuery {
1304
1482
  * <p>The number of events that the query scanned in the event data store.</p>
1305
1483
  */
1306
1484
  EventsScanned?: number;
1485
+ /**
1486
+ * <p>The total bytes that the query scanned in the event data store. This value matches the number of
1487
+ * bytes for which your account is billed for the query, unless the query is still running.</p>
1488
+ */
1489
+ BytesScanned?: number;
1307
1490
  /**
1308
1491
  * <p>The query's run time, in milliseconds.</p>
1309
1492
  */
@@ -1330,7 +1513,7 @@ export interface DescribeQueryResponse {
1330
1513
  QueryString?: string;
1331
1514
  /**
1332
1515
  * <p>The status of a query. Values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
1333
- * <code>FINISHED</code>, <code>FAILED</code>, or <code>CANCELLED</code>
1516
+ * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>
1334
1517
  * </p>
1335
1518
  */
1336
1519
  QueryStatus?: QueryStatus | string;
@@ -1918,13 +2101,17 @@ export declare namespace GetInsightSelectorsResponse {
1918
2101
  /**
1919
2102
  * <p>If you run <code>GetInsightSelectors</code> on a trail that does not have Insights events enabled, the operation throws the exception <code>InsightNotEnabledException</code>.</p>
1920
2103
  */
1921
- export interface InsightNotEnabledException extends __SmithyException, $MetadataBearer {
1922
- name: "InsightNotEnabledException";
1923
- $fault: "client";
2104
+ export declare class InsightNotEnabledException extends __BaseException {
2105
+ readonly name: "InsightNotEnabledException";
2106
+ readonly $fault: "client";
1924
2107
  /**
1925
2108
  * <p>Brief description of the exception returned by the request.</p>
1926
2109
  */
1927
2110
  Message?: string;
2111
+ /**
2112
+ * @internal
2113
+ */
2114
+ constructor(opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>);
1928
2115
  }
1929
2116
  export interface GetQueryResultsRequest {
1930
2117
  /**
@@ -1962,6 +2149,11 @@ export interface QueryStatistics {
1962
2149
  * <p>The total number of results returned by a query.</p>
1963
2150
  */
1964
2151
  TotalResultsCount?: number;
2152
+ /**
2153
+ * <p>The total bytes that the query scanned in the event data store. This value matches the number of
2154
+ * bytes for which your account is billed for the query, unless the query is still running.</p>
2155
+ */
2156
+ BytesScanned?: number;
1965
2157
  }
1966
2158
  export declare namespace QueryStatistics {
1967
2159
  /**
@@ -1972,7 +2164,7 @@ export declare namespace QueryStatistics {
1972
2164
  export interface GetQueryResultsResponse {
1973
2165
  /**
1974
2166
  * <p>The status of the query. Values include <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>, <code>FAILED</code>,
1975
- * or <code>CANCELLED</code>.</p>
2167
+ * <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
1976
2168
  */
1977
2169
  QueryStatus?: QueryStatus | string;
1978
2170
  /**
@@ -2003,24 +2195,32 @@ export declare namespace GetQueryResultsResponse {
2003
2195
  /**
2004
2196
  * <p>This exception is thrown if the limit specified is not valid.</p>
2005
2197
  */
2006
- export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
2007
- name: "InvalidMaxResultsException";
2008
- $fault: "client";
2198
+ export declare class InvalidMaxResultsException extends __BaseException {
2199
+ readonly name: "InvalidMaxResultsException";
2200
+ readonly $fault: "client";
2009
2201
  /**
2010
2202
  * <p>Brief description of the exception returned by the request.</p>
2011
2203
  */
2012
2204
  Message?: string;
2205
+ /**
2206
+ * @internal
2207
+ */
2208
+ constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
2013
2209
  }
2014
2210
  /**
2015
2211
  * <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>
2016
2212
  */
2017
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
2018
- name: "InvalidNextTokenException";
2019
- $fault: "client";
2213
+ export declare class InvalidNextTokenException extends __BaseException {
2214
+ readonly name: "InvalidNextTokenException";
2215
+ readonly $fault: "client";
2020
2216
  /**
2021
2217
  * <p>Brief description of the exception returned by the request.</p>
2022
2218
  */
2023
2219
  Message?: string;
2220
+ /**
2221
+ * @internal
2222
+ */
2223
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
2024
2224
  }
2025
2225
  export interface GetTrailRequest {
2026
2226
  /**
@@ -2251,24 +2451,32 @@ export declare namespace ListEventDataStoresResponse {
2251
2451
  /**
2252
2452
  * <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>
2253
2453
  */
2254
- export interface InvalidTimeRangeException extends __SmithyException, $MetadataBearer {
2255
- name: "InvalidTimeRangeException";
2256
- $fault: "client";
2454
+ export declare class InvalidTimeRangeException extends __BaseException {
2455
+ readonly name: "InvalidTimeRangeException";
2456
+ readonly $fault: "client";
2257
2457
  /**
2258
2458
  * <p>Brief description of the exception returned by the request.</p>
2259
2459
  */
2260
2460
  Message?: string;
2461
+ /**
2462
+ * @internal
2463
+ */
2464
+ constructor(opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>);
2261
2465
  }
2262
2466
  /**
2263
2467
  * <p>Reserved for future use.</p>
2264
2468
  */
2265
- export interface InvalidTokenException extends __SmithyException, $MetadataBearer {
2266
- name: "InvalidTokenException";
2267
- $fault: "client";
2469
+ export declare class InvalidTokenException extends __BaseException {
2470
+ readonly name: "InvalidTokenException";
2471
+ readonly $fault: "client";
2268
2472
  /**
2269
2473
  * <p>Brief description of the exception returned by the request.</p>
2270
2474
  */
2271
2475
  Message?: string;
2476
+ /**
2477
+ * @internal
2478
+ */
2479
+ constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
2272
2480
  }
2273
2481
  /**
2274
2482
  * <p>Requests the public keys for a specified time range.</p>
@@ -2349,24 +2557,32 @@ export declare namespace ListPublicKeysResponse {
2349
2557
  * about writing a query, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create
2350
2558
  * or edit a query</a> in the <i>CloudTrail User Guide</i>.</p>
2351
2559
  */
2352
- export interface InvalidDateRangeException extends __SmithyException, $MetadataBearer {
2353
- name: "InvalidDateRangeException";
2354
- $fault: "client";
2560
+ export declare class InvalidDateRangeException extends __BaseException {
2561
+ readonly name: "InvalidDateRangeException";
2562
+ readonly $fault: "client";
2355
2563
  /**
2356
2564
  * <p>Brief description of the exception returned by the request.</p>
2357
2565
  */
2358
2566
  Message?: string;
2567
+ /**
2568
+ * @internal
2569
+ */
2570
+ constructor(opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>);
2359
2571
  }
2360
2572
  /**
2361
2573
  * <p>The query status is not valid for the operation.</p>
2362
2574
  */
2363
- export interface InvalidQueryStatusException extends __SmithyException, $MetadataBearer {
2364
- name: "InvalidQueryStatusException";
2365
- $fault: "client";
2575
+ export declare class InvalidQueryStatusException extends __BaseException {
2576
+ readonly name: "InvalidQueryStatusException";
2577
+ readonly $fault: "client";
2366
2578
  /**
2367
2579
  * <p>Brief description of the exception returned by the request.</p>
2368
2580
  */
2369
2581
  Message?: string;
2582
+ /**
2583
+ * @internal
2584
+ */
2585
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>);
2370
2586
  }
2371
2587
  export interface ListQueriesRequest {
2372
2588
  /**
@@ -2393,7 +2609,7 @@ export interface ListQueriesRequest {
2393
2609
  EndTime?: Date;
2394
2610
  /**
2395
2611
  * <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>,
2396
- * <code>FINISHED</code>, <code>FAILED</code>, or <code>CANCELLED</code>.</p>
2612
+ * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
2397
2613
  */
2398
2614
  QueryStatus?: QueryStatus | string;
2399
2615
  }
@@ -2413,7 +2629,7 @@ export interface Query {
2413
2629
  QueryId?: string;
2414
2630
  /**
2415
2631
  * <p>The status of the query. This can be <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>, <code>FAILED</code>,
2416
- * or <code>CANCELLED</code>.</p>
2632
+ * <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
2417
2633
  */
2418
2634
  QueryStatus?: QueryStatus | string;
2419
2635
  /**
@@ -2564,24 +2780,32 @@ export declare namespace ListTrailsResponse {
2564
2780
  /**
2565
2781
  * <p>Occurs if an event category that is not valid is specified as a value of <code>EventCategory</code>.</p>
2566
2782
  */
2567
- export interface InvalidEventCategoryException extends __SmithyException, $MetadataBearer {
2568
- name: "InvalidEventCategoryException";
2569
- $fault: "client";
2783
+ export declare class InvalidEventCategoryException extends __BaseException {
2784
+ readonly name: "InvalidEventCategoryException";
2785
+ readonly $fault: "client";
2570
2786
  /**
2571
2787
  * <p>Brief description of the exception returned by the request.</p>
2572
2788
  */
2573
2789
  Message?: string;
2790
+ /**
2791
+ * @internal
2792
+ */
2793
+ constructor(opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>);
2574
2794
  }
2575
2795
  /**
2576
2796
  * <p>Occurs when a lookup attribute is specified that is not valid.</p>
2577
2797
  */
2578
- export interface InvalidLookupAttributesException extends __SmithyException, $MetadataBearer {
2579
- name: "InvalidLookupAttributesException";
2580
- $fault: "client";
2798
+ export declare class InvalidLookupAttributesException extends __BaseException {
2799
+ readonly name: "InvalidLookupAttributesException";
2800
+ readonly $fault: "client";
2581
2801
  /**
2582
2802
  * <p>Brief description of the exception returned by the request.</p>
2583
2803
  */
2584
2804
  Message?: string;
2805
+ /**
2806
+ * @internal
2807
+ */
2808
+ constructor(opts: __ExceptionOptionType<InvalidLookupAttributesException, __BaseException>);
2585
2809
  }
2586
2810
  export declare enum EventCategory {
2587
2811
  Insight = "insight"
@@ -2769,13 +2993,17 @@ export declare namespace LookupEventsResponse {
2769
2993
  * </li>
2770
2994
  * </ul>
2771
2995
  */
2772
- export interface InvalidEventSelectorsException extends __SmithyException, $MetadataBearer {
2773
- name: "InvalidEventSelectorsException";
2774
- $fault: "client";
2996
+ export declare class InvalidEventSelectorsException extends __BaseException {
2997
+ readonly name: "InvalidEventSelectorsException";
2998
+ readonly $fault: "client";
2775
2999
  /**
2776
3000
  * <p>Brief description of the exception returned by the request.</p>
2777
3001
  */
2778
3002
  Message?: string;
3003
+ /**
3004
+ * @internal
3005
+ */
3006
+ constructor(opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>);
2779
3007
  }
2780
3008
  export interface PutEventSelectorsRequest {
2781
3009
  /**
@@ -2857,13 +3085,17 @@ export declare namespace PutEventSelectorsResponse {
2857
3085
  * <p>The formatting or syntax of the <code>InsightSelectors</code> JSON statement in your <code>PutInsightSelectors</code> or <code>GetInsightSelectors</code> request
2858
3086
  * is not valid, or the specified insight type in the <code>InsightSelectors</code> statement is not a valid insight type.</p>
2859
3087
  */
2860
- export interface InvalidInsightSelectorsException extends __SmithyException, $MetadataBearer {
2861
- name: "InvalidInsightSelectorsException";
2862
- $fault: "client";
3088
+ export declare class InvalidInsightSelectorsException extends __BaseException {
3089
+ readonly name: "InvalidInsightSelectorsException";
3090
+ readonly $fault: "client";
2863
3091
  /**
2864
3092
  * <p>Brief description of the exception returned by the request.</p>
2865
3093
  */
2866
3094
  Message?: string;
3095
+ /**
3096
+ * @internal
3097
+ */
3098
+ constructor(opts: __ExceptionOptionType<InvalidInsightSelectorsException, __BaseException>);
2867
3099
  }
2868
3100
  export interface PutInsightSelectorsRequest {
2869
3101
  /**
@@ -2934,13 +3166,17 @@ export declare namespace RemoveTagsResponse {
2934
3166
  /**
2935
3167
  * <p>The event data store is not in a status that supports the operation.</p>
2936
3168
  */
2937
- export interface InvalidEventDataStoreStatusException extends __SmithyException, $MetadataBearer {
2938
- name: "InvalidEventDataStoreStatusException";
2939
- $fault: "client";
3169
+ export declare class InvalidEventDataStoreStatusException extends __BaseException {
3170
+ readonly name: "InvalidEventDataStoreStatusException";
3171
+ readonly $fault: "client";
2940
3172
  /**
2941
3173
  * <p>Brief description of the exception returned by the request.</p>
2942
3174
  */
2943
3175
  Message?: string;
3176
+ /**
3177
+ * @internal
3178
+ */
3179
+ constructor(opts: __ExceptionOptionType<InvalidEventDataStoreStatusException, __BaseException>);
2944
3180
  }
2945
3181
  export interface RestoreEventDataStoreRequest {
2946
3182
  /**
@@ -3039,25 +3275,33 @@ export declare namespace StartLoggingResponse {
3039
3275
  * about writing a query, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create
3040
3276
  * or edit a query</a> in the <i>CloudTrail User Guide</i>.</p>
3041
3277
  */
3042
- export interface InvalidQueryStatementException extends __SmithyException, $MetadataBearer {
3043
- name: "InvalidQueryStatementException";
3044
- $fault: "client";
3278
+ export declare class InvalidQueryStatementException extends __BaseException {
3279
+ readonly name: "InvalidQueryStatementException";
3280
+ readonly $fault: "client";
3045
3281
  /**
3046
3282
  * <p>Brief description of the exception returned by the request.</p>
3047
3283
  */
3048
3284
  Message?: string;
3285
+ /**
3286
+ * @internal
3287
+ */
3288
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>);
3049
3289
  }
3050
3290
  /**
3051
3291
  * <p>You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then
3052
3292
  * run the query again.</p>
3053
3293
  */
3054
- export interface MaxConcurrentQueriesException extends __SmithyException, $MetadataBearer {
3055
- name: "MaxConcurrentQueriesException";
3056
- $fault: "client";
3294
+ export declare class MaxConcurrentQueriesException extends __BaseException {
3295
+ readonly name: "MaxConcurrentQueriesException";
3296
+ readonly $fault: "client";
3057
3297
  /**
3058
3298
  * <p>Brief description of the exception returned by the request.</p>
3059
3299
  */
3060
3300
  Message?: string;
3301
+ /**
3302
+ * @internal
3303
+ */
3304
+ constructor(opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>);
3061
3305
  }
3062
3306
  export interface StartQueryRequest {
3063
3307
  /**