libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs
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.CloudWatchLogs.StopQuery

Description

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

Creating a Request

data StopQuery Source #

See: newStopQuery smart constructor.

Constructors

StopQuery' 

Fields

  • queryId :: Text

    The ID number of the query to stop. To find this ID number, use DescribeQueries.

Instances

Instances details
Eq StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Read StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Show StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Generic StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Associated Types

type Rep StopQuery :: Type -> Type #

NFData StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Methods

rnf :: StopQuery -> () #

Hashable StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

ToJSON StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

AWSRequest StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Associated Types

type AWSResponse StopQuery #

ToHeaders StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Methods

toHeaders :: StopQuery -> [Header] #

ToPath StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

ToQuery StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

type Rep StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

type Rep StopQuery = D1 ('MetaData "StopQuery" "Amazonka.CloudWatchLogs.StopQuery" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "StopQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopQuery Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

newStopQuery Source #

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.

Constructors

StopQueryResponse' 

Fields

Instances

Instances details
Eq StopQueryResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Read StopQueryResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Show StopQueryResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Generic StopQueryResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Associated Types

type Rep StopQueryResponse :: Type -> Type #

NFData StopQueryResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

Methods

rnf :: StopQueryResponse -> () #

type Rep StopQueryResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.StopQuery

type Rep StopQueryResponse = D1 ('MetaData "StopQueryResponse" "Amazonka.CloudWatchLogs.StopQuery" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "StopQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "success") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopQueryResponse Source #

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.