Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data LastError = LastError' {}
- newLastError :: LastError
- lastError_code :: Lens' LastError (Maybe Text)
- lastError_message :: Lens' LastError (Maybe Text)
Documentation
The last error that occurred for a VPC endpoint.
See: newLastError
smart constructor.
Instances
FromXML LastError Source # | |
Generic LastError Source # | |
Read LastError Source # | |
Show LastError Source # | |
NFData LastError Source # | |
Defined in Amazonka.EC2.Types.LastError | |
Eq LastError Source # | |
Hashable LastError Source # | |
Defined in Amazonka.EC2.Types.LastError | |
type Rep LastError Source # | |
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.