libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • creationTime :: Maybe Text

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

  • 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.
  • associationCount :: Maybe Int

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

  • arn :: Maybe Text

    The ARN for the query logging configuration.

  • 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.

  • 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).

  • ownerId :: Maybe Text

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

  • name :: Maybe Text

    The name of the query logging configuration.

  • id :: Maybe Text

    The ID for the query logging configuration.

Instances

Instances details
Eq ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Read ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Show 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 #

NFData ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

Methods

rnf :: ResolverQueryLogConfig -> () #

Hashable ResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfig

FromJSON 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: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: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.

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

$sel:arn:ResolverQueryLogConfig', resolverQueryLogConfig_arn - The ARN for the query logging configuration.

$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: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:ownerId:ResolverQueryLogConfig', resolverQueryLogConfig_ownerId - The Amazon Web Services account ID for the account that created the query logging configuration.

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

$sel:id:ResolverQueryLogConfig', resolverQueryLogConfig_id - The ID for 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_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.

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

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

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

The ARN for the query logging configuration.

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_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_ownerId :: Lens' ResolverQueryLogConfig (Maybe Text) Source #

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

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

The name of the query logging configuration.

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

The ID for the query logging configuration.