Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data InstanceState Source #
Describes the virtual private server (or instance) status.
See: newInstanceState
smart constructor.
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:name:InstanceState'
, instanceState_name
- The state of the instance (e.g., running
or pending
).
$sel:code:InstanceState'
, instanceState_code
- The status code for the instance.
instanceState_name :: Lens' InstanceState (Maybe Text) Source #
The state of the instance (e.g., running
or pending
).
instanceState_code :: Lens' InstanceState (Maybe Int) Source #
The status code for the instance.