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.EnvironmentError

Description

 
Synopsis

Documentation

data EnvironmentError Source #

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

See: newEnvironmentError smart constructor.

Constructors

EnvironmentError' 

Fields

Instances

Instances details
Eq EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

Show EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

Generic EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

Associated Types

type Rep EnvironmentError :: Type -> Type #

NFData EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

Methods

rnf :: EnvironmentError -> () #

Hashable EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

FromJSON EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

type Rep EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

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

newEnvironmentError :: EnvironmentError Source #

Create a value of EnvironmentError 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:errorCode:EnvironmentError', environmentError_errorCode - The error code.

$sel:message:EnvironmentError', environmentError_message - The error message.