libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
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.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
Eq Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Read Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Show 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 #

NFData Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Methods

rnf :: Variable -> () #

Hashable Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

Methods

hashWithSalt :: Int -> Variable -> Int #

hash :: Variable -> Int #

ToJSON Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

FromJSON Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

type Rep Variable Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Variable

type Rep Variable = D1 ('MetaData "Variable" "Amazonka.IoTAnalytics.Types.Variable" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "Variable'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "outputFileUriValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputFileUriValue)) :*: S1 ('MetaSel ('Just "doubleValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "datasetContentVersionValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DatasetContentVersionValue)) :*: 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:outputFileUriValue:Variable', variable_outputFileUriValue - The value of the variable as a structure that specifies an output file URI.

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

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

$sel:datasetContentVersionValue:Variable', variable_datasetContentVersionValue - The value of the variable as a structure that specifies a dataset content version.

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

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

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

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

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

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

The value of the variable as a string.

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

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

variable_name :: Lens' Variable Text Source #

The name of the variable.