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 |
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
- data DescribeQueryDefinitions = DescribeQueryDefinitions' {}
- newDescribeQueryDefinitions :: DescribeQueryDefinitions
- describeQueryDefinitions_queryDefinitionNamePrefix :: Lens' DescribeQueryDefinitions (Maybe Text)
- describeQueryDefinitions_nextToken :: Lens' DescribeQueryDefinitions (Maybe Text)
- describeQueryDefinitions_maxResults :: Lens' DescribeQueryDefinitions (Maybe Natural)
- data DescribeQueryDefinitionsResponse = DescribeQueryDefinitionsResponse' {}
- newDescribeQueryDefinitionsResponse :: Int -> DescribeQueryDefinitionsResponse
- describeQueryDefinitionsResponse_queryDefinitions :: Lens' DescribeQueryDefinitionsResponse (Maybe [QueryDefinition])
- describeQueryDefinitionsResponse_nextToken :: Lens' DescribeQueryDefinitionsResponse (Maybe Text)
- describeQueryDefinitionsResponse_httpStatus :: Lens' DescribeQueryDefinitionsResponse Int
Creating a Request
data DescribeQueryDefinitions Source #
See: newDescribeQueryDefinitions
smart constructor.
DescribeQueryDefinitions' | |
|
Instances
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_nextToken :: Lens' DescribeQueryDefinitions (Maybe Text) Source #
Undocumented member.
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.
DescribeQueryDefinitionsResponse' | |
|
Instances
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
describeQueryDefinitionsResponse_queryDefinitions :: Lens' DescribeQueryDefinitionsResponse (Maybe [QueryDefinition]) Source #
The list of query definitions that match your request.
describeQueryDefinitionsResponse_nextToken :: Lens' DescribeQueryDefinitionsResponse (Maybe Text) Source #
Undocumented member.
describeQueryDefinitionsResponse_httpStatus :: Lens' DescribeQueryDefinitionsResponse Int Source #
The response's http status code.