libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AlexaBusiness.Types.DeviceStatusInfo

Description

 
Synopsis

Documentation

data DeviceStatusInfo Source #

Detailed information about a device's status.

See: newDeviceStatusInfo smart constructor.

Constructors

DeviceStatusInfo' 

Fields

Instances

Instances details
Eq DeviceStatusInfo Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceStatusInfo

Read DeviceStatusInfo Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceStatusInfo

Show DeviceStatusInfo Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceStatusInfo

Generic DeviceStatusInfo Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceStatusInfo

Associated Types

type Rep DeviceStatusInfo :: Type -> Type #

NFData DeviceStatusInfo Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceStatusInfo

Methods

rnf :: DeviceStatusInfo -> () #

Hashable DeviceStatusInfo Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceStatusInfo

FromJSON DeviceStatusInfo Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceStatusInfo

type Rep DeviceStatusInfo Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.DeviceStatusInfo

type Rep DeviceStatusInfo = D1 ('MetaData "DeviceStatusInfo" "Amazonka.AlexaBusiness.Types.DeviceStatusInfo" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "DeviceStatusInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionStatusUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "deviceStatusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeviceStatusDetail])) :*: S1 ('MetaSel ('Just "connectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionStatus)))))

newDeviceStatusInfo :: DeviceStatusInfo Source #

Create a value of DeviceStatusInfo 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:connectionStatusUpdatedTime:DeviceStatusInfo', deviceStatusInfo_connectionStatusUpdatedTime - The time (in epoch) when the device connection status changed.

$sel:deviceStatusDetails:DeviceStatusInfo', deviceStatusInfo_deviceStatusDetails - One or more device status detail descriptions.

$sel:connectionStatus:DeviceStatusInfo', deviceStatusInfo_connectionStatus - The latest available information about the connection status of a device.

deviceStatusInfo_connectionStatusUpdatedTime :: Lens' DeviceStatusInfo (Maybe UTCTime) Source #

The time (in epoch) when the device connection status changed.

deviceStatusInfo_deviceStatusDetails :: Lens' DeviceStatusInfo (Maybe [DeviceStatusDetail]) Source #

One or more device status detail descriptions.

deviceStatusInfo_connectionStatus :: Lens' DeviceStatusInfo (Maybe ConnectionStatus) Source #

The latest available information about the connection status of a device.