Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data StopQueryExecution = StopQueryExecution' {}
- newStopQueryExecution :: Text -> StopQueryExecution
- stopQueryExecution_queryExecutionId :: Lens' StopQueryExecution Text
- data StopQueryExecutionResponse = StopQueryExecutionResponse' {
- httpStatus :: Int
- newStopQueryExecutionResponse :: Int -> StopQueryExecutionResponse
- stopQueryExecutionResponse_httpStatus :: Lens' StopQueryExecutionResponse Int
Creating a Request
data StopQueryExecution Source #
See: newStopQueryExecution
smart constructor.
StopQueryExecution' | |
|
Instances
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.
StopQueryExecutionResponse' | |
|
Instances
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
stopQueryExecutionResponse_httpStatus :: Lens' StopQueryExecutionResponse Int Source #
The response's http status code.