Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ComputeAttributes Source #
Information about compute hardware assets.
See: newComputeAttributes
smart constructor.
ComputeAttributes' | |
|
Instances
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.