amazonka-iottwinmaker-2.0: Amazon IoT TwinMaker SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IotTwinMaker.Types.Status

Description

 
Synopsis

Documentation

data Status Source #

An object that represents the status of an entity, component, component type, or workspace.

See: newStatus smart constructor.

Constructors

Status' 

Fields

Instances

Instances details
FromJSON Status Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Status

Generic Status Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Status

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

Read Status Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Status

Show Status Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Status

NFData Status Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Status

Methods

rnf :: Status -> () #

Eq Status Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Status

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Hashable Status Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.Status

Methods

hashWithSalt :: Int -> Status -> Int #

hash :: Status -> Int #

type Rep Status Source # 
Instance details

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))))

newStatus :: Status Source #

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_state :: Lens' Status (Maybe State) Source #

The current state of the entity, component, component type, or workspace.