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 |
Synopsis
- data CloudwatchMetricAction = CloudwatchMetricAction' {
- metricTimestamp :: Maybe Text
- roleArn :: Text
- metricNamespace :: Text
- metricName :: Text
- metricValue :: Text
- metricUnit :: Text
- newCloudwatchMetricAction :: Text -> Text -> Text -> Text -> Text -> CloudwatchMetricAction
- cloudwatchMetricAction_metricTimestamp :: Lens' CloudwatchMetricAction (Maybe Text)
- cloudwatchMetricAction_roleArn :: Lens' CloudwatchMetricAction Text
- cloudwatchMetricAction_metricNamespace :: Lens' CloudwatchMetricAction Text
- cloudwatchMetricAction_metricName :: Lens' CloudwatchMetricAction Text
- cloudwatchMetricAction_metricValue :: Lens' CloudwatchMetricAction Text
- cloudwatchMetricAction_metricUnit :: Lens' CloudwatchMetricAction Text
Documentation
data CloudwatchMetricAction Source #
Describes an action that captures a CloudWatch metric.
See: newCloudwatchMetricAction
smart constructor.
CloudwatchMetricAction' | |
|
Instances
newCloudwatchMetricAction Source #
Create a value of CloudwatchMetricAction
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:metricTimestamp:CloudwatchMetricAction'
, cloudwatchMetricAction_metricTimestamp
- An optional
Unix timestamp.
$sel:roleArn:CloudwatchMetricAction'
, cloudwatchMetricAction_roleArn
- The IAM role that allows access to the CloudWatch metric.
$sel:metricNamespace:CloudwatchMetricAction'
, cloudwatchMetricAction_metricNamespace
- The CloudWatch metric namespace name.
$sel:metricName:CloudwatchMetricAction'
, cloudwatchMetricAction_metricName
- The CloudWatch metric name.
$sel:metricValue:CloudwatchMetricAction'
, cloudwatchMetricAction_metricValue
- The CloudWatch metric value.
$sel:metricUnit:CloudwatchMetricAction'
, cloudwatchMetricAction_metricUnit
- The
metric unit
supported by CloudWatch.
cloudwatchMetricAction_metricTimestamp :: Lens' CloudwatchMetricAction (Maybe Text) Source #
An optional Unix timestamp.
cloudwatchMetricAction_roleArn :: Lens' CloudwatchMetricAction Text Source #
The IAM role that allows access to the CloudWatch metric.
cloudwatchMetricAction_metricNamespace :: Lens' CloudwatchMetricAction Text Source #
The CloudWatch metric namespace name.
cloudwatchMetricAction_metricName :: Lens' CloudwatchMetricAction Text Source #
The CloudWatch metric name.
cloudwatchMetricAction_metricValue :: Lens' CloudwatchMetricAction Text Source #
The CloudWatch metric value.
cloudwatchMetricAction_metricUnit :: Lens' CloudwatchMetricAction Text Source #
The metric unit supported by CloudWatch.