@aws-sdk/client-cloudtrail 3.261.0 → 3.264.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/README.md +13 -12
- package/dist-cjs/CloudTrail.js +90 -0
- package/dist-cjs/commands/CreateChannelCommand.js +46 -0
- package/dist-cjs/commands/DeleteChannelCommand.js +46 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/UpdateChannelCommand.js +46 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +181 -30
- package/dist-cjs/protocols/Aws_json1_1.js +602 -2
- package/dist-es/CloudTrail.js +90 -0
- package/dist-es/commands/CreateChannelCommand.js +42 -0
- package/dist-es/commands/DeleteChannelCommand.js +42 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +42 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +42 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
- package/dist-es/commands/UpdateChannelCommand.js +42 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +152 -22
- package/dist-es/protocols/Aws_json1_1.js +589 -1
- package/dist-types/CloudTrail.d.ts +238 -164
- package/dist-types/CloudTrailClient.d.ts +21 -14
- package/dist-types/commands/AddTagsCommand.d.ts +7 -9
- package/dist-types/commands/CancelQueryCommand.d.ts +6 -3
- package/dist-types/commands/CreateChannelCommand.d.ts +39 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +37 -0
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +10 -7
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +39 -0
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueryCommand.d.ts +3 -2
- package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -1
- package/dist-types/commands/GetChannelCommand.d.ts +1 -3
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +2 -1
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +10 -11
- package/dist-types/commands/GetImportCommand.d.ts +1 -3
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +6 -6
- package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -2
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/commands/GetTrailStatusCommand.d.ts +5 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -3
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -1
- package/dist-types/commands/ListImportFailuresCommand.d.ts +1 -3
- package/dist-types/commands/ListImportsCommand.d.ts +2 -3
- package/dist-types/commands/ListPublicKeysCommand.d.ts +7 -4
- package/dist-types/commands/ListQueriesCommand.d.ts +7 -5
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/LookupEventsCommand.d.ts +5 -5
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +28 -31
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +5 -4
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +41 -0
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +2 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +4 -3
- package/dist-types/commands/StartImportCommand.d.ts +17 -13
- package/dist-types/commands/StartLoggingCommand.d.ts +4 -1
- package/dist-types/commands/StartQueryCommand.d.ts +3 -1
- package/dist-types/commands/StopImportCommand.d.ts +1 -3
- package/dist-types/commands/StopLoggingCommand.d.ts +7 -7
- package/dist-types/commands/UpdateChannelCommand.d.ts +37 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +11 -6
- package/dist-types/commands/UpdateTrailCommand.d.ts +6 -6
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1428 -835
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +102 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +181 -22
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
- package/package.json +4 -4
|
@@ -51,6 +51,19 @@ export class AccountRegisteredException extends __BaseException {
|
|
|
51
51
|
this.Message = opts.Message;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
+
export class ChannelNotFoundException extends __BaseException {
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ChannelNotFoundException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
this.name = "ChannelNotFoundException";
|
|
62
|
+
this.$fault = "client";
|
|
63
|
+
Object.setPrototypeOf(this, ChannelNotFoundException.prototype);
|
|
64
|
+
this.Message = opts.Message;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
54
67
|
export class CloudTrailARNInvalidException extends __BaseException {
|
|
55
68
|
constructor(opts) {
|
|
56
69
|
super({
|
|
@@ -294,6 +307,19 @@ export class CannotDelegateManagementAccountException extends __BaseException {
|
|
|
294
307
|
this.Message = opts.Message;
|
|
295
308
|
}
|
|
296
309
|
}
|
|
310
|
+
export class ChannelAlreadyExistsException extends __BaseException {
|
|
311
|
+
constructor(opts) {
|
|
312
|
+
super({
|
|
313
|
+
name: "ChannelAlreadyExistsException",
|
|
314
|
+
$fault: "client",
|
|
315
|
+
...opts,
|
|
316
|
+
});
|
|
317
|
+
this.name = "ChannelAlreadyExistsException";
|
|
318
|
+
this.$fault = "client";
|
|
319
|
+
Object.setPrototypeOf(this, ChannelAlreadyExistsException.prototype);
|
|
320
|
+
this.Message = opts.Message;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
297
323
|
export class ChannelARNInvalidException extends __BaseException {
|
|
298
324
|
constructor(opts) {
|
|
299
325
|
super({
|
|
@@ -307,16 +333,60 @@ export class ChannelARNInvalidException extends __BaseException {
|
|
|
307
333
|
this.Message = opts.Message;
|
|
308
334
|
}
|
|
309
335
|
}
|
|
310
|
-
export class
|
|
336
|
+
export class ChannelExistsForEDSException extends __BaseException {
|
|
311
337
|
constructor(opts) {
|
|
312
338
|
super({
|
|
313
|
-
name: "
|
|
339
|
+
name: "ChannelExistsForEDSException",
|
|
314
340
|
$fault: "client",
|
|
315
341
|
...opts,
|
|
316
342
|
});
|
|
317
|
-
this.name = "
|
|
343
|
+
this.name = "ChannelExistsForEDSException";
|
|
318
344
|
this.$fault = "client";
|
|
319
|
-
Object.setPrototypeOf(this,
|
|
345
|
+
Object.setPrototypeOf(this, ChannelExistsForEDSException.prototype);
|
|
346
|
+
this.Message = opts.Message;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
export class ChannelMaxLimitExceededException extends __BaseException {
|
|
350
|
+
constructor(opts) {
|
|
351
|
+
super({
|
|
352
|
+
name: "ChannelMaxLimitExceededException",
|
|
353
|
+
$fault: "client",
|
|
354
|
+
...opts,
|
|
355
|
+
});
|
|
356
|
+
this.name = "ChannelMaxLimitExceededException";
|
|
357
|
+
this.$fault = "client";
|
|
358
|
+
Object.setPrototypeOf(this, ChannelMaxLimitExceededException.prototype);
|
|
359
|
+
this.Message = opts.Message;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
export var DestinationType;
|
|
363
|
+
(function (DestinationType) {
|
|
364
|
+
DestinationType["AWS_SERVICE"] = "AWS_SERVICE";
|
|
365
|
+
DestinationType["EVENT_DATA_STORE"] = "EVENT_DATA_STORE";
|
|
366
|
+
})(DestinationType || (DestinationType = {}));
|
|
367
|
+
export class InvalidEventDataStoreCategoryException extends __BaseException {
|
|
368
|
+
constructor(opts) {
|
|
369
|
+
super({
|
|
370
|
+
name: "InvalidEventDataStoreCategoryException",
|
|
371
|
+
$fault: "client",
|
|
372
|
+
...opts,
|
|
373
|
+
});
|
|
374
|
+
this.name = "InvalidEventDataStoreCategoryException";
|
|
375
|
+
this.$fault = "client";
|
|
376
|
+
Object.setPrototypeOf(this, InvalidEventDataStoreCategoryException.prototype);
|
|
377
|
+
this.Message = opts.Message;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
export class InvalidSourceException extends __BaseException {
|
|
381
|
+
constructor(opts) {
|
|
382
|
+
super({
|
|
383
|
+
name: "InvalidSourceException",
|
|
384
|
+
$fault: "client",
|
|
385
|
+
...opts,
|
|
386
|
+
});
|
|
387
|
+
this.name = "InvalidSourceException";
|
|
388
|
+
this.$fault = "client";
|
|
389
|
+
Object.setPrototypeOf(this, InvalidSourceException.prototype);
|
|
320
390
|
this.Message = opts.Message;
|
|
321
391
|
}
|
|
322
392
|
}
|
|
@@ -690,6 +760,32 @@ export class EventDataStoreTerminationProtectedException extends __BaseException
|
|
|
690
760
|
this.Message = opts.Message;
|
|
691
761
|
}
|
|
692
762
|
}
|
|
763
|
+
export class ResourceARNNotValidException extends __BaseException {
|
|
764
|
+
constructor(opts) {
|
|
765
|
+
super({
|
|
766
|
+
name: "ResourceARNNotValidException",
|
|
767
|
+
$fault: "client",
|
|
768
|
+
...opts,
|
|
769
|
+
});
|
|
770
|
+
this.name = "ResourceARNNotValidException";
|
|
771
|
+
this.$fault = "client";
|
|
772
|
+
Object.setPrototypeOf(this, ResourceARNNotValidException.prototype);
|
|
773
|
+
this.Message = opts.Message;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
export class ResourcePolicyNotFoundException extends __BaseException {
|
|
777
|
+
constructor(opts) {
|
|
778
|
+
super({
|
|
779
|
+
name: "ResourcePolicyNotFoundException",
|
|
780
|
+
$fault: "client",
|
|
781
|
+
...opts,
|
|
782
|
+
});
|
|
783
|
+
this.name = "ResourcePolicyNotFoundException";
|
|
784
|
+
this.$fault = "client";
|
|
785
|
+
Object.setPrototypeOf(this, ResourcePolicyNotFoundException.prototype);
|
|
786
|
+
this.Message = opts.Message;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
693
789
|
export class InvalidHomeRegionException extends __BaseException {
|
|
694
790
|
constructor(opts) {
|
|
695
791
|
super({
|
|
@@ -741,11 +837,6 @@ export var DeliveryStatus;
|
|
|
741
837
|
DeliveryStatus["SUCCESS"] = "SUCCESS";
|
|
742
838
|
DeliveryStatus["UNKNOWN"] = "UNKNOWN";
|
|
743
839
|
})(DeliveryStatus || (DeliveryStatus = {}));
|
|
744
|
-
export var DestinationType;
|
|
745
|
-
(function (DestinationType) {
|
|
746
|
-
DestinationType["AWS_SERVICE"] = "AWS_SERVICE";
|
|
747
|
-
DestinationType["EVENT_DATA_STORE"] = "EVENT_DATA_STORE";
|
|
748
|
-
})(DestinationType || (DestinationType = {}));
|
|
749
840
|
export var ReadWriteType;
|
|
750
841
|
(function (ReadWriteType) {
|
|
751
842
|
ReadWriteType["All"] = "All";
|
|
@@ -929,42 +1020,42 @@ export class InvalidInsightSelectorsException extends __BaseException {
|
|
|
929
1020
|
this.Message = opts.Message;
|
|
930
1021
|
}
|
|
931
1022
|
}
|
|
932
|
-
export class
|
|
1023
|
+
export class ResourcePolicyNotValidException extends __BaseException {
|
|
933
1024
|
constructor(opts) {
|
|
934
1025
|
super({
|
|
935
|
-
name: "
|
|
1026
|
+
name: "ResourcePolicyNotValidException",
|
|
936
1027
|
$fault: "client",
|
|
937
1028
|
...opts,
|
|
938
1029
|
});
|
|
939
|
-
this.name = "
|
|
1030
|
+
this.name = "ResourcePolicyNotValidException";
|
|
940
1031
|
this.$fault = "client";
|
|
941
|
-
Object.setPrototypeOf(this,
|
|
1032
|
+
Object.setPrototypeOf(this, ResourcePolicyNotValidException.prototype);
|
|
942
1033
|
this.Message = opts.Message;
|
|
943
1034
|
}
|
|
944
1035
|
}
|
|
945
|
-
export class
|
|
1036
|
+
export class DelegatedAdminAccountLimitExceededException extends __BaseException {
|
|
946
1037
|
constructor(opts) {
|
|
947
1038
|
super({
|
|
948
|
-
name: "
|
|
1039
|
+
name: "DelegatedAdminAccountLimitExceededException",
|
|
949
1040
|
$fault: "client",
|
|
950
1041
|
...opts,
|
|
951
1042
|
});
|
|
952
|
-
this.name = "
|
|
1043
|
+
this.name = "DelegatedAdminAccountLimitExceededException";
|
|
953
1044
|
this.$fault = "client";
|
|
954
|
-
Object.setPrototypeOf(this,
|
|
1045
|
+
Object.setPrototypeOf(this, DelegatedAdminAccountLimitExceededException.prototype);
|
|
955
1046
|
this.Message = opts.Message;
|
|
956
1047
|
}
|
|
957
1048
|
}
|
|
958
|
-
export class
|
|
1049
|
+
export class InvalidEventDataStoreStatusException extends __BaseException {
|
|
959
1050
|
constructor(opts) {
|
|
960
1051
|
super({
|
|
961
|
-
name: "
|
|
1052
|
+
name: "InvalidEventDataStoreStatusException",
|
|
962
1053
|
$fault: "client",
|
|
963
1054
|
...opts,
|
|
964
1055
|
});
|
|
965
|
-
this.name = "
|
|
1056
|
+
this.name = "InvalidEventDataStoreStatusException";
|
|
966
1057
|
this.$fault = "client";
|
|
967
|
-
Object.setPrototypeOf(this,
|
|
1058
|
+
Object.setPrototypeOf(this, InvalidEventDataStoreStatusException.prototype);
|
|
968
1059
|
this.Message = opts.Message;
|
|
969
1060
|
}
|
|
970
1061
|
}
|
|
@@ -1031,6 +1122,15 @@ export const CancelQueryResponseFilterSensitiveLog = (obj) => ({
|
|
|
1031
1122
|
export const ChannelFilterSensitiveLog = (obj) => ({
|
|
1032
1123
|
...obj,
|
|
1033
1124
|
});
|
|
1125
|
+
export const DestinationFilterSensitiveLog = (obj) => ({
|
|
1126
|
+
...obj,
|
|
1127
|
+
});
|
|
1128
|
+
export const CreateChannelRequestFilterSensitiveLog = (obj) => ({
|
|
1129
|
+
...obj,
|
|
1130
|
+
});
|
|
1131
|
+
export const CreateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
1132
|
+
...obj,
|
|
1133
|
+
});
|
|
1034
1134
|
export const CreateEventDataStoreRequestFilterSensitiveLog = (obj) => ({
|
|
1035
1135
|
...obj,
|
|
1036
1136
|
});
|
|
@@ -1043,12 +1143,24 @@ export const CreateTrailRequestFilterSensitiveLog = (obj) => ({
|
|
|
1043
1143
|
export const CreateTrailResponseFilterSensitiveLog = (obj) => ({
|
|
1044
1144
|
...obj,
|
|
1045
1145
|
});
|
|
1146
|
+
export const DeleteChannelRequestFilterSensitiveLog = (obj) => ({
|
|
1147
|
+
...obj,
|
|
1148
|
+
});
|
|
1149
|
+
export const DeleteChannelResponseFilterSensitiveLog = (obj) => ({
|
|
1150
|
+
...obj,
|
|
1151
|
+
});
|
|
1046
1152
|
export const DeleteEventDataStoreRequestFilterSensitiveLog = (obj) => ({
|
|
1047
1153
|
...obj,
|
|
1048
1154
|
});
|
|
1049
1155
|
export const DeleteEventDataStoreResponseFilterSensitiveLog = (obj) => ({
|
|
1050
1156
|
...obj,
|
|
1051
1157
|
});
|
|
1158
|
+
export const DeleteResourcePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
1159
|
+
...obj,
|
|
1160
|
+
});
|
|
1161
|
+
export const DeleteResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
1162
|
+
...obj,
|
|
1163
|
+
});
|
|
1052
1164
|
export const DeleteTrailRequestFilterSensitiveLog = (obj) => ({
|
|
1053
1165
|
...obj,
|
|
1054
1166
|
});
|
|
@@ -1082,7 +1194,7 @@ export const DescribeTrailsResponseFilterSensitiveLog = (obj) => ({
|
|
|
1082
1194
|
export const GetChannelRequestFilterSensitiveLog = (obj) => ({
|
|
1083
1195
|
...obj,
|
|
1084
1196
|
});
|
|
1085
|
-
export const
|
|
1197
|
+
export const IngestionStatusFilterSensitiveLog = (obj) => ({
|
|
1086
1198
|
...obj,
|
|
1087
1199
|
});
|
|
1088
1200
|
export const SourceConfigFilterSensitiveLog = (obj) => ({
|
|
@@ -1142,6 +1254,12 @@ export const QueryStatisticsFilterSensitiveLog = (obj) => ({
|
|
|
1142
1254
|
export const GetQueryResultsResponseFilterSensitiveLog = (obj) => ({
|
|
1143
1255
|
...obj,
|
|
1144
1256
|
});
|
|
1257
|
+
export const GetResourcePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
1258
|
+
...obj,
|
|
1259
|
+
});
|
|
1260
|
+
export const GetResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
1261
|
+
...obj,
|
|
1262
|
+
});
|
|
1145
1263
|
export const GetTrailRequestFilterSensitiveLog = (obj) => ({
|
|
1146
1264
|
...obj,
|
|
1147
1265
|
});
|
|
@@ -1250,6 +1368,12 @@ export const PutInsightSelectorsRequestFilterSensitiveLog = (obj) => ({
|
|
|
1250
1368
|
export const PutInsightSelectorsResponseFilterSensitiveLog = (obj) => ({
|
|
1251
1369
|
...obj,
|
|
1252
1370
|
});
|
|
1371
|
+
export const PutResourcePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
1372
|
+
...obj,
|
|
1373
|
+
});
|
|
1374
|
+
export const PutResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
1375
|
+
...obj,
|
|
1376
|
+
});
|
|
1253
1377
|
export const RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog = (obj) => ({
|
|
1254
1378
|
...obj,
|
|
1255
1379
|
});
|
|
@@ -1298,6 +1422,12 @@ export const StopLoggingRequestFilterSensitiveLog = (obj) => ({
|
|
|
1298
1422
|
export const StopLoggingResponseFilterSensitiveLog = (obj) => ({
|
|
1299
1423
|
...obj,
|
|
1300
1424
|
});
|
|
1425
|
+
export const UpdateChannelRequestFilterSensitiveLog = (obj) => ({
|
|
1426
|
+
...obj,
|
|
1427
|
+
});
|
|
1428
|
+
export const UpdateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
1429
|
+
...obj,
|
|
1430
|
+
});
|
|
1301
1431
|
export const UpdateEventDataStoreRequestFilterSensitiveLog = (obj) => ({
|
|
1302
1432
|
...obj,
|
|
1303
1433
|
});
|