| 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.EC2.Types.InstanceStateChange
Description
Synopsis
- data InstanceStateChange = InstanceStateChange' {}
- newInstanceStateChange :: InstanceStateChange
- instanceStateChange_currentState :: Lens' InstanceStateChange (Maybe InstanceState)
- instanceStateChange_instanceId :: Lens' InstanceStateChange (Maybe Text)
- instanceStateChange_previousState :: Lens' InstanceStateChange (Maybe InstanceState)
Documentation
data InstanceStateChange Source #
Describes an instance state change.
See: newInstanceStateChange smart constructor.
Constructors
| InstanceStateChange' | |
Fields
| |
Instances
newInstanceStateChange :: InstanceStateChange Source #
Create a value of InstanceStateChange 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:currentState:InstanceStateChange', instanceStateChange_currentState - The current state of the instance.
$sel:instanceId:InstanceStateChange', instanceStateChange_instanceId - The ID of the instance.
$sel:previousState:InstanceStateChange', instanceStateChange_previousState - The previous state of the instance.
instanceStateChange_currentState :: Lens' InstanceStateChange (Maybe InstanceState) Source #
The current state of the instance.
instanceStateChange_instanceId :: Lens' InstanceStateChange (Maybe Text) Source #
The ID of the instance.
instanceStateChange_previousState :: Lens' InstanceStateChange (Maybe InstanceState) Source #
The previous state of the instance.