Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the Auto Scaling User Guide .
- enableMetricsCollection :: Text -> Text -> EnableMetricsCollection
- data EnableMetricsCollection
- emcMetrics :: Lens' EnableMetricsCollection [Text]
- emcAutoScalingGroupName :: Lens' EnableMetricsCollection Text
- emcGranularity :: Lens' EnableMetricsCollection Text
- enableMetricsCollectionResponse :: EnableMetricsCollectionResponse
- data EnableMetricsCollectionResponse
Creating a Request
enableMetricsCollection Source #
Creates a value of EnableMetricsCollection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
emcMetrics
- One or more of the following metrics. If you omit this parameter, all metrics are enabled. *GroupMinSize
*GroupMaxSize
*GroupDesiredCapacity
*GroupInServiceInstances
*GroupPendingInstances
*GroupStandbyInstances
*GroupTerminatingInstances
*GroupTotalInstances
emcAutoScalingGroupName
- The name or ARN of the Auto Scaling group.emcGranularity
- The granularity to associate with the metrics to collect. The only valid value is1Minute
.
data EnableMetricsCollection Source #
See: enableMetricsCollection
smart constructor.
Request Lenses
emcMetrics :: Lens' EnableMetricsCollection [Text] Source #
One or more of the following metrics. If you omit this parameter, all metrics are enabled. * GroupMinSize
* GroupMaxSize
* GroupDesiredCapacity
* GroupInServiceInstances
* GroupPendingInstances
* GroupStandbyInstances
* GroupTerminatingInstances
* GroupTotalInstances
emcAutoScalingGroupName :: Lens' EnableMetricsCollection Text Source #
The name or ARN of the Auto Scaling group.
emcGranularity :: Lens' EnableMetricsCollection Text Source #
The granularity to associate with the metrics to collect. The only valid value is 1Minute
.
Destructuring the Response
enableMetricsCollectionResponse :: EnableMetricsCollectionResponse Source #
Creates a value of EnableMetricsCollectionResponse
with the minimum fields required to make a request.
data EnableMetricsCollectionResponse Source #
See: enableMetricsCollectionResponse
smart constructor.