libZSservicesZSamazonka-mgnZSamazonka-mgn
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.MGN.Types.Disk

Description

 
Synopsis

Documentation

data Disk Source #

The disk identifier.

See: newDisk smart constructor.

Constructors

Disk' 

Fields

Instances

Instances details
Eq Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Methods

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

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

Read Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Show Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Methods

showsPrec :: Int -> Disk -> ShowS #

show :: Disk -> String #

showList :: [Disk] -> ShowS #

Generic Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Associated Types

type Rep Disk :: Type -> Type #

Methods

from :: Disk -> Rep Disk x #

to :: Rep Disk x -> Disk #

NFData Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Methods

rnf :: Disk -> () #

Hashable Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Methods

hashWithSalt :: Int -> Disk -> Int #

hash :: Disk -> Int #

FromJSON Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

type Rep Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

type Rep Disk = D1 ('MetaData "Disk" "Amazonka.MGN.Types.Disk" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "Disk'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newDisk :: Disk Source #

Create a value of Disk 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:deviceName:Disk', disk_deviceName - The disk or device name.

$sel:bytes:Disk', disk_bytes - The amount of storage on the disk in bytes.

disk_deviceName :: Lens' Disk (Maybe Text) Source #

The disk or device name.

disk_bytes :: Lens' Disk (Maybe Natural) Source #

The amount of storage on the disk in bytes.