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.DeletePreparedStatement

Description

Deletes the prepared statement with the specified name from the specified workgroup.

Synopsis

Creating a Request

data DeletePreparedStatement Source #

See: newDeletePreparedStatement smart constructor.

Constructors

DeletePreparedStatement' 

Fields

Instances

Instances details
ToJSON DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

ToHeaders DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

ToPath DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

ToQuery DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

AWSRequest DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Generic DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Associated Types

type Rep DeletePreparedStatement :: Type -> Type #

Read DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Show DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

NFData DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Methods

rnf :: DeletePreparedStatement -> () #

Eq DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Hashable DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

type AWSResponse DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

type Rep DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

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

newDeletePreparedStatement Source #

Create a value of DeletePreparedStatement 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:

DeletePreparedStatement, deletePreparedStatement_statementName - The name of the prepared statement to delete.

DeletePreparedStatement, deletePreparedStatement_workGroup - The workgroup to which the statement to be deleted belongs.

Request Lenses

deletePreparedStatement_statementName :: Lens' DeletePreparedStatement Text Source #

The name of the prepared statement to delete.

deletePreparedStatement_workGroup :: Lens' DeletePreparedStatement Text Source #

The workgroup to which the statement to be deleted belongs.

Destructuring the Response

data DeletePreparedStatementResponse Source #

See: newDeletePreparedStatementResponse smart constructor.

Constructors

DeletePreparedStatementResponse' 

Fields

Instances

Instances details
Generic DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Associated Types

type Rep DeletePreparedStatementResponse :: Type -> Type #

Read DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Show DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

NFData DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Eq DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

type Rep DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

type Rep DeletePreparedStatementResponse = D1 ('MetaData "DeletePreparedStatementResponse" "Amazonka.Athena.DeletePreparedStatement" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "DeletePreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeletePreparedStatementResponse Source #

Create a value of DeletePreparedStatementResponse 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:httpStatus:DeletePreparedStatementResponse', deletePreparedStatementResponse_httpStatus - The response's http status code.

Response Lenses