amazonka-iot-analytics-2.0: Amazon IoT Analytics 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.IoTAnalytics.Types.Variable

Description

 
Synopsis

Documentation

data Variable Source #

An instance of a variable to be passed to the containerAction execution. Each variable must have a name and a value given by one of stringValue, datasetContentVersionValue, or outputFileUriValue.

See: newVariable smart constructor.

Constructors

Variable' 

Fields

Instances

Instances details
FromJSON Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

ToJSON Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Generic Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Associated Types

type Rep Variable :: Type -> Type #

Methods

from :: Variable -> Rep Variable x #

to :: Rep Variable x -> Variable #

Read Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Show Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

NFData Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Methods

rnf :: Variable -> () #

Eq Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Hashable Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Methods

hashWithSalt :: Int -> Variable -> Int #

hash :: Variable -> Int #

type Rep Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

type Rep Variable = D1 ('MetaData "Variable" "Amazonka.IoTAnalytics.Types.Variable" "amazonka-iot-analytics-2.0-2pxFb0PbSzA9ccOL4CofY4" 'False) (C1 ('MetaCons "Variable'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "datasetContentVersionValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DatasetContentVersionValue)) :*: S1 ('MetaSel ('Just "doubleValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "outputFileUriValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputFileUriValue)) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newVariable Source #

Create a value of Variable 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:datasetContentVersionValue:Variable', variable_datasetContentVersionValue - The value of the variable as a structure that specifies a dataset content version.

$sel:doubleValue:Variable', variable_doubleValue - The value of the variable as a double (numeric).

$sel:outputFileUriValue:Variable', variable_outputFileUriValue - The value of the variable as a structure that specifies an output file URI.

$sel:stringValue:Variable', variable_stringValue - The value of the variable as a string.

$sel:name:Variable', variable_name - The name of the variable.

variable_datasetContentVersionValue :: Lens' Variable (Maybe DatasetContentVersionValue) Source #

The value of the variable as a structure that specifies a dataset content version.

variable_doubleValue :: Lens' Variable (Maybe Double) Source #

The value of the variable as a double (numeric).

variable_outputFileUriValue :: Lens' Variable (Maybe OutputFileUriValue) Source #

The value of the variable as a structure that specifies an output file URI.

variable_stringValue :: Lens' Variable (Maybe Text) Source #

The value of the variable as a string.

variable_name :: Lens' Variable Text Source #

The name of the variable.