Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes a dataset.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Synopsis
- data DescribeMetricSet = DescribeMetricSet' {
- metricSetArn :: Text
- newDescribeMetricSet :: Text -> DescribeMetricSet
- describeMetricSet_metricSetArn :: Lens' DescribeMetricSet Text
- data DescribeMetricSetResponse = DescribeMetricSetResponse' {
- creationTime :: Maybe POSIX
- dimensionList :: Maybe (NonEmpty Text)
- offset :: Maybe Natural
- timestampColumn :: Maybe TimestampColumn
- metricList :: Maybe (NonEmpty Metric)
- anomalyDetectorArn :: Maybe Text
- metricSource :: Maybe MetricSource
- metricSetName :: Maybe Text
- metricSetFrequency :: Maybe Frequency
- metricSetDescription :: Maybe Text
- timezone :: Maybe Text
- metricSetArn :: Maybe Text
- lastModificationTime :: Maybe POSIX
- httpStatus :: Int
- newDescribeMetricSetResponse :: Int -> DescribeMetricSetResponse
- describeMetricSetResponse_creationTime :: Lens' DescribeMetricSetResponse (Maybe UTCTime)
- describeMetricSetResponse_dimensionList :: Lens' DescribeMetricSetResponse (Maybe (NonEmpty Text))
- describeMetricSetResponse_offset :: Lens' DescribeMetricSetResponse (Maybe Natural)
- describeMetricSetResponse_timestampColumn :: Lens' DescribeMetricSetResponse (Maybe TimestampColumn)
- describeMetricSetResponse_metricList :: Lens' DescribeMetricSetResponse (Maybe (NonEmpty Metric))
- describeMetricSetResponse_anomalyDetectorArn :: Lens' DescribeMetricSetResponse (Maybe Text)
- describeMetricSetResponse_metricSource :: Lens' DescribeMetricSetResponse (Maybe MetricSource)
- describeMetricSetResponse_metricSetName :: Lens' DescribeMetricSetResponse (Maybe Text)
- describeMetricSetResponse_metricSetFrequency :: Lens' DescribeMetricSetResponse (Maybe Frequency)
- describeMetricSetResponse_metricSetDescription :: Lens' DescribeMetricSetResponse (Maybe Text)
- describeMetricSetResponse_timezone :: Lens' DescribeMetricSetResponse (Maybe Text)
- describeMetricSetResponse_metricSetArn :: Lens' DescribeMetricSetResponse (Maybe Text)
- describeMetricSetResponse_lastModificationTime :: Lens' DescribeMetricSetResponse (Maybe UTCTime)
- describeMetricSetResponse_httpStatus :: Lens' DescribeMetricSetResponse Int
Creating a Request
data DescribeMetricSet Source #
See: newDescribeMetricSet
smart constructor.
DescribeMetricSet' | |
|
Instances
Create a value of DescribeMetricSet
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:metricSetArn:DescribeMetricSet'
, describeMetricSet_metricSetArn
- The ARN of the dataset.
Request Lenses
describeMetricSet_metricSetArn :: Lens' DescribeMetricSet Text Source #
The ARN of the dataset.
Destructuring the Response
data DescribeMetricSetResponse Source #
See: newDescribeMetricSetResponse
smart constructor.
DescribeMetricSetResponse' | |
|
Instances
newDescribeMetricSetResponse Source #
Create a value of DescribeMetricSetResponse
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:creationTime:DescribeMetricSetResponse'
, describeMetricSetResponse_creationTime
- The time at which the dataset was created.
$sel:dimensionList:DescribeMetricSetResponse'
, describeMetricSetResponse_dimensionList
- A list of the dimensions chosen for analysis.
$sel:offset:DescribeMetricSetResponse'
, describeMetricSetResponse_offset
- The offset in seconds. Only supported for S3 and Redshift datasources.
$sel:timestampColumn:DescribeMetricSetResponse'
, describeMetricSetResponse_timestampColumn
- Contains information about the column used for tracking time in your
source data.
$sel:metricList:DescribeMetricSetResponse'
, describeMetricSetResponse_metricList
- A list of the metrics defined by the dataset.
$sel:anomalyDetectorArn:DescribeMetricSetResponse'
, describeMetricSetResponse_anomalyDetectorArn
- The ARN of the detector that contains the dataset.
$sel:metricSource:DescribeMetricSetResponse'
, describeMetricSetResponse_metricSource
- Contains information about the dataset's source data.
$sel:metricSetName:DescribeMetricSetResponse'
, describeMetricSetResponse_metricSetName
- The name of the dataset.
$sel:metricSetFrequency:DescribeMetricSetResponse'
, describeMetricSetResponse_metricSetFrequency
- The interval at which the data will be analyzed for anomalies.
$sel:metricSetDescription:DescribeMetricSetResponse'
, describeMetricSetResponse_metricSetDescription
- The dataset's description.
$sel:timezone:DescribeMetricSetResponse'
, describeMetricSetResponse_timezone
- The time zone in which the dataset's data was recorded.
$sel:metricSetArn:DescribeMetricSet'
, describeMetricSetResponse_metricSetArn
- The ARN of the dataset.
$sel:lastModificationTime:DescribeMetricSetResponse'
, describeMetricSetResponse_lastModificationTime
- The time at which the dataset was last modified.
$sel:httpStatus:DescribeMetricSetResponse'
, describeMetricSetResponse_httpStatus
- The response's http status code.
Response Lenses
describeMetricSetResponse_creationTime :: Lens' DescribeMetricSetResponse (Maybe UTCTime) Source #
The time at which the dataset was created.
describeMetricSetResponse_dimensionList :: Lens' DescribeMetricSetResponse (Maybe (NonEmpty Text)) Source #
A list of the dimensions chosen for analysis.
describeMetricSetResponse_offset :: Lens' DescribeMetricSetResponse (Maybe Natural) Source #
The offset in seconds. Only supported for S3 and Redshift datasources.
describeMetricSetResponse_timestampColumn :: Lens' DescribeMetricSetResponse (Maybe TimestampColumn) Source #
Contains information about the column used for tracking time in your source data.
describeMetricSetResponse_metricList :: Lens' DescribeMetricSetResponse (Maybe (NonEmpty Metric)) Source #
A list of the metrics defined by the dataset.
describeMetricSetResponse_anomalyDetectorArn :: Lens' DescribeMetricSetResponse (Maybe Text) Source #
The ARN of the detector that contains the dataset.
describeMetricSetResponse_metricSource :: Lens' DescribeMetricSetResponse (Maybe MetricSource) Source #
Contains information about the dataset's source data.
describeMetricSetResponse_metricSetName :: Lens' DescribeMetricSetResponse (Maybe Text) Source #
The name of the dataset.
describeMetricSetResponse_metricSetFrequency :: Lens' DescribeMetricSetResponse (Maybe Frequency) Source #
The interval at which the data will be analyzed for anomalies.
describeMetricSetResponse_metricSetDescription :: Lens' DescribeMetricSetResponse (Maybe Text) Source #
The dataset's description.
describeMetricSetResponse_timezone :: Lens' DescribeMetricSetResponse (Maybe Text) Source #
The time zone in which the dataset's data was recorded.
describeMetricSetResponse_metricSetArn :: Lens' DescribeMetricSetResponse (Maybe Text) Source #
The ARN of the dataset.
describeMetricSetResponse_lastModificationTime :: Lens' DescribeMetricSetResponse (Maybe UTCTime) Source #
The time at which the dataset was last modified.
describeMetricSetResponse_httpStatus :: Lens' DescribeMetricSetResponse Int Source #
The response's http status code.