@aws-sdk/client-cloudtrail 3.933.0 → 3.935.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.
Files changed (44) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +183 -127
  3. package/dist-es/CloudTrail.js +2 -0
  4. package/dist-es/commands/ListInsightsDataCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +2 -1
  7. package/dist-es/models/enums.js +118 -0
  8. package/dist-es/models/errors.js +1205 -0
  9. package/dist-es/models/models_0.js +1 -1311
  10. package/dist-es/pagination/ListInsightsDataPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +33 -8
  13. package/dist-types/CloudTrail.d.ts +7 -0
  14. package/dist-types/CloudTrailClient.d.ts +3 -2
  15. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +5 -0
  16. package/dist-types/commands/DeleteTrailCommand.d.ts +12 -0
  17. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +5 -2
  18. package/dist-types/commands/ListInsightsDataCommand.d.ts +126 -0
  19. package/dist-types/commands/ListInsightsMetricDataCommand.d.ts +35 -1
  20. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +26 -2
  21. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +11 -0
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/index.d.ts +3 -1
  24. package/dist-types/models/enums.d.ts +294 -0
  25. package/dist-types/models/errors.d.ts +1615 -0
  26. package/dist-types/models/models_0.d.ts +239 -2023
  27. package/dist-types/pagination/ListInsightsDataPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +5 -0
  30. package/dist-types/ts3.4/CloudTrail.d.ts +17 -0
  31. package/dist-types/ts3.4/CloudTrailClient.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/ListInsightsDataCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  34. package/dist-types/ts3.4/index.d.ts +3 -1
  35. package/dist-types/ts3.4/models/enums.d.ts +153 -0
  36. package/dist-types/ts3.4/models/errors.d.ts +794 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +57 -944
  38. package/dist-types/ts3.4/pagination/ListInsightsDataPaginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  41. package/package.json +12 -12
  42. package/dist-es/models/index.js +0 -1
  43. package/dist-types/models/index.d.ts +0 -1
  44. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,294 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const BillingMode: {
6
+ readonly EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING";
7
+ readonly FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type BillingMode = (typeof BillingMode)[keyof typeof BillingMode];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const QueryStatus: {
18
+ readonly CANCELLED: "CANCELLED";
19
+ readonly FAILED: "FAILED";
20
+ readonly FINISHED: "FINISHED";
21
+ readonly QUEUED: "QUEUED";
22
+ readonly RUNNING: "RUNNING";
23
+ readonly TIMED_OUT: "TIMED_OUT";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
29
+ /**
30
+ * @public
31
+ * @enum
32
+ */
33
+ export declare const DestinationType: {
34
+ readonly AWS_SERVICE: "AWS_SERVICE";
35
+ readonly EVENT_DATA_STORE: "EVENT_DATA_STORE";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type DestinationType = (typeof DestinationType)[keyof typeof DestinationType];
41
+ /**
42
+ * @public
43
+ * @enum
44
+ */
45
+ export declare const RefreshScheduleFrequencyUnit: {
46
+ readonly DAYS: "DAYS";
47
+ readonly HOURS: "HOURS";
48
+ };
49
+ /**
50
+ * @public
51
+ */
52
+ export type RefreshScheduleFrequencyUnit = (typeof RefreshScheduleFrequencyUnit)[keyof typeof RefreshScheduleFrequencyUnit];
53
+ /**
54
+ * @public
55
+ * @enum
56
+ */
57
+ export declare const RefreshScheduleStatus: {
58
+ readonly DISABLED: "DISABLED";
59
+ readonly ENABLED: "ENABLED";
60
+ };
61
+ /**
62
+ * @public
63
+ */
64
+ export type RefreshScheduleStatus = (typeof RefreshScheduleStatus)[keyof typeof RefreshScheduleStatus];
65
+ /**
66
+ * @public
67
+ * @enum
68
+ */
69
+ export declare const DashboardType: {
70
+ readonly CUSTOM: "CUSTOM";
71
+ readonly MANAGED: "MANAGED";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type DashboardType = (typeof DashboardType)[keyof typeof DashboardType];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const EventDataStoreStatus: {
82
+ readonly CREATED: "CREATED";
83
+ readonly ENABLED: "ENABLED";
84
+ readonly PENDING_DELETION: "PENDING_DELETION";
85
+ readonly STARTING_INGESTION: "STARTING_INGESTION";
86
+ readonly STOPPED_INGESTION: "STOPPED_INGESTION";
87
+ readonly STOPPING_INGESTION: "STOPPING_INGESTION";
88
+ };
89
+ /**
90
+ * @public
91
+ */
92
+ export type EventDataStoreStatus = (typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
93
+ /**
94
+ * @public
95
+ * @enum
96
+ */
97
+ export declare const DeliveryStatus: {
98
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
99
+ readonly ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE";
100
+ readonly CANCELLED: "CANCELLED";
101
+ readonly FAILED: "FAILED";
102
+ readonly FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE";
103
+ readonly PENDING: "PENDING";
104
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
105
+ readonly SUCCESS: "SUCCESS";
106
+ readonly UNKNOWN: "UNKNOWN";
107
+ };
108
+ /**
109
+ * @public
110
+ */
111
+ export type DeliveryStatus = (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
112
+ /**
113
+ * @public
114
+ * @enum
115
+ */
116
+ export declare const FederationStatus: {
117
+ readonly DISABLED: "DISABLED";
118
+ readonly DISABLING: "DISABLING";
119
+ readonly ENABLED: "ENABLED";
120
+ readonly ENABLING: "ENABLING";
121
+ };
122
+ /**
123
+ * @public
124
+ */
125
+ export type FederationStatus = (typeof FederationStatus)[keyof typeof FederationStatus];
126
+ /**
127
+ * @public
128
+ * @enum
129
+ */
130
+ export declare const DashboardStatus: {
131
+ readonly CREATED: "CREATED";
132
+ readonly CREATING: "CREATING";
133
+ readonly DELETING: "DELETING";
134
+ readonly UPDATED: "UPDATED";
135
+ readonly UPDATING: "UPDATING";
136
+ };
137
+ /**
138
+ * @public
139
+ */
140
+ export type DashboardStatus = (typeof DashboardStatus)[keyof typeof DashboardStatus];
141
+ /**
142
+ * @public
143
+ * @enum
144
+ */
145
+ export declare const Type: {
146
+ readonly RequestContext: "RequestContext";
147
+ readonly TagContext: "TagContext";
148
+ };
149
+ /**
150
+ * @public
151
+ */
152
+ export type Type = (typeof Type)[keyof typeof Type];
153
+ /**
154
+ * @public
155
+ * @enum
156
+ */
157
+ export declare const MaxEventSize: {
158
+ readonly Large: "Large";
159
+ readonly Standard: "Standard";
160
+ };
161
+ /**
162
+ * @public
163
+ */
164
+ export type MaxEventSize = (typeof MaxEventSize)[keyof typeof MaxEventSize];
165
+ /**
166
+ * @public
167
+ * @enum
168
+ */
169
+ export declare const ReadWriteType: {
170
+ readonly All: "All";
171
+ readonly ReadOnly: "ReadOnly";
172
+ readonly WriteOnly: "WriteOnly";
173
+ };
174
+ /**
175
+ * @public
176
+ */
177
+ export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
178
+ /**
179
+ * @public
180
+ * @enum
181
+ */
182
+ export declare const ImportStatus: {
183
+ readonly COMPLETED: "COMPLETED";
184
+ readonly FAILED: "FAILED";
185
+ readonly INITIALIZING: "INITIALIZING";
186
+ readonly IN_PROGRESS: "IN_PROGRESS";
187
+ readonly STOPPED: "STOPPED";
188
+ };
189
+ /**
190
+ * @public
191
+ */
192
+ export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
193
+ /**
194
+ * @public
195
+ * @enum
196
+ */
197
+ export declare const SourceEventCategory: {
198
+ readonly Data: "Data";
199
+ readonly Management: "Management";
200
+ };
201
+ /**
202
+ * @public
203
+ */
204
+ export type SourceEventCategory = (typeof SourceEventCategory)[keyof typeof SourceEventCategory];
205
+ /**
206
+ * @public
207
+ * @enum
208
+ */
209
+ export declare const InsightType: {
210
+ readonly ApiCallRateInsight: "ApiCallRateInsight";
211
+ readonly ApiErrorRateInsight: "ApiErrorRateInsight";
212
+ };
213
+ /**
214
+ * @public
215
+ */
216
+ export type InsightType = (typeof InsightType)[keyof typeof InsightType];
217
+ /**
218
+ * @public
219
+ * @enum
220
+ */
221
+ export declare const ImportFailureStatus: {
222
+ readonly FAILED: "FAILED";
223
+ readonly RETRY: "RETRY";
224
+ readonly SUCCEEDED: "SUCCEEDED";
225
+ };
226
+ /**
227
+ * @public
228
+ */
229
+ export type ImportFailureStatus = (typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
230
+ /**
231
+ * @public
232
+ * @enum
233
+ */
234
+ export declare const ListInsightsDataType: {
235
+ readonly INSIGHTS_EVENTS: "InsightsEvents";
236
+ };
237
+ /**
238
+ * @public
239
+ */
240
+ export type ListInsightsDataType = (typeof ListInsightsDataType)[keyof typeof ListInsightsDataType];
241
+ /**
242
+ * @public
243
+ * @enum
244
+ */
245
+ export declare const ListInsightsDataDimensionKey: {
246
+ readonly EVENT_ID: "EventId";
247
+ readonly EVENT_NAME: "EventName";
248
+ readonly EVENT_SOURCE: "EventSource";
249
+ };
250
+ /**
251
+ * @public
252
+ */
253
+ export type ListInsightsDataDimensionKey = (typeof ListInsightsDataDimensionKey)[keyof typeof ListInsightsDataDimensionKey];
254
+ /**
255
+ * @public
256
+ * @enum
257
+ */
258
+ export declare const InsightsMetricDataType: {
259
+ readonly FILL_WITH_ZEROS: "FillWithZeros";
260
+ readonly NON_ZERO_DATA: "NonZeroData";
261
+ };
262
+ /**
263
+ * @public
264
+ */
265
+ export type InsightsMetricDataType = (typeof InsightsMetricDataType)[keyof typeof InsightsMetricDataType];
266
+ /**
267
+ * @public
268
+ * @enum
269
+ */
270
+ export declare const EventCategory: {
271
+ readonly Insight: "insight";
272
+ };
273
+ /**
274
+ * @public
275
+ */
276
+ export type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
277
+ /**
278
+ * @public
279
+ * @enum
280
+ */
281
+ export declare const LookupAttributeKey: {
282
+ readonly ACCESS_KEY_ID: "AccessKeyId";
283
+ readonly EVENT_ID: "EventId";
284
+ readonly EVENT_NAME: "EventName";
285
+ readonly EVENT_SOURCE: "EventSource";
286
+ readonly READ_ONLY: "ReadOnly";
287
+ readonly RESOURCE_NAME: "ResourceName";
288
+ readonly RESOURCE_TYPE: "ResourceType";
289
+ readonly USERNAME: "Username";
290
+ };
291
+ /**
292
+ * @public
293
+ */
294
+ export type LookupAttributeKey = (typeof LookupAttributeKey)[keyof typeof LookupAttributeKey];