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 |
Disables group metrics for the specified Auto Scaling group.
Synopsis
- data DisableMetricsCollection = DisableMetricsCollection' {
- metrics :: Maybe [Text]
- autoScalingGroupName :: Text
- newDisableMetricsCollection :: Text -> DisableMetricsCollection
- disableMetricsCollection_metrics :: Lens' DisableMetricsCollection (Maybe [Text])
- disableMetricsCollection_autoScalingGroupName :: Lens' DisableMetricsCollection Text
- data DisableMetricsCollectionResponse = DisableMetricsCollectionResponse' {
- newDisableMetricsCollectionResponse :: DisableMetricsCollectionResponse
Creating a Request
data DisableMetricsCollection Source #
See: newDisableMetricsCollection
smart constructor.
DisableMetricsCollection' | |
|
Instances
newDisableMetricsCollection Source #
Create a value of DisableMetricsCollection
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:metrics:DisableMetricsCollection'
, disableMetricsCollection_metrics
- Specifies one or more of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
If you omit this parameter, all metrics are disabled.
$sel:autoScalingGroupName:DisableMetricsCollection'
, disableMetricsCollection_autoScalingGroupName
- The name of the Auto Scaling group.
Request Lenses
disableMetricsCollection_metrics :: Lens' DisableMetricsCollection (Maybe [Text]) Source #
Specifies one or more of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
If you omit this parameter, all metrics are disabled.
disableMetricsCollection_autoScalingGroupName :: Lens' DisableMetricsCollection Text Source #
The name of the Auto Scaling group.
Destructuring the Response
data DisableMetricsCollectionResponse Source #
See: newDisableMetricsCollectionResponse
smart constructor.
Instances
newDisableMetricsCollectionResponse :: DisableMetricsCollectionResponse Source #
Create a value of DisableMetricsCollectionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.