| 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.DrS.Types.Disk
Description
Documentation
An object representing a data storage device on a server.
See: newDisk smart constructor.
Constructors
| Disk' | |
Instances
| FromJSON Disk Source # | |
| Generic Disk Source # | |
| Read Disk Source # | |
| Show Disk Source # | |
| NFData Disk Source # | |
Defined in Amazonka.DrS.Types.Disk | |
| Eq Disk Source # | |
| Hashable Disk Source # | |
Defined in Amazonka.DrS.Types.Disk | |
| type Rep Disk Source # | |
Defined in Amazonka.DrS.Types.Disk type Rep Disk = D1 ('MetaData "Disk" "Amazonka.DrS.Types.Disk" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" '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.