amazonka-outposts-2.0: Amazon Outposts 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.Outposts.Types.ComputeAttributes

Description

 
Synopsis

Documentation

data ComputeAttributes Source #

Information about compute hardware assets.

See: newComputeAttributes smart constructor.

Constructors

ComputeAttributes' 

Fields

  • hostId :: Maybe Text

    The host ID of the Dedicated Host on the asset.

  • state :: Maybe ComputeAssetState

    The state.

    • ACTIVE - The asset is available and can provide capacity for new compute resources.
    • ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
    • RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.

Instances

Instances details
FromJSON ComputeAttributes Source # 
Instance details

Defined in Amazonka.Outposts.Types.ComputeAttributes

Generic ComputeAttributes Source # 
Instance details

Defined in Amazonka.Outposts.Types.ComputeAttributes

Associated Types

type Rep ComputeAttributes :: Type -> Type #

Read ComputeAttributes Source # 
Instance details

Defined in Amazonka.Outposts.Types.ComputeAttributes

Show ComputeAttributes Source # 
Instance details

Defined in Amazonka.Outposts.Types.ComputeAttributes

NFData ComputeAttributes Source # 
Instance details

Defined in Amazonka.Outposts.Types.ComputeAttributes

Methods

rnf :: ComputeAttributes -> () #

Eq ComputeAttributes Source # 
Instance details

Defined in Amazonka.Outposts.Types.ComputeAttributes

Hashable ComputeAttributes Source # 
Instance details

Defined in Amazonka.Outposts.Types.ComputeAttributes

type Rep ComputeAttributes Source # 
Instance details

Defined in Amazonka.Outposts.Types.ComputeAttributes

type Rep ComputeAttributes = D1 ('MetaData "ComputeAttributes" "Amazonka.Outposts.Types.ComputeAttributes" "amazonka-outposts-2.0-7IMF8shlTNW2uMOjzEu2r2" 'False) (C1 ('MetaCons "ComputeAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputeAssetState))))

newComputeAttributes :: ComputeAttributes Source #

Create a value of ComputeAttributes 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:hostId:ComputeAttributes', computeAttributes_hostId - The host ID of the Dedicated Host on the asset.

$sel:state:ComputeAttributes', computeAttributes_state - The state.

  • ACTIVE - The asset is available and can provide capacity for new compute resources.
  • ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
  • RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.

computeAttributes_hostId :: Lens' ComputeAttributes (Maybe Text) Source #

The host ID of the Dedicated Host on the asset.

computeAttributes_state :: Lens' ComputeAttributes (Maybe ComputeAssetState) Source #

The state.

  • ACTIVE - The asset is available and can provide capacity for new compute resources.
  • ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
  • RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.