| 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.IoTSiteWise.Types.ErrorDetails
Description
Synopsis
Documentation
data ErrorDetails Source #
Contains the details of an IoT SiteWise error.
See: newErrorDetails smart constructor.
Constructors
| ErrorDetails' | |
Instances
Arguments
| :: ErrorCode | |
| -> Text | |
| -> ErrorDetails |
Create a value of ErrorDetails 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:details:ErrorDetails', errorDetails_details - A list of detailed errors.
ErrorDetails, errorDetails_code - The error code.
ErrorDetails, errorDetails_message - The error message.
errorDetails_details :: Lens' ErrorDetails (Maybe [DetailedError]) Source #
A list of detailed errors.
errorDetails_code :: Lens' ErrorDetails ErrorCode Source #
The error code.
errorDetails_message :: Lens' ErrorDetails Text Source #
The error message.