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 |
Updates a dataset.
Synopsis
- data UpdateMetricSet = UpdateMetricSet' {
- dimensionFilterList :: Maybe [MetricSetDimensionFilter]
- dimensionList :: Maybe (NonEmpty Text)
- metricList :: Maybe (NonEmpty Metric)
- metricSetDescription :: Maybe Text
- metricSetFrequency :: Maybe Frequency
- metricSource :: Maybe MetricSource
- offset :: Maybe Natural
- timestampColumn :: Maybe TimestampColumn
- metricSetArn :: Text
- newUpdateMetricSet :: Text -> UpdateMetricSet
- updateMetricSet_dimensionFilterList :: Lens' UpdateMetricSet (Maybe [MetricSetDimensionFilter])
- updateMetricSet_dimensionList :: Lens' UpdateMetricSet (Maybe (NonEmpty Text))
- updateMetricSet_metricList :: Lens' UpdateMetricSet (Maybe (NonEmpty Metric))
- updateMetricSet_metricSetDescription :: Lens' UpdateMetricSet (Maybe Text)
- updateMetricSet_metricSetFrequency :: Lens' UpdateMetricSet (Maybe Frequency)
- updateMetricSet_metricSource :: Lens' UpdateMetricSet (Maybe MetricSource)
- updateMetricSet_offset :: Lens' UpdateMetricSet (Maybe Natural)
- updateMetricSet_timestampColumn :: Lens' UpdateMetricSet (Maybe TimestampColumn)
- 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:
UpdateMetricSet
, updateMetricSet_dimensionFilterList
- Describes a list of filters for choosing specific dimensions and
specific values. Each filter consists of the dimension and one of its
values that you want to include. When multiple dimensions or values are
specified, the dimensions are joined with an AND operation and the
values are joined with an OR operation.
UpdateMetricSet
, updateMetricSet_dimensionList
- The dimension list.
UpdateMetricSet
, updateMetricSet_metricList
- The metric list.
UpdateMetricSet
, updateMetricSet_metricSetDescription
- The dataset's description.
UpdateMetricSet
, updateMetricSet_metricSetFrequency
- The dataset's interval.
UpdateMetricSet
, updateMetricSet_metricSource
- Undocumented member.
UpdateMetricSet
, updateMetricSet_offset
- After an interval ends, the amount of seconds that the detector waits
before importing data. Offset is only supported for S3, Redshift, Athena
and datasources.
$sel:timestampColumn:UpdateMetricSet'
, updateMetricSet_timestampColumn
- The timestamp column.
UpdateMetricSet
, updateMetricSet_metricSetArn
- The ARN of the dataset to update.
Request Lenses
updateMetricSet_dimensionFilterList :: Lens' UpdateMetricSet (Maybe [MetricSetDimensionFilter]) Source #
Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.
updateMetricSet_dimensionList :: Lens' UpdateMetricSet (Maybe (NonEmpty Text)) Source #
The dimension list.
updateMetricSet_metricList :: Lens' UpdateMetricSet (Maybe (NonEmpty Metric)) Source #
The metric list.
updateMetricSet_metricSetDescription :: Lens' UpdateMetricSet (Maybe Text) Source #
The dataset's description.
updateMetricSet_metricSetFrequency :: Lens' UpdateMetricSet (Maybe Frequency) Source #
The dataset's interval.
updateMetricSet_metricSource :: Lens' UpdateMetricSet (Maybe MetricSource) Source #
Undocumented member.
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, Redshift, Athena and datasources.
updateMetricSet_timestampColumn :: Lens' UpdateMetricSet (Maybe TimestampColumn) Source #
The timestamp column.
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:
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.