libZSservicesZSamazonka-athenaZSamazonka-athena
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Athena.DeleteNamedQuery

Description

Deletes the named query if you have access to the workgroup in which the query was saved.

For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

Synopsis

Creating a Request

data DeleteNamedQuery Source #

See: newDeleteNamedQuery smart constructor.

Constructors

DeleteNamedQuery' 

Fields

Instances

Instances details
Eq DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Read DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Show DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Generic DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Associated Types

type Rep DeleteNamedQuery :: Type -> Type #

NFData DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Methods

rnf :: DeleteNamedQuery -> () #

Hashable DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

ToJSON DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

AWSRequest DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Associated Types

type AWSResponse DeleteNamedQuery #

ToHeaders DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

ToPath DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

ToQuery DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

type Rep DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

type Rep DeleteNamedQuery = D1 ('MetaData "DeleteNamedQuery" "Amazonka.Athena.DeleteNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteNamedQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

newDeleteNamedQuery Source #

Create a value of DeleteNamedQuery 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:namedQueryId:DeleteNamedQuery', deleteNamedQuery_namedQueryId - The unique ID of the query to delete.

Request Lenses

deleteNamedQuery_namedQueryId :: Lens' DeleteNamedQuery Text Source #

The unique ID of the query to delete.

Destructuring the Response

data DeleteNamedQueryResponse Source #

See: newDeleteNamedQueryResponse smart constructor.

Constructors

DeleteNamedQueryResponse' 

Fields

Instances

Instances details
Eq DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Read DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Show DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Generic DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Associated Types

type Rep DeleteNamedQueryResponse :: Type -> Type #

NFData DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

type Rep DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

type Rep DeleteNamedQueryResponse = D1 ('MetaData "DeleteNamedQueryResponse" "Amazonka.Athena.DeleteNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteNamedQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteNamedQueryResponse Source #

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

Response Lenses