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

Description

Stops a query execution. Requires you to have access to the workgroup in which the query ran.

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 StopQueryExecution Source #

See: newStopQueryExecution smart constructor.

Constructors

StopQueryExecution' 

Fields

Instances

Instances details
Eq StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Read StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Show StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Generic StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type Rep StopQueryExecution :: Type -> Type #

NFData StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Methods

rnf :: StopQueryExecution -> () #

Hashable StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

ToJSON StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

AWSRequest StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type AWSResponse StopQueryExecution #

ToHeaders StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

ToPath StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

ToQuery StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

type Rep StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

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

Defined in Amazonka.Athena.StopQueryExecution

newStopQueryExecution Source #

Create a value of StopQueryExecution 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:queryExecutionId:StopQueryExecution', stopQueryExecution_queryExecutionId - The unique ID of the query execution to stop.

Request Lenses

stopQueryExecution_queryExecutionId :: Lens' StopQueryExecution Text Source #

The unique ID of the query execution to stop.

Destructuring the Response

data StopQueryExecutionResponse Source #

See: newStopQueryExecutionResponse smart constructor.

Constructors

StopQueryExecutionResponse' 

Fields

Instances

Instances details
Eq StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Read StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Show StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Generic StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type Rep StopQueryExecutionResponse :: Type -> Type #

NFData StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

type Rep StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

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

newStopQueryExecutionResponse Source #

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

Response Lenses