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.GpuInfo

Description

 
Synopsis

Documentation

data GpuInfo Source #

Describes the GPU accelerators for the instance type.

See: newGpuInfo smart constructor.

Constructors

GpuInfo' 

Fields

Instances

Instances details
FromXML GpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.GpuInfo

Generic GpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.GpuInfo

Associated Types

type Rep GpuInfo :: Type -> Type #

Methods

from :: GpuInfo -> Rep GpuInfo x #

to :: Rep GpuInfo x -> GpuInfo #

Read GpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.GpuInfo

Show GpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.GpuInfo

NFData GpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.GpuInfo

Methods

rnf :: GpuInfo -> () #

Eq GpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.GpuInfo

Methods

(==) :: GpuInfo -> GpuInfo -> Bool #

(/=) :: GpuInfo -> GpuInfo -> Bool #

Hashable GpuInfo Source # 
Instance details

Defined in Amazonka.EC2.Types.GpuInfo

Methods

hashWithSalt :: Int -> GpuInfo -> Int #

hash :: GpuInfo -> Int #

type Rep GpuInfo Source # 
Instance details

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.

gpuInfo_totalGpuMemoryInMiB :: Lens' GpuInfo (Maybe Int) Source #

The total size of the memory for the GPU accelerators for the instance type, in MiB.