| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.DiskInfo
Description
Documentation
Describes a disk.
See: newDiskInfo smart constructor.
Constructors
| DiskInfo' | |
Instances
| FromXML DiskInfo Source # | |
| Generic DiskInfo Source # | |
| Read DiskInfo Source # | |
| Show DiskInfo Source # | |
| NFData DiskInfo Source # | |
Defined in Amazonka.EC2.Types.DiskInfo | |
| Eq DiskInfo Source # | |
| Hashable DiskInfo Source # | |
Defined in Amazonka.EC2.Types.DiskInfo | |
| type Rep DiskInfo Source # | |
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.