Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ResolverQueryLogConfig = ResolverQueryLogConfig' {}
- newResolverQueryLogConfig :: ResolverQueryLogConfig
- resolverQueryLogConfig_creationTime :: Lens' ResolverQueryLogConfig (Maybe Text)
- resolverQueryLogConfig_status :: Lens' ResolverQueryLogConfig (Maybe ResolverQueryLogConfigStatus)
- resolverQueryLogConfig_associationCount :: Lens' ResolverQueryLogConfig (Maybe Int)
- resolverQueryLogConfig_arn :: Lens' ResolverQueryLogConfig (Maybe Text)
- resolverQueryLogConfig_creatorRequestId :: Lens' ResolverQueryLogConfig (Maybe Text)
- resolverQueryLogConfig_destinationArn :: Lens' ResolverQueryLogConfig (Maybe Text)
- resolverQueryLogConfig_shareStatus :: Lens' ResolverQueryLogConfig (Maybe ShareStatus)
- resolverQueryLogConfig_ownerId :: Lens' ResolverQueryLogConfig (Maybe Text)
- resolverQueryLogConfig_name :: Lens' ResolverQueryLogConfig (Maybe Text)
- resolverQueryLogConfig_id :: Lens' ResolverQueryLogConfig (Maybe Text)
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.
ResolverQueryLogConfig' | |
|
Instances
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.