libZSservicesZSamazonka-batchZSamazonka-batch
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.Batch.Types.KeyValuePair

Description

 
Synopsis

Documentation

data KeyValuePair Source #

A key-value pair object.

See: newKeyValuePair smart constructor.

Constructors

KeyValuePair' 

Fields

  • value :: Maybe Text

    The value of the key-value pair. For environment variables, this is the value of the environment variable.

  • name :: Maybe Text

    The name of the key-value pair. For environment variables, this is the name of the environment variable.

Instances

Instances details
Eq KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

Read KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

Show KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

Generic KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

Associated Types

type Rep KeyValuePair :: Type -> Type #

NFData KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

Methods

rnf :: KeyValuePair -> () #

Hashable KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

ToJSON KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

FromJSON KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

type Rep KeyValuePair Source # 
Instance details

Defined in Amazonka.Batch.Types.KeyValuePair

type Rep KeyValuePair = D1 ('MetaData "KeyValuePair" "Amazonka.Batch.Types.KeyValuePair" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "KeyValuePair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:value:KeyValuePair', keyValuePair_value - The value of the key-value pair. For environment variables, this is the value of the environment variable.

$sel:name:KeyValuePair', keyValuePair_name - The name of the key-value pair. For environment variables, this is the name of the environment variable.

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

The value of the key-value pair. For environment variables, this is the value of the environment variable.

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

The name of the key-value pair. For environment variables, this is the name of the environment variable.