amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.DiskInfo

Description

 
Synopsis

Documentation

data DiskInfo Source #

Describes a disk.

See: newDiskInfo smart constructor.

Constructors

DiskInfo' 

Fields

Instances

Instances details
FromXML DiskInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskInfo

Generic DiskInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskInfo

Associated Types

type Rep DiskInfo :: Type -> Type #

Methods

from :: DiskInfo -> Rep DiskInfo x #

to :: Rep DiskInfo x -> DiskInfo #

Read DiskInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskInfo

Show DiskInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskInfo

NFData DiskInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskInfo

Methods

rnf :: DiskInfo -> () #

Eq DiskInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskInfo

Hashable DiskInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskInfo

Methods

hashWithSalt :: Int -> DiskInfo -> Int #

hash :: DiskInfo -> Int #

type Rep DiskInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskInfo

type Rep DiskInfo = D1 ('MetaData "DiskInfo" "Amazonka.EC2.Types.DiskInfo" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DiskInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "sizeInGB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DiskType)))))

newDiskInfo :: DiskInfo Source #

Create a value of DiskInfo 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:count:DiskInfo', diskInfo_count - The number of disks with this configuration.

$sel:sizeInGB:DiskInfo', diskInfo_sizeInGB - The size of the disk in GB.

$sel:type':DiskInfo', diskInfo_type - The type of disk.

diskInfo_count :: Lens' DiskInfo (Maybe Int) Source #

The number of disks with this configuration.

diskInfo_sizeInGB :: Lens' DiskInfo (Maybe Integer) Source #

The size of the disk in GB.