@aws-sdk/client-cloudtrail 3.934.0 → 3.936.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 +8 -0
- package/dist-cjs/index.js +183 -127
- package/dist-es/CloudTrail.js +2 -0
- package/dist-es/commands/ListInsightsDataCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +118 -0
- package/dist-es/models/errors.js +1205 -0
- package/dist-es/models/models_0.js +1 -1311
- package/dist-es/pagination/ListInsightsDataPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +33 -8
- package/dist-types/CloudTrail.d.ts +7 -0
- package/dist-types/CloudTrailClient.d.ts +3 -2
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +5 -0
- package/dist-types/commands/DeleteTrailCommand.d.ts +12 -0
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +5 -2
- package/dist-types/commands/ListInsightsDataCommand.d.ts +126 -0
- package/dist-types/commands/ListInsightsMetricDataCommand.d.ts +35 -1
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +26 -2
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +11 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +294 -0
- package/dist-types/models/errors.d.ts +1615 -0
- package/dist-types/models/models_0.d.ts +239 -2023
- package/dist-types/pagination/ListInsightsDataPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +17 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListInsightsDataCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +153 -0
- package/dist-types/ts3.4/models/errors.d.ts +794 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -944
- package/dist-types/ts3.4/pagination/ListInsightsDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/README.md
CHANGED
|
@@ -482,6 +482,14 @@ ListImports
|
|
|
482
482
|
|
|
483
483
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudtrail/command/ListImportsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudtrail/Interface/ListImportsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudtrail/Interface/ListImportsCommandOutput/)
|
|
484
484
|
|
|
485
|
+
</details>
|
|
486
|
+
<details>
|
|
487
|
+
<summary>
|
|
488
|
+
ListInsightsData
|
|
489
|
+
</summary>
|
|
490
|
+
|
|
491
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudtrail/command/ListInsightsDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudtrail/Interface/ListInsightsDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudtrail/Interface/ListInsightsDataCommandOutput/)
|
|
492
|
+
|
|
485
493
|
</details>
|
|
486
494
|
<details>
|
|
487
495
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -411,18 +411,6 @@ let UnsupportedOperationException$1 = class UnsupportedOperationException extend
|
|
|
411
411
|
this.Message = opts.Message;
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
|
-
const BillingMode = {
|
|
415
|
-
EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING",
|
|
416
|
-
FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING",
|
|
417
|
-
};
|
|
418
|
-
const QueryStatus = {
|
|
419
|
-
CANCELLED: "CANCELLED",
|
|
420
|
-
FAILED: "FAILED",
|
|
421
|
-
FINISHED: "FINISHED",
|
|
422
|
-
QUEUED: "QUEUED",
|
|
423
|
-
RUNNING: "RUNNING",
|
|
424
|
-
TIMED_OUT: "TIMED_OUT",
|
|
425
|
-
};
|
|
426
414
|
let InactiveQueryException$1 = class InactiveQueryException extends CloudTrailServiceException$1 {
|
|
427
415
|
name = "InactiveQueryException";
|
|
428
416
|
$fault = "client";
|
|
@@ -521,10 +509,6 @@ let ChannelMaxLimitExceededException$1 = class ChannelMaxLimitExceededException
|
|
|
521
509
|
this.Message = opts.Message;
|
|
522
510
|
}
|
|
523
511
|
};
|
|
524
|
-
const DestinationType = {
|
|
525
|
-
AWS_SERVICE: "AWS_SERVICE",
|
|
526
|
-
EVENT_DATA_STORE: "EVENT_DATA_STORE",
|
|
527
|
-
};
|
|
528
512
|
let InvalidEventDataStoreCategoryException$1 = class InvalidEventDataStoreCategoryException extends CloudTrailServiceException$1 {
|
|
529
513
|
name = "InvalidEventDataStoreCategoryException";
|
|
530
514
|
$fault = "client";
|
|
@@ -553,18 +537,6 @@ let InvalidSourceException$1 = class InvalidSourceException extends CloudTrailSe
|
|
|
553
537
|
this.Message = opts.Message;
|
|
554
538
|
}
|
|
555
539
|
};
|
|
556
|
-
const RefreshScheduleFrequencyUnit = {
|
|
557
|
-
DAYS: "DAYS",
|
|
558
|
-
HOURS: "HOURS",
|
|
559
|
-
};
|
|
560
|
-
const RefreshScheduleStatus = {
|
|
561
|
-
DISABLED: "DISABLED",
|
|
562
|
-
ENABLED: "ENABLED",
|
|
563
|
-
};
|
|
564
|
-
const DashboardType = {
|
|
565
|
-
CUSTOM: "CUSTOM",
|
|
566
|
-
MANAGED: "MANAGED",
|
|
567
|
-
};
|
|
568
540
|
let InsufficientEncryptionPolicyException$1 = class InsufficientEncryptionPolicyException extends CloudTrailServiceException$1 {
|
|
569
541
|
name = "InsufficientEncryptionPolicyException";
|
|
570
542
|
$fault = "client";
|
|
@@ -621,14 +593,6 @@ let CloudTrailAccessNotEnabledException$1 = class CloudTrailAccessNotEnabledExce
|
|
|
621
593
|
this.Message = opts.Message;
|
|
622
594
|
}
|
|
623
595
|
};
|
|
624
|
-
const EventDataStoreStatus = {
|
|
625
|
-
CREATED: "CREATED",
|
|
626
|
-
ENABLED: "ENABLED",
|
|
627
|
-
PENDING_DELETION: "PENDING_DELETION",
|
|
628
|
-
STARTING_INGESTION: "STARTING_INGESTION",
|
|
629
|
-
STOPPED_INGESTION: "STOPPED_INGESTION",
|
|
630
|
-
STOPPING_INGESTION: "STOPPING_INGESTION",
|
|
631
|
-
};
|
|
632
596
|
let EventDataStoreAlreadyExistsException$1 = class EventDataStoreAlreadyExistsException extends CloudTrailServiceException$1 {
|
|
633
597
|
name = "EventDataStoreAlreadyExistsException";
|
|
634
598
|
$fault = "client";
|
|
@@ -755,6 +719,20 @@ let OrganizationsNotInUseException$1 = class OrganizationsNotInUseException exte
|
|
|
755
719
|
this.Message = opts.Message;
|
|
756
720
|
}
|
|
757
721
|
};
|
|
722
|
+
let ThrottlingException$1 = class ThrottlingException extends CloudTrailServiceException$1 {
|
|
723
|
+
name = "ThrottlingException";
|
|
724
|
+
$fault = "client";
|
|
725
|
+
Message;
|
|
726
|
+
constructor(opts) {
|
|
727
|
+
super({
|
|
728
|
+
name: "ThrottlingException",
|
|
729
|
+
$fault: "client",
|
|
730
|
+
...opts,
|
|
731
|
+
});
|
|
732
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
733
|
+
this.Message = opts.Message;
|
|
734
|
+
}
|
|
735
|
+
};
|
|
758
736
|
let CloudTrailInvalidClientTokenIdException$1 = class CloudTrailInvalidClientTokenIdException extends CloudTrailServiceException$1 {
|
|
759
737
|
name = "CloudTrailInvalidClientTokenIdException";
|
|
760
738
|
$fault = "client";
|
|
@@ -937,20 +915,6 @@ let S3BucketDoesNotExistException$1 = class S3BucketDoesNotExistException extend
|
|
|
937
915
|
this.Message = opts.Message;
|
|
938
916
|
}
|
|
939
917
|
};
|
|
940
|
-
let ThrottlingException$1 = class ThrottlingException extends CloudTrailServiceException$1 {
|
|
941
|
-
name = "ThrottlingException";
|
|
942
|
-
$fault = "client";
|
|
943
|
-
Message;
|
|
944
|
-
constructor(opts) {
|
|
945
|
-
super({
|
|
946
|
-
name: "ThrottlingException",
|
|
947
|
-
$fault: "client",
|
|
948
|
-
...opts,
|
|
949
|
-
});
|
|
950
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
951
|
-
this.Message = opts.Message;
|
|
952
|
-
}
|
|
953
|
-
};
|
|
954
918
|
let TrailAlreadyExistsException$1 = class TrailAlreadyExistsException extends CloudTrailServiceException$1 {
|
|
955
919
|
name = "TrailAlreadyExistsException";
|
|
956
920
|
$fault = "client";
|
|
@@ -1091,17 +1055,6 @@ let NotOrganizationManagementAccountException$1 = class NotOrganizationManagemen
|
|
|
1091
1055
|
this.Message = opts.Message;
|
|
1092
1056
|
}
|
|
1093
1057
|
};
|
|
1094
|
-
const DeliveryStatus = {
|
|
1095
|
-
ACCESS_DENIED: "ACCESS_DENIED",
|
|
1096
|
-
ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE",
|
|
1097
|
-
CANCELLED: "CANCELLED",
|
|
1098
|
-
FAILED: "FAILED",
|
|
1099
|
-
FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE",
|
|
1100
|
-
PENDING: "PENDING",
|
|
1101
|
-
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
1102
|
-
SUCCESS: "SUCCESS",
|
|
1103
|
-
UNKNOWN: "UNKNOWN",
|
|
1104
|
-
};
|
|
1105
1058
|
let ConcurrentModificationException$1 = class ConcurrentModificationException extends CloudTrailServiceException$1 {
|
|
1106
1059
|
name = "ConcurrentModificationException";
|
|
1107
1060
|
$fault = "client";
|
|
@@ -1116,12 +1069,6 @@ let ConcurrentModificationException$1 = class ConcurrentModificationException ex
|
|
|
1116
1069
|
this.Message = opts.Message;
|
|
1117
1070
|
}
|
|
1118
1071
|
};
|
|
1119
|
-
const FederationStatus = {
|
|
1120
|
-
DISABLED: "DISABLED",
|
|
1121
|
-
DISABLING: "DISABLING",
|
|
1122
|
-
ENABLED: "ENABLED",
|
|
1123
|
-
ENABLING: "ENABLING",
|
|
1124
|
-
};
|
|
1125
1072
|
let GenerateResponseException$1 = class GenerateResponseException extends CloudTrailServiceException$1 {
|
|
1126
1073
|
name = "GenerateResponseException";
|
|
1127
1074
|
$fault = "client";
|
|
@@ -1136,21 +1083,6 @@ let GenerateResponseException$1 = class GenerateResponseException extends CloudT
|
|
|
1136
1083
|
this.Message = opts.Message;
|
|
1137
1084
|
}
|
|
1138
1085
|
};
|
|
1139
|
-
const DashboardStatus = {
|
|
1140
|
-
CREATED: "CREATED",
|
|
1141
|
-
CREATING: "CREATING",
|
|
1142
|
-
DELETING: "DELETING",
|
|
1143
|
-
UPDATED: "UPDATED",
|
|
1144
|
-
UPDATING: "UPDATING",
|
|
1145
|
-
};
|
|
1146
|
-
const Type = {
|
|
1147
|
-
RequestContext: "RequestContext",
|
|
1148
|
-
TagContext: "TagContext",
|
|
1149
|
-
};
|
|
1150
|
-
const MaxEventSize = {
|
|
1151
|
-
Large: "Large",
|
|
1152
|
-
Standard: "Standard",
|
|
1153
|
-
};
|
|
1154
1086
|
let InvalidEventDataStoreStatusException$1 = class InvalidEventDataStoreStatusException extends CloudTrailServiceException$1 {
|
|
1155
1087
|
name = "InvalidEventDataStoreStatusException";
|
|
1156
1088
|
$fault = "client";
|
|
@@ -1165,18 +1097,6 @@ let InvalidEventDataStoreStatusException$1 = class InvalidEventDataStoreStatusEx
|
|
|
1165
1097
|
this.Message = opts.Message;
|
|
1166
1098
|
}
|
|
1167
1099
|
};
|
|
1168
|
-
const ReadWriteType = {
|
|
1169
|
-
All: "All",
|
|
1170
|
-
ReadOnly: "ReadOnly",
|
|
1171
|
-
WriteOnly: "WriteOnly",
|
|
1172
|
-
};
|
|
1173
|
-
const ImportStatus = {
|
|
1174
|
-
COMPLETED: "COMPLETED",
|
|
1175
|
-
FAILED: "FAILED",
|
|
1176
|
-
INITIALIZING: "INITIALIZING",
|
|
1177
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
1178
|
-
STOPPED: "STOPPED",
|
|
1179
|
-
};
|
|
1180
1100
|
let ImportNotFoundException$1 = class ImportNotFoundException extends CloudTrailServiceException$1 {
|
|
1181
1101
|
name = "ImportNotFoundException";
|
|
1182
1102
|
$fault = "client";
|
|
@@ -1191,10 +1111,6 @@ let ImportNotFoundException$1 = class ImportNotFoundException extends CloudTrail
|
|
|
1191
1111
|
this.Message = opts.Message;
|
|
1192
1112
|
}
|
|
1193
1113
|
};
|
|
1194
|
-
const InsightType = {
|
|
1195
|
-
ApiCallRateInsight: "ApiCallRateInsight",
|
|
1196
|
-
ApiErrorRateInsight: "ApiErrorRateInsight",
|
|
1197
|
-
};
|
|
1198
1114
|
let InsightNotEnabledException$1 = class InsightNotEnabledException extends CloudTrailServiceException$1 {
|
|
1199
1115
|
name = "InsightNotEnabledException";
|
|
1200
1116
|
$fault = "client";
|
|
@@ -1237,15 +1153,6 @@ let InvalidNextTokenException$1 = class InvalidNextTokenException extends CloudT
|
|
|
1237
1153
|
this.Message = opts.Message;
|
|
1238
1154
|
}
|
|
1239
1155
|
};
|
|
1240
|
-
const ImportFailureStatus = {
|
|
1241
|
-
FAILED: "FAILED",
|
|
1242
|
-
RETRY: "RETRY",
|
|
1243
|
-
SUCCEEDED: "SUCCEEDED",
|
|
1244
|
-
};
|
|
1245
|
-
const InsightsMetricDataType = {
|
|
1246
|
-
FILL_WITH_ZEROS: "FillWithZeros",
|
|
1247
|
-
NON_ZERO_DATA: "NonZeroData",
|
|
1248
|
-
};
|
|
1249
1156
|
let InvalidTimeRangeException$1 = class InvalidTimeRangeException extends CloudTrailServiceException$1 {
|
|
1250
1157
|
name = "InvalidTimeRangeException";
|
|
1251
1158
|
$fault = "client";
|
|
@@ -1330,19 +1237,6 @@ let InvalidLookupAttributesException$1 = class InvalidLookupAttributesException
|
|
|
1330
1237
|
this.Message = opts.Message;
|
|
1331
1238
|
}
|
|
1332
1239
|
};
|
|
1333
|
-
const EventCategory = {
|
|
1334
|
-
Insight: "insight",
|
|
1335
|
-
};
|
|
1336
|
-
const LookupAttributeKey = {
|
|
1337
|
-
ACCESS_KEY_ID: "AccessKeyId",
|
|
1338
|
-
EVENT_ID: "EventId",
|
|
1339
|
-
EVENT_NAME: "EventName",
|
|
1340
|
-
EVENT_SOURCE: "EventSource",
|
|
1341
|
-
READ_ONLY: "ReadOnly",
|
|
1342
|
-
RESOURCE_NAME: "ResourceName",
|
|
1343
|
-
RESOURCE_TYPE: "ResourceType",
|
|
1344
|
-
USERNAME: "Username",
|
|
1345
|
-
};
|
|
1346
1240
|
let InsufficientIAMAccessPermissionException$1 = class InsufficientIAMAccessPermissionException extends CloudTrailServiceException$1 {
|
|
1347
1241
|
name = "InsufficientIAMAccessPermissionException";
|
|
1348
1242
|
$fault = "client";
|
|
@@ -1525,10 +1419,12 @@ const _DTes = "DescribeTrails";
|
|
|
1525
1419
|
const _Da = "Dashboards";
|
|
1526
1420
|
const _De = "Destination";
|
|
1527
1421
|
const _Des = "Description";
|
|
1422
|
+
const _Di = "Dimensions";
|
|
1528
1423
|
const _E = "Equals";
|
|
1529
1424
|
const _EC = "EventsCompleted";
|
|
1530
1425
|
const _ECr = "ErrorCode";
|
|
1531
|
-
const _ECv = "
|
|
1426
|
+
const _ECv = "EventCategories";
|
|
1427
|
+
const _ECve = "EventCategory";
|
|
1532
1428
|
const _EDS = "EventDataStore";
|
|
1533
1429
|
const _EDSA = "EventDataStoreArn";
|
|
1534
1430
|
const _EDSAEE = "EventDataStoreAlreadyExistsException";
|
|
@@ -1660,6 +1556,7 @@ const _ISmp = "ImportStatus";
|
|
|
1660
1556
|
const _ISmpo = "ImportStatistics";
|
|
1661
1557
|
const _ISn = "InsightSelectors";
|
|
1662
1558
|
const _ISns = "InsightSelector";
|
|
1559
|
+
const _ISnsi = "InsightSource";
|
|
1663
1560
|
const _IT = "InsightType";
|
|
1664
1561
|
const _ITE = "InvalidTokenException";
|
|
1665
1562
|
const _ITNE = "InvalidTrailNameException";
|
|
@@ -1698,6 +1595,9 @@ const _LFVE = "LogFileValidationEnabled";
|
|
|
1698
1595
|
const _LI = "ListImports";
|
|
1699
1596
|
const _LIAEID = "LatestIngestionAttemptEventID";
|
|
1700
1597
|
const _LIAT = "LatestIngestionAttemptTime";
|
|
1598
|
+
const _LID = "ListInsightsData";
|
|
1599
|
+
const _LIDR = "ListInsightsDataRequest";
|
|
1600
|
+
const _LIDRi = "ListInsightsDataResponse";
|
|
1701
1601
|
const _LIEC = "LatestIngestionErrorCode";
|
|
1702
1602
|
const _LIF = "ListImportFailures";
|
|
1703
1603
|
const _LIFR = "ListImportFailuresRequest";
|
|
@@ -2575,7 +2475,7 @@ var InsightNotEnabledException = [
|
|
|
2575
2475
|
[0],
|
|
2576
2476
|
];
|
|
2577
2477
|
schema.TypeRegistry.for(n0).registerError(InsightNotEnabledException, InsightNotEnabledException$1);
|
|
2578
|
-
var InsightSelector = [3, n0, _ISns, 0, [_IT], [0]];
|
|
2478
|
+
var InsightSelector = [3, n0, _ISns, 0, [_IT, _ECv], [0, 64 | 0]];
|
|
2579
2479
|
var InsufficientDependencyServiceAccessPermissionException = [
|
|
2580
2480
|
-3,
|
|
2581
2481
|
n0,
|
|
@@ -3042,21 +2942,30 @@ var ListImportFailuresResponse = [
|
|
|
3042
2942
|
];
|
|
3043
2943
|
var ListImportsRequest = [3, n0, _LIR, 0, [_MR, _De, _ISmp, _NT], [1, 0, 0, 0]];
|
|
3044
2944
|
var ListImportsResponse = [3, n0, _LIRi, 0, [_I, _NT], [() => ImportsList, 0]];
|
|
2945
|
+
var ListInsightsDataRequest = [
|
|
2946
|
+
3,
|
|
2947
|
+
n0,
|
|
2948
|
+
_LIDR,
|
|
2949
|
+
0,
|
|
2950
|
+
[_ISnsi, _DT, _Di, _ST, _ETn, _MR, _NT],
|
|
2951
|
+
[0, 0, 128 | 0, 4, 4, 1, 0],
|
|
2952
|
+
];
|
|
2953
|
+
var ListInsightsDataResponse = [3, n0, _LIDRi, 0, [_Eve, _NT], [() => EventsList, 0]];
|
|
3045
2954
|
var ListInsightsMetricDataRequest = [
|
|
3046
2955
|
3,
|
|
3047
2956
|
n0,
|
|
3048
2957
|
_LIMDR,
|
|
3049
2958
|
0,
|
|
3050
|
-
[_ES, _EN, _IT, _ECr, _ST, _ETn, _Pe, _DT, _MR, _NT],
|
|
3051
|
-
[0, 0, 0, 0, 4, 4, 1, 0, 1, 0],
|
|
2959
|
+
[_TN, _ES, _EN, _IT, _ECr, _ST, _ETn, _Pe, _DT, _MR, _NT],
|
|
2960
|
+
[0, 0, 0, 0, 0, 4, 4, 1, 0, 1, 0],
|
|
3052
2961
|
];
|
|
3053
2962
|
var ListInsightsMetricDataResponse = [
|
|
3054
2963
|
3,
|
|
3055
2964
|
n0,
|
|
3056
2965
|
_LIMDRi,
|
|
3057
2966
|
0,
|
|
3058
|
-
[_ES, _EN, _IT, _ECr, _Ti, _V, _NT],
|
|
3059
|
-
[0, 0, 0, 0, 64 | 4, 64 | 1, 0],
|
|
2967
|
+
[_TARN, _ES, _EN, _IT, _ECr, _Ti, _V, _NT],
|
|
2968
|
+
[0, 0, 0, 0, 0, 64 | 4, 64 | 1, 0],
|
|
3060
2969
|
];
|
|
3061
2970
|
var ListPublicKeysRequest = [3, n0, _LPKR, 0, [_ST, _ETn, _NT], [4, 4, 0]];
|
|
3062
2971
|
var ListPublicKeysResponse = [3, n0, _LPKRi, 0, [_PKL, _NT], [() => PublicKeyList, 0]];
|
|
@@ -3079,7 +2988,7 @@ var LookupEventsRequest = [
|
|
|
3079
2988
|
n0,
|
|
3080
2989
|
_LER,
|
|
3081
2990
|
0,
|
|
3082
|
-
[_LAo, _ST, _ETn,
|
|
2991
|
+
[_LAo, _ST, _ETn, _ECve, _MR, _NT],
|
|
3083
2992
|
[() => LookupAttributesList, 4, 4, 0, 1, 0],
|
|
3084
2993
|
];
|
|
3085
2994
|
var LookupEventsResponse = [3, n0, _LERo, 0, [_Eve, _NT], [() => EventsList, 0]];
|
|
@@ -3814,6 +3723,14 @@ var ListImportFailures = [
|
|
|
3814
3723
|
() => ListImportFailuresResponse,
|
|
3815
3724
|
];
|
|
3816
3725
|
var ListImports = [9, n0, _LI, 2, () => ListImportsRequest, () => ListImportsResponse];
|
|
3726
|
+
var ListInsightsData = [
|
|
3727
|
+
9,
|
|
3728
|
+
n0,
|
|
3729
|
+
_LID,
|
|
3730
|
+
2,
|
|
3731
|
+
() => ListInsightsDataRequest,
|
|
3732
|
+
() => ListInsightsDataResponse,
|
|
3733
|
+
];
|
|
3817
3734
|
var ListInsightsMetricData = [
|
|
3818
3735
|
9,
|
|
3819
3736
|
n0,
|
|
@@ -4342,6 +4259,18 @@ class ListImportsCommand extends smithyClient.Command
|
|
|
4342
4259
|
.build() {
|
|
4343
4260
|
}
|
|
4344
4261
|
|
|
4262
|
+
class ListInsightsDataCommand extends smithyClient.Command
|
|
4263
|
+
.classBuilder()
|
|
4264
|
+
.ep(commonParams)
|
|
4265
|
+
.m(function (Command, cs, config, o) {
|
|
4266
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
4267
|
+
})
|
|
4268
|
+
.s("CloudTrail_20131101", "ListInsightsData", {})
|
|
4269
|
+
.n("CloudTrailClient", "ListInsightsDataCommand")
|
|
4270
|
+
.sc(ListInsightsData)
|
|
4271
|
+
.build() {
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4345
4274
|
class ListInsightsMetricDataCommand extends smithyClient.Command
|
|
4346
4275
|
.classBuilder()
|
|
4347
4276
|
.ep(commonParams)
|
|
@@ -4688,6 +4617,7 @@ const commands = {
|
|
|
4688
4617
|
ListEventDataStoresCommand,
|
|
4689
4618
|
ListImportFailuresCommand,
|
|
4690
4619
|
ListImportsCommand,
|
|
4620
|
+
ListInsightsDataCommand,
|
|
4691
4621
|
ListInsightsMetricDataCommand,
|
|
4692
4622
|
ListPublicKeysCommand,
|
|
4693
4623
|
ListQueriesCommand,
|
|
@@ -4729,6 +4659,8 @@ const paginateListImportFailures = core.createPaginator(CloudTrailClient, ListIm
|
|
|
4729
4659
|
|
|
4730
4660
|
const paginateListImports = core.createPaginator(CloudTrailClient, ListImportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4731
4661
|
|
|
4662
|
+
const paginateListInsightsData = core.createPaginator(CloudTrailClient, ListInsightsDataCommand, "NextToken", "NextToken", "MaxResults");
|
|
4663
|
+
|
|
4732
4664
|
const paginateListInsightsMetricData = core.createPaginator(CloudTrailClient, ListInsightsMetricDataCommand, "NextToken", "NextToken", "MaxResults");
|
|
4733
4665
|
|
|
4734
4666
|
const paginateListPublicKeys = core.createPaginator(CloudTrailClient, ListPublicKeysCommand, "NextToken", "NextToken", "");
|
|
@@ -4741,6 +4673,125 @@ const paginateListTrails = core.createPaginator(CloudTrailClient, ListTrailsComm
|
|
|
4741
4673
|
|
|
4742
4674
|
const paginateLookupEvents = core.createPaginator(CloudTrailClient, LookupEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4743
4675
|
|
|
4676
|
+
const BillingMode = {
|
|
4677
|
+
EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING",
|
|
4678
|
+
FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING",
|
|
4679
|
+
};
|
|
4680
|
+
const QueryStatus = {
|
|
4681
|
+
CANCELLED: "CANCELLED",
|
|
4682
|
+
FAILED: "FAILED",
|
|
4683
|
+
FINISHED: "FINISHED",
|
|
4684
|
+
QUEUED: "QUEUED",
|
|
4685
|
+
RUNNING: "RUNNING",
|
|
4686
|
+
TIMED_OUT: "TIMED_OUT",
|
|
4687
|
+
};
|
|
4688
|
+
const DestinationType = {
|
|
4689
|
+
AWS_SERVICE: "AWS_SERVICE",
|
|
4690
|
+
EVENT_DATA_STORE: "EVENT_DATA_STORE",
|
|
4691
|
+
};
|
|
4692
|
+
const RefreshScheduleFrequencyUnit = {
|
|
4693
|
+
DAYS: "DAYS",
|
|
4694
|
+
HOURS: "HOURS",
|
|
4695
|
+
};
|
|
4696
|
+
const RefreshScheduleStatus = {
|
|
4697
|
+
DISABLED: "DISABLED",
|
|
4698
|
+
ENABLED: "ENABLED",
|
|
4699
|
+
};
|
|
4700
|
+
const DashboardType = {
|
|
4701
|
+
CUSTOM: "CUSTOM",
|
|
4702
|
+
MANAGED: "MANAGED",
|
|
4703
|
+
};
|
|
4704
|
+
const EventDataStoreStatus = {
|
|
4705
|
+
CREATED: "CREATED",
|
|
4706
|
+
ENABLED: "ENABLED",
|
|
4707
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
4708
|
+
STARTING_INGESTION: "STARTING_INGESTION",
|
|
4709
|
+
STOPPED_INGESTION: "STOPPED_INGESTION",
|
|
4710
|
+
STOPPING_INGESTION: "STOPPING_INGESTION",
|
|
4711
|
+
};
|
|
4712
|
+
const DeliveryStatus = {
|
|
4713
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
4714
|
+
ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE",
|
|
4715
|
+
CANCELLED: "CANCELLED",
|
|
4716
|
+
FAILED: "FAILED",
|
|
4717
|
+
FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE",
|
|
4718
|
+
PENDING: "PENDING",
|
|
4719
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
4720
|
+
SUCCESS: "SUCCESS",
|
|
4721
|
+
UNKNOWN: "UNKNOWN",
|
|
4722
|
+
};
|
|
4723
|
+
const FederationStatus = {
|
|
4724
|
+
DISABLED: "DISABLED",
|
|
4725
|
+
DISABLING: "DISABLING",
|
|
4726
|
+
ENABLED: "ENABLED",
|
|
4727
|
+
ENABLING: "ENABLING",
|
|
4728
|
+
};
|
|
4729
|
+
const DashboardStatus = {
|
|
4730
|
+
CREATED: "CREATED",
|
|
4731
|
+
CREATING: "CREATING",
|
|
4732
|
+
DELETING: "DELETING",
|
|
4733
|
+
UPDATED: "UPDATED",
|
|
4734
|
+
UPDATING: "UPDATING",
|
|
4735
|
+
};
|
|
4736
|
+
const Type = {
|
|
4737
|
+
RequestContext: "RequestContext",
|
|
4738
|
+
TagContext: "TagContext",
|
|
4739
|
+
};
|
|
4740
|
+
const MaxEventSize = {
|
|
4741
|
+
Large: "Large",
|
|
4742
|
+
Standard: "Standard",
|
|
4743
|
+
};
|
|
4744
|
+
const ReadWriteType = {
|
|
4745
|
+
All: "All",
|
|
4746
|
+
ReadOnly: "ReadOnly",
|
|
4747
|
+
WriteOnly: "WriteOnly",
|
|
4748
|
+
};
|
|
4749
|
+
const ImportStatus = {
|
|
4750
|
+
COMPLETED: "COMPLETED",
|
|
4751
|
+
FAILED: "FAILED",
|
|
4752
|
+
INITIALIZING: "INITIALIZING",
|
|
4753
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
4754
|
+
STOPPED: "STOPPED",
|
|
4755
|
+
};
|
|
4756
|
+
const SourceEventCategory = {
|
|
4757
|
+
Data: "Data",
|
|
4758
|
+
Management: "Management",
|
|
4759
|
+
};
|
|
4760
|
+
const InsightType = {
|
|
4761
|
+
ApiCallRateInsight: "ApiCallRateInsight",
|
|
4762
|
+
ApiErrorRateInsight: "ApiErrorRateInsight",
|
|
4763
|
+
};
|
|
4764
|
+
const ImportFailureStatus = {
|
|
4765
|
+
FAILED: "FAILED",
|
|
4766
|
+
RETRY: "RETRY",
|
|
4767
|
+
SUCCEEDED: "SUCCEEDED",
|
|
4768
|
+
};
|
|
4769
|
+
const ListInsightsDataType = {
|
|
4770
|
+
INSIGHTS_EVENTS: "InsightsEvents",
|
|
4771
|
+
};
|
|
4772
|
+
const ListInsightsDataDimensionKey = {
|
|
4773
|
+
EVENT_ID: "EventId",
|
|
4774
|
+
EVENT_NAME: "EventName",
|
|
4775
|
+
EVENT_SOURCE: "EventSource",
|
|
4776
|
+
};
|
|
4777
|
+
const InsightsMetricDataType = {
|
|
4778
|
+
FILL_WITH_ZEROS: "FillWithZeros",
|
|
4779
|
+
NON_ZERO_DATA: "NonZeroData",
|
|
4780
|
+
};
|
|
4781
|
+
const EventCategory = {
|
|
4782
|
+
Insight: "insight",
|
|
4783
|
+
};
|
|
4784
|
+
const LookupAttributeKey = {
|
|
4785
|
+
ACCESS_KEY_ID: "AccessKeyId",
|
|
4786
|
+
EVENT_ID: "EventId",
|
|
4787
|
+
EVENT_NAME: "EventName",
|
|
4788
|
+
EVENT_SOURCE: "EventSource",
|
|
4789
|
+
READ_ONLY: "ReadOnly",
|
|
4790
|
+
RESOURCE_NAME: "ResourceName",
|
|
4791
|
+
RESOURCE_TYPE: "ResourceType",
|
|
4792
|
+
USERNAME: "Username",
|
|
4793
|
+
};
|
|
4794
|
+
|
|
4744
4795
|
Object.defineProperty(exports, "$Command", {
|
|
4745
4796
|
enumerable: true,
|
|
4746
4797
|
get: function () { return smithyClient.Command; }
|
|
@@ -4861,6 +4912,9 @@ exports.ListDashboardsCommand = ListDashboardsCommand;
|
|
|
4861
4912
|
exports.ListEventDataStoresCommand = ListEventDataStoresCommand;
|
|
4862
4913
|
exports.ListImportFailuresCommand = ListImportFailuresCommand;
|
|
4863
4914
|
exports.ListImportsCommand = ListImportsCommand;
|
|
4915
|
+
exports.ListInsightsDataCommand = ListInsightsDataCommand;
|
|
4916
|
+
exports.ListInsightsDataDimensionKey = ListInsightsDataDimensionKey;
|
|
4917
|
+
exports.ListInsightsDataType = ListInsightsDataType;
|
|
4864
4918
|
exports.ListInsightsMetricDataCommand = ListInsightsMetricDataCommand;
|
|
4865
4919
|
exports.ListPublicKeysCommand = ListPublicKeysCommand;
|
|
4866
4920
|
exports.ListQueriesCommand = ListQueriesCommand;
|
|
@@ -4897,6 +4951,7 @@ exports.RestoreEventDataStoreCommand = RestoreEventDataStoreCommand;
|
|
|
4897
4951
|
exports.S3BucketDoesNotExistException = S3BucketDoesNotExistException$1;
|
|
4898
4952
|
exports.SearchSampleQueriesCommand = SearchSampleQueriesCommand;
|
|
4899
4953
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
4954
|
+
exports.SourceEventCategory = SourceEventCategory;
|
|
4900
4955
|
exports.StartDashboardRefreshCommand = StartDashboardRefreshCommand;
|
|
4901
4956
|
exports.StartEventDataStoreIngestionCommand = StartEventDataStoreIngestionCommand;
|
|
4902
4957
|
exports.StartImportCommand = StartImportCommand;
|
|
@@ -4921,6 +4976,7 @@ exports.paginateListChannels = paginateListChannels;
|
|
|
4921
4976
|
exports.paginateListEventDataStores = paginateListEventDataStores;
|
|
4922
4977
|
exports.paginateListImportFailures = paginateListImportFailures;
|
|
4923
4978
|
exports.paginateListImports = paginateListImports;
|
|
4979
|
+
exports.paginateListInsightsData = paginateListInsightsData;
|
|
4924
4980
|
exports.paginateListInsightsMetricData = paginateListInsightsMetricData;
|
|
4925
4981
|
exports.paginateListPublicKeys = paginateListPublicKeys;
|
|
4926
4982
|
exports.paginateListQueries = paginateListQueries;
|
package/dist-es/CloudTrail.js
CHANGED
|
@@ -33,6 +33,7 @@ import { ListDashboardsCommand, } from "./commands/ListDashboardsCommand";
|
|
|
33
33
|
import { ListEventDataStoresCommand, } from "./commands/ListEventDataStoresCommand";
|
|
34
34
|
import { ListImportFailuresCommand, } from "./commands/ListImportFailuresCommand";
|
|
35
35
|
import { ListImportsCommand } from "./commands/ListImportsCommand";
|
|
36
|
+
import { ListInsightsDataCommand, } from "./commands/ListInsightsDataCommand";
|
|
36
37
|
import { ListInsightsMetricDataCommand, } from "./commands/ListInsightsMetricDataCommand";
|
|
37
38
|
import { ListPublicKeysCommand, } from "./commands/ListPublicKeysCommand";
|
|
38
39
|
import { ListQueriesCommand } from "./commands/ListQueriesCommand";
|
|
@@ -93,6 +94,7 @@ const commands = {
|
|
|
93
94
|
ListEventDataStoresCommand,
|
|
94
95
|
ListImportFailuresCommand,
|
|
95
96
|
ListImportsCommand,
|
|
97
|
+
ListInsightsDataCommand,
|
|
96
98
|
ListInsightsMetricDataCommand,
|
|
97
99
|
ListPublicKeysCommand,
|
|
98
100
|
ListQueriesCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListInsightsData } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListInsightsDataCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CloudTrail_20131101", "ListInsightsData", {})
|
|
13
|
+
.n("CloudTrailClient", "ListInsightsDataCommand")
|
|
14
|
+
.sc(ListInsightsData)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -31,6 +31,7 @@ export * from "./ListDashboardsCommand";
|
|
|
31
31
|
export * from "./ListEventDataStoresCommand";
|
|
32
32
|
export * from "./ListImportFailuresCommand";
|
|
33
33
|
export * from "./ListImportsCommand";
|
|
34
|
+
export * from "./ListInsightsDataCommand";
|
|
34
35
|
export * from "./ListInsightsMetricDataCommand";
|
|
35
36
|
export * from "./ListPublicKeysCommand";
|
|
36
37
|
export * from "./ListQueriesCommand";
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./CloudTrailClient";
|
|
|
2
2
|
export * from "./CloudTrail";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { CloudTrailServiceException } from "./models/CloudTrailServiceException";
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export const BillingMode = {
|
|
2
|
+
EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING",
|
|
3
|
+
FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING",
|
|
4
|
+
};
|
|
5
|
+
export const QueryStatus = {
|
|
6
|
+
CANCELLED: "CANCELLED",
|
|
7
|
+
FAILED: "FAILED",
|
|
8
|
+
FINISHED: "FINISHED",
|
|
9
|
+
QUEUED: "QUEUED",
|
|
10
|
+
RUNNING: "RUNNING",
|
|
11
|
+
TIMED_OUT: "TIMED_OUT",
|
|
12
|
+
};
|
|
13
|
+
export const DestinationType = {
|
|
14
|
+
AWS_SERVICE: "AWS_SERVICE",
|
|
15
|
+
EVENT_DATA_STORE: "EVENT_DATA_STORE",
|
|
16
|
+
};
|
|
17
|
+
export const RefreshScheduleFrequencyUnit = {
|
|
18
|
+
DAYS: "DAYS",
|
|
19
|
+
HOURS: "HOURS",
|
|
20
|
+
};
|
|
21
|
+
export const RefreshScheduleStatus = {
|
|
22
|
+
DISABLED: "DISABLED",
|
|
23
|
+
ENABLED: "ENABLED",
|
|
24
|
+
};
|
|
25
|
+
export const DashboardType = {
|
|
26
|
+
CUSTOM: "CUSTOM",
|
|
27
|
+
MANAGED: "MANAGED",
|
|
28
|
+
};
|
|
29
|
+
export const EventDataStoreStatus = {
|
|
30
|
+
CREATED: "CREATED",
|
|
31
|
+
ENABLED: "ENABLED",
|
|
32
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
33
|
+
STARTING_INGESTION: "STARTING_INGESTION",
|
|
34
|
+
STOPPED_INGESTION: "STOPPED_INGESTION",
|
|
35
|
+
STOPPING_INGESTION: "STOPPING_INGESTION",
|
|
36
|
+
};
|
|
37
|
+
export const DeliveryStatus = {
|
|
38
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
39
|
+
ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE",
|
|
40
|
+
CANCELLED: "CANCELLED",
|
|
41
|
+
FAILED: "FAILED",
|
|
42
|
+
FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE",
|
|
43
|
+
PENDING: "PENDING",
|
|
44
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
45
|
+
SUCCESS: "SUCCESS",
|
|
46
|
+
UNKNOWN: "UNKNOWN",
|
|
47
|
+
};
|
|
48
|
+
export const FederationStatus = {
|
|
49
|
+
DISABLED: "DISABLED",
|
|
50
|
+
DISABLING: "DISABLING",
|
|
51
|
+
ENABLED: "ENABLED",
|
|
52
|
+
ENABLING: "ENABLING",
|
|
53
|
+
};
|
|
54
|
+
export const DashboardStatus = {
|
|
55
|
+
CREATED: "CREATED",
|
|
56
|
+
CREATING: "CREATING",
|
|
57
|
+
DELETING: "DELETING",
|
|
58
|
+
UPDATED: "UPDATED",
|
|
59
|
+
UPDATING: "UPDATING",
|
|
60
|
+
};
|
|
61
|
+
export const Type = {
|
|
62
|
+
RequestContext: "RequestContext",
|
|
63
|
+
TagContext: "TagContext",
|
|
64
|
+
};
|
|
65
|
+
export const MaxEventSize = {
|
|
66
|
+
Large: "Large",
|
|
67
|
+
Standard: "Standard",
|
|
68
|
+
};
|
|
69
|
+
export const ReadWriteType = {
|
|
70
|
+
All: "All",
|
|
71
|
+
ReadOnly: "ReadOnly",
|
|
72
|
+
WriteOnly: "WriteOnly",
|
|
73
|
+
};
|
|
74
|
+
export const ImportStatus = {
|
|
75
|
+
COMPLETED: "COMPLETED",
|
|
76
|
+
FAILED: "FAILED",
|
|
77
|
+
INITIALIZING: "INITIALIZING",
|
|
78
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
79
|
+
STOPPED: "STOPPED",
|
|
80
|
+
};
|
|
81
|
+
export const SourceEventCategory = {
|
|
82
|
+
Data: "Data",
|
|
83
|
+
Management: "Management",
|
|
84
|
+
};
|
|
85
|
+
export const InsightType = {
|
|
86
|
+
ApiCallRateInsight: "ApiCallRateInsight",
|
|
87
|
+
ApiErrorRateInsight: "ApiErrorRateInsight",
|
|
88
|
+
};
|
|
89
|
+
export const ImportFailureStatus = {
|
|
90
|
+
FAILED: "FAILED",
|
|
91
|
+
RETRY: "RETRY",
|
|
92
|
+
SUCCEEDED: "SUCCEEDED",
|
|
93
|
+
};
|
|
94
|
+
export const ListInsightsDataType = {
|
|
95
|
+
INSIGHTS_EVENTS: "InsightsEvents",
|
|
96
|
+
};
|
|
97
|
+
export const ListInsightsDataDimensionKey = {
|
|
98
|
+
EVENT_ID: "EventId",
|
|
99
|
+
EVENT_NAME: "EventName",
|
|
100
|
+
EVENT_SOURCE: "EventSource",
|
|
101
|
+
};
|
|
102
|
+
export const InsightsMetricDataType = {
|
|
103
|
+
FILL_WITH_ZEROS: "FillWithZeros",
|
|
104
|
+
NON_ZERO_DATA: "NonZeroData",
|
|
105
|
+
};
|
|
106
|
+
export const EventCategory = {
|
|
107
|
+
Insight: "insight",
|
|
108
|
+
};
|
|
109
|
+
export const LookupAttributeKey = {
|
|
110
|
+
ACCESS_KEY_ID: "AccessKeyId",
|
|
111
|
+
EVENT_ID: "EventId",
|
|
112
|
+
EVENT_NAME: "EventName",
|
|
113
|
+
EVENT_SOURCE: "EventSource",
|
|
114
|
+
READ_ONLY: "ReadOnly",
|
|
115
|
+
RESOURCE_NAME: "ResourceName",
|
|
116
|
+
RESOURCE_TYPE: "ResourceType",
|
|
117
|
+
USERNAME: "Username",
|
|
118
|
+
};
|