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 |
Documentation
data BatchStatementError Source #
An error associated with a statement in a PartiQL batch that was run.
See: newBatchStatementError
smart constructor.
Instances
newBatchStatementError :: BatchStatementError Source #
Create a value of BatchStatementError
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:BatchStatementError'
, batchStatementError_code
- The error code associated with the failed PartiQL batch statement.
$sel:message:BatchStatementError'
, batchStatementError_message
- The error message associated with the PartiQL batch resposne.
batchStatementError_code :: Lens' BatchStatementError (Maybe BatchStatementErrorCodeEnum) Source #
The error code associated with the failed PartiQL batch statement.
batchStatementError_message :: Lens' BatchStatementError (Maybe Text) Source #
The error message associated with the PartiQL batch resposne.