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 |
Documentation
The disk identifier.
See: newDisk
smart constructor.
Instances
FromJSON Disk Source # | |
Generic Disk Source # | |
Read Disk Source # | |
Show Disk Source # | |
NFData Disk Source # | |
Defined in Amazonka.MGN.Types.Disk | |
Eq Disk Source # | |
Hashable Disk Source # | |
Defined in Amazonka.MGN.Types.Disk | |
type Rep Disk Source # | |
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)))) |
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.