| 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.Athena.Types.UnprocessedPreparedStatementName
Description
Synopsis
- data UnprocessedPreparedStatementName = UnprocessedPreparedStatementName' {}
- newUnprocessedPreparedStatementName :: UnprocessedPreparedStatementName
- unprocessedPreparedStatementName_errorCode :: Lens' UnprocessedPreparedStatementName (Maybe Text)
- unprocessedPreparedStatementName_errorMessage :: Lens' UnprocessedPreparedStatementName (Maybe Text)
- unprocessedPreparedStatementName_statementName :: Lens' UnprocessedPreparedStatementName (Maybe Text)
Documentation
data UnprocessedPreparedStatementName Source #
The name of a prepared statement that could not be returned.
See: newUnprocessedPreparedStatementName smart constructor.
Constructors
| UnprocessedPreparedStatementName' | |
Fields
| |
Instances
newUnprocessedPreparedStatementName :: UnprocessedPreparedStatementName Source #
Create a value of UnprocessedPreparedStatementName 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:UnprocessedPreparedStatementName', unprocessedPreparedStatementName_errorCode - The error code returned when the request for the prepared statement
failed.
$sel:errorMessage:UnprocessedPreparedStatementName', unprocessedPreparedStatementName_errorMessage - The error message containing the reason why the prepared statement could
not be returned. The following error messages are possible:
INVALID_INPUT- The name of the prepared statement that was provided is not valid (for example, the name is too long).STATEMENT_NOT_FOUND- A prepared statement with the name provided could not be found.UNAUTHORIZED- The requester does not have permission to access the workgroup that contains the prepared statement.
$sel:statementName:UnprocessedPreparedStatementName', unprocessedPreparedStatementName_statementName - The name of a prepared statement that could not be returned due to an
error.
unprocessedPreparedStatementName_errorCode :: Lens' UnprocessedPreparedStatementName (Maybe Text) Source #
The error code returned when the request for the prepared statement failed.
unprocessedPreparedStatementName_errorMessage :: Lens' UnprocessedPreparedStatementName (Maybe Text) Source #
The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:
INVALID_INPUT- The name of the prepared statement that was provided is not valid (for example, the name is too long).STATEMENT_NOT_FOUND- A prepared statement with the name provided could not be found.UNAUTHORIZED- The requester does not have permission to access the workgroup that contains the prepared statement.
unprocessedPreparedStatementName_statementName :: Lens' UnprocessedPreparedStatementName (Maybe Text) Source #
The name of a prepared statement that could not be returned due to an error.