@aws-sdk/client-cloudtrail 3.52.0 → 3.53.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.
@@ -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>
@@ -579,60 +628,80 @@ export declare namespace CancelQueryResponse {
579
628
  /**
580
629
  * <p>The specified event data store ARN is not valid or does not map to an event data store in your account.</p>
581
630
  */
582
- export interface EventDataStoreARNInvalidException extends __SmithyException, $MetadataBearer {
583
- name: "EventDataStoreARNInvalidException";
584
- $fault: "client";
631
+ export declare class EventDataStoreARNInvalidException extends __BaseException {
632
+ readonly name: "EventDataStoreARNInvalidException";
633
+ readonly $fault: "client";
585
634
  /**
586
635
  * <p>Brief description of the exception returned by the request.</p>
587
636
  */
588
637
  Message?: string;
638
+ /**
639
+ * @internal
640
+ */
641
+ constructor(opts: __ExceptionOptionType<EventDataStoreARNInvalidException, __BaseException>);
589
642
  }
590
643
  /**
591
644
  * <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>, <code>FAILED</code>, or
592
645
  * <code>CANCELLED</code> state.</p>
593
646
  */
594
- export interface InactiveQueryException extends __SmithyException, $MetadataBearer {
595
- name: "InactiveQueryException";
596
- $fault: "client";
647
+ export declare class InactiveQueryException extends __BaseException {
648
+ readonly name: "InactiveQueryException";
649
+ readonly $fault: "client";
597
650
  /**
598
651
  * <p>Brief description of the exception returned by the request.</p>
599
652
  */
600
653
  Message?: string;
654
+ /**
655
+ * @internal
656
+ */
657
+ constructor(opts: __ExceptionOptionType<InactiveQueryException, __BaseException>);
601
658
  }
602
659
  /**
603
660
  * <p>The request includes a parameter that is not valid.</p>
604
661
  */
605
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
606
- name: "InvalidParameterException";
607
- $fault: "client";
662
+ export declare class InvalidParameterException extends __BaseException {
663
+ readonly name: "InvalidParameterException";
664
+ readonly $fault: "client";
608
665
  /**
609
666
  * <p>Brief description of the exception returned by the request.</p>
610
667
  */
611
668
  Message?: string;
669
+ /**
670
+ * @internal
671
+ */
672
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
612
673
  }
613
674
  /**
614
675
  * <p>The query ID does not exist or does not map to a query.</p>
615
676
  */
616
- export interface QueryIdNotFoundException extends __SmithyException, $MetadataBearer {
617
- name: "QueryIdNotFoundException";
618
- $fault: "client";
677
+ export declare class QueryIdNotFoundException extends __BaseException {
678
+ readonly name: "QueryIdNotFoundException";
679
+ readonly $fault: "client";
619
680
  /**
620
681
  * <p>Brief description of the exception returned by the request.</p>
621
682
  */
622
683
  Message?: string;
684
+ /**
685
+ * @internal
686
+ */
687
+ constructor(opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>);
623
688
  }
624
689
  /**
625
690
  * <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information,
626
691
  * 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
692
  * 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
693
  */
629
- export interface CloudTrailAccessNotEnabledException extends __SmithyException, $MetadataBearer {
630
- name: "CloudTrailAccessNotEnabledException";
631
- $fault: "client";
694
+ export declare class CloudTrailAccessNotEnabledException extends __BaseException {
695
+ readonly name: "CloudTrailAccessNotEnabledException";
696
+ readonly $fault: "client";
632
697
  /**
633
698
  * <p>Brief description of the exception returned by the request.</p>
634
699
  */
635
700
  Message?: string;
701
+ /**
702
+ * @internal
703
+ */
704
+ constructor(opts: __ExceptionOptionType<CloudTrailAccessNotEnabledException, __BaseException>);
636
705
  }
637
706
  export interface CreateEventDataStoreRequest {
638
707
  /**
@@ -736,86 +805,114 @@ export declare namespace CreateEventDataStoreResponse {
736
805
  /**
737
806
  * <p>An event data store with that name already exists.</p>
738
807
  */
739
- export interface EventDataStoreAlreadyExistsException extends __SmithyException, $MetadataBearer {
740
- name: "EventDataStoreAlreadyExistsException";
741
- $fault: "client";
808
+ export declare class EventDataStoreAlreadyExistsException extends __BaseException {
809
+ readonly name: "EventDataStoreAlreadyExistsException";
810
+ readonly $fault: "client";
742
811
  /**
743
812
  * <p>Brief description of the exception returned by the request.</p>
744
813
  */
745
814
  Message?: string;
815
+ /**
816
+ * @internal
817
+ */
818
+ constructor(opts: __ExceptionOptionType<EventDataStoreAlreadyExistsException, __BaseException>);
746
819
  }
747
820
  /**
748
821
  * <p>Your account has used the maximum number of event data stores.</p>
749
822
  */
750
- export interface EventDataStoreMaxLimitExceededException extends __SmithyException, $MetadataBearer {
751
- name: "EventDataStoreMaxLimitExceededException";
752
- $fault: "client";
823
+ export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
824
+ readonly name: "EventDataStoreMaxLimitExceededException";
825
+ readonly $fault: "client";
753
826
  /**
754
827
  * <p>Brief description of the exception returned by the request.</p>
755
828
  */
756
829
  Message?: string;
830
+ /**
831
+ * @internal
832
+ */
833
+ constructor(opts: __ExceptionOptionType<EventDataStoreMaxLimitExceededException, __BaseException>);
757
834
  }
758
835
  /**
759
836
  * <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
837
  * creating an organization trail in a required service. For more information, see
761
838
  * <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
839
  */
763
- export interface InsufficientDependencyServiceAccessPermissionException extends __SmithyException, $MetadataBearer {
764
- name: "InsufficientDependencyServiceAccessPermissionException";
765
- $fault: "client";
840
+ export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
841
+ readonly name: "InsufficientDependencyServiceAccessPermissionException";
842
+ readonly $fault: "client";
766
843
  /**
767
844
  * <p>Brief description of the exception returned by the request.</p>
768
845
  */
769
846
  Message?: string;
847
+ /**
848
+ * @internal
849
+ */
850
+ constructor(opts: __ExceptionOptionType<InsufficientDependencyServiceAccessPermissionException, __BaseException>);
770
851
  }
771
852
  /**
772
853
  * <p>This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support
773
854
  * creating an organization trail. For more information, see
774
855
  * <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
856
  */
776
- export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
777
- name: "OrganizationNotInAllFeaturesModeException";
778
- $fault: "client";
857
+ export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
858
+ readonly name: "OrganizationNotInAllFeaturesModeException";
859
+ readonly $fault: "client";
779
860
  /**
780
861
  * <p>Brief description of the exception returned by the request.</p>
781
862
  */
782
863
  Message?: string;
864
+ /**
865
+ * @internal
866
+ */
867
+ constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
783
868
  }
784
869
  /**
785
870
  * <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
871
  * To make this request, sign in using the credentials of an account that belongs to an organization.</p>
787
872
  */
788
- export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
789
- name: "OrganizationsNotInUseException";
790
- $fault: "client";
873
+ export declare class OrganizationsNotInUseException extends __BaseException {
874
+ readonly name: "OrganizationsNotInUseException";
875
+ readonly $fault: "client";
791
876
  /**
792
877
  * <p>Brief description of the exception returned by the request.</p>
793
878
  */
794
879
  Message?: string;
880
+ /**
881
+ * @internal
882
+ */
883
+ constructor(opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>);
795
884
  }
796
885
  /**
797
886
  * <p>This exception is thrown when a call results in the <code>InvalidClientTokenId</code> error code.
798
887
  * This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that
799
888
  * is in a suspended Amazon Web Services account.</p>
800
889
  */
801
- export interface CloudTrailInvalidClientTokenIdException extends __SmithyException, $MetadataBearer {
802
- name: "CloudTrailInvalidClientTokenIdException";
803
- $fault: "client";
890
+ export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
891
+ readonly name: "CloudTrailInvalidClientTokenIdException";
892
+ readonly $fault: "client";
804
893
  /**
805
894
  * <p>Brief description of the exception returned by the request.</p>
806
895
  */
807
896
  Message?: string;
897
+ /**
898
+ * @internal
899
+ */
900
+ constructor(opts: __ExceptionOptionType<CloudTrailInvalidClientTokenIdException, __BaseException>);
808
901
  }
809
902
  /**
810
903
  * <p>Cannot set a CloudWatch Logs delivery for this region.</p>
811
904
  */
812
- export interface CloudWatchLogsDeliveryUnavailableException extends __SmithyException, $MetadataBearer {
813
- name: "CloudWatchLogsDeliveryUnavailableException";
814
- $fault: "client";
905
+ export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
906
+ readonly name: "CloudWatchLogsDeliveryUnavailableException";
907
+ readonly $fault: "client";
815
908
  /**
816
909
  * <p>Brief description of the exception returned by the request.</p>
817
910
  */
818
911
  Message?: string;
912
+ /**
913
+ * @internal
914
+ */
915
+ constructor(opts: __ExceptionOptionType<CloudWatchLogsDeliveryUnavailableException, __BaseException>);
819
916
  }
820
917
  /**
821
918
  * <p>Specifies the settings for each trail.</p>
@@ -1005,193 +1102,261 @@ export declare namespace CreateTrailResponse {
1005
1102
  /**
1006
1103
  * <p>This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.</p>
1007
1104
  */
1008
- export interface InsufficientEncryptionPolicyException extends __SmithyException, $MetadataBearer {
1009
- name: "InsufficientEncryptionPolicyException";
1010
- $fault: "client";
1105
+ export declare class InsufficientEncryptionPolicyException extends __BaseException {
1106
+ readonly name: "InsufficientEncryptionPolicyException";
1107
+ readonly $fault: "client";
1011
1108
  /**
1012
1109
  * <p>Brief description of the exception returned by the request.</p>
1013
1110
  */
1014
1111
  Message?: string;
1112
+ /**
1113
+ * @internal
1114
+ */
1115
+ constructor(opts: __ExceptionOptionType<InsufficientEncryptionPolicyException, __BaseException>);
1015
1116
  }
1016
1117
  /**
1017
1118
  * <p>This exception is thrown when the policy on the S3 bucket is not sufficient.</p>
1018
1119
  */
1019
- export interface InsufficientS3BucketPolicyException extends __SmithyException, $MetadataBearer {
1020
- name: "InsufficientS3BucketPolicyException";
1021
- $fault: "client";
1120
+ export declare class InsufficientS3BucketPolicyException extends __BaseException {
1121
+ readonly name: "InsufficientS3BucketPolicyException";
1122
+ readonly $fault: "client";
1022
1123
  /**
1023
1124
  * <p>Brief description of the exception returned by the request.</p>
1024
1125
  */
1025
1126
  Message?: string;
1127
+ /**
1128
+ * @internal
1129
+ */
1130
+ constructor(opts: __ExceptionOptionType<InsufficientS3BucketPolicyException, __BaseException>);
1026
1131
  }
1027
1132
  /**
1028
1133
  * <p>This exception is thrown when the policy on the Amazon SNS topic is not sufficient.</p>
1029
1134
  */
1030
- export interface InsufficientSnsTopicPolicyException extends __SmithyException, $MetadataBearer {
1031
- name: "InsufficientSnsTopicPolicyException";
1032
- $fault: "client";
1135
+ export declare class InsufficientSnsTopicPolicyException extends __BaseException {
1136
+ readonly name: "InsufficientSnsTopicPolicyException";
1137
+ readonly $fault: "client";
1033
1138
  /**
1034
1139
  * <p>Brief description of the exception returned by the request.</p>
1035
1140
  */
1036
1141
  Message?: string;
1142
+ /**
1143
+ * @internal
1144
+ */
1145
+ constructor(opts: __ExceptionOptionType<InsufficientSnsTopicPolicyException, __BaseException>);
1037
1146
  }
1038
1147
  /**
1039
1148
  * <p>This exception is thrown when the provided CloudWatch Logs log group is not valid.</p>
1040
1149
  */
1041
- export interface InvalidCloudWatchLogsLogGroupArnException extends __SmithyException, $MetadataBearer {
1042
- name: "InvalidCloudWatchLogsLogGroupArnException";
1043
- $fault: "client";
1150
+ export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
1151
+ readonly name: "InvalidCloudWatchLogsLogGroupArnException";
1152
+ readonly $fault: "client";
1044
1153
  /**
1045
1154
  * <p>Brief description of the exception returned by the request.</p>
1046
1155
  */
1047
1156
  Message?: string;
1157
+ /**
1158
+ * @internal
1159
+ */
1160
+ constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsLogGroupArnException, __BaseException>);
1048
1161
  }
1049
1162
  /**
1050
1163
  * <p>This exception is thrown when the provided role is not valid.</p>
1051
1164
  */
1052
- export interface InvalidCloudWatchLogsRoleArnException extends __SmithyException, $MetadataBearer {
1053
- name: "InvalidCloudWatchLogsRoleArnException";
1054
- $fault: "client";
1165
+ export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
1166
+ readonly name: "InvalidCloudWatchLogsRoleArnException";
1167
+ readonly $fault: "client";
1055
1168
  /**
1056
1169
  * <p>Brief description of the exception returned by the request.</p>
1057
1170
  */
1058
1171
  Message?: string;
1172
+ /**
1173
+ * @internal
1174
+ */
1175
+ constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsRoleArnException, __BaseException>);
1059
1176
  }
1060
1177
  /**
1061
1178
  * <p>This exception is thrown when the KMS key ARN is not valid.</p>
1062
1179
  */
1063
- export interface InvalidKmsKeyIdException extends __SmithyException, $MetadataBearer {
1064
- name: "InvalidKmsKeyIdException";
1065
- $fault: "client";
1180
+ export declare class InvalidKmsKeyIdException extends __BaseException {
1181
+ readonly name: "InvalidKmsKeyIdException";
1182
+ readonly $fault: "client";
1066
1183
  /**
1067
1184
  * <p>Brief description of the exception returned by the request.</p>
1068
1185
  */
1069
1186
  Message?: string;
1187
+ /**
1188
+ * @internal
1189
+ */
1190
+ constructor(opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>);
1070
1191
  }
1071
1192
  /**
1072
1193
  * <p>This exception is thrown when the combination of parameters provided is not valid.</p>
1073
1194
  */
1074
- export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
1075
- name: "InvalidParameterCombinationException";
1076
- $fault: "client";
1195
+ export declare class InvalidParameterCombinationException extends __BaseException {
1196
+ readonly name: "InvalidParameterCombinationException";
1197
+ readonly $fault: "client";
1077
1198
  /**
1078
1199
  * <p>Brief description of the exception returned by the request.</p>
1079
1200
  */
1080
1201
  Message?: string;
1202
+ /**
1203
+ * @internal
1204
+ */
1205
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
1081
1206
  }
1082
1207
  /**
1083
1208
  * <p>This exception is thrown when the provided S3 bucket name is not valid.</p>
1084
1209
  */
1085
- export interface InvalidS3BucketNameException extends __SmithyException, $MetadataBearer {
1086
- name: "InvalidS3BucketNameException";
1087
- $fault: "client";
1210
+ export declare class InvalidS3BucketNameException extends __BaseException {
1211
+ readonly name: "InvalidS3BucketNameException";
1212
+ readonly $fault: "client";
1088
1213
  /**
1089
1214
  * <p>Brief description of the exception returned by the request.</p>
1090
1215
  */
1091
1216
  Message?: string;
1217
+ /**
1218
+ * @internal
1219
+ */
1220
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>);
1092
1221
  }
1093
1222
  /**
1094
1223
  * <p>This exception is thrown when the provided S3 prefix is not valid.</p>
1095
1224
  */
1096
- export interface InvalidS3PrefixException extends __SmithyException, $MetadataBearer {
1097
- name: "InvalidS3PrefixException";
1098
- $fault: "client";
1225
+ export declare class InvalidS3PrefixException extends __BaseException {
1226
+ readonly name: "InvalidS3PrefixException";
1227
+ readonly $fault: "client";
1099
1228
  /**
1100
1229
  * <p>Brief description of the exception returned by the request.</p>
1101
1230
  */
1102
1231
  Message?: string;
1232
+ /**
1233
+ * @internal
1234
+ */
1235
+ constructor(opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>);
1103
1236
  }
1104
1237
  /**
1105
1238
  * <p>This exception is thrown when the provided SNS topic name is not valid.</p>
1106
1239
  */
1107
- export interface InvalidSnsTopicNameException extends __SmithyException, $MetadataBearer {
1108
- name: "InvalidSnsTopicNameException";
1109
- $fault: "client";
1240
+ export declare class InvalidSnsTopicNameException extends __BaseException {
1241
+ readonly name: "InvalidSnsTopicNameException";
1242
+ readonly $fault: "client";
1110
1243
  /**
1111
1244
  * <p>Brief description of the exception returned by the request.</p>
1112
1245
  */
1113
1246
  Message?: string;
1247
+ /**
1248
+ * @internal
1249
+ */
1250
+ constructor(opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>);
1114
1251
  }
1115
1252
  /**
1116
1253
  * <p>This exception is thrown when there is an issue with the specified KMS key and the trail can’t be updated.</p>
1117
1254
  */
1118
- export interface KmsException extends __SmithyException, $MetadataBearer {
1119
- name: "KmsException";
1120
- $fault: "client";
1255
+ export declare class KmsException extends __BaseException {
1256
+ readonly name: "KmsException";
1257
+ readonly $fault: "client";
1121
1258
  /**
1122
1259
  * <p>Brief description of the exception returned by the request.</p>
1123
1260
  */
1124
1261
  Message?: string;
1262
+ /**
1263
+ * @internal
1264
+ */
1265
+ constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
1125
1266
  }
1126
1267
  /**
1127
1268
  * @deprecated
1128
1269
  *
1129
1270
  * <p>This exception is no longer in use.</p>
1130
1271
  */
1131
- export interface KmsKeyDisabledException extends __SmithyException, $MetadataBearer {
1132
- name: "KmsKeyDisabledException";
1133
- $fault: "client";
1272
+ export declare class KmsKeyDisabledException extends __BaseException {
1273
+ readonly name: "KmsKeyDisabledException";
1274
+ readonly $fault: "client";
1134
1275
  /**
1135
1276
  * <p>Brief description of the exception returned by the request.</p>
1136
1277
  */
1137
1278
  Message?: string;
1279
+ /**
1280
+ * @internal
1281
+ */
1282
+ constructor(opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>);
1138
1283
  }
1139
1284
  /**
1140
1285
  * <p>This exception is thrown when the KMS key does not exist, when the S3 bucket and the
1141
1286
  * KMS key are not in the same region, or when the KMS key associated with the Amazon SNS
1142
1287
  * topic either does not exist or is not in the same region.</p>
1143
1288
  */
1144
- export interface KmsKeyNotFoundException extends __SmithyException, $MetadataBearer {
1145
- name: "KmsKeyNotFoundException";
1146
- $fault: "client";
1289
+ export declare class KmsKeyNotFoundException extends __BaseException {
1290
+ readonly name: "KmsKeyNotFoundException";
1291
+ readonly $fault: "client";
1147
1292
  /**
1148
1293
  * <p>Brief description of the exception returned by the request.</p>
1149
1294
  */
1150
1295
  Message?: string;
1296
+ /**
1297
+ * @internal
1298
+ */
1299
+ constructor(opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>);
1151
1300
  }
1152
1301
  /**
1153
1302
  * <p>This exception is thrown when the maximum number of trails is reached.</p>
1154
1303
  */
1155
- export interface MaximumNumberOfTrailsExceededException extends __SmithyException, $MetadataBearer {
1156
- name: "MaximumNumberOfTrailsExceededException";
1157
- $fault: "client";
1304
+ export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
1305
+ readonly name: "MaximumNumberOfTrailsExceededException";
1306
+ readonly $fault: "client";
1158
1307
  /**
1159
1308
  * <p>Brief description of the exception returned by the request.</p>
1160
1309
  */
1161
1310
  Message?: string;
1311
+ /**
1312
+ * @internal
1313
+ */
1314
+ constructor(opts: __ExceptionOptionType<MaximumNumberOfTrailsExceededException, __BaseException>);
1162
1315
  }
1163
1316
  /**
1164
1317
  * <p>This exception is thrown when the specified S3 bucket does not exist.</p>
1165
1318
  */
1166
- export interface S3BucketDoesNotExistException extends __SmithyException, $MetadataBearer {
1167
- name: "S3BucketDoesNotExistException";
1168
- $fault: "client";
1319
+ export declare class S3BucketDoesNotExistException extends __BaseException {
1320
+ readonly name: "S3BucketDoesNotExistException";
1321
+ readonly $fault: "client";
1169
1322
  /**
1170
1323
  * <p>Brief description of the exception returned by the request.</p>
1171
1324
  */
1172
1325
  Message?: string;
1326
+ /**
1327
+ * @internal
1328
+ */
1329
+ constructor(opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>);
1173
1330
  }
1174
1331
  /**
1175
1332
  * <p>This exception is thrown when the specified trail already exists.</p>
1176
1333
  */
1177
- export interface TrailAlreadyExistsException extends __SmithyException, $MetadataBearer {
1178
- name: "TrailAlreadyExistsException";
1179
- $fault: "client";
1334
+ export declare class TrailAlreadyExistsException extends __BaseException {
1335
+ readonly name: "TrailAlreadyExistsException";
1336
+ readonly $fault: "client";
1180
1337
  /**
1181
1338
  * <p>Brief description of the exception returned by the request.</p>
1182
1339
  */
1183
1340
  Message?: string;
1341
+ /**
1342
+ * @internal
1343
+ */
1344
+ constructor(opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>);
1184
1345
  }
1185
1346
  /**
1186
1347
  * <p>This exception is no longer in use.</p>
1187
1348
  */
1188
- export interface TrailNotProvidedException extends __SmithyException, $MetadataBearer {
1189
- name: "TrailNotProvidedException";
1190
- $fault: "client";
1349
+ export declare class TrailNotProvidedException extends __BaseException {
1350
+ readonly name: "TrailNotProvidedException";
1351
+ readonly $fault: "client";
1191
1352
  /**
1192
1353
  * <p>Brief description of the exception returned by the request.</p>
1193
1354
  */
1194
1355
  Message?: string;
1356
+ /**
1357
+ * @internal
1358
+ */
1359
+ constructor(opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>);
1195
1360
  }
1196
1361
  export interface DeleteEventDataStoreRequest {
1197
1362
  /**
@@ -1216,13 +1381,17 @@ export declare namespace DeleteEventDataStoreResponse {
1216
1381
  /**
1217
1382
  * <p>The event data store cannot be deleted because termination protection is enabled for it.</p>
1218
1383
  */
1219
- export interface EventDataStoreTerminationProtectedException extends __SmithyException, $MetadataBearer {
1220
- name: "EventDataStoreTerminationProtectedException";
1221
- $fault: "client";
1384
+ export declare class EventDataStoreTerminationProtectedException extends __BaseException {
1385
+ readonly name: "EventDataStoreTerminationProtectedException";
1386
+ readonly $fault: "client";
1222
1387
  /**
1223
1388
  * <p>Brief description of the exception returned by the request.</p>
1224
1389
  */
1225
1390
  Message?: string;
1391
+ /**
1392
+ * @internal
1393
+ */
1394
+ constructor(opts: __ExceptionOptionType<EventDataStoreTerminationProtectedException, __BaseException>);
1226
1395
  }
1227
1396
  /**
1228
1397
  * <p>The request that specifies the name of a trail to delete.</p>
@@ -1256,24 +1425,32 @@ export declare namespace DeleteTrailResponse {
1256
1425
  /**
1257
1426
  * <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
1427
  */
1259
- export interface InvalidHomeRegionException extends __SmithyException, $MetadataBearer {
1260
- name: "InvalidHomeRegionException";
1261
- $fault: "client";
1428
+ export declare class InvalidHomeRegionException extends __BaseException {
1429
+ readonly name: "InvalidHomeRegionException";
1430
+ readonly $fault: "client";
1262
1431
  /**
1263
1432
  * <p>Brief description of the exception returned by the request.</p>
1264
1433
  */
1265
1434
  Message?: string;
1435
+ /**
1436
+ * @internal
1437
+ */
1438
+ constructor(opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>);
1266
1439
  }
1267
1440
  /**
1268
1441
  * <p>This exception is thrown when the trail with the given name is not found.</p>
1269
1442
  */
1270
- export interface TrailNotFoundException extends __SmithyException, $MetadataBearer {
1271
- name: "TrailNotFoundException";
1272
- $fault: "client";
1443
+ export declare class TrailNotFoundException extends __BaseException {
1444
+ readonly name: "TrailNotFoundException";
1445
+ readonly $fault: "client";
1273
1446
  /**
1274
1447
  * <p>Brief description of the exception returned by the request.</p>
1275
1448
  */
1276
1449
  Message?: string;
1450
+ /**
1451
+ * @internal
1452
+ */
1453
+ constructor(opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>);
1277
1454
  }
1278
1455
  export interface DescribeQueryRequest {
1279
1456
  /**
@@ -1918,13 +2095,17 @@ export declare namespace GetInsightSelectorsResponse {
1918
2095
  /**
1919
2096
  * <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
2097
  */
1921
- export interface InsightNotEnabledException extends __SmithyException, $MetadataBearer {
1922
- name: "InsightNotEnabledException";
1923
- $fault: "client";
2098
+ export declare class InsightNotEnabledException extends __BaseException {
2099
+ readonly name: "InsightNotEnabledException";
2100
+ readonly $fault: "client";
1924
2101
  /**
1925
2102
  * <p>Brief description of the exception returned by the request.</p>
1926
2103
  */
1927
2104
  Message?: string;
2105
+ /**
2106
+ * @internal
2107
+ */
2108
+ constructor(opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>);
1928
2109
  }
1929
2110
  export interface GetQueryResultsRequest {
1930
2111
  /**
@@ -2003,24 +2184,32 @@ export declare namespace GetQueryResultsResponse {
2003
2184
  /**
2004
2185
  * <p>This exception is thrown if the limit specified is not valid.</p>
2005
2186
  */
2006
- export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
2007
- name: "InvalidMaxResultsException";
2008
- $fault: "client";
2187
+ export declare class InvalidMaxResultsException extends __BaseException {
2188
+ readonly name: "InvalidMaxResultsException";
2189
+ readonly $fault: "client";
2009
2190
  /**
2010
2191
  * <p>Brief description of the exception returned by the request.</p>
2011
2192
  */
2012
2193
  Message?: string;
2194
+ /**
2195
+ * @internal
2196
+ */
2197
+ constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
2013
2198
  }
2014
2199
  /**
2015
2200
  * <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
2201
  */
2017
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
2018
- name: "InvalidNextTokenException";
2019
- $fault: "client";
2202
+ export declare class InvalidNextTokenException extends __BaseException {
2203
+ readonly name: "InvalidNextTokenException";
2204
+ readonly $fault: "client";
2020
2205
  /**
2021
2206
  * <p>Brief description of the exception returned by the request.</p>
2022
2207
  */
2023
2208
  Message?: string;
2209
+ /**
2210
+ * @internal
2211
+ */
2212
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
2024
2213
  }
2025
2214
  export interface GetTrailRequest {
2026
2215
  /**
@@ -2251,24 +2440,32 @@ export declare namespace ListEventDataStoresResponse {
2251
2440
  /**
2252
2441
  * <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
2442
  */
2254
- export interface InvalidTimeRangeException extends __SmithyException, $MetadataBearer {
2255
- name: "InvalidTimeRangeException";
2256
- $fault: "client";
2443
+ export declare class InvalidTimeRangeException extends __BaseException {
2444
+ readonly name: "InvalidTimeRangeException";
2445
+ readonly $fault: "client";
2257
2446
  /**
2258
2447
  * <p>Brief description of the exception returned by the request.</p>
2259
2448
  */
2260
2449
  Message?: string;
2450
+ /**
2451
+ * @internal
2452
+ */
2453
+ constructor(opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>);
2261
2454
  }
2262
2455
  /**
2263
2456
  * <p>Reserved for future use.</p>
2264
2457
  */
2265
- export interface InvalidTokenException extends __SmithyException, $MetadataBearer {
2266
- name: "InvalidTokenException";
2267
- $fault: "client";
2458
+ export declare class InvalidTokenException extends __BaseException {
2459
+ readonly name: "InvalidTokenException";
2460
+ readonly $fault: "client";
2268
2461
  /**
2269
2462
  * <p>Brief description of the exception returned by the request.</p>
2270
2463
  */
2271
2464
  Message?: string;
2465
+ /**
2466
+ * @internal
2467
+ */
2468
+ constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
2272
2469
  }
2273
2470
  /**
2274
2471
  * <p>Requests the public keys for a specified time range.</p>
@@ -2349,24 +2546,32 @@ export declare namespace ListPublicKeysResponse {
2349
2546
  * about writing a query, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create
2350
2547
  * or edit a query</a> in the <i>CloudTrail User Guide</i>.</p>
2351
2548
  */
2352
- export interface InvalidDateRangeException extends __SmithyException, $MetadataBearer {
2353
- name: "InvalidDateRangeException";
2354
- $fault: "client";
2549
+ export declare class InvalidDateRangeException extends __BaseException {
2550
+ readonly name: "InvalidDateRangeException";
2551
+ readonly $fault: "client";
2355
2552
  /**
2356
2553
  * <p>Brief description of the exception returned by the request.</p>
2357
2554
  */
2358
2555
  Message?: string;
2556
+ /**
2557
+ * @internal
2558
+ */
2559
+ constructor(opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>);
2359
2560
  }
2360
2561
  /**
2361
2562
  * <p>The query status is not valid for the operation.</p>
2362
2563
  */
2363
- export interface InvalidQueryStatusException extends __SmithyException, $MetadataBearer {
2364
- name: "InvalidQueryStatusException";
2365
- $fault: "client";
2564
+ export declare class InvalidQueryStatusException extends __BaseException {
2565
+ readonly name: "InvalidQueryStatusException";
2566
+ readonly $fault: "client";
2366
2567
  /**
2367
2568
  * <p>Brief description of the exception returned by the request.</p>
2368
2569
  */
2369
2570
  Message?: string;
2571
+ /**
2572
+ * @internal
2573
+ */
2574
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>);
2370
2575
  }
2371
2576
  export interface ListQueriesRequest {
2372
2577
  /**
@@ -2564,24 +2769,32 @@ export declare namespace ListTrailsResponse {
2564
2769
  /**
2565
2770
  * <p>Occurs if an event category that is not valid is specified as a value of <code>EventCategory</code>.</p>
2566
2771
  */
2567
- export interface InvalidEventCategoryException extends __SmithyException, $MetadataBearer {
2568
- name: "InvalidEventCategoryException";
2569
- $fault: "client";
2772
+ export declare class InvalidEventCategoryException extends __BaseException {
2773
+ readonly name: "InvalidEventCategoryException";
2774
+ readonly $fault: "client";
2570
2775
  /**
2571
2776
  * <p>Brief description of the exception returned by the request.</p>
2572
2777
  */
2573
2778
  Message?: string;
2779
+ /**
2780
+ * @internal
2781
+ */
2782
+ constructor(opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>);
2574
2783
  }
2575
2784
  /**
2576
2785
  * <p>Occurs when a lookup attribute is specified that is not valid.</p>
2577
2786
  */
2578
- export interface InvalidLookupAttributesException extends __SmithyException, $MetadataBearer {
2579
- name: "InvalidLookupAttributesException";
2580
- $fault: "client";
2787
+ export declare class InvalidLookupAttributesException extends __BaseException {
2788
+ readonly name: "InvalidLookupAttributesException";
2789
+ readonly $fault: "client";
2581
2790
  /**
2582
2791
  * <p>Brief description of the exception returned by the request.</p>
2583
2792
  */
2584
2793
  Message?: string;
2794
+ /**
2795
+ * @internal
2796
+ */
2797
+ constructor(opts: __ExceptionOptionType<InvalidLookupAttributesException, __BaseException>);
2585
2798
  }
2586
2799
  export declare enum EventCategory {
2587
2800
  Insight = "insight"
@@ -2769,13 +2982,17 @@ export declare namespace LookupEventsResponse {
2769
2982
  * </li>
2770
2983
  * </ul>
2771
2984
  */
2772
- export interface InvalidEventSelectorsException extends __SmithyException, $MetadataBearer {
2773
- name: "InvalidEventSelectorsException";
2774
- $fault: "client";
2985
+ export declare class InvalidEventSelectorsException extends __BaseException {
2986
+ readonly name: "InvalidEventSelectorsException";
2987
+ readonly $fault: "client";
2775
2988
  /**
2776
2989
  * <p>Brief description of the exception returned by the request.</p>
2777
2990
  */
2778
2991
  Message?: string;
2992
+ /**
2993
+ * @internal
2994
+ */
2995
+ constructor(opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>);
2779
2996
  }
2780
2997
  export interface PutEventSelectorsRequest {
2781
2998
  /**
@@ -2857,13 +3074,17 @@ export declare namespace PutEventSelectorsResponse {
2857
3074
  * <p>The formatting or syntax of the <code>InsightSelectors</code> JSON statement in your <code>PutInsightSelectors</code> or <code>GetInsightSelectors</code> request
2858
3075
  * is not valid, or the specified insight type in the <code>InsightSelectors</code> statement is not a valid insight type.</p>
2859
3076
  */
2860
- export interface InvalidInsightSelectorsException extends __SmithyException, $MetadataBearer {
2861
- name: "InvalidInsightSelectorsException";
2862
- $fault: "client";
3077
+ export declare class InvalidInsightSelectorsException extends __BaseException {
3078
+ readonly name: "InvalidInsightSelectorsException";
3079
+ readonly $fault: "client";
2863
3080
  /**
2864
3081
  * <p>Brief description of the exception returned by the request.</p>
2865
3082
  */
2866
3083
  Message?: string;
3084
+ /**
3085
+ * @internal
3086
+ */
3087
+ constructor(opts: __ExceptionOptionType<InvalidInsightSelectorsException, __BaseException>);
2867
3088
  }
2868
3089
  export interface PutInsightSelectorsRequest {
2869
3090
  /**
@@ -2934,13 +3155,17 @@ export declare namespace RemoveTagsResponse {
2934
3155
  /**
2935
3156
  * <p>The event data store is not in a status that supports the operation.</p>
2936
3157
  */
2937
- export interface InvalidEventDataStoreStatusException extends __SmithyException, $MetadataBearer {
2938
- name: "InvalidEventDataStoreStatusException";
2939
- $fault: "client";
3158
+ export declare class InvalidEventDataStoreStatusException extends __BaseException {
3159
+ readonly name: "InvalidEventDataStoreStatusException";
3160
+ readonly $fault: "client";
2940
3161
  /**
2941
3162
  * <p>Brief description of the exception returned by the request.</p>
2942
3163
  */
2943
3164
  Message?: string;
3165
+ /**
3166
+ * @internal
3167
+ */
3168
+ constructor(opts: __ExceptionOptionType<InvalidEventDataStoreStatusException, __BaseException>);
2944
3169
  }
2945
3170
  export interface RestoreEventDataStoreRequest {
2946
3171
  /**
@@ -3039,25 +3264,33 @@ export declare namespace StartLoggingResponse {
3039
3264
  * about writing a query, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create
3040
3265
  * or edit a query</a> in the <i>CloudTrail User Guide</i>.</p>
3041
3266
  */
3042
- export interface InvalidQueryStatementException extends __SmithyException, $MetadataBearer {
3043
- name: "InvalidQueryStatementException";
3044
- $fault: "client";
3267
+ export declare class InvalidQueryStatementException extends __BaseException {
3268
+ readonly name: "InvalidQueryStatementException";
3269
+ readonly $fault: "client";
3045
3270
  /**
3046
3271
  * <p>Brief description of the exception returned by the request.</p>
3047
3272
  */
3048
3273
  Message?: string;
3274
+ /**
3275
+ * @internal
3276
+ */
3277
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>);
3049
3278
  }
3050
3279
  /**
3051
3280
  * <p>You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then
3052
3281
  * run the query again.</p>
3053
3282
  */
3054
- export interface MaxConcurrentQueriesException extends __SmithyException, $MetadataBearer {
3055
- name: "MaxConcurrentQueriesException";
3056
- $fault: "client";
3283
+ export declare class MaxConcurrentQueriesException extends __BaseException {
3284
+ readonly name: "MaxConcurrentQueriesException";
3285
+ readonly $fault: "client";
3057
3286
  /**
3058
3287
  * <p>Brief description of the exception returned by the request.</p>
3059
3288
  */
3060
3289
  Message?: string;
3290
+ /**
3291
+ * @internal
3292
+ */
3293
+ constructor(opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>);
3061
3294
  }
3062
3295
  export interface StartQueryRequest {
3063
3296
  /**