| 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 |
Amazonka.Lightsail.Types.InstanceState
Description
Synopsis
Documentation
data InstanceState Source #
Describes the virtual private server (or instance) status.
See: newInstanceState smart constructor.
Constructors
| InstanceState' | |
Instances
newInstanceState :: InstanceState Source #
Create a value of InstanceState 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:code:InstanceState', instanceState_code - The status code for the instance.
$sel:name:InstanceState', instanceState_name - The state of the instance (e.g., running or pending).
instanceState_code :: Lens' InstanceState (Maybe Int) Source #
The status code for the instance.
instanceState_name :: Lens' InstanceState (Maybe Text) Source #
The state of the instance (e.g., running or pending).