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.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
ToJSON StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.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

AWSRequest StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type AWSResponse StopQueryExecution #

Generic StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type Rep StopQueryExecution :: Type -> Type #

Read StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Show StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

NFData StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Methods

rnf :: StopQueryExecution -> () #

Eq StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Hashable StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

type AWSResponse 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" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "StopQueryExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type Rep StopQueryExecutionResponse :: Type -> Type #

Read StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Show StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

NFData StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Eq 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" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" '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