@aws-sdk/client-cloudtrail 3.300.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/commands/AddTagsCommand.d.ts +3 -3
- package/dist-types/commands/CancelQueryCommand.d.ts +1 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +5 -5
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +9 -11
- package/dist-types/commands/CreateTrailCommand.d.ts +3 -3
- package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrailCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQueryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -2
- package/dist-types/commands/GetChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetImportCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryResultsCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailStatusCommand.d.ts +1 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +1 -1
- package/dist-types/commands/ListImportFailuresCommand.d.ts +1 -1
- package/dist-types/commands/ListImportsCommand.d.ts +1 -1
- package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListQueriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +2 -2
- package/dist-types/commands/ListTrailsCommand.d.ts +1 -1
- package/dist-types/commands/LookupEventsCommand.d.ts +3 -3
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +13 -15
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +3 -3
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/StartImportCommand.d.ts +4 -4
- package/dist-types/commands/StartLoggingCommand.d.ts +1 -1
- package/dist-types/commands/StartQueryCommand.d.ts +1 -1
- package/dist-types/commands/StopImportCommand.d.ts +1 -1
- package/dist-types/commands/StopLoggingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +7 -9
- package/dist-types/commands/UpdateTrailCommand.d.ts +1 -1
- 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({
|
|
@@ -32,10 +32,10 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
|
|
|
32
32
|
* import { CloudTrailClient, AddTagsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
33
33
|
* // const { CloudTrailClient, AddTagsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
34
34
|
* const client = new CloudTrailClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // AddTagsRequest
|
|
36
36
|
* ResourceId: "STRING_VALUE", // required
|
|
37
|
-
* TagsList: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* TagsList: [ // TagsList // required
|
|
38
|
+
* { // Tag
|
|
39
39
|
* Key: "STRING_VALUE", // required
|
|
40
40
|
* Value: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -31,7 +31,7 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
|
|
|
31
31
|
* import { CloudTrailClient, CancelQueryCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
32
32
|
* // const { CloudTrailClient, CancelQueryCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
33
33
|
* const client = new CloudTrailClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // CancelQueryRequest
|
|
35
35
|
* EventDataStore: "STRING_VALUE",
|
|
36
36
|
* QueryId: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
@@ -28,17 +28,17 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
28
28
|
* import { CloudTrailClient, CreateChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, CreateChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CreateChannelRequest
|
|
32
32
|
* Name: "STRING_VALUE", // required
|
|
33
33
|
* Source: "STRING_VALUE", // required
|
|
34
|
-
* Destinations: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* Destinations: [ // Destinations // required
|
|
35
|
+
* { // Destination
|
|
36
36
|
* Type: "EVENT_DATA_STORE" || "AWS_SERVICE", // required
|
|
37
37
|
* Location: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
|
-
* Tags: [
|
|
41
|
-
* {
|
|
40
|
+
* Tags: [ // TagsList
|
|
41
|
+
* { // Tag
|
|
42
42
|
* Key: "STRING_VALUE", // required
|
|
43
43
|
* Value: "STRING_VALUE",
|
|
44
44
|
* },
|
|
@@ -26,15 +26,15 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
26
26
|
* import { CloudTrailClient, CreateEventDataStoreCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, CreateEventDataStoreCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateEventDataStoreRequest
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
|
-
* AdvancedEventSelectors: [
|
|
32
|
-
* {
|
|
31
|
+
* AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
32
|
+
* { // AdvancedEventSelector
|
|
33
33
|
* Name: "STRING_VALUE",
|
|
34
|
-
* FieldSelectors: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* FieldSelectors: [ // AdvancedFieldSelectors // required
|
|
35
|
+
* { // AdvancedFieldSelector
|
|
36
36
|
* Field: "STRING_VALUE", // required
|
|
37
|
-
* Equals: [
|
|
37
|
+
* Equals: [ // Operator
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* StartsWith: [
|
|
@@ -49,9 +49,7 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
49
49
|
* NotStartsWith: [
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
|
-
* NotEndsWith:
|
|
53
|
-
* "STRING_VALUE",
|
|
54
|
-
* ],
|
|
52
|
+
* NotEndsWith: "<Operator>",
|
|
55
53
|
* },
|
|
56
54
|
* ],
|
|
57
55
|
* },
|
|
@@ -60,8 +58,8 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
60
58
|
* OrganizationEnabled: true || false,
|
|
61
59
|
* RetentionPeriod: Number("int"),
|
|
62
60
|
* TerminationProtectionEnabled: true || false,
|
|
63
|
-
* TagsList: [
|
|
64
|
-
* {
|
|
61
|
+
* TagsList: [ // TagsList
|
|
62
|
+
* { // Tag
|
|
65
63
|
* Key: "STRING_VALUE", // required
|
|
66
64
|
* Value: "STRING_VALUE",
|
|
67
65
|
* },
|
|
@@ -27,7 +27,7 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
|
|
|
27
27
|
* import { CloudTrailClient, CreateTrailCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, CreateTrailCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateTrailRequest
|
|
31
31
|
* Name: "STRING_VALUE", // required
|
|
32
32
|
* S3BucketName: "STRING_VALUE", // required
|
|
33
33
|
* S3KeyPrefix: "STRING_VALUE",
|
|
@@ -39,8 +39,8 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
|
|
|
39
39
|
* CloudWatchLogsRoleArn: "STRING_VALUE",
|
|
40
40
|
* KmsKeyId: "STRING_VALUE",
|
|
41
41
|
* IsOrganizationTrail: true || false,
|
|
42
|
-
* TagsList: [
|
|
43
|
-
* {
|
|
42
|
+
* TagsList: [ // TagsList
|
|
43
|
+
* { // Tag
|
|
44
44
|
* Key: "STRING_VALUE", // required
|
|
45
45
|
* Value: "STRING_VALUE",
|
|
46
46
|
* },
|
|
@@ -26,7 +26,7 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
|
|
|
26
26
|
* import { CloudTrailClient, DeleteChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, DeleteChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteChannelRequest
|
|
30
30
|
* Channel: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteChannelCommand(input);
|
|
@@ -35,7 +35,7 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
|
|
|
35
35
|
* import { CloudTrailClient, DeleteEventDataStoreCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
36
36
|
* // const { CloudTrailClient, DeleteEventDataStoreCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
37
37
|
* const client = new CloudTrailClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // DeleteEventDataStoreRequest
|
|
39
39
|
* EventDataStore: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DeleteEventDataStoreCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
|
|
|
28
28
|
* import { CloudTrailClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteResourcePolicyRequest
|
|
32
32
|
* ResourceArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
|
|
|
28
28
|
* import { CloudTrailClient, DeleteTrailCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, DeleteTrailCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteTrailRequest
|
|
32
32
|
* Name: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteTrailCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeregisterOrganizationDelegatedAdminCommandOutput extends Dereg
|
|
|
27
27
|
* import { CloudTrailClient, DeregisterOrganizationDelegatedAdminCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, DeregisterOrganizationDelegatedAdminCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeregisterOrganizationDelegatedAdminRequest
|
|
31
31
|
* DelegatedAdminAccountId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeregisterOrganizationDelegatedAdminCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface DescribeQueryCommandOutput extends DescribeQueryResponse, __Met
|
|
|
28
28
|
* import { CloudTrailClient, DescribeQueryCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, DescribeQueryCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeQueryRequest
|
|
32
32
|
* EventDataStore: "STRING_VALUE",
|
|
33
33
|
* QueryId: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -27,8 +27,8 @@ export interface DescribeTrailsCommandOutput extends DescribeTrailsResponse, __M
|
|
|
27
27
|
* import { CloudTrailClient, DescribeTrailsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, DescribeTrailsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* trailNameList: [
|
|
30
|
+
* const input = { // DescribeTrailsRequest
|
|
31
|
+
* trailNameList: [ // TrailNameList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* includeShadowTrails: true || false,
|
|
@@ -27,7 +27,7 @@ export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataB
|
|
|
27
27
|
* import { CloudTrailClient, GetChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, GetChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetChannelRequest
|
|
31
31
|
* Channel: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetChannelCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface GetEventDataStoreCommandOutput extends GetEventDataStoreRespons
|
|
|
27
27
|
* import { CloudTrailClient, GetEventDataStoreCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
28
28
|
* // const { CloudTrailClient, GetEventDataStoreCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
29
29
|
* const client = new CloudTrailClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetEventDataStoreRequest
|
|
31
31
|
* EventDataStore: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetEventDataStoreCommand(input);
|
|
@@ -54,7 +54,7 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
|
|
|
54
54
|
* import { CloudTrailClient, GetEventSelectorsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
55
55
|
* // const { CloudTrailClient, GetEventSelectorsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
56
56
|
* const client = new CloudTrailClient(config);
|
|
57
|
-
* const input = {
|
|
57
|
+
* const input = { // GetEventSelectorsRequest
|
|
58
58
|
* TrailName: "STRING_VALUE", // required
|
|
59
59
|
* };
|
|
60
60
|
* const command = new GetEventSelectorsCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetImportCommandOutput extends GetImportResponse, __MetadataBea
|
|
|
26
26
|
* import { CloudTrailClient, GetImportCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
27
27
|
* // const { CloudTrailClient, GetImportCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
28
28
|
* const client = new CloudTrailClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetImportRequest
|
|
30
30
|
* ImportId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetImportCommand(input);
|
|
@@ -32,7 +32,7 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
32
32
|
* import { CloudTrailClient, GetInsightSelectorsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
33
33
|
* // const { CloudTrailClient, GetInsightSelectorsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
34
34
|
* const client = new CloudTrailClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // GetInsightSelectorsRequest
|
|
36
36
|
* TrailName: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetInsightSelectorsCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
|
|
|
28
28
|
* import { CloudTrailClient, GetQueryResultsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, GetQueryResultsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetQueryResultsRequest
|
|
32
32
|
* EventDataStore: "STRING_VALUE",
|
|
33
33
|
* QueryId: "STRING_VALUE", // required
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
28
28
|
* import { CloudTrailClient, GetResourcePolicyCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
29
29
|
* // const { CloudTrailClient, GetResourcePolicyCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
30
30
|
* const client = new CloudTrailClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetResourcePolicyRequest
|
|
32
32
|
* ResourceArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetResourcePolicyCommand(input);
|