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.Types.QueryInfo

Description

 
Synopsis

Documentation

data QueryInfo Source #

Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries operation.

See: newQueryInfo smart constructor.

Constructors

QueryInfo' 

Fields

Instances

Instances details
Eq QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Read QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Show QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Generic QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Associated Types

type Rep QueryInfo :: Type -> Type #

NFData QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Methods

rnf :: QueryInfo -> () #

Hashable QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

FromJSON QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

type Rep QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

type Rep QueryInfo = D1 ('MetaData "QueryInfo" "Amazonka.CloudWatchLogs.Types.QueryInfo" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "QueryInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStatus)) :*: S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

newQueryInfo :: QueryInfo Source #

Create a value of QueryInfo 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:status:QueryInfo', queryInfo_status - The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

$sel:queryId:QueryInfo', queryInfo_queryId - The unique ID number of this query.

$sel:logGroupName:QueryInfo', queryInfo_logGroupName - The name of the log group scanned by this query.

$sel:queryString:QueryInfo', queryInfo_queryString - The query string used in this query.

$sel:createTime:QueryInfo', queryInfo_createTime - The date and time that this query was created.

queryInfo_status :: Lens' QueryInfo (Maybe QueryStatus) Source #

The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

queryInfo_queryId :: Lens' QueryInfo (Maybe Text) Source #

The unique ID number of this query.

queryInfo_logGroupName :: Lens' QueryInfo (Maybe Text) Source #

The name of the log group scanned by this query.

queryInfo_queryString :: Lens' QueryInfo (Maybe Text) Source #

The query string used in this query.

queryInfo_createTime :: Lens' QueryInfo (Maybe Natural) Source #

The date and time that this query was created.