| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LookoutMetrics.DetectMetricSetConfig
Description
Detects an Amazon S3 dataset's file format, interval, and offset.
Synopsis
- data DetectMetricSetConfig = DetectMetricSetConfig' {}
- newDetectMetricSetConfig :: Text -> AutoDetectionMetricSource -> DetectMetricSetConfig
- detectMetricSetConfig_anomalyDetectorArn :: Lens' DetectMetricSetConfig Text
- detectMetricSetConfig_autoDetectionMetricSource :: Lens' DetectMetricSetConfig AutoDetectionMetricSource
- data DetectMetricSetConfigResponse = DetectMetricSetConfigResponse' {}
- newDetectMetricSetConfigResponse :: Int -> DetectMetricSetConfigResponse
- detectMetricSetConfigResponse_detectedMetricSetConfig :: Lens' DetectMetricSetConfigResponse (Maybe DetectedMetricSetConfig)
- detectMetricSetConfigResponse_httpStatus :: Lens' DetectMetricSetConfigResponse Int
Creating a Request
data DetectMetricSetConfig Source #
See: newDetectMetricSetConfig smart constructor.
Constructors
| DetectMetricSetConfig' | |
Fields
| |
Instances
newDetectMetricSetConfig Source #
Arguments
| :: Text | |
| -> AutoDetectionMetricSource | |
| -> DetectMetricSetConfig |
Create a value of DetectMetricSetConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DetectMetricSetConfig, detectMetricSetConfig_anomalyDetectorArn - An anomaly detector ARN.
$sel:autoDetectionMetricSource:DetectMetricSetConfig', detectMetricSetConfig_autoDetectionMetricSource - A data source.
Request Lenses
detectMetricSetConfig_anomalyDetectorArn :: Lens' DetectMetricSetConfig Text Source #
An anomaly detector ARN.
detectMetricSetConfig_autoDetectionMetricSource :: Lens' DetectMetricSetConfig AutoDetectionMetricSource Source #
A data source.
Destructuring the Response
data DetectMetricSetConfigResponse Source #
See: newDetectMetricSetConfigResponse smart constructor.
Constructors
| DetectMetricSetConfigResponse' | |
Fields
| |
Instances
newDetectMetricSetConfigResponse Source #
Create a value of DetectMetricSetConfigResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:detectedMetricSetConfig:DetectMetricSetConfigResponse', detectMetricSetConfigResponse_detectedMetricSetConfig - The inferred dataset configuration for the datasource.
$sel:httpStatus:DetectMetricSetConfigResponse', detectMetricSetConfigResponse_httpStatus - The response's http status code.
Response Lenses
detectMetricSetConfigResponse_detectedMetricSetConfig :: Lens' DetectMetricSetConfigResponse (Maybe DetectedMetricSetConfig) Source #
The inferred dataset configuration for the datasource.
detectMetricSetConfigResponse_httpStatus :: Lens' DetectMetricSetConfigResponse Int Source #
The response's http status code.