Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ErrorInfo = ErrorInfo' {}
- newErrorInfo :: ErrorInfo
- errorInfo_code :: Lens' ErrorInfo (Maybe Text)
- errorInfo_message :: Lens' ErrorInfo (Maybe Text)
Documentation
Error information.
See: newErrorInfo
smart constructor.
Instances
Eq ErrorInfo Source # | |
Read ErrorInfo Source # | |
Show ErrorInfo Source # | |
Generic ErrorInfo Source # | |
NFData ErrorInfo Source # | |
Defined in Amazonka.IoT.Types.ErrorInfo | |
Hashable ErrorInfo Source # | |
Defined in Amazonka.IoT.Types.ErrorInfo | |
FromJSON ErrorInfo Source # | |
type Rep ErrorInfo Source # | |
Defined in Amazonka.IoT.Types.ErrorInfo type Rep ErrorInfo = D1 ('MetaData "ErrorInfo" "Amazonka.IoT.Types.ErrorInfo" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ErrorInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newErrorInfo :: ErrorInfo Source #
Create a value of ErrorInfo
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:ErrorInfo'
, errorInfo_code
- The error code.
$sel:message:ErrorInfo'
, errorInfo_message
- The error message.