@aws-sdk/client-cloudtrail 3.301.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +62 -72
- package/dist-es/models/models_0.js +62 -72
- package/dist-types/models/models_0.d.ts +112 -62
- package/dist-types/ts3.4/models/models_0.d.ts +77 -62
- package/package.json +34 -34
|
@@ -255,15 +255,14 @@ class UnsupportedOperationException extends CloudTrailServiceException_1.CloudTr
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
})(QueryStatus = exports.QueryStatus || (exports.QueryStatus = {}));
|
|
258
|
+
exports.QueryStatus = {
|
|
259
|
+
CANCELLED: "CANCELLED",
|
|
260
|
+
FAILED: "FAILED",
|
|
261
|
+
FINISHED: "FINISHED",
|
|
262
|
+
QUEUED: "QUEUED",
|
|
263
|
+
RUNNING: "RUNNING",
|
|
264
|
+
TIMED_OUT: "TIMED_OUT",
|
|
265
|
+
};
|
|
267
266
|
class EventDataStoreARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
268
267
|
constructor(opts) {
|
|
269
268
|
super({
|
|
@@ -390,11 +389,10 @@ class ChannelMaxLimitExceededException extends CloudTrailServiceException_1.Clou
|
|
|
390
389
|
}
|
|
391
390
|
}
|
|
392
391
|
exports.ChannelMaxLimitExceededException = ChannelMaxLimitExceededException;
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
})(DestinationType = exports.DestinationType || (exports.DestinationType = {}));
|
|
392
|
+
exports.DestinationType = {
|
|
393
|
+
AWS_SERVICE: "AWS_SERVICE",
|
|
394
|
+
EVENT_DATA_STORE: "EVENT_DATA_STORE",
|
|
395
|
+
};
|
|
398
396
|
class InvalidEventDataStoreCategoryException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
399
397
|
constructor(opts) {
|
|
400
398
|
super({
|
|
@@ -437,12 +435,11 @@ class CloudTrailAccessNotEnabledException extends CloudTrailServiceException_1.C
|
|
|
437
435
|
}
|
|
438
436
|
}
|
|
439
437
|
exports.CloudTrailAccessNotEnabledException = CloudTrailAccessNotEnabledException;
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
})(EventDataStoreStatus = exports.EventDataStoreStatus || (exports.EventDataStoreStatus = {}));
|
|
438
|
+
exports.EventDataStoreStatus = {
|
|
439
|
+
CREATED: "CREATED",
|
|
440
|
+
ENABLED: "ENABLED",
|
|
441
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
442
|
+
};
|
|
446
443
|
class EventDataStoreAlreadyExistsException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
447
444
|
constructor(opts) {
|
|
448
445
|
super({
|
|
@@ -891,32 +888,29 @@ class NotOrganizationManagementAccountException extends CloudTrailServiceExcepti
|
|
|
891
888
|
}
|
|
892
889
|
}
|
|
893
890
|
exports.NotOrganizationManagementAccountException = NotOrganizationManagementAccountException;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
ImportStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
918
|
-
ImportStatus["STOPPED"] = "STOPPED";
|
|
919
|
-
})(ImportStatus = exports.ImportStatus || (exports.ImportStatus = {}));
|
|
891
|
+
exports.DeliveryStatus = {
|
|
892
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
893
|
+
ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE",
|
|
894
|
+
CANCELLED: "CANCELLED",
|
|
895
|
+
FAILED: "FAILED",
|
|
896
|
+
FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE",
|
|
897
|
+
PENDING: "PENDING",
|
|
898
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
899
|
+
SUCCESS: "SUCCESS",
|
|
900
|
+
UNKNOWN: "UNKNOWN",
|
|
901
|
+
};
|
|
902
|
+
exports.ReadWriteType = {
|
|
903
|
+
All: "All",
|
|
904
|
+
ReadOnly: "ReadOnly",
|
|
905
|
+
WriteOnly: "WriteOnly",
|
|
906
|
+
};
|
|
907
|
+
exports.ImportStatus = {
|
|
908
|
+
COMPLETED: "COMPLETED",
|
|
909
|
+
FAILED: "FAILED",
|
|
910
|
+
INITIALIZING: "INITIALIZING",
|
|
911
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
912
|
+
STOPPED: "STOPPED",
|
|
913
|
+
};
|
|
920
914
|
class ImportNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
921
915
|
constructor(opts) {
|
|
922
916
|
super({
|
|
@@ -931,11 +925,10 @@ class ImportNotFoundException extends CloudTrailServiceException_1.CloudTrailSer
|
|
|
931
925
|
}
|
|
932
926
|
}
|
|
933
927
|
exports.ImportNotFoundException = ImportNotFoundException;
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
})(InsightType = exports.InsightType || (exports.InsightType = {}));
|
|
928
|
+
exports.InsightType = {
|
|
929
|
+
ApiCallRateInsight: "ApiCallRateInsight",
|
|
930
|
+
ApiErrorRateInsight: "ApiErrorRateInsight",
|
|
931
|
+
};
|
|
939
932
|
class InsightNotEnabledException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
940
933
|
constructor(opts) {
|
|
941
934
|
super({
|
|
@@ -978,12 +971,11 @@ class InvalidNextTokenException extends CloudTrailServiceException_1.CloudTrailS
|
|
|
978
971
|
}
|
|
979
972
|
}
|
|
980
973
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
})(ImportFailureStatus = exports.ImportFailureStatus || (exports.ImportFailureStatus = {}));
|
|
974
|
+
exports.ImportFailureStatus = {
|
|
975
|
+
FAILED: "FAILED",
|
|
976
|
+
RETRY: "RETRY",
|
|
977
|
+
SUCCEEDED: "SUCCEEDED",
|
|
978
|
+
};
|
|
987
979
|
class InvalidTimeRangeException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
988
980
|
constructor(opts) {
|
|
989
981
|
super({
|
|
@@ -1068,21 +1060,19 @@ class InvalidLookupAttributesException extends CloudTrailServiceException_1.Clou
|
|
|
1068
1060
|
}
|
|
1069
1061
|
}
|
|
1070
1062
|
exports.InvalidLookupAttributesException = InvalidLookupAttributesException;
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
LookupAttributeKey["USERNAME"] = "Username";
|
|
1085
|
-
})(LookupAttributeKey = exports.LookupAttributeKey || (exports.LookupAttributeKey = {}));
|
|
1063
|
+
exports.EventCategory = {
|
|
1064
|
+
Insight: "insight",
|
|
1065
|
+
};
|
|
1066
|
+
exports.LookupAttributeKey = {
|
|
1067
|
+
ACCESS_KEY_ID: "AccessKeyId",
|
|
1068
|
+
EVENT_ID: "EventId",
|
|
1069
|
+
EVENT_NAME: "EventName",
|
|
1070
|
+
EVENT_SOURCE: "EventSource",
|
|
1071
|
+
READ_ONLY: "ReadOnly",
|
|
1072
|
+
RESOURCE_NAME: "ResourceName",
|
|
1073
|
+
RESOURCE_TYPE: "ResourceType",
|
|
1074
|
+
USERNAME: "Username",
|
|
1075
|
+
};
|
|
1086
1076
|
class InvalidInsightSelectorsException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
1087
1077
|
constructor(opts) {
|
|
1088
1078
|
super({
|
|
@@ -233,15 +233,14 @@ export class UnsupportedOperationException extends __BaseException {
|
|
|
233
233
|
this.Message = opts.Message;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
export
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
})(QueryStatus || (QueryStatus = {}));
|
|
236
|
+
export const QueryStatus = {
|
|
237
|
+
CANCELLED: "CANCELLED",
|
|
238
|
+
FAILED: "FAILED",
|
|
239
|
+
FINISHED: "FINISHED",
|
|
240
|
+
QUEUED: "QUEUED",
|
|
241
|
+
RUNNING: "RUNNING",
|
|
242
|
+
TIMED_OUT: "TIMED_OUT",
|
|
243
|
+
};
|
|
245
244
|
export class EventDataStoreARNInvalidException extends __BaseException {
|
|
246
245
|
constructor(opts) {
|
|
247
246
|
super({
|
|
@@ -359,11 +358,10 @@ export class ChannelMaxLimitExceededException extends __BaseException {
|
|
|
359
358
|
this.Message = opts.Message;
|
|
360
359
|
}
|
|
361
360
|
}
|
|
362
|
-
export
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
})(DestinationType || (DestinationType = {}));
|
|
361
|
+
export const DestinationType = {
|
|
362
|
+
AWS_SERVICE: "AWS_SERVICE",
|
|
363
|
+
EVENT_DATA_STORE: "EVENT_DATA_STORE",
|
|
364
|
+
};
|
|
367
365
|
export class InvalidEventDataStoreCategoryException extends __BaseException {
|
|
368
366
|
constructor(opts) {
|
|
369
367
|
super({
|
|
@@ -403,12 +401,11 @@ export class CloudTrailAccessNotEnabledException extends __BaseException {
|
|
|
403
401
|
this.Message = opts.Message;
|
|
404
402
|
}
|
|
405
403
|
}
|
|
406
|
-
export
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
})(EventDataStoreStatus || (EventDataStoreStatus = {}));
|
|
404
|
+
export const EventDataStoreStatus = {
|
|
405
|
+
CREATED: "CREATED",
|
|
406
|
+
ENABLED: "ENABLED",
|
|
407
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
408
|
+
};
|
|
412
409
|
export class EventDataStoreAlreadyExistsException extends __BaseException {
|
|
413
410
|
constructor(opts) {
|
|
414
411
|
super({
|
|
@@ -825,32 +822,29 @@ export class NotOrganizationManagementAccountException extends __BaseException {
|
|
|
825
822
|
this.Message = opts.Message;
|
|
826
823
|
}
|
|
827
824
|
}
|
|
828
|
-
export
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
ImportStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
852
|
-
ImportStatus["STOPPED"] = "STOPPED";
|
|
853
|
-
})(ImportStatus || (ImportStatus = {}));
|
|
825
|
+
export const DeliveryStatus = {
|
|
826
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
827
|
+
ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE",
|
|
828
|
+
CANCELLED: "CANCELLED",
|
|
829
|
+
FAILED: "FAILED",
|
|
830
|
+
FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE",
|
|
831
|
+
PENDING: "PENDING",
|
|
832
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
833
|
+
SUCCESS: "SUCCESS",
|
|
834
|
+
UNKNOWN: "UNKNOWN",
|
|
835
|
+
};
|
|
836
|
+
export const ReadWriteType = {
|
|
837
|
+
All: "All",
|
|
838
|
+
ReadOnly: "ReadOnly",
|
|
839
|
+
WriteOnly: "WriteOnly",
|
|
840
|
+
};
|
|
841
|
+
export const ImportStatus = {
|
|
842
|
+
COMPLETED: "COMPLETED",
|
|
843
|
+
FAILED: "FAILED",
|
|
844
|
+
INITIALIZING: "INITIALIZING",
|
|
845
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
846
|
+
STOPPED: "STOPPED",
|
|
847
|
+
};
|
|
854
848
|
export class ImportNotFoundException extends __BaseException {
|
|
855
849
|
constructor(opts) {
|
|
856
850
|
super({
|
|
@@ -864,11 +858,10 @@ export class ImportNotFoundException extends __BaseException {
|
|
|
864
858
|
this.Message = opts.Message;
|
|
865
859
|
}
|
|
866
860
|
}
|
|
867
|
-
export
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
})(InsightType || (InsightType = {}));
|
|
861
|
+
export const InsightType = {
|
|
862
|
+
ApiCallRateInsight: "ApiCallRateInsight",
|
|
863
|
+
ApiErrorRateInsight: "ApiErrorRateInsight",
|
|
864
|
+
};
|
|
872
865
|
export class InsightNotEnabledException extends __BaseException {
|
|
873
866
|
constructor(opts) {
|
|
874
867
|
super({
|
|
@@ -908,12 +901,11 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
908
901
|
this.Message = opts.Message;
|
|
909
902
|
}
|
|
910
903
|
}
|
|
911
|
-
export
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
})(ImportFailureStatus || (ImportFailureStatus = {}));
|
|
904
|
+
export const ImportFailureStatus = {
|
|
905
|
+
FAILED: "FAILED",
|
|
906
|
+
RETRY: "RETRY",
|
|
907
|
+
SUCCEEDED: "SUCCEEDED",
|
|
908
|
+
};
|
|
917
909
|
export class InvalidTimeRangeException extends __BaseException {
|
|
918
910
|
constructor(opts) {
|
|
919
911
|
super({
|
|
@@ -992,21 +984,19 @@ export class InvalidLookupAttributesException extends __BaseException {
|
|
|
992
984
|
this.Message = opts.Message;
|
|
993
985
|
}
|
|
994
986
|
}
|
|
995
|
-
export
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
LookupAttributeKey["USERNAME"] = "Username";
|
|
1009
|
-
})(LookupAttributeKey || (LookupAttributeKey = {}));
|
|
987
|
+
export const EventCategory = {
|
|
988
|
+
Insight: "insight",
|
|
989
|
+
};
|
|
990
|
+
export const LookupAttributeKey = {
|
|
991
|
+
ACCESS_KEY_ID: "AccessKeyId",
|
|
992
|
+
EVENT_ID: "EventId",
|
|
993
|
+
EVENT_NAME: "EventName",
|
|
994
|
+
EVENT_SOURCE: "EventSource",
|
|
995
|
+
READ_ONLY: "ReadOnly",
|
|
996
|
+
RESOURCE_NAME: "ResourceName",
|
|
997
|
+
RESOURCE_TYPE: "ResourceType",
|
|
998
|
+
USERNAME: "Username",
|
|
999
|
+
};
|
|
1010
1000
|
export class InvalidInsightSelectorsException extends __BaseException {
|
|
1011
1001
|
constructor(opts) {
|
|
1012
1002
|
super({
|
|
@@ -803,15 +803,20 @@ export interface CancelQueryRequest {
|
|
|
803
803
|
}
|
|
804
804
|
/**
|
|
805
805
|
* @public
|
|
806
|
+
* @enum
|
|
806
807
|
*/
|
|
807
|
-
export declare
|
|
808
|
-
CANCELLED
|
|
809
|
-
FAILED
|
|
810
|
-
FINISHED
|
|
811
|
-
QUEUED
|
|
812
|
-
RUNNING
|
|
813
|
-
TIMED_OUT
|
|
814
|
-
}
|
|
808
|
+
export declare const QueryStatus: {
|
|
809
|
+
readonly CANCELLED: "CANCELLED";
|
|
810
|
+
readonly FAILED: "FAILED";
|
|
811
|
+
readonly FINISHED: "FINISHED";
|
|
812
|
+
readonly QUEUED: "QUEUED";
|
|
813
|
+
readonly RUNNING: "RUNNING";
|
|
814
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
815
|
+
};
|
|
816
|
+
/**
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
|
|
815
820
|
/**
|
|
816
821
|
* @public
|
|
817
822
|
*/
|
|
@@ -999,11 +1004,16 @@ export declare class ChannelMaxLimitExceededException extends __BaseException {
|
|
|
999
1004
|
}
|
|
1000
1005
|
/**
|
|
1001
1006
|
* @public
|
|
1007
|
+
* @enum
|
|
1002
1008
|
*/
|
|
1003
|
-
export declare
|
|
1004
|
-
AWS_SERVICE
|
|
1005
|
-
EVENT_DATA_STORE
|
|
1006
|
-
}
|
|
1009
|
+
export declare const DestinationType: {
|
|
1010
|
+
readonly AWS_SERVICE: "AWS_SERVICE";
|
|
1011
|
+
readonly EVENT_DATA_STORE: "EVENT_DATA_STORE";
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* @public
|
|
1015
|
+
*/
|
|
1016
|
+
export type DestinationType = (typeof DestinationType)[keyof typeof DestinationType];
|
|
1007
1017
|
/**
|
|
1008
1018
|
* @public
|
|
1009
1019
|
* <p>Contains information about the destination receiving events.</p>
|
|
@@ -1207,12 +1217,17 @@ export interface CreateEventDataStoreRequest {
|
|
|
1207
1217
|
}
|
|
1208
1218
|
/**
|
|
1209
1219
|
* @public
|
|
1220
|
+
* @enum
|
|
1210
1221
|
*/
|
|
1211
|
-
export declare
|
|
1212
|
-
CREATED
|
|
1213
|
-
ENABLED
|
|
1214
|
-
PENDING_DELETION
|
|
1215
|
-
}
|
|
1222
|
+
export declare const EventDataStoreStatus: {
|
|
1223
|
+
readonly CREATED: "CREATED";
|
|
1224
|
+
readonly ENABLED: "ENABLED";
|
|
1225
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* @public
|
|
1229
|
+
*/
|
|
1230
|
+
export type EventDataStoreStatus = (typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
|
|
1216
1231
|
/**
|
|
1217
1232
|
* @public
|
|
1218
1233
|
*/
|
|
@@ -2144,18 +2159,23 @@ export interface DescribeQueryRequest {
|
|
|
2144
2159
|
}
|
|
2145
2160
|
/**
|
|
2146
2161
|
* @public
|
|
2162
|
+
* @enum
|
|
2147
2163
|
*/
|
|
2148
|
-
export declare
|
|
2149
|
-
ACCESS_DENIED
|
|
2150
|
-
ACCESS_DENIED_SIGNING_FILE
|
|
2151
|
-
CANCELLED
|
|
2152
|
-
FAILED
|
|
2153
|
-
FAILED_SIGNING_FILE
|
|
2154
|
-
PENDING
|
|
2155
|
-
RESOURCE_NOT_FOUND
|
|
2156
|
-
SUCCESS
|
|
2157
|
-
UNKNOWN
|
|
2158
|
-
}
|
|
2164
|
+
export declare const DeliveryStatus: {
|
|
2165
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
2166
|
+
readonly ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE";
|
|
2167
|
+
readonly CANCELLED: "CANCELLED";
|
|
2168
|
+
readonly FAILED: "FAILED";
|
|
2169
|
+
readonly FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE";
|
|
2170
|
+
readonly PENDING: "PENDING";
|
|
2171
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
2172
|
+
readonly SUCCESS: "SUCCESS";
|
|
2173
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
2174
|
+
};
|
|
2175
|
+
/**
|
|
2176
|
+
* @public
|
|
2177
|
+
*/
|
|
2178
|
+
export type DeliveryStatus = (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
|
|
2159
2179
|
/**
|
|
2160
2180
|
* @public
|
|
2161
2181
|
* <p>Gets metadata about a query, including the number of events that were matched, the total
|
|
@@ -2760,12 +2780,17 @@ export interface DataResource {
|
|
|
2760
2780
|
}
|
|
2761
2781
|
/**
|
|
2762
2782
|
* @public
|
|
2783
|
+
* @enum
|
|
2763
2784
|
*/
|
|
2764
|
-
export declare
|
|
2765
|
-
All
|
|
2766
|
-
ReadOnly
|
|
2767
|
-
WriteOnly
|
|
2768
|
-
}
|
|
2785
|
+
export declare const ReadWriteType: {
|
|
2786
|
+
readonly All: "All";
|
|
2787
|
+
readonly ReadOnly: "ReadOnly";
|
|
2788
|
+
readonly WriteOnly: "WriteOnly";
|
|
2789
|
+
};
|
|
2790
|
+
/**
|
|
2791
|
+
* @public
|
|
2792
|
+
*/
|
|
2793
|
+
export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
|
|
2769
2794
|
/**
|
|
2770
2795
|
* @public
|
|
2771
2796
|
* <p>Use event selectors to further specify the management and data event settings for your
|
|
@@ -2901,14 +2926,19 @@ export interface ImportStatistics {
|
|
|
2901
2926
|
}
|
|
2902
2927
|
/**
|
|
2903
2928
|
* @public
|
|
2929
|
+
* @enum
|
|
2904
2930
|
*/
|
|
2905
|
-
export declare
|
|
2906
|
-
COMPLETED
|
|
2907
|
-
FAILED
|
|
2908
|
-
INITIALIZING
|
|
2909
|
-
IN_PROGRESS
|
|
2910
|
-
STOPPED
|
|
2911
|
-
}
|
|
2931
|
+
export declare const ImportStatus: {
|
|
2932
|
+
readonly COMPLETED: "COMPLETED";
|
|
2933
|
+
readonly FAILED: "FAILED";
|
|
2934
|
+
readonly INITIALIZING: "INITIALIZING";
|
|
2935
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
2936
|
+
readonly STOPPED: "STOPPED";
|
|
2937
|
+
};
|
|
2938
|
+
/**
|
|
2939
|
+
* @public
|
|
2940
|
+
*/
|
|
2941
|
+
export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
|
|
2912
2942
|
/**
|
|
2913
2943
|
* @public
|
|
2914
2944
|
*/
|
|
@@ -3008,11 +3038,16 @@ export interface GetInsightSelectorsRequest {
|
|
|
3008
3038
|
}
|
|
3009
3039
|
/**
|
|
3010
3040
|
* @public
|
|
3041
|
+
* @enum
|
|
3011
3042
|
*/
|
|
3012
|
-
export declare
|
|
3013
|
-
ApiCallRateInsight
|
|
3014
|
-
ApiErrorRateInsight
|
|
3015
|
-
}
|
|
3043
|
+
export declare const InsightType: {
|
|
3044
|
+
readonly ApiCallRateInsight: "ApiCallRateInsight";
|
|
3045
|
+
readonly ApiErrorRateInsight: "ApiErrorRateInsight";
|
|
3046
|
+
};
|
|
3047
|
+
/**
|
|
3048
|
+
* @public
|
|
3049
|
+
*/
|
|
3050
|
+
export type InsightType = (typeof InsightType)[keyof typeof InsightType];
|
|
3016
3051
|
/**
|
|
3017
3052
|
* @public
|
|
3018
3053
|
* <p>A JSON string that contains a list of insight types that are logged on a trail.</p>
|
|
@@ -3476,12 +3511,17 @@ export interface ListImportFailuresRequest {
|
|
|
3476
3511
|
}
|
|
3477
3512
|
/**
|
|
3478
3513
|
* @public
|
|
3514
|
+
* @enum
|
|
3479
3515
|
*/
|
|
3480
|
-
export declare
|
|
3481
|
-
FAILED
|
|
3482
|
-
RETRY
|
|
3483
|
-
SUCCEEDED
|
|
3484
|
-
}
|
|
3516
|
+
export declare const ImportFailureStatus: {
|
|
3517
|
+
readonly FAILED: "FAILED";
|
|
3518
|
+
readonly RETRY: "RETRY";
|
|
3519
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
3520
|
+
};
|
|
3521
|
+
/**
|
|
3522
|
+
* @public
|
|
3523
|
+
*/
|
|
3524
|
+
export type ImportFailureStatus = (typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
|
|
3485
3525
|
/**
|
|
3486
3526
|
* @public
|
|
3487
3527
|
* <p> Provides information about an import failure. </p>
|
|
@@ -3906,23 +3946,33 @@ export declare class InvalidLookupAttributesException extends __BaseException {
|
|
|
3906
3946
|
}
|
|
3907
3947
|
/**
|
|
3908
3948
|
* @public
|
|
3949
|
+
* @enum
|
|
3909
3950
|
*/
|
|
3910
|
-
export declare
|
|
3911
|
-
Insight
|
|
3912
|
-
}
|
|
3951
|
+
export declare const EventCategory: {
|
|
3952
|
+
readonly Insight: "insight";
|
|
3953
|
+
};
|
|
3913
3954
|
/**
|
|
3914
3955
|
* @public
|
|
3915
3956
|
*/
|
|
3916
|
-
export
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3957
|
+
export type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
|
|
3958
|
+
/**
|
|
3959
|
+
* @public
|
|
3960
|
+
* @enum
|
|
3961
|
+
*/
|
|
3962
|
+
export declare const LookupAttributeKey: {
|
|
3963
|
+
readonly ACCESS_KEY_ID: "AccessKeyId";
|
|
3964
|
+
readonly EVENT_ID: "EventId";
|
|
3965
|
+
readonly EVENT_NAME: "EventName";
|
|
3966
|
+
readonly EVENT_SOURCE: "EventSource";
|
|
3967
|
+
readonly READ_ONLY: "ReadOnly";
|
|
3968
|
+
readonly RESOURCE_NAME: "ResourceName";
|
|
3969
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
3970
|
+
readonly USERNAME: "Username";
|
|
3971
|
+
};
|
|
3972
|
+
/**
|
|
3973
|
+
* @public
|
|
3974
|
+
*/
|
|
3975
|
+
export type LookupAttributeKey = (typeof LookupAttributeKey)[keyof typeof LookupAttributeKey];
|
|
3926
3976
|
/**
|
|
3927
3977
|
* @public
|
|
3928
3978
|
* <p>Specifies an attribute and value that filter the events returned.</p>
|
|
@@ -186,14 +186,15 @@ export interface CancelQueryRequest {
|
|
|
186
186
|
EventDataStore?: string;
|
|
187
187
|
QueryId: string | undefined;
|
|
188
188
|
}
|
|
189
|
-
export declare
|
|
190
|
-
CANCELLED
|
|
191
|
-
FAILED
|
|
192
|
-
FINISHED
|
|
193
|
-
QUEUED
|
|
194
|
-
RUNNING
|
|
195
|
-
TIMED_OUT
|
|
196
|
-
}
|
|
189
|
+
export declare const QueryStatus: {
|
|
190
|
+
readonly CANCELLED: "CANCELLED";
|
|
191
|
+
readonly FAILED: "FAILED";
|
|
192
|
+
readonly FINISHED: "FINISHED";
|
|
193
|
+
readonly QUEUED: "QUEUED";
|
|
194
|
+
readonly RUNNING: "RUNNING";
|
|
195
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
196
|
+
};
|
|
197
|
+
export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
|
|
197
198
|
export interface CancelQueryResponse {
|
|
198
199
|
QueryId: string | undefined;
|
|
199
200
|
QueryStatus: QueryStatus | string | undefined;
|
|
@@ -283,10 +284,12 @@ export declare class ChannelMaxLimitExceededException extends __BaseException {
|
|
|
283
284
|
>
|
|
284
285
|
);
|
|
285
286
|
}
|
|
286
|
-
export declare
|
|
287
|
-
AWS_SERVICE
|
|
288
|
-
EVENT_DATA_STORE
|
|
289
|
-
}
|
|
287
|
+
export declare const DestinationType: {
|
|
288
|
+
readonly AWS_SERVICE: "AWS_SERVICE";
|
|
289
|
+
readonly EVENT_DATA_STORE: "EVENT_DATA_STORE";
|
|
290
|
+
};
|
|
291
|
+
export type DestinationType =
|
|
292
|
+
(typeof DestinationType)[keyof typeof DestinationType];
|
|
290
293
|
export interface Destination {
|
|
291
294
|
Type: DestinationType | string | undefined;
|
|
292
295
|
Location: string | undefined;
|
|
@@ -344,11 +347,13 @@ export interface CreateEventDataStoreRequest {
|
|
|
344
347
|
TagsList?: Tag[];
|
|
345
348
|
KmsKeyId?: string;
|
|
346
349
|
}
|
|
347
|
-
export declare
|
|
348
|
-
CREATED
|
|
349
|
-
ENABLED
|
|
350
|
-
PENDING_DELETION
|
|
351
|
-
}
|
|
350
|
+
export declare const EventDataStoreStatus: {
|
|
351
|
+
readonly CREATED: "CREATED";
|
|
352
|
+
readonly ENABLED: "ENABLED";
|
|
353
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
354
|
+
};
|
|
355
|
+
export type EventDataStoreStatus =
|
|
356
|
+
(typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
|
|
352
357
|
export interface CreateEventDataStoreResponse {
|
|
353
358
|
EventDataStoreArn?: string;
|
|
354
359
|
Name?: string;
|
|
@@ -721,17 +726,19 @@ export interface DescribeQueryRequest {
|
|
|
721
726
|
EventDataStore?: string;
|
|
722
727
|
QueryId: string | undefined;
|
|
723
728
|
}
|
|
724
|
-
export declare
|
|
725
|
-
ACCESS_DENIED
|
|
726
|
-
ACCESS_DENIED_SIGNING_FILE
|
|
727
|
-
CANCELLED
|
|
728
|
-
FAILED
|
|
729
|
-
FAILED_SIGNING_FILE
|
|
730
|
-
PENDING
|
|
731
|
-
RESOURCE_NOT_FOUND
|
|
732
|
-
SUCCESS
|
|
733
|
-
UNKNOWN
|
|
734
|
-
}
|
|
729
|
+
export declare const DeliveryStatus: {
|
|
730
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
731
|
+
readonly ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE";
|
|
732
|
+
readonly CANCELLED: "CANCELLED";
|
|
733
|
+
readonly FAILED: "FAILED";
|
|
734
|
+
readonly FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE";
|
|
735
|
+
readonly PENDING: "PENDING";
|
|
736
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
737
|
+
readonly SUCCESS: "SUCCESS";
|
|
738
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
739
|
+
};
|
|
740
|
+
export type DeliveryStatus =
|
|
741
|
+
(typeof DeliveryStatus)[keyof typeof DeliveryStatus];
|
|
735
742
|
export interface QueryStatisticsForDescribeQuery {
|
|
736
743
|
EventsMatched?: number;
|
|
737
744
|
EventsScanned?: number;
|
|
@@ -818,11 +825,12 @@ export interface DataResource {
|
|
|
818
825
|
Type?: string;
|
|
819
826
|
Values?: string[];
|
|
820
827
|
}
|
|
821
|
-
export declare
|
|
822
|
-
All
|
|
823
|
-
ReadOnly
|
|
824
|
-
WriteOnly
|
|
825
|
-
}
|
|
828
|
+
export declare const ReadWriteType: {
|
|
829
|
+
readonly All: "All";
|
|
830
|
+
readonly ReadOnly: "ReadOnly";
|
|
831
|
+
readonly WriteOnly: "WriteOnly";
|
|
832
|
+
};
|
|
833
|
+
export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
|
|
826
834
|
export interface EventSelector {
|
|
827
835
|
ReadWriteType?: ReadWriteType | string;
|
|
828
836
|
IncludeManagementEvents?: boolean;
|
|
@@ -852,13 +860,14 @@ export interface ImportStatistics {
|
|
|
852
860
|
EventsCompleted?: number;
|
|
853
861
|
FailedEntries?: number;
|
|
854
862
|
}
|
|
855
|
-
export declare
|
|
856
|
-
COMPLETED
|
|
857
|
-
FAILED
|
|
858
|
-
INITIALIZING
|
|
859
|
-
IN_PROGRESS
|
|
860
|
-
STOPPED
|
|
861
|
-
}
|
|
863
|
+
export declare const ImportStatus: {
|
|
864
|
+
readonly COMPLETED: "COMPLETED";
|
|
865
|
+
readonly FAILED: "FAILED";
|
|
866
|
+
readonly INITIALIZING: "INITIALIZING";
|
|
867
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
868
|
+
readonly STOPPED: "STOPPED";
|
|
869
|
+
};
|
|
870
|
+
export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
|
|
862
871
|
export interface GetImportResponse {
|
|
863
872
|
ImportId?: string;
|
|
864
873
|
Destinations?: string[];
|
|
@@ -881,10 +890,11 @@ export declare class ImportNotFoundException extends __BaseException {
|
|
|
881
890
|
export interface GetInsightSelectorsRequest {
|
|
882
891
|
TrailName: string | undefined;
|
|
883
892
|
}
|
|
884
|
-
export declare
|
|
885
|
-
ApiCallRateInsight
|
|
886
|
-
ApiErrorRateInsight
|
|
887
|
-
}
|
|
893
|
+
export declare const InsightType: {
|
|
894
|
+
readonly ApiCallRateInsight: "ApiCallRateInsight";
|
|
895
|
+
readonly ApiErrorRateInsight: "ApiErrorRateInsight";
|
|
896
|
+
};
|
|
897
|
+
export type InsightType = (typeof InsightType)[keyof typeof InsightType];
|
|
888
898
|
export interface InsightSelector {
|
|
889
899
|
InsightType?: InsightType | string;
|
|
890
900
|
}
|
|
@@ -1002,11 +1012,13 @@ export interface ListImportFailuresRequest {
|
|
|
1002
1012
|
MaxResults?: number;
|
|
1003
1013
|
NextToken?: string;
|
|
1004
1014
|
}
|
|
1005
|
-
export declare
|
|
1006
|
-
FAILED
|
|
1007
|
-
RETRY
|
|
1008
|
-
SUCCEEDED
|
|
1009
|
-
}
|
|
1015
|
+
export declare const ImportFailureStatus: {
|
|
1016
|
+
readonly FAILED: "FAILED";
|
|
1017
|
+
readonly RETRY: "RETRY";
|
|
1018
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
1019
|
+
};
|
|
1020
|
+
export type ImportFailureStatus =
|
|
1021
|
+
(typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
|
|
1010
1022
|
export interface ImportFailureListItem {
|
|
1011
1023
|
Location?: string;
|
|
1012
1024
|
Status?: ImportFailureStatus | string;
|
|
@@ -1142,19 +1154,22 @@ export declare class InvalidLookupAttributesException extends __BaseException {
|
|
|
1142
1154
|
>
|
|
1143
1155
|
);
|
|
1144
1156
|
}
|
|
1145
|
-
export declare
|
|
1146
|
-
Insight
|
|
1147
|
-
}
|
|
1148
|
-
export
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1157
|
+
export declare const EventCategory: {
|
|
1158
|
+
readonly Insight: "insight";
|
|
1159
|
+
};
|
|
1160
|
+
export type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
|
|
1161
|
+
export declare const LookupAttributeKey: {
|
|
1162
|
+
readonly ACCESS_KEY_ID: "AccessKeyId";
|
|
1163
|
+
readonly EVENT_ID: "EventId";
|
|
1164
|
+
readonly EVENT_NAME: "EventName";
|
|
1165
|
+
readonly EVENT_SOURCE: "EventSource";
|
|
1166
|
+
readonly READ_ONLY: "ReadOnly";
|
|
1167
|
+
readonly RESOURCE_NAME: "ResourceName";
|
|
1168
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
1169
|
+
readonly USERNAME: "Username";
|
|
1170
|
+
};
|
|
1171
|
+
export type LookupAttributeKey =
|
|
1172
|
+
(typeof LookupAttributeKey)[keyof typeof LookupAttributeKey];
|
|
1158
1173
|
export interface LookupAttribute {
|
|
1159
1174
|
AttributeKey: LookupAttributeKey | string | undefined;
|
|
1160
1175
|
AttributeValue: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudtrail",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|