amazonka-lambda-2.0: Amazon Lambda 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.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
FromJSON 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 #

Show EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

NFData EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

Methods

rnf :: EnvironmentError -> () #

Eq EnvironmentError Source # 
Instance details

Defined in Amazonka.Lambda.Types.EnvironmentError

Hashable 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" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" '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.