amazonka-athena-2.0: Amazon Athena SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Athena.Types.UnprocessedPreparedStatementName

Description

 
Synopsis

Documentation

data UnprocessedPreparedStatementName Source #

The name of a prepared statement that could not be returned.

See: newUnprocessedPreparedStatementName smart constructor.

Constructors

UnprocessedPreparedStatementName' 

Fields

  • errorCode :: Maybe Text

    The error code returned when the request for the prepared statement failed.

  • errorMessage :: Maybe Text

    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.
  • statementName :: Maybe Text

    The name of a prepared statement that could not be returned due to an error.

Instances

Instances details
FromJSON UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Generic UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Associated Types

type Rep UnprocessedPreparedStatementName :: Type -> Type #

Read UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Show UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

NFData UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Eq UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Hashable UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

type Rep UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

type Rep UnprocessedPreparedStatementName = D1 ('MetaData "UnprocessedPreparedStatementName" "Amazonka.Athena.Types.UnprocessedPreparedStatementName" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "UnprocessedPreparedStatementName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.