libZSservicesZSamazonka-lambdaZSamazonka-lambda
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.Lambda.Types.EnvironmentResponse

Description

 
Synopsis

Documentation

data EnvironmentResponse Source #

The results of an operation to update or read environment variables. If the operation is successful, the response contains the environment variables. If it failed, the response contains details about the error.

See: newEnvironmentResponse smart constructor.

Constructors

EnvironmentResponse' 

Fields

Instances

Instances details
Eq EnvironmentResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentResponse

Show EnvironmentResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentResponse

Generic EnvironmentResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentResponse

Associated Types

type Rep EnvironmentResponse :: Type -> Type #

NFData EnvironmentResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentResponse

Methods

rnf :: EnvironmentResponse -> () #

Hashable EnvironmentResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentResponse

FromJSON EnvironmentResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentResponse

type Rep EnvironmentResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentResponse

type Rep EnvironmentResponse = D1 ('MetaData "EnvironmentResponse" "Amazonka.Lambda.Types.EnvironmentResponse" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "EnvironmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text (Sensitive Text))))) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentError))))

newEnvironmentResponse :: EnvironmentResponse Source #

Create a value of EnvironmentResponse 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:variables:EnvironmentResponse', environmentResponse_variables - Environment variable key-value pairs.

$sel:error:EnvironmentResponse', environmentResponse_error - Error messages for environment variables that couldn't be applied.

environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError) Source #

Error messages for environment variables that couldn't be applied.