| 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.OpenSearch.Types.OptionStatus
Description
Synopsis
- data OptionStatus = OptionStatus' {}
- newOptionStatus :: UTCTime -> UTCTime -> OptionState -> OptionStatus
- optionStatus_pendingDeletion :: Lens' OptionStatus (Maybe Bool)
- optionStatus_updateVersion :: Lens' OptionStatus (Maybe Natural)
- optionStatus_creationDate :: Lens' OptionStatus UTCTime
- optionStatus_updateDate :: Lens' OptionStatus UTCTime
- optionStatus_state :: Lens' OptionStatus OptionState
Documentation
data OptionStatus Source #
Provides the current status of an entity.
See: newOptionStatus smart constructor.
Constructors
| OptionStatus' | |
Fields
| |
Instances
Arguments
| :: UTCTime | |
| -> UTCTime | |
| -> OptionState | |
| -> OptionStatus |
Create a value of OptionStatus 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:pendingDeletion:OptionStatus', optionStatus_pendingDeletion - Indicates whether the entity is being deleted.
$sel:updateVersion:OptionStatus', optionStatus_updateVersion - The latest version of the entity.
$sel:creationDate:OptionStatus', optionStatus_creationDate - The timestamp when the entity was created.
$sel:updateDate:OptionStatus', optionStatus_updateDate - The timestamp of the last time the entity was updated.
$sel:state:OptionStatus', optionStatus_state - The state of the entity.
optionStatus_pendingDeletion :: Lens' OptionStatus (Maybe Bool) Source #
Indicates whether the entity is being deleted.
optionStatus_updateVersion :: Lens' OptionStatus (Maybe Natural) Source #
The latest version of the entity.
optionStatus_creationDate :: Lens' OptionStatus UTCTime Source #
The timestamp when the entity was created.
optionStatus_updateDate :: Lens' OptionStatus UTCTime Source #
The timestamp of the last time the entity was updated.
optionStatus_state :: Lens' OptionStatus OptionState Source #
The state of the entity.