libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager
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.NetworkManager.Types.Device

Description

 
Synopsis

Documentation

data Device Source #

Describes a device.

See: newDevice smart constructor.

Constructors

Device' 

Fields

Instances

Instances details
Eq Device Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Device

Methods

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

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

Show Device Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Device

Generic Device Source # 
Instance details

Defined in Amazonka.NetworkManager.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.NetworkManager.Types.Device

Methods

rnf :: Device -> () #

Hashable Device Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Device

Methods

hashWithSalt :: Int -> Device -> Int #

hash :: Device -> Int #

FromJSON Device Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Device

type Rep Device Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Device

type Rep Device = D1 ('MetaData "Device" "Amazonka.NetworkManager.Types.Device" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "Device'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "vendor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceState)) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Location))))) :*: ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "deviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "aWSLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AWSLocation)) :*: S1 ('MetaSel ('Just "globalNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "model") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "serialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "siteId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))))

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:vendor:Device', device_vendor - The device vendor.

$sel:state:Device', device_state - The device state.

$sel:location:Device', device_location - The site location.

$sel:createdAt:Device', device_createdAt - The date and time that the site was created.

$sel:deviceArn:Device', device_deviceArn - The Amazon Resource Name (ARN) of the device.

$sel:aWSLocation:Device', device_aWSLocation - The AWS location of the device.

$sel:globalNetworkId:Device', device_globalNetworkId - The ID of the global network.

$sel:model:Device', device_model - The device model.

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

$sel:type':Device', device_type - The device type.

$sel:serialNumber:Device', device_serialNumber - The device serial number.

$sel:siteId:Device', device_siteId - The site ID.

$sel:description:Device', device_description - The description of the device.

$sel:tags:Device', device_tags - The tags for the device.

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

The device vendor.

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

The date and time that the site was created.

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

The Amazon Resource Name (ARN) of the device.

device_aWSLocation :: Lens' Device (Maybe AWSLocation) Source #

The AWS location of the device.

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

The ID of the global network.

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

The device model.

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

The ID of the device.

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

The device type.

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

The device serial number.

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

The description of the device.

device_tags :: Lens' Device (Maybe [Tag]) Source #

The tags for the device.