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 CloudWatch Logs Insights query that is in progress. If the query has already ended, the operation returns an error indicating that the specified query is not running.
Synopsis
- data StopQuery = StopQuery' {}
- newStopQuery :: Text -> StopQuery
- stopQuery_queryId :: Lens' StopQuery Text
- data StopQueryResponse = StopQueryResponse' {
- success :: Maybe Bool
- httpStatus :: Int
- newStopQueryResponse :: Int -> StopQueryResponse
- stopQueryResponse_success :: Lens' StopQueryResponse (Maybe Bool)
- stopQueryResponse_httpStatus :: Lens' StopQueryResponse Int
Creating a Request
See: newStopQuery
smart constructor.
Instances
Create a value of StopQuery
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:queryId:StopQuery'
, stopQuery_queryId
- The ID number of the query to stop. To find this ID number, use
DescribeQueries
.
Request Lenses
stopQuery_queryId :: Lens' StopQuery Text Source #
The ID number of the query to stop. To find this ID number, use
DescribeQueries
.
Destructuring the Response
data StopQueryResponse Source #
See: newStopQueryResponse
smart constructor.
StopQueryResponse' | |
|
Instances
Create a value of StopQueryResponse
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:success:StopQueryResponse'
, stopQueryResponse_success
- This is true if the query was stopped by the StopQuery
operation.
$sel:httpStatus:StopQueryResponse'
, stopQueryResponse_httpStatus
- The response's http status code.
Response Lenses
stopQueryResponse_success :: Lens' StopQueryResponse (Maybe Bool) Source #
This is true if the query was stopped by the StopQuery
operation.
stopQueryResponse_httpStatus :: Lens' StopQueryResponse Int Source #
The response's http status code.