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.QueryDefinition

Description

 
Synopsis

Documentation

data QueryDefinition Source #

This structure contains details about a saved CloudWatch Logs Insights query definition.

See: newQueryDefinition smart constructor.

Constructors

QueryDefinition' 

Fields

Instances

Instances details
Eq QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Read QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Show QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Generic QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Associated Types

type Rep QueryDefinition :: Type -> Type #

NFData QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Methods

rnf :: QueryDefinition -> () #

Hashable QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

FromJSON QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

type Rep QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

type Rep QueryDefinition = D1 ('MetaData "QueryDefinition" "Amazonka.CloudWatchLogs.Types.QueryDefinition" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "QueryDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "logGroupNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "queryDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

newQueryDefinition :: QueryDefinition Source #

Create a value of QueryDefinition 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:logGroupNames:QueryDefinition', queryDefinition_logGroupNames - If this query definition contains a list of log groups that it is limited to, that list appears here.

$sel:queryDefinitionId:QueryDefinition', queryDefinition_queryDefinitionId - The unique ID of the query definition.

$sel:name:QueryDefinition', queryDefinition_name - The name of the query definition.

$sel:queryString:QueryDefinition', queryDefinition_queryString - The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

$sel:lastModified:QueryDefinition', queryDefinition_lastModified - The date that the query definition was most recently modified.

queryDefinition_logGroupNames :: Lens' QueryDefinition (Maybe [Text]) Source #

If this query definition contains a list of log groups that it is limited to, that list appears here.

queryDefinition_queryDefinitionId :: Lens' QueryDefinition (Maybe Text) Source #

The unique ID of the query definition.

queryDefinition_name :: Lens' QueryDefinition (Maybe Text) Source #

The name of the query definition.

queryDefinition_queryString :: Lens' QueryDefinition (Maybe Text) Source #

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

queryDefinition_lastModified :: Lens' QueryDefinition (Maybe Natural) Source #

The date that the query definition was most recently modified.