amazonka-opsworks-2.0: Amazon OpsWorks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OpsWorks.Types.InstancesCount

Description

 
Synopsis

Documentation

data InstancesCount Source #

Describes how many instances a stack has for each status.

See: newInstancesCount smart constructor.

Constructors

InstancesCount' 

Fields

Instances

Instances details
FromJSON InstancesCount Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.InstancesCount

Generic InstancesCount Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.InstancesCount

Associated Types

type Rep InstancesCount :: Type -> Type #

Read InstancesCount Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.InstancesCount

Show InstancesCount Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.InstancesCount

NFData InstancesCount Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.InstancesCount

Methods

rnf :: InstancesCount -> () #

Eq InstancesCount Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.InstancesCount

Hashable InstancesCount Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.InstancesCount

type Rep InstancesCount Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.InstancesCount

type Rep InstancesCount = D1 ('MetaData "InstancesCount" "Amazonka.OpsWorks.Types.InstancesCount" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "InstancesCount'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "assigning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "booting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "connectionLost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "deregistering") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "online") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "pending") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "rebooting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "registered") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "registering") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "requested") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))) :*: (((S1 ('MetaSel ('Just "runningSetup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "setupFailed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "shuttingDown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "startFailed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "stopFailed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "stopped") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "stopping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "terminated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "terminating") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "unassigning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))))

newInstancesCount :: InstancesCount Source #

Create a value of InstancesCount 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:assigning:InstancesCount', instancesCount_assigning - The number of instances in the Assigning state.

$sel:booting:InstancesCount', instancesCount_booting - The number of instances with booting status.

$sel:connectionLost:InstancesCount', instancesCount_connectionLost - The number of instances with connection_lost status.

$sel:deregistering:InstancesCount', instancesCount_deregistering - The number of instances in the Deregistering state.

$sel:online:InstancesCount', instancesCount_online - The number of instances with online status.

$sel:pending:InstancesCount', instancesCount_pending - The number of instances with pending status.

$sel:rebooting:InstancesCount', instancesCount_rebooting - The number of instances with rebooting status.

$sel:registered:InstancesCount', instancesCount_registered - The number of instances in the Registered state.

$sel:registering:InstancesCount', instancesCount_registering - The number of instances in the Registering state.

$sel:requested:InstancesCount', instancesCount_requested - The number of instances with requested status.

$sel:runningSetup:InstancesCount', instancesCount_runningSetup - The number of instances with running_setup status.

$sel:setupFailed:InstancesCount', instancesCount_setupFailed - The number of instances with setup_failed status.

$sel:shuttingDown:InstancesCount', instancesCount_shuttingDown - The number of instances with shutting_down status.

$sel:startFailed:InstancesCount', instancesCount_startFailed - The number of instances with start_failed status.

$sel:stopFailed:InstancesCount', instancesCount_stopFailed - The number of instances with stop_failed status.

$sel:stopped:InstancesCount', instancesCount_stopped - The number of instances with stopped status.

$sel:stopping:InstancesCount', instancesCount_stopping - The number of instances with stopping status.

$sel:terminated:InstancesCount', instancesCount_terminated - The number of instances with terminated status.

$sel:terminating:InstancesCount', instancesCount_terminating - The number of instances with terminating status.

$sel:unassigning:InstancesCount', instancesCount_unassigning - The number of instances in the Unassigning state.

instancesCount_assigning :: Lens' InstancesCount (Maybe Int) Source #

The number of instances in the Assigning state.

instancesCount_booting :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with booting status.

instancesCount_connectionLost :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with connection_lost status.

instancesCount_deregistering :: Lens' InstancesCount (Maybe Int) Source #

The number of instances in the Deregistering state.

instancesCount_online :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with online status.

instancesCount_pending :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with pending status.

instancesCount_rebooting :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with rebooting status.

instancesCount_registered :: Lens' InstancesCount (Maybe Int) Source #

The number of instances in the Registered state.

instancesCount_registering :: Lens' InstancesCount (Maybe Int) Source #

The number of instances in the Registering state.

instancesCount_requested :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with requested status.

instancesCount_runningSetup :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with running_setup status.

instancesCount_setupFailed :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with setup_failed status.

instancesCount_shuttingDown :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with shutting_down status.

instancesCount_startFailed :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with start_failed status.

instancesCount_stopFailed :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with stop_failed status.

instancesCount_stopped :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with stopped status.

instancesCount_stopping :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with stopping status.

instancesCount_terminated :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with terminated status.

instancesCount_terminating :: Lens' InstancesCount (Maybe Int) Source #

The number of instances with terminating status.

instancesCount_unassigning :: Lens' InstancesCount (Maybe Int) Source #

The number of instances in the Unassigning state.