amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.LastError

Description

 
Synopsis

Documentation

data LastError Source #

The last error that occurred for a VPC endpoint.

See: newLastError smart constructor.

Constructors

LastError' 

Fields

Instances

Instances details
FromXML LastError Source # 
Instance details

Defined in Amazonka.EC2.Types.LastError

Generic LastError Source # 
Instance details

Defined in Amazonka.EC2.Types.LastError

Associated Types

type Rep LastError :: Type -> Type #

Read LastError Source # 
Instance details

Defined in Amazonka.EC2.Types.LastError

Show LastError Source # 
Instance details

Defined in Amazonka.EC2.Types.LastError

NFData LastError Source # 
Instance details

Defined in Amazonka.EC2.Types.LastError

Methods

rnf :: LastError -> () #

Eq LastError Source # 
Instance details

Defined in Amazonka.EC2.Types.LastError

Hashable LastError Source # 
Instance details

Defined in Amazonka.EC2.Types.LastError

type Rep LastError Source # 
Instance details

Defined in Amazonka.EC2.Types.LastError

type Rep LastError = D1 ('MetaData "LastError" "Amazonka.EC2.Types.LastError" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "LastError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLastError :: LastError Source #

Create a value of LastError 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:code:LastError', lastError_code - The error code for the VPC endpoint error.

$sel:message:LastError', lastError_message - The error message for the VPC endpoint error.

lastError_code :: Lens' LastError (Maybe Text) Source #

The error code for the VPC endpoint error.

lastError_message :: Lens' LastError (Maybe Text) Source #

The error message for the VPC endpoint error.