| 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.IotTwinMaker.Types.Status
Description
Synopsis
- data Status = Status' {}
- newStatus :: Status
- status_error :: Lens' Status (Maybe ErrorDetails)
- status_state :: Lens' Status (Maybe State)
Documentation
An object that represents the status of an entity, component, component type, or workspace.
See: newStatus smart constructor.
Constructors
| Status' | |
Instances
| FromJSON Status Source # | |
| Generic Status Source # | |
| Read Status Source # | |
| Show Status Source # | |
| NFData Status Source # | |
Defined in Amazonka.IotTwinMaker.Types.Status | |
| Eq Status Source # | |
| Hashable Status Source # | |
Defined in Amazonka.IotTwinMaker.Types.Status | |
| type Rep Status Source # | |
Defined in Amazonka.IotTwinMaker.Types.Status type Rep Status = D1 ('MetaData "Status" "Amazonka.IotTwinMaker.Types.Status" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "Status'" 'PrefixI 'True) (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorDetails)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe State)))) | |
Create a value of Status 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:error:Status', status_error - The error message.
$sel:state:Status', status_state - The current state of the entity, component, component type, or
workspace.
status_error :: Lens' Status (Maybe ErrorDetails) Source #
The error message.