amazonka-route53resolver-2.0: Amazon Route 53 Resolver SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Description

 
Synopsis

Documentation

data ResolverQueryLogConfig Source #

In the response to a CreateResolverQueryLogConfig, DeleteResolverQueryLogConfig, GetResolverQueryLogConfig, or ListResolverQueryLogConfigs request, a complex type that contains settings for one query logging configuration.

See: newResolverQueryLogConfig smart constructor.

Constructors

ResolverQueryLogConfig' 

Fields

  • arn :: Maybe Text

    The ARN for the query logging configuration.

  • associationCount :: Maybe Int

    The number of VPCs that are associated with the query logging configuration.

  • creationTime :: Maybe Text

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

  • creatorRequestId :: Maybe Text

    A unique string that identifies the request that created the query logging configuration. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.

  • destinationArn :: Maybe Text

    The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.

  • id :: Maybe Text

    The ID for the query logging configuration.

  • name :: Maybe Text

    The name of the query logging configuration.

  • ownerId :: Maybe Text

    The Amazon Web Services account ID for the account that created the query logging configuration.

  • shareStatus :: Maybe ShareStatus

    An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).

  • status :: Maybe ResolverQueryLogConfigStatus

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

    • CREATING: Resolver is creating the query logging configuration.
    • CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.
    • DELETING: Resolver is deleting this query logging configuration.
    • FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:

      • The specified destination (for example, an Amazon S3 bucket) was deleted.
      • Permissions don't allow sending logs to the destination.

Instances

Instances details
FromJSON ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Generic ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Associated Types

type Rep ResolverQueryLogConfig :: Type -> Type #

Read ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Show ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

NFData ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Methods

rnf :: ResolverQueryLogConfig -> () #

Eq ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Hashable ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

type Rep ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

newResolverQueryLogConfig :: ResolverQueryLogConfig Source #

Create a value of ResolverQueryLogConfig 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:arn:ResolverQueryLogConfig', resolverQueryLogConfig_arn - The ARN for the query logging configuration.

$sel:associationCount:ResolverQueryLogConfig', resolverQueryLogConfig_associationCount - The number of VPCs that are associated with the query logging configuration.

$sel:creationTime:ResolverQueryLogConfig', resolverQueryLogConfig_creationTime - The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).

$sel:creatorRequestId:ResolverQueryLogConfig', resolverQueryLogConfig_creatorRequestId - A unique string that identifies the request that created the query logging configuration. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.

$sel:destinationArn:ResolverQueryLogConfig', resolverQueryLogConfig_destinationArn - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.

$sel:id:ResolverQueryLogConfig', resolverQueryLogConfig_id - The ID for the query logging configuration.

$sel:name:ResolverQueryLogConfig', resolverQueryLogConfig_name - The name of the query logging configuration.

$sel:ownerId:ResolverQueryLogConfig', resolverQueryLogConfig_ownerId - The Amazon Web Services account ID for the account that created the query logging configuration.

$sel:shareStatus:ResolverQueryLogConfig', resolverQueryLogConfig_shareStatus - An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).

$sel:status:ResolverQueryLogConfig', resolverQueryLogConfig_status - The status of the specified query logging configuration. Valid values include the following:

  • CREATING: Resolver is creating the query logging configuration.
  • CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.
  • DELETING: Resolver is deleting this query logging configuration.
  • FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:

    • The specified destination (for example, an Amazon S3 bucket) was deleted.
    • Permissions don't allow sending logs to the destination.

resolverQueryLogConfig_arn :: Lens' ResolverQueryLogConfig (Maybe Text) Source #

The ARN for the query logging configuration.

resolverQueryLogConfig_associationCount :: Lens' ResolverQueryLogConfig (Maybe Int) Source #

The number of VPCs that are associated with the query logging configuration.

resolverQueryLogConfig_creationTime :: Lens' ResolverQueryLogConfig (Maybe Text) Source #

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

resolverQueryLogConfig_creatorRequestId :: Lens' ResolverQueryLogConfig (Maybe Text) Source #

A unique string that identifies the request that created the query logging configuration. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.

resolverQueryLogConfig_destinationArn :: Lens' ResolverQueryLogConfig (Maybe Text) Source #

The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.

resolverQueryLogConfig_id :: Lens' ResolverQueryLogConfig (Maybe Text) Source #

The ID for the query logging configuration.

resolverQueryLogConfig_name :: Lens' ResolverQueryLogConfig (Maybe Text) Source #

The name of the query logging configuration.

resolverQueryLogConfig_ownerId :: Lens' ResolverQueryLogConfig (Maybe Text) Source #

The Amazon Web Services account ID for the account that created the query logging configuration.

resolverQueryLogConfig_shareStatus :: Lens' ResolverQueryLogConfig (Maybe ShareStatus) Source #

An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).

resolverQueryLogConfig_status :: Lens' ResolverQueryLogConfig (Maybe ResolverQueryLogConfigStatus) Source #

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

  • CREATING: Resolver is creating the query logging configuration.
  • CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.
  • DELETING: Resolver is deleting this query logging configuration.
  • FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:

    • The specified destination (for example, an Amazon S3 bucket) was deleted.
    • Permissions don't allow sending logs to the destination.