libZSservicesZSamazonka-panoramaZSamazonka-panorama
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.Panorama.Types.Device

Description

 
Synopsis

Documentation

data Device Source #

A device.

See: newDevice smart constructor.

Constructors

Device' 

Fields

Instances

Instances details
Eq Device Source # 
Instance details

Defined in Amazonka.Panorama.Types.Device

Methods

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

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

Read Device Source # 
Instance details

Defined in Amazonka.Panorama.Types.Device

Show Device Source # 
Instance details

Defined in Amazonka.Panorama.Types.Device

Generic Device Source # 
Instance details

Defined in Amazonka.Panorama.Types.Device

Associated Types

type Rep Device :: Type -> Type #

Methods

from :: Device -> Rep Device x #

to :: Rep Device x -> Device #

NFData Device Source # 
Instance details

Defined in Amazonka.Panorama.Types.Device

Methods

rnf :: Device -> () #

Hashable Device Source # 
Instance details

Defined in Amazonka.Panorama.Types.Device

Methods

hashWithSalt :: Int -> Device -> Int #

hash :: Device -> Int #

FromJSON Device Source # 
Instance details

Defined in Amazonka.Panorama.Types.Device

type Rep Device Source # 
Instance details

Defined in Amazonka.Panorama.Types.Device

type Rep Device = D1 ('MetaData "Device" "Amazonka.Panorama.Types.Device" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "Device'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "provisioningStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceStatus)) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "leaseExpirationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newDevice :: Device Source #

Create a value of Device 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:lastUpdatedTime:Device', device_lastUpdatedTime - When the device was updated.

$sel:provisioningStatus:Device', device_provisioningStatus - The device's provisioning status.

$sel:createdTime:Device', device_createdTime - When the device was created.

$sel:name:Device', device_name - The device's name.

$sel:deviceId:Device', device_deviceId - The device's ID.

$sel:leaseExpirationTime:Device', device_leaseExpirationTime - The device's lease expiration time.

device_lastUpdatedTime :: Lens' Device (Maybe UTCTime) Source #

When the device was updated.

device_provisioningStatus :: Lens' Device (Maybe DeviceStatus) Source #

The device's provisioning status.

device_createdTime :: Lens' Device (Maybe UTCTime) Source #

When the device was created.

device_name :: Lens' Device (Maybe Text) Source #

The device's name.

device_leaseExpirationTime :: Lens' Device (Maybe UTCTime) Source #

The device's lease expiration time.