amazonka-elastic-inference-2.0: Amazon Elastic Inference 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.ElasticInference.Types.KeyValuePair

Description

 
Synopsis

Documentation

data KeyValuePair Source #

A throughput entry for an Elastic Inference Accelerator type.

See: newKeyValuePair smart constructor.

Constructors

KeyValuePair' 

Fields

  • key :: Maybe Text

    The throughput value of the Elastic Inference Accelerator type. It can assume the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.

  • value :: Maybe Int

    The throughput value of the Elastic Inference Accelerator type.

Instances

Instances details
FromJSON KeyValuePair Source # 
Instance details

Defined in Amazonka.ElasticInference.Types.KeyValuePair

Generic KeyValuePair Source # 
Instance details

Defined in Amazonka.ElasticInference.Types.KeyValuePair

Associated Types

type Rep KeyValuePair :: Type -> Type #

Read KeyValuePair Source # 
Instance details

Defined in Amazonka.ElasticInference.Types.KeyValuePair

Show KeyValuePair Source # 
Instance details

Defined in Amazonka.ElasticInference.Types.KeyValuePair

NFData KeyValuePair Source # 
Instance details

Defined in Amazonka.ElasticInference.Types.KeyValuePair

Methods

rnf :: KeyValuePair -> () #

Eq KeyValuePair Source # 
Instance details

Defined in Amazonka.ElasticInference.Types.KeyValuePair

Hashable KeyValuePair Source # 
Instance details

Defined in Amazonka.ElasticInference.Types.KeyValuePair

type Rep KeyValuePair Source # 
Instance details

Defined in Amazonka.ElasticInference.Types.KeyValuePair

type Rep KeyValuePair = D1 ('MetaData "KeyValuePair" "Amazonka.ElasticInference.Types.KeyValuePair" "amazonka-elastic-inference-2.0-EVwiTwsUv1aItx1WMiarH5" 'False) (C1 ('MetaCons "KeyValuePair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newKeyValuePair :: KeyValuePair Source #

Create a value of KeyValuePair 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:key:KeyValuePair', keyValuePair_key - The throughput value of the Elastic Inference Accelerator type. It can assume the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.

$sel:value:KeyValuePair', keyValuePair_value - The throughput value of the Elastic Inference Accelerator type.

keyValuePair_key :: Lens' KeyValuePair (Maybe Text) Source #

The throughput value of the Elastic Inference Accelerator type. It can assume the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.

keyValuePair_value :: Lens' KeyValuePair (Maybe Int) Source #

The throughput value of the Elastic Inference Accelerator type.