| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Config.Types.StoredQuery
Description
Synopsis
- data StoredQuery = StoredQuery' {}
- newStoredQuery :: Text -> StoredQuery
- storedQuery_description :: Lens' StoredQuery (Maybe Text)
- storedQuery_expression :: Lens' StoredQuery (Maybe Text)
- storedQuery_queryArn :: Lens' StoredQuery (Maybe Text)
- storedQuery_queryId :: Lens' StoredQuery (Maybe Text)
- storedQuery_queryName :: Lens' StoredQuery Text
Documentation
data StoredQuery Source #
Provides the details of a stored query.
See: newStoredQuery smart constructor.
Constructors
| StoredQuery' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StoredQuery |
Create a value of StoredQuery 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:description:StoredQuery', storedQuery_description - A unique description for the query.
$sel:expression:StoredQuery', storedQuery_expression - The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
$sel:queryArn:StoredQuery', storedQuery_queryArn - Amazon Resource Name (ARN) of the query. For example,
arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
$sel:queryId:StoredQuery', storedQuery_queryId - The ID of the query.
$sel:queryName:StoredQuery', storedQuery_queryName - The name of the query.
storedQuery_description :: Lens' StoredQuery (Maybe Text) Source #
A unique description for the query.
storedQuery_expression :: Lens' StoredQuery (Maybe Text) Source #
The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
storedQuery_queryArn :: Lens' StoredQuery (Maybe Text) Source #
Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
storedQuery_queryId :: Lens' StoredQuery (Maybe Text) Source #
The ID of the query.
storedQuery_queryName :: Lens' StoredQuery Text Source #
The name of the query.