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

Description

This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions.

You can use the queryDefinitionNamePrefix parameter to limit the results to only the query definitions that have names that start with a certain string.

Synopsis

Creating a Request

data DescribeQueryDefinitions Source #

See: newDescribeQueryDefinitions smart constructor.

Constructors

DescribeQueryDefinitions' 

Fields

Instances

Instances details
Eq DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Read DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Show DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Generic DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Associated Types

type Rep DescribeQueryDefinitions :: Type -> Type #

NFData DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Hashable DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

ToJSON DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

AWSRequest DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

ToHeaders DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

ToPath DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

ToQuery DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

type Rep DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

type Rep DescribeQueryDefinitions = D1 ('MetaData "DescribeQueryDefinitions" "Amazonka.CloudWatchLogs.DescribeQueryDefinitions" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DescribeQueryDefinitions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryDefinitionNamePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse DescribeQueryDefinitions Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

newDescribeQueryDefinitions :: DescribeQueryDefinitions Source #

Create a value of DescribeQueryDefinitions 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:queryDefinitionNamePrefix:DescribeQueryDefinitions', describeQueryDefinitions_queryDefinitionNamePrefix - Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.

$sel:nextToken:DescribeQueryDefinitions', describeQueryDefinitions_nextToken - Undocumented member.

$sel:maxResults:DescribeQueryDefinitions', describeQueryDefinitions_maxResults - Limits the number of returned query definitions to the specified number.

Request Lenses

describeQueryDefinitions_queryDefinitionNamePrefix :: Lens' DescribeQueryDefinitions (Maybe Text) Source #

Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.

describeQueryDefinitions_maxResults :: Lens' DescribeQueryDefinitions (Maybe Natural) Source #

Limits the number of returned query definitions to the specified number.

Destructuring the Response

data DescribeQueryDefinitionsResponse Source #

See: newDescribeQueryDefinitionsResponse smart constructor.

Constructors

DescribeQueryDefinitionsResponse' 

Fields

Instances

Instances details
Eq DescribeQueryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Read DescribeQueryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Show DescribeQueryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Generic DescribeQueryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

Associated Types

type Rep DescribeQueryDefinitionsResponse :: Type -> Type #

NFData DescribeQueryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

type Rep DescribeQueryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeQueryDefinitions

type Rep DescribeQueryDefinitionsResponse = D1 ('MetaData "DescribeQueryDefinitionsResponse" "Amazonka.CloudWatchLogs.DescribeQueryDefinitions" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DescribeQueryDefinitionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryDefinition])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeQueryDefinitionsResponse Source #

Create a value of DescribeQueryDefinitionsResponse 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:queryDefinitions:DescribeQueryDefinitionsResponse', describeQueryDefinitionsResponse_queryDefinitions - The list of query definitions that match your request.

$sel:nextToken:DescribeQueryDefinitions', describeQueryDefinitionsResponse_nextToken - Undocumented member.

$sel:httpStatus:DescribeQueryDefinitionsResponse', describeQueryDefinitionsResponse_httpStatus - The response's http status code.

Response Lenses