aws-sdk 2.871.0 → 2.875.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 (45) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/README.md +1 -1
  3. package/apis/alexaforbusiness-2017-11-09.min.json +9 -0
  4. package/apis/customer-profiles-2020-08-15.min.json +164 -6
  5. package/apis/docdb-2014-10-31.min.json +298 -114
  6. package/apis/docdb-2014-10-31.paginators.json +6 -0
  7. package/apis/eventbridge-2015-10-07.min.json +22 -3
  8. package/apis/events-2015-10-07.min.json +22 -3
  9. package/apis/glue-2017-03-31.min.json +20 -10
  10. package/apis/iotwireless-2020-11-22.min.json +3 -0
  11. package/apis/location-2020-11-19.min.json +23 -1
  12. package/apis/lookoutmetrics-2017-07-25.examples.json +5 -0
  13. package/apis/lookoutmetrics-2017-07-25.min.json +1179 -0
  14. package/apis/lookoutmetrics-2017-07-25.paginators.json +39 -0
  15. package/apis/medialive-2017-10-14.min.json +189 -176
  16. package/apis/metadata.json +3 -0
  17. package/apis/rekognition-2016-06-27.min.json +181 -109
  18. package/apis/sagemaker-2017-07-24.min.json +213 -199
  19. package/apis/wafv2-2019-07-29.min.json +172 -81
  20. package/clients/alexaforbusiness.d.ts +12 -0
  21. package/clients/all.d.ts +1 -0
  22. package/clients/all.js +2 -1
  23. package/clients/cloudwatchevents.d.ts +25 -2
  24. package/clients/customerprofiles.d.ts +102 -1
  25. package/clients/docdb.d.ts +213 -0
  26. package/clients/eventbridge.d.ts +25 -2
  27. package/clients/glue.d.ts +21 -6
  28. package/clients/iotwireless.d.ts +13 -9
  29. package/clients/location.d.ts +100 -44
  30. package/clients/lookoutmetrics.d.ts +1497 -0
  31. package/clients/lookoutmetrics.js +19 -0
  32. package/clients/medialive.d.ts +8 -1
  33. package/clients/rekognition.d.ts +80 -3
  34. package/clients/sagemaker.d.ts +26 -11
  35. package/clients/sqs.d.ts +2 -2
  36. package/clients/transcribeservice.d.ts +2 -2
  37. package/clients/wafv2.d.ts +94 -3
  38. package/dist/aws-sdk-core-react-native.js +2 -2
  39. package/dist/aws-sdk-react-native.js +83 -17
  40. package/dist/aws-sdk.js +209 -115
  41. package/dist/aws-sdk.min.js +47 -47
  42. package/lib/config_service_placeholders.d.ts +2 -0
  43. package/lib/core.js +1 -1
  44. package/lib/services/lookoutmetrics.js +22 -0
  45. package/package.json +1 -1
