Skip to content

ResolverQueryLogConfigAssociation

Source code in docs_src/capo_route53resolver/types/resolver_query_log_config_association.py
class ResolverQueryLogConfigAssociation(TypedDict, closed=True):
    id: NotRequired["capo_route53resolver.types.resource_id.ResourceId"]
    """<p>The ID of the query logging association.</p>"""
    resolver_query_log_config_id: NotRequired[
        "capo_route53resolver.types.resource_id.ResourceId"
    ]
    """<p>The ID of the query logging configuration that a VPC is associated with.</p>"""
    resource_id: NotRequired["capo_route53resolver.types.resource_id.ResourceId"]
    """<p>The ID of the Amazon VPC that is associated with the query logging configuration.</p>"""
    status: NotRequired[
        "capo_route53resolver.types.resolver_query_log_config_association_status.ResolverQueryLogConfigAssociationStatus"
    ]
    """<p>The status of the specified query logging association. Valid values include the following:</p> <ul> <li> <p> <code>CREATING</code>: Resolver is creating an association between an Amazon VPC and a query logging configuration.</p> </li> <li> <p> <code>ACTIVE</code>: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.</p> </li> <li> <p> <code>DELETING</code>: Resolver is deleting this query logging association.</p> </li> <li> <p> <code>FAILED</code>: Resolver either couldn't create or couldn't delete the query logging association.</p> </li> </ul>"""
    error: NotRequired[
        "capo_route53resolver.types.resolver_query_log_config_association_error.ResolverQueryLogConfigAssociationError"
    ]
    """<p>If the value of <code>Status</code> is <code>FAILED</code>, the value of <code>Error</code> indicates the cause:</p> <ul> <li> <p> <code>DESTINATION_NOT_FOUND</code>: The specified destination (for example, an Amazon S3 bucket) was deleted.</p> </li> <li> <p> <code>ACCESS_DENIED</code>: Permissions don't allow sending logs to the destination.</p> </li> </ul> <p>If the value of <code>Status</code> is a value other than <code>FAILED</code>, <code>Error</code> is null. </p>"""
    error_message: NotRequired[
        "capo_route53resolver.types.resolver_query_log_config_association_error_message.ResolverQueryLogConfigAssociationErrorMessage"
    ]
    """<p>Contains additional information about the error. If the value or <code>Error</code> is null, the value of <code>ErrorMessage</code> also is null.</p>"""
    creation_time: NotRequired[
        "capo_route53resolver.types.rfc3339_time_string.Rfc3339TimeString"
    ]
    """<p>The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).</p>"""

creation_time instance-attribute

creation_time: NotRequired[Rfc3339TimeString]

The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).

error instance-attribute

If the value of Status is FAILED, the value of Error indicates the cause:

  • DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted.

  • ACCESS_DENIED: Permissions don't allow sending logs to the destination.

If the value of Status is a value other than FAILED, Error is null.

error_message instance-attribute

Contains additional information about the error. If the value or Error is null, the value of ErrorMessage also is null.

id instance-attribute

id: NotRequired[ResourceId]

The ID of the query logging association.

resolver_query_log_config_id instance-attribute

resolver_query_log_config_id: NotRequired[ResourceId]

The ID of the query logging configuration that a VPC is associated with.

resource_id instance-attribute

resource_id: NotRequired[ResourceId]

The ID of the Amazon VPC that is associated with the query logging configuration.

status instance-attribute

The status of the specified query logging association. Valid values include the following:

  • CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration.

  • ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.

  • DELETING: Resolver is deleting this query logging association.

  • FAILED: Resolver either couldn't create or couldn't delete the query logging association.