libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AutoScaling.DisableMetricsCollection

Description

Disables group metrics for the specified Auto Scaling group.

Synopsis

Creating a Request

data DisableMetricsCollection Source #

See: newDisableMetricsCollection smart constructor.

Constructors

DisableMetricsCollection' 

Fields

  • metrics :: Maybe [Text]

    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.

  • autoScalingGroupName :: Text

    The name of the Auto Scaling group.

Instances

Instances details
Eq DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Read DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Show DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Generic DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Associated Types

type Rep DisableMetricsCollection :: Type -> Type #

NFData DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Hashable DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

AWSRequest DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

ToHeaders DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

ToPath DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

ToQuery DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

type Rep DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

type Rep DisableMetricsCollection = D1 ('MetaData "DisableMetricsCollection" "Amazonka.AutoScaling.DisableMetricsCollection" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DisableMetricsCollection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisableMetricsCollection Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

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.

Destructuring the Response

data DisableMetricsCollectionResponse Source #

See: newDisableMetricsCollectionResponse smart constructor.

Instances

Instances details
Eq DisableMetricsCollectionResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Read DisableMetricsCollectionResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Show DisableMetricsCollectionResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Generic DisableMetricsCollectionResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

Associated Types

type Rep DisableMetricsCollectionResponse :: Type -> Type #

NFData DisableMetricsCollectionResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

type Rep DisableMetricsCollectionResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DisableMetricsCollection

type Rep DisableMetricsCollectionResponse = D1 ('MetaData "DisableMetricsCollectionResponse" "Amazonka.AutoScaling.DisableMetricsCollection" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DisableMetricsCollectionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDisableMetricsCollectionResponse :: DisableMetricsCollectionResponse Source #

Create a value of DisableMetricsCollectionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.