| 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.GpuInfo
Description
Synopsis
- data GpuInfo = GpuInfo' {}
- newGpuInfo :: GpuInfo
- gpuInfo_gpus :: Lens' GpuInfo (Maybe [GpuDeviceInfo])
- gpuInfo_totalGpuMemoryInMiB :: Lens' GpuInfo (Maybe Int)
Documentation
Describes the GPU accelerators for the instance type.
See: newGpuInfo smart constructor.
Constructors
| GpuInfo' | |
Fields
| |
Instances
| FromXML GpuInfo Source # | |
| Generic GpuInfo Source # | |
| Read GpuInfo Source # | |
| Show GpuInfo Source # | |
| NFData GpuInfo Source # | |
Defined in Amazonka.EC2.Types.GpuInfo | |
| Eq GpuInfo Source # | |
| Hashable GpuInfo Source # | |
Defined in Amazonka.EC2.Types.GpuInfo | |
| type Rep GpuInfo Source # | |
Defined in Amazonka.EC2.Types.GpuInfo type Rep GpuInfo = D1 ('MetaData "GpuInfo" "Amazonka.EC2.Types.GpuInfo" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GpuInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gpus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GpuDeviceInfo])) :*: S1 ('MetaSel ('Just "totalGpuMemoryInMiB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) | |
newGpuInfo :: GpuInfo Source #
Create a value of GpuInfo 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:gpus:GpuInfo', gpuInfo_gpus - Describes the GPU accelerators for the instance type.
$sel:totalGpuMemoryInMiB:GpuInfo', gpuInfo_totalGpuMemoryInMiB - The total size of the memory for the GPU accelerators for the instance
type, in MiB.
gpuInfo_gpus :: Lens' GpuInfo (Maybe [GpuDeviceInfo]) Source #
Describes the GPU accelerators for the instance type.