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 |
Updates a dataset.
Synopsis
- data UpdateMetricSet = UpdateMetricSet' {}
- newUpdateMetricSet :: Text -> UpdateMetricSet
- updateMetricSet_dimensionList :: Lens' UpdateMetricSet (Maybe (NonEmpty Text))
- updateMetricSet_offset :: Lens' UpdateMetricSet (Maybe Natural)
- updateMetricSet_timestampColumn :: Lens' UpdateMetricSet (Maybe TimestampColumn)
- updateMetricSet_metricList :: Lens' UpdateMetricSet (Maybe (NonEmpty Metric))
- updateMetricSet_metricSource :: Lens' UpdateMetricSet (Maybe MetricSource)
- updateMetricSet_metricSetFrequency :: Lens' UpdateMetricSet (Maybe Frequency)
- updateMetricSet_metricSetDescription :: Lens' UpdateMetricSet (Maybe Text)
- updateMetricSet_metricSetArn :: Lens' UpdateMetricSet Text
- data UpdateMetricSetResponse = UpdateMetricSetResponse' {
- metricSetArn :: Maybe Text
- httpStatus :: Int
- newUpdateMetricSetResponse :: Int -> UpdateMetricSetResponse
- updateMetricSetResponse_metricSetArn :: Lens' UpdateMetricSetResponse (Maybe Text)
- updateMetricSetResponse_httpStatus :: Lens' UpdateMetricSetResponse Int
Creating a Request
data UpdateMetricSet Source #
See: newUpdateMetricSet
smart constructor.
UpdateMetricSet' | |
|
Instances
Create a value of UpdateMetricSet
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:dimensionList:UpdateMetricSet'
, updateMetricSet_dimensionList
- The dimension list.
$sel:offset:UpdateMetricSet'
, updateMetricSet_offset
- After an interval ends, the amount of seconds that the detector waits
before importing data. Offset is only supported for S3 and Redshift
datasources.
$sel:timestampColumn:UpdateMetricSet'
, updateMetricSet_timestampColumn
- The timestamp column.
$sel:metricList:UpdateMetricSet'
, updateMetricSet_metricList
- The metric list.
$sel:metricSource:UpdateMetricSet'
, updateMetricSet_metricSource
- Undocumented member.
$sel:metricSetFrequency:UpdateMetricSet'
, updateMetricSet_metricSetFrequency
- The dataset's interval.
$sel:metricSetDescription:UpdateMetricSet'
, updateMetricSet_metricSetDescription
- The dataset's description.
$sel:metricSetArn:UpdateMetricSet'
, updateMetricSet_metricSetArn
- The ARN of the dataset to update.
Request Lenses
updateMetricSet_dimensionList :: Lens' UpdateMetricSet (Maybe (NonEmpty Text)) Source #
The dimension list.
updateMetricSet_offset :: Lens' UpdateMetricSet (Maybe Natural) Source #
After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3 and Redshift datasources.
updateMetricSet_timestampColumn :: Lens' UpdateMetricSet (Maybe TimestampColumn) Source #
The timestamp column.
updateMetricSet_metricList :: Lens' UpdateMetricSet (Maybe (NonEmpty Metric)) Source #
The metric list.
updateMetricSet_metricSource :: Lens' UpdateMetricSet (Maybe MetricSource) Source #
Undocumented member.
updateMetricSet_metricSetFrequency :: Lens' UpdateMetricSet (Maybe Frequency) Source #
The dataset's interval.
updateMetricSet_metricSetDescription :: Lens' UpdateMetricSet (Maybe Text) Source #
The dataset's description.
updateMetricSet_metricSetArn :: Lens' UpdateMetricSet Text Source #
The ARN of the dataset to update.
Destructuring the Response
data UpdateMetricSetResponse Source #
See: newUpdateMetricSetResponse
smart constructor.
UpdateMetricSetResponse' | |
|
Instances
newUpdateMetricSetResponse Source #
Create a value of UpdateMetricSetResponse
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:UpdateMetricSet'
, updateMetricSetResponse_metricSetArn
- The ARN of the dataset.
$sel:httpStatus:UpdateMetricSetResponse'
, updateMetricSetResponse_httpStatus
- The response's http status code.
Response Lenses
updateMetricSetResponse_metricSetArn :: Lens' UpdateMetricSetResponse (Maybe Text) Source #
The ARN of the dataset.
updateMetricSetResponse_httpStatus :: Lens' UpdateMetricSetResponse Int Source #
The response's http status code.