Skip to content

StoredQuery

Source code in docs_src/capo_config_service/types/stored_query.py
class StoredQuery(TypedDict, closed=True):
    query_id: NotRequired["capo_config_service.types.query_id.QueryId"]
    """<p>The ID of the query.</p>"""
    query_arn: NotRequired["capo_config_service.types.query_arn.QueryArn"]
    """<p>Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.</p>"""
    query_name: "capo_config_service.types.query_name.QueryName"
    """<p>The name of the query.</p>"""
    description: NotRequired[
        "capo_config_service.types.query_description.QueryDescription"
    ]
    """<p>A unique description for the query.</p>"""
    expression: NotRequired[
        "capo_config_service.types.query_expression.QueryExpression"
    ]
    """<p>The expression of the query. For example, <code>SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.</code> </p>"""

description instance-attribute

description: NotRequired[QueryDescription]

A unique description for the query.

expression instance-attribute

expression: NotRequired[QueryExpression]

The expression of the query. For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.

query_arn instance-attribute

query_arn: NotRequired[QueryArn]

Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.

query_id instance-attribute

query_id: NotRequired[QueryId]

The ID of the query.

query_name instance-attribute

query_name: QueryName

The name of the query.