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 |
Synopsis
- data QueryDefinition = QueryDefinition' {
- logGroupNames :: Maybe [Text]
- queryDefinitionId :: Maybe Text
- name :: Maybe Text
- queryString :: Maybe Text
- lastModified :: Maybe Natural
- newQueryDefinition :: QueryDefinition
- queryDefinition_logGroupNames :: Lens' QueryDefinition (Maybe [Text])
- queryDefinition_queryDefinitionId :: Lens' QueryDefinition (Maybe Text)
- queryDefinition_name :: Lens' QueryDefinition (Maybe Text)
- queryDefinition_queryString :: Lens' QueryDefinition (Maybe Text)
- queryDefinition_lastModified :: Lens' QueryDefinition (Maybe Natural)
Documentation
data QueryDefinition Source #
This structure contains details about a saved CloudWatch Logs Insights query definition.
See: newQueryDefinition
smart constructor.
QueryDefinition' | |
|
Instances
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.