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 |
Documentation
data ComponentState Source #
A group of fields that describe the current status of components that are no longer active.
See: newComponentState
smart constructor.
Instances
newComponentState :: ComponentState Source #
Create a value of ComponentState
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:status:ComponentState'
, componentState_status
- The current state of the component.
$sel:reason:ComponentState'
, componentState_reason
- Describes how or why the component changed state.
componentState_status :: Lens' ComponentState (Maybe ComponentStatus) Source #
The current state of the component.
componentState_reason :: Lens' ComponentState (Maybe Text) Source #
Describes how or why the component changed state.