@@ -0,0 +1,1497 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class LookoutMetrics extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: LookoutMetrics.Types.ClientConfiguration)
13
+ config: Config & LookoutMetrics.Types.ClientConfiguration;
14
+ /**
15
+ * Activates an anomaly detector.
16
+ */
17
+ activateAnomalyDetector(params: LookoutMetrics.Types.ActivateAnomalyDetectorRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.ActivateAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.ActivateAnomalyDetectorResponse, AWSError>;
18
+ /**
19
+ * Activates an anomaly detector.
20
+ */
21
+ activateAnomalyDetector(callback?: (err: AWSError, data: LookoutMetrics.Types.ActivateAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.ActivateAnomalyDetectorResponse, AWSError>;
22
+ /**
23
+ * Runs a backtest for anomaly detection for the specified resource.
24
+ */
25
+ backTestAnomalyDetector(params: LookoutMetrics.Types.BackTestAnomalyDetectorRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.BackTestAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.BackTestAnomalyDetectorResponse, AWSError>;
26
+ /**
27
+ * Runs a backtest for anomaly detection for the specified resource.
28
+ */
29
+ backTestAnomalyDetector(callback?: (err: AWSError, data: LookoutMetrics.Types.BackTestAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.BackTestAnomalyDetectorResponse, AWSError>;
30
+ /**
31
+ * Creates an alert for an anomaly detector.
32
+ */
33
+ createAlert(params: LookoutMetrics.Types.CreateAlertRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.CreateAlertResponse) => void): Request<LookoutMetrics.Types.CreateAlertResponse, AWSError>;
34
+ /**
35
+ * Creates an alert for an anomaly detector.
36
+ */
37
+ createAlert(callback?: (err: AWSError, data: LookoutMetrics.Types.CreateAlertResponse) => void): Request<LookoutMetrics.Types.CreateAlertResponse, AWSError>;
38
+ /**
39
+ * Creates an anomaly detector.
40
+ */
41
+ createAnomalyDetector(params: LookoutMetrics.Types.CreateAnomalyDetectorRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.CreateAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.CreateAnomalyDetectorResponse, AWSError>;
42
+ /**
43
+ * Creates an anomaly detector.
44
+ */
45
+ createAnomalyDetector(callback?: (err: AWSError, data: LookoutMetrics.Types.CreateAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.CreateAnomalyDetectorResponse, AWSError>;
46
+ /**
47
+ * Creates a dataset.
48
+ */
49
+ createMetricSet(params: LookoutMetrics.Types.CreateMetricSetRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.CreateMetricSetResponse) => void): Request<LookoutMetrics.Types.CreateMetricSetResponse, AWSError>;
50
+ /**
51
+ * Creates a dataset.
52
+ */
53
+ createMetricSet(callback?: (err: AWSError, data: LookoutMetrics.Types.CreateMetricSetResponse) => void): Request<LookoutMetrics.Types.CreateMetricSetResponse, AWSError>;
54
+ /**
55
+ * Deletes an alert.
56
+ */
57
+ deleteAlert(params: LookoutMetrics.Types.DeleteAlertRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.DeleteAlertResponse) => void): Request<LookoutMetrics.Types.DeleteAlertResponse, AWSError>;
58
+ /**
59
+ * Deletes an alert.
60
+ */
61
+ deleteAlert(callback?: (err: AWSError, data: LookoutMetrics.Types.DeleteAlertResponse) => void): Request<LookoutMetrics.Types.DeleteAlertResponse, AWSError>;
62
+ /**
63
+ * Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
64
+ */
65
+ deleteAnomalyDetector(params: LookoutMetrics.Types.DeleteAnomalyDetectorRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.DeleteAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.DeleteAnomalyDetectorResponse, AWSError>;
66
+ /**
67
+ * Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
68
+ */
69
+ deleteAnomalyDetector(callback?: (err: AWSError, data: LookoutMetrics.Types.DeleteAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.DeleteAnomalyDetectorResponse, AWSError>;
70
+ /**
71
+ * Describes an alert.
72
+ */
73
+ describeAlert(params: LookoutMetrics.Types.DescribeAlertRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.DescribeAlertResponse) => void): Request<LookoutMetrics.Types.DescribeAlertResponse, AWSError>;
74
+ /**
75
+ * Describes an alert.
76
+ */
77
+ describeAlert(callback?: (err: AWSError, data: LookoutMetrics.Types.DescribeAlertResponse) => void): Request<LookoutMetrics.Types.DescribeAlertResponse, AWSError>;
78
+ /**
79
+ * Returns information about the status of the specified anomaly detection jobs.
80
+ */
81
+ describeAnomalyDetectionExecutions(params: LookoutMetrics.Types.DescribeAnomalyDetectionExecutionsRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.DescribeAnomalyDetectionExecutionsResponse) => void): Request<LookoutMetrics.Types.DescribeAnomalyDetectionExecutionsResponse, AWSError>;
82
+ /**
83
+ * Returns information about the status of the specified anomaly detection jobs.
84
+ */
85
+ describeAnomalyDetectionExecutions(callback?: (err: AWSError, data: LookoutMetrics.Types.DescribeAnomalyDetectionExecutionsResponse) => void): Request<LookoutMetrics.Types.DescribeAnomalyDetectionExecutionsResponse, AWSError>;
86
+ /**
87
+ * Describes a detector.
88
+ */
89
+ describeAnomalyDetector(params: LookoutMetrics.Types.DescribeAnomalyDetectorRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.DescribeAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.DescribeAnomalyDetectorResponse, AWSError>;
90
+ /**
91
+ * Describes a detector.
92
+ */
93
+ describeAnomalyDetector(callback?: (err: AWSError, data: LookoutMetrics.Types.DescribeAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.DescribeAnomalyDetectorResponse, AWSError>;
94
+ /**
95
+ * Describes a dataset.
96
+ */
97
+ describeMetricSet(params: LookoutMetrics.Types.DescribeMetricSetRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.DescribeMetricSetResponse) => void): Request<LookoutMetrics.Types.DescribeMetricSetResponse, AWSError>;
98
+ /**
99
+ * Describes a dataset.
100
+ */
101
+ describeMetricSet(callback?: (err: AWSError, data: LookoutMetrics.Types.DescribeMetricSetResponse) => void): Request<LookoutMetrics.Types.DescribeMetricSetResponse, AWSError>;
102
+ /**
103
+ * Returns details about a group of anomalous metrics.
104
+ */
105
+ getAnomalyGroup(params: LookoutMetrics.Types.GetAnomalyGroupRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.GetAnomalyGroupResponse) => void): Request<LookoutMetrics.Types.GetAnomalyGroupResponse, AWSError>;
106
+ /**
107
+ * Returns details about a group of anomalous metrics.
108
+ */
109
+ getAnomalyGroup(callback?: (err: AWSError, data: LookoutMetrics.Types.GetAnomalyGroupResponse) => void): Request<LookoutMetrics.Types.GetAnomalyGroupResponse, AWSError>;
110
+ /**
111
+ * Get feedback for an anomaly group.
112
+ */
113
+ getFeedback(params: LookoutMetrics.Types.GetFeedbackRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.GetFeedbackResponse) => void): Request<LookoutMetrics.Types.GetFeedbackResponse, AWSError>;
114
+ /**
115
+ * Get feedback for an anomaly group.
116
+ */
117
+ getFeedback(callback?: (err: AWSError, data: LookoutMetrics.Types.GetFeedbackResponse) => void): Request<LookoutMetrics.Types.GetFeedbackResponse, AWSError>;
118
+ /**
119
+ * Returns a selection of sample records from an Amazon S3 datasource.
120
+ */
121
+ getSampleData(params: LookoutMetrics.Types.GetSampleDataRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.GetSampleDataResponse) => void): Request<LookoutMetrics.Types.GetSampleDataResponse, AWSError>;
122
+ /**
123
+ * Returns a selection of sample records from an Amazon S3 datasource.
124
+ */
125
+ getSampleData(callback?: (err: AWSError, data: LookoutMetrics.Types.GetSampleDataResponse) => void): Request<LookoutMetrics.Types.GetSampleDataResponse, AWSError>;
126
+ /**
127
+ * Lists the alerts attached to a detector.
128
+ */
129
+ listAlerts(params: LookoutMetrics.Types.ListAlertsRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.ListAlertsResponse) => void): Request<LookoutMetrics.Types.ListAlertsResponse, AWSError>;
130
+ /**
131
+ * Lists the alerts attached to a detector.
132
+ */
133
+ listAlerts(callback?: (err: AWSError, data: LookoutMetrics.Types.ListAlertsResponse) => void): Request<LookoutMetrics.Types.ListAlertsResponse, AWSError>;
134
+ /**
135
+ * Lists the detectors in the current AWS Region.
136
+ */
137
+ listAnomalyDetectors(params: LookoutMetrics.Types.ListAnomalyDetectorsRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.ListAnomalyDetectorsResponse) => void): Request<LookoutMetrics.Types.ListAnomalyDetectorsResponse, AWSError>;
138
+ /**
139
+ * Lists the detectors in the current AWS Region.
140
+ */
141
+ listAnomalyDetectors(callback?: (err: AWSError, data: LookoutMetrics.Types.ListAnomalyDetectorsResponse) => void): Request<LookoutMetrics.Types.ListAnomalyDetectorsResponse, AWSError>;
142
+ /**
143
+ * Returns a list of anomaly groups.
144
+ */
145
+ listAnomalyGroupSummaries(params: LookoutMetrics.Types.ListAnomalyGroupSummariesRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.ListAnomalyGroupSummariesResponse) => void): Request<LookoutMetrics.Types.ListAnomalyGroupSummariesResponse, AWSError>;
146
+ /**
147
+ * Returns a list of anomaly groups.
148
+ */
149
+ listAnomalyGroupSummaries(callback?: (err: AWSError, data: LookoutMetrics.Types.ListAnomalyGroupSummariesResponse) => void): Request<LookoutMetrics.Types.ListAnomalyGroupSummariesResponse, AWSError>;
150
+ /**
151
+ * Gets a list of anomalous metrics for a measure in an anomaly group.
152
+ */
153
+ listAnomalyGroupTimeSeries(params: LookoutMetrics.Types.ListAnomalyGroupTimeSeriesRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.ListAnomalyGroupTimeSeriesResponse) => void): Request<LookoutMetrics.Types.ListAnomalyGroupTimeSeriesResponse, AWSError>;
154
+ /**
155
+ * Gets a list of anomalous metrics for a measure in an anomaly group.
156
+ */
157
+ listAnomalyGroupTimeSeries(callback?: (err: AWSError, data: LookoutMetrics.Types.ListAnomalyGroupTimeSeriesResponse) => void): Request<LookoutMetrics.Types.ListAnomalyGroupTimeSeriesResponse, AWSError>;
158
+ /**
159
+ * Lists the datasets in the current AWS Region.
160
+ */
161
+ listMetricSets(params: LookoutMetrics.Types.ListMetricSetsRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.ListMetricSetsResponse) => void): Request<LookoutMetrics.Types.ListMetricSetsResponse, AWSError>;
162
+ /**
163
+ * Lists the datasets in the current AWS Region.
164
+ */
165
+ listMetricSets(callback?: (err: AWSError, data: LookoutMetrics.Types.ListMetricSetsResponse) => void): Request<LookoutMetrics.Types.ListMetricSetsResponse, AWSError>;
166
+ /**
167
+ * Gets a list of tags for a detector, dataset, or alert.
168
+ */
169
+ listTagsForResource(params: LookoutMetrics.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.ListTagsForResourceResponse) => void): Request<LookoutMetrics.Types.ListTagsForResourceResponse, AWSError>;
170
+ /**
171
+ * Gets a list of tags for a detector, dataset, or alert.
172
+ */
173
+ listTagsForResource(callback?: (err: AWSError, data: LookoutMetrics.Types.ListTagsForResourceResponse) => void): Request<LookoutMetrics.Types.ListTagsForResourceResponse, AWSError>;
174
+ /**
175
+ * Add feedback for an anomalous metric.
176
+ */
177
+ putFeedback(params: LookoutMetrics.Types.PutFeedbackRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.PutFeedbackResponse) => void): Request<LookoutMetrics.Types.PutFeedbackResponse, AWSError>;
178
+ /**
179
+ * Add feedback for an anomalous metric.
180
+ */
181
+ putFeedback(callback?: (err: AWSError, data: LookoutMetrics.Types.PutFeedbackResponse) => void): Request<LookoutMetrics.Types.PutFeedbackResponse, AWSError>;
182
+ /**
183
+ * Adds tags to a detector, dataset, or alert.
184
+ */
185
+ tagResource(params: LookoutMetrics.Types.TagResourceRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.TagResourceResponse) => void): Request<LookoutMetrics.Types.TagResourceResponse, AWSError>;
186
+ /**
187
+ * Adds tags to a detector, dataset, or alert.
188
+ */
189
+ tagResource(callback?: (err: AWSError, data: LookoutMetrics.Types.TagResourceResponse) => void): Request<LookoutMetrics.Types.TagResourceResponse, AWSError>;
190
+ /**
191
+ * Removes tags from a detector, dataset, or alert.
192
+ */
193
+ untagResource(params: LookoutMetrics.Types.UntagResourceRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.UntagResourceResponse) => void): Request<LookoutMetrics.Types.UntagResourceResponse, AWSError>;
194
+ /**
195
+ * Removes tags from a detector, dataset, or alert.
196
+ */
197
+ untagResource(callback?: (err: AWSError, data: LookoutMetrics.Types.UntagResourceResponse) => void): Request<LookoutMetrics.Types.UntagResourceResponse, AWSError>;
198
+ /**
199
+ * Updates a detector. After activation, you can only change a detector's ingestion delay and description.
200
+ */
201
+ updateAnomalyDetector(params: LookoutMetrics.Types.UpdateAnomalyDetectorRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.UpdateAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.UpdateAnomalyDetectorResponse, AWSError>;
202
+ /**
203
+ * Updates a detector. After activation, you can only change a detector's ingestion delay and description.
204
+ */
205
+ updateAnomalyDetector(callback?: (err: AWSError, data: LookoutMetrics.Types.UpdateAnomalyDetectorResponse) => void): Request<LookoutMetrics.Types.UpdateAnomalyDetectorResponse, AWSError>;
206
+ /**
207
+ * Updates a dataset.
208
+ */
209
+ updateMetricSet(params: LookoutMetrics.Types.UpdateMetricSetRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.UpdateMetricSetResponse) => void): Request<LookoutMetrics.Types.UpdateMetricSetResponse, AWSError>;
210
+ /**
211
+ * Updates a dataset.
212
+ */
213
+ updateMetricSet(callback?: (err: AWSError, data: LookoutMetrics.Types.UpdateMetricSetResponse) => void): Request<LookoutMetrics.Types.UpdateMetricSetResponse, AWSError>;
214
+ }
215
+ declare namespace LookoutMetrics {
216
+ export interface Action {
217
+ /**
218
+ * A configuration for an Amazon SNS channel.
219
+ */
220
+ SNSConfiguration?: SNSConfiguration;
221
+ /**
222
+ * A configuration for an AWS Lambda channel.
223
+ */
224
+ LambdaConfiguration?: LambdaConfiguration;
225
+ }
226
+ export interface ActivateAnomalyDetectorRequest {
227
+ /**
228
+ * The ARN of the anomaly detector.
229
+ */
230
+ AnomalyDetectorArn: Arn;
231
+ }
232
+ export interface ActivateAnomalyDetectorResponse {
233
+ }
234
+ export type AggregationFunction = "AVG"|"SUM"|string;
235
+ export interface Alert {
236
+ /**
237
+ * Action that will be triggered when there is an alert.
238
+ */
239
+ Action?: Action;
240
+ /**
241
+ * A description of the alert.
242
+ */
243
+ AlertDescription?: AlertDescription;
244
+ /**
245
+ * The ARN of the alert.
246
+ */
247
+ AlertArn?: Arn;
248
+ /**
249
+ * The ARN of the detector to which the alert is attached.
250
+ */
251
+ AnomalyDetectorArn?: Arn;
252
+ /**
253
+ * The name of the alert.
254
+ */
255
+ AlertName?: AlertName;
256
+ /**
257
+ * The minimum severity for an anomaly to trigger the alert.
258
+ */
259
+ AlertSensitivityThreshold?: SensitivityThreshold;
260
+ /**
261
+ * The type of the alert.
262
+ */
263
+ AlertType?: AlertType;
264
+ /**
265
+ * The status of the alert.
266
+ */
267
+ AlertStatus?: AlertStatus;
268
+ /**
269
+ * The time at which the alert was last modified.
270
+ */
271
+ LastModificationTime?: Timestamp;
272
+ /**
273
+ * The time at which the alert was created.
274
+ */
275
+ CreationTime?: Timestamp;
276
+ }
277
+ export type AlertDescription = string;
278
+ export type AlertName = string;
279
+ export type AlertStatus = "ACTIVE"|"INACTIVE"|string;
280
+ export interface AlertSummary {
281
+ /**
282
+ * The ARN of the alert.
283
+ */
284
+ AlertArn?: Arn;
285
+ /**
286
+ * The ARN of the detector to which the alert is attached.
287
+ */
288
+ AnomalyDetectorArn?: Arn;
289
+ /**
290
+ * The name of the alert.
291
+ */
292
+ AlertName?: AlertName;
293
+ /**
294
+ * The minimum severity for an anomaly to trigger the alert.
295
+ */
296
+ AlertSensitivityThreshold?: SensitivityThreshold;
297
+ /**
298
+ * The type of the alert.
299
+ */
300
+ AlertType?: AlertType;
301
+ /**
302
+ * The status of the alert.
303
+ */
304
+ AlertStatus?: AlertStatus;
305
+ /**
306
+ * The time at which the alert was last modified.
307
+ */
308
+ LastModificationTime?: Timestamp;
309
+ /**
310
+ * The time at which the alert was created.
311
+ */
312
+ CreationTime?: Timestamp;
313
+ /**
314
+ * The alert's tags.
315
+ */
316
+ Tags?: TagMap;
317
+ }
318
+ export type AlertSummaryList = AlertSummary[];
319
+ export type AlertType = "SNS"|"LAMBDA"|string;
320
+ export type AnomalyDetectionTaskStatus = "PENDING"|"IN_PROGRESS"|"COMPLETED"|"FAILED"|"FAILED_TO_SCHEDULE"|string;
321
+ export type AnomalyDetectionTaskStatusMessage = string;
322
+ export interface AnomalyDetectorConfig {
323
+ /**
324
+ * The frequency at which the detector analyzes its source data.
325
+ */
326
+ AnomalyDetectorFrequency?: Frequency;
327
+ }
328
+ export interface AnomalyDetectorConfigSummary {
329
+ /**
330
+ * The interval at which the detector analyzes its source data.
331
+ */
332
+ AnomalyDetectorFrequency?: Frequency;
333
+ }
334
+ export type AnomalyDetectorDescription = string;
335
+ export type AnomalyDetectorName = string;
336
+ export type AnomalyDetectorStatus = "ACTIVE"|"ACTIVATING"|"DELETING"|"FAILED"|"INACTIVE"|"BACK_TEST_ACTIVATING"|"BACK_TEST_ACTIVE"|"BACK_TEST_COMPLETE"|string;
337
+ export interface AnomalyDetectorSummary {
338
+ /**
339
+ * The ARN of the detector.
340
+ */
341
+ AnomalyDetectorArn?: Arn;
342
+ /**
343
+ * The name of the detector.
344
+ */
345
+ AnomalyDetectorName?: AnomalyDetectorName;
346
+ /**
347
+ * A description of the detector.
348
+ */
349
+ AnomalyDetectorDescription?: AnomalyDetectorDescription;
350
+ /**
351
+ * The time at which the detector was created.
352
+ */
353
+ CreationTime?: Timestamp;
354
+ /**
355
+ * The time at which the detector was last modified.
356
+ */
357
+ LastModificationTime?: Timestamp;
358
+ /**
359
+ * The status of detector.
360
+ */
361
+ Status?: AnomalyDetectorStatus;
362
+ /**
363
+ * The detector's tags.
364
+ */
365
+ Tags?: TagMap;
366
+ }
367
+ export type AnomalyDetectorSummaryList = AnomalyDetectorSummary[];
368
+ export interface AnomalyGroup {
369
+ /**
370
+ * The start time for the group.
371
+ */
372
+ StartTime?: TimestampString;
373
+ /**
374
+ * The end time for the group.
375
+ */
376
+ EndTime?: TimestampString;
377
+ /**
378
+ * The ID of the anomaly group.
379
+ */
380
+ AnomalyGroupId?: UUID;
381
+ /**
382
+ * The severity score of the group.
383
+ */
384
+ AnomalyGroupScore?: Score;
385
+ /**
386
+ * The name of the primary affected measure for the group.
387
+ */
388
+ PrimaryMetricName?: MetricName;
389
+ /**
390
+ * A list of measures affected by the anomaly.
391
+ */
392
+ MetricLevelImpactList?: MetricLevelImpactList;
393
+ }
394
+ export interface AnomalyGroupStatistics {
395
+ /**
396
+ * The start of the time range that was searched.
397
+ */
398
+ EvaluationStartDate?: TimestampString;
399
+ /**
400
+ * The number of groups found.
401
+ */
402
+ TotalCount?: Integer;
403
+ /**
404
+ * Statistics for individual metrics within the group.
405
+ */
406
+ ItemizedMetricStatsList?: ItemizedMetricStatsList;
407
+ }
408
+ export interface AnomalyGroupSummary {
409
+ /**
410
+ * The start time for the group.
411
+ */
412
+ StartTime?: TimestampString;
413
+ /**
414
+ * The end time for the group.
415
+ */
416
+ EndTime?: TimestampString;
417
+ /**
418
+ * The ID of the anomaly group.
419
+ */
420
+ AnomalyGroupId?: UUID;
421
+ /**
422
+ * The severity score of the group.
423
+ */
424
+ AnomalyGroupScore?: Score;
425
+ /**
426
+ * The name of the primary affected measure for the group.
427
+ */
428
+ PrimaryMetricName?: MetricName;
429
+ }
430
+ export type AnomalyGroupSummaryList = AnomalyGroupSummary[];
431
+ export interface AnomalyGroupTimeSeries {
432
+ /**
433
+ * The ID of the anomaly group.
434
+ */
435
+ AnomalyGroupId: UUID;
436
+ /**
437
+ * The ID of the metric.
438
+ */
439
+ TimeSeriesId?: TimeSeriesId;
440
+ }
441
+ export interface AnomalyGroupTimeSeriesFeedback {
442
+ /**
443
+ * The ID of the anomaly group.
444
+ */
445
+ AnomalyGroupId: UUID;
446
+ /**
447
+ * The ID of the metric.
448
+ */
449
+ TimeSeriesId: TimeSeriesId;
450
+ /**
451
+ * Feedback on whether the metric is a legitimate anomaly.
452
+ */
453
+ IsAnomaly: Boolean;
454
+ }
455
+ export interface AppFlowConfig {
456
+ /**
457
+ * An IAM role that gives Amazon Lookout for Metrics permission to access the flow.
458
+ */
459
+ RoleArn: Arn;
460
+ /**
461
+ * The name of the flow.
462
+ */
463
+ FlowName: FlowName;
464
+ }
465
+ export type Arn = string;
466
+ export interface BackTestAnomalyDetectorRequest {
467
+ /**
468
+ * The Amazon Resource Name (ARN) of the anomaly detector.
469
+ */
470
+ AnomalyDetectorArn: Arn;
471
+ }
472
+ export interface BackTestAnomalyDetectorResponse {
473
+ }
474
+ export type Boolean = boolean;
475
+ export type CSVFileCompression = "NONE"|"GZIP"|string;
476
+ export type Charset = string;
477
+ export interface CloudWatchConfig {
478
+ /**
479
+ * An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch.
480
+ */
481
+ RoleArn: Arn;
482
+ }
483
+ export type ColumnName = string;
484
+ export interface ContributionMatrix {
485
+ /**
486
+ * A list of contributing dimensions.
487
+ */
488
+ DimensionContributionList?: DimensionContributionList;
489
+ }
490
+ export interface CreateAlertRequest {
491
+ /**
492
+ * The name of the alert.
493
+ */
494
+ AlertName: AlertName;
495
+ /**
496
+ * An integer from 0 to 100 specifying the alert sensitivity threshold.
497
+ */
498
+ AlertSensitivityThreshold: SensitivityThreshold;
499
+ /**
500
+ * A description of the alert.
501
+ */
502
+ AlertDescription?: AlertDescription;
503
+ /**
504
+ * The ARN of the detector to which the alert is attached.
505
+ */
506
+ AnomalyDetectorArn: Arn;
507
+ /**
508
+ * Action that will be triggered when there is an alert.
509
+ */
510
+ Action: Action;
511
+ /**
512
+ * A list of tags to apply to the alert.
513
+ */
514
+ Tags?: TagMap;
515
+ }
516
+ export interface CreateAlertResponse {
517
+ /**
518
+ * The ARN of the alert.
519
+ */
520
+ AlertArn?: Arn;
521
+ }
522
+ export interface CreateAnomalyDetectorRequest {
523
+ /**
524
+ * The name of the detector.
525
+ */
526
+ AnomalyDetectorName: AnomalyDetectorName;
527
+ /**
528
+ * A description of the detector.
529
+ */
530
+ AnomalyDetectorDescription?: AnomalyDetectorDescription;
531
+ /**
532
+ * Contains information about the configuration of the anomaly detector.
533
+ */
534
+ AnomalyDetectorConfig: AnomalyDetectorConfig;
535
+ /**
536
+ * The ARN of the KMS key to use to encrypt your data.
537
+ */
538
+ KmsKeyArn?: KmsKeyArn;
539
+ /**
540
+ * A list of tags to apply to the anomaly detector.
541
+ */
542
+ Tags?: TagMap;
543
+ }
544
+ export interface CreateAnomalyDetectorResponse {
545
+ /**
546
+ * The ARN of the detector.
547
+ */
548
+ AnomalyDetectorArn?: Arn;
549
+ }
550
+ export interface CreateMetricSetRequest {
551
+ /**
552
+ * The ARN of the anomaly detector that will use the dataset.
553
+ */
554
+ AnomalyDetectorArn: Arn;
555
+ /**
556
+ * The name of the dataset.
557
+ */
558
+ MetricSetName: MetricSetName;
559
+ /**
560
+ * A description of the dataset you are creating.
561
+ */
562
+ MetricSetDescription?: MetricSetDescription;
563
+ /**
564
+ * A list of metrics that the dataset will contain.
565
+ */
566
+ MetricList: MetricList;
567
+ /**
568
+ * After an interval ends, the amount of time that the detector waits before importing data.
569
+ */
570
+ Offset?: Offset;
571
+ /**
572
+ * Contains information about the column used for tracking time in your source data.
573
+ */
574
+ TimestampColumn?: TimestampColumn;
575
+ /**
576
+ * A list of the fields you want to treat as dimensions.
577
+ */
578
+ DimensionList?: DimensionList;
579
+ /**
580
+ * The frequency with which the source data will be analyzed for anomalies.
581
+ */
582
+ MetricSetFrequency?: Frequency;
583
+ /**
584
+ * Contains information about how the source data should be interpreted.
585
+ */
586
+ MetricSource: MetricSource;
587
+ /**
588
+ * The time zone in which your source data was recorded.
589
+ */
590
+ Timezone?: Timezone;
591
+ /**
592
+ * A list of tags to apply to the dataset.
593
+ */
594
+ Tags?: TagMap;
595
+ }
596
+ export interface CreateMetricSetResponse {
597
+ /**
598
+ * The ARN of the dataset.
599
+ */
600
+ MetricSetArn?: Arn;
601
+ }
602
+ export interface CsvFormatDescriptor {
603
+ /**
604
+ * The level of compression of the source CSV file.
605
+ */
606
+ FileCompression?: CSVFileCompression;
607
+ /**
608
+ * The character set in which the source CSV file is written.
609
+ */
610
+ Charset?: Charset;
611
+ /**
612
+ * Whether or not the source CSV file contains a header.
613
+ */
614
+ ContainsHeader?: Boolean;
615
+ /**
616
+ * The character used to delimit the source CSV file.
617
+ */
618
+ Delimiter?: Delimiter;
619
+ /**
620
+ * A list of the source CSV file's headers, if any.
621
+ */
622
+ HeaderList?: HeaderList;
623
+ /**
624
+ * The character used as a quote character.
625
+ */
626
+ QuoteSymbol?: QuoteSymbol;
627
+ }
628
+ export type DataItem = string;
629
+ export type DatabaseHost = string;
630
+ export type DatabasePort = number;
631
+ export type DateTimeFormat = string;
632
+ export interface DeleteAlertRequest {
633
+ /**
634
+ * The ARN of the alert to delete.
635
+ */
636
+ AlertArn: Arn;
637
+ }
638
+ export interface DeleteAlertResponse {
639
+ }
640
+ export interface DeleteAnomalyDetectorRequest {
641
+ /**
642
+ * The ARN of the detector to delete.
643
+ */
644
+ AnomalyDetectorArn: Arn;
645
+ }
646
+ export interface DeleteAnomalyDetectorResponse {
647
+ }
648
+ export type Delimiter = string;
649
+ export interface DescribeAlertRequest {
650
+ /**
651
+ * The ARN of the alert to describe.
652
+ */
653
+ AlertArn: Arn;
654
+ }
655
+ export interface DescribeAlertResponse {
656
+ /**
657
+ * Contains information about an alert.
658
+ */
659
+ Alert?: Alert;
660
+ }
661
+ export interface DescribeAnomalyDetectionExecutionsRequest {
662
+ /**
663
+ * The Amazon Resource Name (ARN) of the anomaly detector.
664
+ */
665
+ AnomalyDetectorArn: Arn;
666
+ /**
667
+ * The timestamp of the anomaly detection job.
668
+ */
669
+ Timestamp?: TimestampString;
670
+ /**
671
+ * The number of items to return in the response.
672
+ */
673
+ MaxResults?: MaxResults;
674
+ /**
675
+ * Specify the pagination token that's returned by a previous request to retrieve the next page of results.
676
+ */
677
+ NextToken?: NextToken;
678
+ }
679
+ export interface DescribeAnomalyDetectionExecutionsResponse {
680
+ /**
681
+ * A list of detection jobs.
682
+ */
683
+ ExecutionList?: ExecutionList;
684
+ /**
685
+ * The pagination token that's included if more results are available.
686
+ */
687
+ NextToken?: NextToken;
688
+ }
689
+ export interface DescribeAnomalyDetectorRequest {
690
+ /**
691
+ * The ARN of the detector to describe.
692
+ */
693
+ AnomalyDetectorArn: Arn;
694
+ }
695
+ export interface DescribeAnomalyDetectorResponse {
696
+ /**
697
+ * The ARN of the detector.
698
+ */
699
+ AnomalyDetectorArn?: Arn;
700
+ /**
701
+ * The name of the detector.
702
+ */
703
+ AnomalyDetectorName?: AnomalyDetectorName;
704
+ /**
705
+ * A description of the detector.
706
+ */
707
+ AnomalyDetectorDescription?: AnomalyDetectorDescription;
708
+ /**
709
+ * Contains information about the detector's configuration.
710
+ */
711
+ AnomalyDetectorConfig?: AnomalyDetectorConfigSummary;
712
+ /**
713
+ * The time at which the detector was created.
714
+ */
715
+ CreationTime?: Timestamp;
716
+ /**
717
+ * The time at which the detector was last modified.
718
+ */
719
+ LastModificationTime?: Timestamp;
720
+ /**
721
+ * The status of the detector.
722
+ */
723
+ Status?: AnomalyDetectorStatus;
724
+ /**
725
+ * The reason that the detector failed, if any.
726
+ */
727
+ FailureReason?: ErrorMessage;
728
+ /**
729
+ * The ARN of the KMS key to use to encrypt your data.
730
+ */
731
+ KmsKeyArn?: KmsKeyArn;
732
+ }
733
+ export interface DescribeMetricSetRequest {
734
+ /**
735
+ * The ARN of the dataset.
736
+ */
737
+ MetricSetArn: Arn;
738
+ }
739
+ export interface DescribeMetricSetResponse {
740
+ /**
741
+ * The ARN of the dataset.
742
+ */
743
+ MetricSetArn?: Arn;
744
+ /**
745
+ * The ARN of the detector that contains the dataset.
746
+ */
747
+ AnomalyDetectorArn?: Arn;
748
+ /**
749
+ * The name of the dataset.
750
+ */
751
+ MetricSetName?: MetricSetName;
752
+ /**
753
+ * The dataset's description.
754
+ */
755
+ MetricSetDescription?: MetricSetDescription;
756
+ /**
757
+ * The time at which the dataset was created.
758
+ */
759
+ CreationTime?: Timestamp;
760
+ /**
761
+ * The time at which the dataset was last modified.
762
+ */
763
+ LastModificationTime?: Timestamp;
764
+ /**
765
+ * The offset for the dataset.
766
+ */
767
+ Offset?: Offset;
768
+ /**
769
+ * A list of the metrics defined by the dataset.
770
+ */
771
+ MetricList?: MetricList;
772
+ /**
773
+ * Contains information about the column used for tracking time in your source data.
774
+ */
775
+ TimestampColumn?: TimestampColumn;
776
+ /**
777
+ * A list of the dimensions chosen for analysis.
778
+ */
779
+ DimensionList?: DimensionList;
780
+ /**
781
+ * The interval at which the data will be analyzed for anomalies.
782
+ */
783
+ MetricSetFrequency?: Frequency;
784
+ /**
785
+ * The time zone in which the dataset's data was recorded.
786
+ */
787
+ Timezone?: Timezone;
788
+ /**
789
+ * Contains information about the dataset's source data.
790
+ */
791
+ MetricSource?: MetricSource;
792
+ }
793
+ export interface DimensionContribution {
794
+ /**
795
+ * The name of the dimension.
796
+ */
797
+ DimensionName?: ColumnName;
798
+ /**
799
+ * A list of dimension values that contributed to the anomaly.
800
+ */
801
+ DimensionValueContributionList?: DimensionValueContributionList;
802
+ }
803
+ export type DimensionContributionList = DimensionContribution[];
804
+ export type DimensionList = ColumnName[];
805
+ export interface DimensionNameValue {
806
+ /**
807
+ * The name of the dimension.
808
+ */
809
+ DimensionName: ColumnName;
810
+ /**
811
+ * The value of the dimension.
812
+ */
813
+ DimensionValue: DimensionValue;
814
+ }
815
+ export type DimensionNameValueList = DimensionNameValue[];
816
+ export type DimensionValue = string;
817
+ export interface DimensionValueContribution {
818
+ /**
819
+ * The value of the dimension.
820
+ */
821
+ DimensionValue?: DimensionValue;
822
+ /**
823
+ * The severity score of the value.
824
+ */
825
+ ContributionScore?: Score;
826
+ }
827
+ export type DimensionValueContributionList = DimensionValueContribution[];
828
+ export type ErrorMessage = string;
829
+ export type ExecutionList = ExecutionStatus[];
830
+ export interface ExecutionStatus {
831
+ /**
832
+ * The run's timestamp.
833
+ */
834
+ Timestamp?: TimestampString;
835
+ /**
836
+ * The run's status.
837
+ */
838
+ Status?: AnomalyDetectionTaskStatus;
839
+ /**
840
+ * The reason that the run failed, if applicable.
841
+ */
842
+ FailureReason?: AnomalyDetectionTaskStatusMessage;
843
+ }
844
+ export interface FileFormatDescriptor {
845
+ /**
846
+ * Contains information about how a source CSV data file should be analyzed.
847
+ */
848
+ CsvFormatDescriptor?: CsvFormatDescriptor;
849
+ /**
850
+ * Contains information about how a source JSON data file should be analyzed.
851
+ */
852
+ JsonFormatDescriptor?: JsonFormatDescriptor;
853
+ }
854
+ export type FlowName = string;
855
+ export type Frequency = "P1D"|"PT1H"|"PT10M"|"PT5M"|string;
856
+ export interface GetAnomalyGroupRequest {
857
+ /**
858
+ * The ID of the anomaly group.
859
+ */
860
+ AnomalyGroupId: UUID;
861
+ /**
862
+ * The Amazon Resource Name (ARN) of the anomaly detector.
863
+ */
864
+ AnomalyDetectorArn: Arn;
865
+ }
866
+ export interface GetAnomalyGroupResponse {
867
+ /**
868
+ * Details about the anomaly group.
869
+ */
870
+ AnomalyGroup?: AnomalyGroup;
871
+ }
872
+ export interface GetFeedbackRequest {
873
+ /**
874
+ * The Amazon Resource Name (ARN) of the anomaly detector.
875
+ */
876
+ AnomalyDetectorArn: Arn;
877
+ /**
878
+ * The anomalous metric and group ID.
879
+ */
880
+ AnomalyGroupTimeSeriesFeedback: AnomalyGroupTimeSeries;
881
+ /**
882
+ * The maximum number of results to return.
883
+ */
884
+ MaxResults?: MaxResults;
885
+ /**
886
+ * Specify the pagination token that's returned by a previous request to retrieve the next page of results.
887
+ */
888
+ NextToken?: NextToken;
889
+ }
890
+ export interface GetFeedbackResponse {
891
+ /**
892
+ * Feedback for an anomalous metric.
893
+ */
894
+ AnomalyGroupTimeSeriesFeedback?: TimeSeriesFeedbackList;
895
+ /**
896
+ * The pagination token that's included if more results are available.
897
+ */
898
+ NextToken?: NextToken;
899
+ }
900
+ export interface GetSampleDataRequest {
901
+ /**
902
+ * A datasource bucket in Amazon S3.
903
+ */
904
+ S3SourceConfig?: SampleDataS3SourceConfig;
905
+ }
906
+ export interface GetSampleDataResponse {
907
+ /**
908
+ * A list of header labels for the records.
909
+ */
910
+ HeaderValues?: HeaderValueList;
911
+ /**
912
+ * A list of records.
913
+ */
914
+ SampleRows?: SampleRows;
915
+ }
916
+ export type HeaderList = ColumnName[];
917
+ export type HeaderValue = string;
918
+ export type HeaderValueList = HeaderValue[];
919
+ export type HistoricalDataPath = string;
920
+ export type HistoricalDataPathList = HistoricalDataPath[];
921
+ export type Integer = number;
922
+ export interface ItemizedMetricStats {
923
+ /**
924
+ * The name of the measure.
925
+ */
926
+ MetricName?: ColumnName;
927
+ /**
928
+ * The number of times that the measure appears.
929
+ */
930
+ OccurrenceCount?: Integer;
931
+ }
932
+ export type ItemizedMetricStatsList = ItemizedMetricStats[];
933
+ export type JsonFileCompression = "NONE"|"GZIP"|string;
934
+ export interface JsonFormatDescriptor {
935
+ /**
936
+ * The level of compression of the source CSV file.
937
+ */
938
+ FileCompression?: JsonFileCompression;
939
+ /**
940
+ * The character set in which the source JSON file is written.
941
+ */
942
+ Charset?: Charset;
943
+ }
944
+ export type KmsKeyArn = string;
945
+ export interface LambdaConfiguration {
946
+ /**
947
+ * The ARN of an IAM role that has permission to invoke the Lambda function.
948
+ */
949
+ RoleArn: Arn;
950
+ /**
951
+ * The ARN of the Lambda function.
952
+ */
953
+ LambdaArn: Arn;
954
+ }
955
+ export interface ListAlertsRequest {
956
+ /**
957
+ * The ARN of the alert's detector.
958
+ */
959
+ AnomalyDetectorArn?: Arn;
960
+ /**
961
+ * If the result of the previous request is truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
962
+ */
963
+ NextToken?: NextToken;
964
+ /**
965
+ * The maximum number of results that will be displayed by the request.
966
+ */
967
+ MaxResults?: MaxResults;
968
+ }
969
+ export interface ListAlertsResponse {
970
+ /**
971
+ * Contains information about an alert.
972
+ */
973
+ AlertSummaryList?: AlertSummaryList;
974
+ /**
975
+ * If the response is truncated, the service returns this token. To retrieve the next set of results, use this token in the next request.
976
+ */
977
+ NextToken?: NextToken;
978
+ }
979
+ export interface ListAnomalyDetectorsRequest {
980
+ /**
981
+ * The maximum number of results to return.
982
+ */
983
+ MaxResults?: MaxResults;
984
+ /**
985
+ * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
986
+ */
987
+ NextToken?: NextToken;
988
+ }
989
+ export interface ListAnomalyDetectorsResponse {
990
+ /**
991
+ * A list of anomaly detectors in the account in the current region.
992
+ */
993
+ AnomalyDetectorSummaryList?: AnomalyDetectorSummaryList;
994
+ /**
995
+ * If the response is truncated, the service returns this token. To retrieve the next set of results, use the token in the next request.
996
+ */
997
+ NextToken?: NextToken;
998
+ }
999
+ export interface ListAnomalyGroupSummariesRequest {
1000
+ /**
1001
+ * The Amazon Resource Name (ARN) of the anomaly detector.
1002
+ */
1003
+ AnomalyDetectorArn: Arn;
1004
+ /**
1005
+ * The minimum severity score for inclusion in the output.
1006
+ */
1007
+ SensitivityThreshold: SensitivityThreshold;
1008
+ /**
1009
+ * The maximum number of results to return.
1010
+ */
1011
+ MaxResults?: MaxResults;
1012
+ /**
1013
+ * Specify the pagination token that's returned by a previous request to retrieve the next page of results.
1014
+ */
1015
+ NextToken?: NextToken;
1016
+ }
1017
+ export interface ListAnomalyGroupSummariesResponse {
1018
+ /**
1019
+ * A list of anomaly group summaries.
1020
+ */
1021
+ AnomalyGroupSummaryList?: AnomalyGroupSummaryList;
1022
+ /**
1023
+ * Aggregated details about the anomaly groups.
1024
+ */
1025
+ AnomalyGroupStatistics?: AnomalyGroupStatistics;
1026
+ /**
1027
+ * The pagination token that's included if more results are available.
1028
+ */
1029
+ NextToken?: NextToken;
1030
+ }
1031
+ export interface ListAnomalyGroupTimeSeriesRequest {
1032
+ /**
1033
+ * The Amazon Resource Name (ARN) of the anomaly detector.
1034
+ */
1035
+ AnomalyDetectorArn: Arn;
1036
+ /**
1037
+ * The ID of the anomaly group.
1038
+ */
1039
+ AnomalyGroupId: UUID;
1040
+ /**
1041
+ * The name of the measure field.
1042
+ */
1043
+ MetricName: MetricName;
1044
+ /**
1045
+ * The maximum number of results to return.
1046
+ */
1047
+ MaxResults?: MaxResults;
1048
+ /**
1049
+ * Specify the pagination token that's returned by a previous request to retrieve the next page of results.
1050
+ */
1051
+ NextToken?: NextToken;
1052
+ }
1053
+ export interface ListAnomalyGroupTimeSeriesResponse {
1054
+ /**
1055
+ * The ID of the anomaly group.
1056
+ */
1057
+ AnomalyGroupId?: UUID;
1058
+ /**
1059
+ * The name of the measure field.
1060
+ */
1061
+ MetricName?: MetricName;
1062
+ /**
1063
+ * Timestamps for the anomalous metrics.
1064
+ */
1065
+ TimestampList?: TimestampList;
1066
+ /**
1067
+ * The pagination token that's included if more results are available.
1068
+ */
1069
+ NextToken?: NextToken;
1070
+ /**
1071
+ * A list of anomalous metrics.
1072
+ */
1073
+ TimeSeriesList?: TimeSeriesList;
1074
+ }
1075
+ export interface ListMetricSetsRequest {
1076
+ /**
1077
+ * The ARN of the anomaly detector containing the metrics sets to list.
1078
+ */
1079
+ AnomalyDetectorArn?: Arn;
1080
+ /**
1081
+ * The maximum number of results to return.
1082
+ */
1083
+ MaxResults?: MaxResults;
1084
+ /**
1085
+ * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
1086
+ */
1087
+ NextToken?: NextToken;
1088
+ }
1089
+ export interface ListMetricSetsResponse {
1090
+ /**
1091
+ * A list of the datasets in the AWS Region, with configuration details for each.
1092
+ */
1093
+ MetricSetSummaryList?: MetricSetSummaryList;
1094
+ /**
1095
+ * If the response is truncated, the list call returns this token. To retrieve the next set of results, use the token in the next list request.
1096
+ */
1097
+ NextToken?: NextToken;
1098
+ }
1099
+ export interface ListTagsForResourceRequest {
1100
+ /**
1101
+ * The resource's Amazon Resource Name (ARN).
1102
+ */
1103
+ ResourceArn: Arn;
1104
+ }
1105
+ export interface ListTagsForResourceResponse {
1106
+ /**
1107
+ * The resource's tags.
1108
+ */
1109
+ Tags?: TagMap;
1110
+ }
1111
+ export type MaxResults = number;
1112
+ export interface Metric {
1113
+ /**
1114
+ * The name of the metric.
1115
+ */
1116
+ MetricName: ColumnName;
1117
+ /**
1118
+ * The function with which the metric is calculated.
1119
+ */
1120
+ AggregationFunction: AggregationFunction;
1121
+ /**
1122
+ * The namespace for the metric.
1123
+ */
1124
+ Namespace?: Namespace;
1125
+ }
1126
+ export interface MetricLevelImpact {
1127
+ /**
1128
+ * The name of the measure.
1129
+ */
1130
+ MetricName?: MetricName;
1131
+ /**
1132
+ * The number of anomalous metrics for the measure.
1133
+ */
1134
+ NumTimeSeries?: Integer;
1135
+ /**
1136
+ * Details about the dimensions that contributed to the anomaly.
1137
+ */
1138
+ ContributionMatrix?: ContributionMatrix;
1139
+ }
1140
+ export type MetricLevelImpactList = MetricLevelImpact[];
1141
+ export type MetricList = Metric[];
1142
+ export type MetricName = string;
1143
+ export type MetricSetDescription = string;
1144
+ export type MetricSetName = string;
1145
+ export interface MetricSetSummary {
1146
+ /**
1147
+ * The ARN of the dataset.
1148
+ */
1149
+ MetricSetArn?: Arn;
1150
+ /**
1151
+ * The ARN of the detector to which the dataset belongs.
1152
+ */
1153
+ AnomalyDetectorArn?: Arn;
1154
+ /**
1155
+ * The description of the dataset.
1156
+ */
1157
+ MetricSetDescription?: MetricSetDescription;
1158
+ /**
1159
+ * The name of the dataset.
1160
+ */
1161
+ MetricSetName?: MetricSetName;
1162
+ /**
1163
+ * The time at which the dataset was created.
1164
+ */
1165
+ CreationTime?: Timestamp;
1166
+ /**
1167
+ * The time at which the dataset was last modified.
1168
+ */
1169
+ LastModificationTime?: Timestamp;
1170
+ /**
1171
+ * The dataset's tags.
1172
+ */
1173
+ Tags?: TagMap;
1174
+ }
1175
+ export type MetricSetSummaryList = MetricSetSummary[];
1176
+ export interface MetricSource {
1177
+ S3SourceConfig?: S3SourceConfig;
1178
+ /**
1179
+ * An object containing information about the AppFlow configuration.
1180
+ */
1181
+ AppFlowConfig?: AppFlowConfig;
1182
+ /**
1183
+ * An object containing information about the Amazon CloudWatch monitoring configuration.
1184
+ */
1185
+ CloudWatchConfig?: CloudWatchConfig;
1186
+ /**
1187
+ * An object containing information about the Amazon Relational Database Service (RDS) configuration.
1188
+ */
1189
+ RDSSourceConfig?: RDSSourceConfig;
1190
+ /**
1191
+ * An object containing information about the Amazon Redshift database configuration.
1192
+ */
1193
+ RedshiftSourceConfig?: RedshiftSourceConfig;
1194
+ }
1195
+ export type MetricValue = number;
1196
+ export type MetricValueList = MetricValue[];
1197
+ export type Namespace = string;
1198
+ export type NextToken = string;
1199
+ export type Offset = number;
1200
+ export type PoirotSecretManagerArn = string;
1201
+ export interface PutFeedbackRequest {
1202
+ /**
1203
+ * The Amazon Resource Name (ARN) of the anomaly detector.
1204
+ */
1205
+ AnomalyDetectorArn: Arn;
1206
+ /**
1207
+ * Feedback for an anomalous metric.
1208
+ */
1209
+ AnomalyGroupTimeSeriesFeedback: AnomalyGroupTimeSeriesFeedback;
1210
+ }
1211
+ export interface PutFeedbackResponse {
1212
+ }
1213
+ export type QuoteSymbol = string;
1214
+ export type RDSDatabaseIdentifier = string;
1215
+ export type RDSDatabaseName = string;
1216
+ export interface RDSSourceConfig {
1217
+ /**
1218
+ * A string identifying the database instance.
1219
+ */
1220
+ DBInstanceIdentifier: RDSDatabaseIdentifier;
1221
+ /**
1222
+ * The host name of the database.
1223
+ */
1224
+ DatabaseHost: DatabaseHost;
1225
+ /**
1226
+ * The port number where the database can be accessed.
1227
+ */
1228
+ DatabasePort: DatabasePort;
1229
+ /**
1230
+ * The Amazon Resource Name (ARN) of the AWS Secrets Manager role.
1231
+ */
1232
+ SecretManagerArn: PoirotSecretManagerArn;
1233
+ /**
1234
+ * The name of the RDS database.
1235
+ */
1236
+ DatabaseName: RDSDatabaseName;
1237
+ /**
1238
+ * The name of the table in the database.
1239
+ */
1240
+ TableName: TableName;
1241
+ /**
1242
+ * The Amazon Resource Name (ARN) of the role.
1243
+ */
1244
+ RoleArn: Arn;
1245
+ /**
1246
+ * An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.
1247
+ */
1248
+ VpcConfiguration: VpcConfiguration;
1249
+ }
1250
+ export type RedshiftClusterIdentifier = string;
1251
+ export type RedshiftDatabaseName = string;
1252
+ export interface RedshiftSourceConfig {
1253
+ /**
1254
+ * A string identifying the Redshift cluster.
1255
+ */
1256
+ ClusterIdentifier: RedshiftClusterIdentifier;
1257
+ /**
1258
+ * The name of the database host.
1259
+ */
1260
+ DatabaseHost: DatabaseHost;
1261
+ /**
1262
+ * The port number where the database can be accessed.
1263
+ */
1264
+ DatabasePort: DatabasePort;
1265
+ /**
1266
+ * The Amazon Resource Name (ARN) of the AWS Secrets Manager role.
1267
+ */
1268
+ SecretManagerArn: PoirotSecretManagerArn;
1269
+ /**
1270
+ * The Redshift database name.
1271
+ */
1272
+ DatabaseName: RedshiftDatabaseName;
1273
+ /**
1274
+ * The table name of the Redshift database.
1275
+ */
1276
+ TableName: TableName;
1277
+ /**
1278
+ * The Amazon Resource Name (ARN) of the role providing access to the database.
1279
+ */
1280
+ RoleArn: Arn;
1281
+ /**
1282
+ * Contains information about the Amazon Virtual Private Cloud (VPC) configuration.
1283
+ */
1284
+ VpcConfiguration: VpcConfiguration;
1285
+ }
1286
+ export interface S3SourceConfig {
1287
+ /**
1288
+ * The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
1289
+ */
1290
+ RoleArn: Arn;
1291
+ /**
1292
+ * A list of templated paths to the source files.
1293
+ */
1294
+ TemplatedPathList?: TemplatedPathList;
1295
+ /**
1296
+ * A list of paths to the historical data files.
1297
+ */
1298
+ HistoricalDataPathList?: HistoricalDataPathList;
1299
+ /**
1300
+ * Contains information about a source file's formatting.
1301
+ */
1302
+ FileFormatDescriptor?: FileFormatDescriptor;
1303
+ }
1304
+ export interface SNSConfiguration {
1305
+ /**
1306
+ * THe ARN of the IAM role that has access to the target SNS topic.
1307
+ */
1308
+ RoleArn: Arn;
1309
+ /**
1310
+ * The ARN of the target SNS topic.
1311
+ */
1312
+ SnsTopicArn: Arn;
1313
+ }
1314
+ export interface SampleDataS3SourceConfig {
1315
+ /**
1316
+ * The Amazon Resource Name (ARN) of the role.
1317
+ */
1318
+ RoleArn: Arn;
1319
+ /**
1320
+ * An array of strings containing the list of templated paths.
1321
+ */
1322
+ TemplatedPathList?: TemplatedPathList;
1323
+ /**
1324
+ * An array of strings containing the historical set of data paths.
1325
+ */
1326
+ HistoricalDataPathList?: HistoricalDataPathList;
1327
+ FileFormatDescriptor: FileFormatDescriptor;
1328
+ }
1329
+ export type SampleRow = DataItem[];
1330
+ export type SampleRows = SampleRow[];
1331
+ export type Score = number;
1332
+ export type SecurityGroupId = string;
1333
+ export type SecurityGroupIdList = SecurityGroupId[];
1334
+ export type SensitivityThreshold = number;
1335
+ export type SubnetId = string;
1336
+ export type SubnetIdList = SubnetId[];
1337
+ export type TableName = string;
1338
+ export type TagKey = string;
1339
+ export type TagKeyList = TagKey[];
1340
+ export type TagMap = {[key: string]: TagValue};
1341
+ export interface TagResourceRequest {
1342
+ /**
1343
+ * The resource's Amazon Resource Name (ARN).
1344
+ */
1345
+ ResourceArn: Arn;
1346
+ /**
1347
+ * Tags to apply to the resource. Tag keys and values can contain letters, numbers, spaces, and the following symbols: _.:/=+@-
1348
+ */
1349
+ Tags: TagMap;
1350
+ }
1351
+ export interface TagResourceResponse {
1352
+ }
1353
+ export type TagValue = string;
1354
+ export type TemplatedPath = string;
1355
+ export type TemplatedPathList = TemplatedPath[];
1356
+ export interface TimeSeries {
1357
+ /**
1358
+ * The ID of the metric.
1359
+ */
1360
+ TimeSeriesId: TimeSeriesId;
1361
+ /**
1362
+ * The dimensions of the metric.
1363
+ */
1364
+ DimensionList: DimensionNameValueList;
1365
+ /**
1366
+ * The values for the metric.
1367
+ */
1368
+ MetricValueList: MetricValueList;
1369
+ }
1370
+ export interface TimeSeriesFeedback {
1371
+ /**
1372
+ * The ID of the metric.
1373
+ */
1374
+ TimeSeriesId?: TimeSeriesId;
1375
+ /**
1376
+ * Feedback on whether the metric is a legitimate anomaly.
1377
+ */
1378
+ IsAnomaly?: Boolean;
1379
+ }
1380
+ export type TimeSeriesFeedbackList = TimeSeriesFeedback[];
1381
+ export type TimeSeriesId = string;
1382
+ export type TimeSeriesList = TimeSeries[];
1383
+ export type Timestamp = Date;
1384
+ export interface TimestampColumn {
1385
+ /**
1386
+ * The name of the timestamp column.
1387
+ */
1388
+ ColumnName?: ColumnName;
1389
+ /**
1390
+ * The format of the timestamp column.
1391
+ */
1392
+ ColumnFormat?: DateTimeFormat;
1393
+ }
1394
+ export type TimestampList = TimestampString[];
1395
+ export type TimestampString = string;
1396
+ export type Timezone = string;
1397
+ export type UUID = string;
1398
+ export interface UntagResourceRequest {
1399
+ /**
1400
+ * The resource's Amazon Resource Name (ARN).
1401
+ */
1402
+ ResourceArn: Arn;
1403
+ /**
1404
+ * Keys to remove from the resource's tags.
1405
+ */
1406
+ TagKeys: TagKeyList;
1407
+ }
1408
+ export interface UntagResourceResponse {
1409
+ }
1410
+ export interface UpdateAnomalyDetectorRequest {
1411
+ /**
1412
+ * The ARN of the detector to update.
1413
+ */
1414
+ AnomalyDetectorArn: Arn;
1415
+ /**
1416
+ * The Amazon Resource Name (ARN) of an AWS KMS encryption key.
1417
+ */
1418
+ KmsKeyArn?: KmsKeyArn;
1419
+ /**
1420
+ * The updated detector description.
1421
+ */
1422
+ AnomalyDetectorDescription?: AnomalyDetectorDescription;
1423
+ /**
1424
+ * Contains information about the configuration to which the detector will be updated.
1425
+ */
1426
+ AnomalyDetectorConfig?: AnomalyDetectorConfig;
1427
+ }
1428
+ export interface UpdateAnomalyDetectorResponse {
1429
+ /**
1430
+ * The ARN of the updated detector.
1431
+ */
1432
+ AnomalyDetectorArn?: Arn;
1433
+ }
1434
+ export interface UpdateMetricSetRequest {
1435
+ /**
1436
+ * The ARN of the dataset to update.
1437
+ */
1438
+ MetricSetArn: Arn;
1439
+ /**
1440
+ * The dataset's description.
1441
+ */
1442
+ MetricSetDescription?: MetricSetDescription;
1443
+ /**
1444
+ * The metric list.
1445
+ */
1446
+ MetricList?: MetricList;
1447
+ /**
1448
+ * After an interval ends, the amount of time that the detector waits before importing data.
1449
+ */
1450
+ Offset?: Offset;
1451
+ /**
1452
+ * The timestamp column.
1453
+ */
1454
+ TimestampColumn?: TimestampColumn;
1455
+ /**
1456
+ * The dimension list.
1457
+ */
1458
+ DimensionList?: DimensionList;
1459
+ /**
1460
+ * The dataset's interval.
1461
+ */
1462
+ MetricSetFrequency?: Frequency;
1463
+ MetricSource?: MetricSource;
1464
+ }
1465
+ export interface UpdateMetricSetResponse {
1466
+ /**
1467
+ * The ARN of the dataset.
1468
+ */
1469
+ MetricSetArn?: Arn;
1470
+ }
1471
+ export interface VpcConfiguration {
1472
+ /**
1473
+ * An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE.
1474
+ */
1475
+ SubnetIdList: SubnetIdList;
1476
+ /**
1477
+ * An array of strings containing the list of security groups.
1478
+ */
1479
+ SecurityGroupIdList: SecurityGroupIdList;
1480
+ }
1481
+ /**
1482
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1483
+ */
1484
+ export type apiVersion = "2017-07-25"|"latest"|string;
1485
+ export interface ClientApiVersions {
1486
+ /**
1487
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1488
+ */
1489
+ apiVersion?: apiVersion;
1490
+ }
1491
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1492
+ /**
1493
+ * Contains interfaces for use with the LookoutMetrics client.
1494
+ */
1495
+ export import Types = LookoutMetrics;
1496
+ }
1497
+ export = LookoutMetrics;