libZSservicesZSamazonka-robomakerZSamazonka-robomaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RobOMaker.Types.Compute

Description

 
Synopsis

Documentation

data Compute Source #

Compute information for the simulation job.

See: newCompute smart constructor.

Constructors

Compute' 

Fields

  • simulationUnitLimit :: Maybe Natural

    The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.

  • gpuUnitLimit :: Maybe Natural

    Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

  • computeType :: Maybe ComputeType

    Compute type information for the simulation job.

Instances

Instances details
Eq Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Methods

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

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

Read Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Show Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Generic Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Associated Types

type Rep Compute :: Type -> Type #

Methods

from :: Compute -> Rep Compute x #

to :: Rep Compute x -> Compute #

NFData Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Methods

rnf :: Compute -> () #

Hashable Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

Methods

hashWithSalt :: Int -> Compute -> Int #

hash :: Compute -> Int #

ToJSON Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

FromJSON Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

type Rep Compute Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.Compute

type Rep Compute = D1 ('MetaData "Compute" "Amazonka.RobOMaker.Types.Compute" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "Compute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "simulationUnitLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "gpuUnitLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "computeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputeType)))))

newCompute :: Compute Source #

Create a value of Compute 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:simulationUnitLimit:Compute', compute_simulationUnitLimit - The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.

$sel:gpuUnitLimit:Compute', compute_gpuUnitLimit - Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

$sel:computeType:Compute', compute_computeType - Compute type information for the simulation job.

compute_simulationUnitLimit :: Lens' Compute (Maybe Natural) Source #

The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.

compute_gpuUnitLimit :: Lens' Compute (Maybe Natural) Source #

Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

compute_computeType :: Lens' Compute (Maybe ComputeType) Source #

Compute type information for the simulation job.