| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- 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.
Constructors
| StopQueryExecution' | |
Fields
| |
Instances
newStopQueryExecution Source #
Arguments
| :: Text | |
| -> StopQueryExecution |
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
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.