| 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 |
Amazonka.Kafka.Types.ErrorInfo
Description
Synopsis
- data ErrorInfo = ErrorInfo' {}
- newErrorInfo :: ErrorInfo
- errorInfo_errorCode :: Lens' ErrorInfo (Maybe Text)
- errorInfo_errorString :: Lens' ErrorInfo (Maybe Text)
Documentation
Returns information about an error state of the cluster.
See: newErrorInfo smart constructor.
Constructors
| ErrorInfo' | |
Instances
| FromJSON ErrorInfo Source # | |
| Generic ErrorInfo Source # | |
| Read ErrorInfo Source # | |
| Show ErrorInfo Source # | |
| NFData ErrorInfo Source # | |
Defined in Amazonka.Kafka.Types.ErrorInfo | |
| Eq ErrorInfo Source # | |
| Hashable ErrorInfo Source # | |
Defined in Amazonka.Kafka.Types.ErrorInfo | |
| type Rep ErrorInfo Source # | |
Defined in Amazonka.Kafka.Types.ErrorInfo type Rep ErrorInfo = D1 ('MetaData "ErrorInfo" "Amazonka.Kafka.Types.ErrorInfo" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "ErrorInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorString") '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:errorCode:ErrorInfo', errorInfo_errorCode - A number describing the error programmatically.
$sel:errorString:ErrorInfo', errorInfo_errorString - An optional field to provide more details about the error.