amazonka-mgn-2.0: Amazon Application Migration Service 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.MGN.Types.Disk

Description

 
Synopsis

Documentation

data Disk Source #

The disk identifier.

See: newDisk smart constructor.

Constructors

Disk' 

Fields

Instances

Instances details
FromJSON Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

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 #

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 #

NFData Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Methods

rnf :: Disk -> () #

Eq Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Methods

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

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

Hashable Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

Methods

hashWithSalt :: Int -> Disk -> Int #

hash :: Disk -> Int #

type Rep Disk Source # 
Instance details

Defined in Amazonka.MGN.Types.Disk

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

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:bytes:Disk', disk_bytes - The amount of storage on the disk in bytes.

$sel:deviceName:Disk', disk_deviceName - The disk or device name.

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

The amount of storage on the disk in bytes.

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

The disk or device name.