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

Description

 
Synopsis

Documentation

data ResolverQueryLogConfigAssociation Source #

In the response to an AssociateResolverQueryLogConfig, DisassociateResolverQueryLogConfig, GetResolverQueryLogConfigAssociation, or ListResolverQueryLogConfigAssociations, request, a complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration.

See: newResolverQueryLogConfigAssociation smart constructor.

Constructors

ResolverQueryLogConfigAssociation' 

Fields

  • creationTime :: Maybe Text

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

  • status :: Maybe ResolverQueryLogConfigAssociationStatus

    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.
    • CREATED: 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.
  • resolverQueryLogConfigId :: Maybe Text

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

  • resourceId :: Maybe Text

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

  • error :: Maybe ResolverQueryLogConfigAssociationError

    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.

  • id :: Maybe Text

    The ID of the query logging association.

  • errorMessage :: Maybe Text

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

Instances

Instances details
Eq ResolverQueryLogConfigAssociation Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation

Read ResolverQueryLogConfigAssociation Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation

Show ResolverQueryLogConfigAssociation Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation

Generic ResolverQueryLogConfigAssociation Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation

Associated Types

type Rep ResolverQueryLogConfigAssociation :: Type -> Type #

NFData ResolverQueryLogConfigAssociation Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation

Hashable ResolverQueryLogConfigAssociation Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation

FromJSON ResolverQueryLogConfigAssociation Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation

type Rep ResolverQueryLogConfigAssociation Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation

type Rep ResolverQueryLogConfigAssociation = D1 ('MetaData "ResolverQueryLogConfigAssociation" "Amazonka.Route53Resolver.Types.ResolverQueryLogConfigAssociation" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "ResolverQueryLogConfigAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResolverQueryLogConfigAssociationStatus)) :*: S1 ('MetaSel ('Just "resolverQueryLogConfigId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResolverQueryLogConfigAssociationError))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newResolverQueryLogConfigAssociation :: ResolverQueryLogConfigAssociation Source #

Create a value of ResolverQueryLogConfigAssociation 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:ResolverQueryLogConfigAssociation', resolverQueryLogConfigAssociation_creationTime - The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).

$sel:status:ResolverQueryLogConfigAssociation', resolverQueryLogConfigAssociation_status - 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.
  • CREATED: 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.

$sel:resolverQueryLogConfigId:ResolverQueryLogConfigAssociation', resolverQueryLogConfigAssociation_resolverQueryLogConfigId - The ID of the query logging configuration that a VPC is associated with.

$sel:resourceId:ResolverQueryLogConfigAssociation', resolverQueryLogConfigAssociation_resourceId - The ID of the Amazon VPC that is associated with the query logging configuration.

$sel:error:ResolverQueryLogConfigAssociation', resolverQueryLogConfigAssociation_error - 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.

$sel:id:ResolverQueryLogConfigAssociation', resolverQueryLogConfigAssociation_id - The ID of the query logging association.

$sel:errorMessage:ResolverQueryLogConfigAssociation', resolverQueryLogConfigAssociation_errorMessage - Contains additional information about the error. If the value or Error is null, the value of ErrorMessage also is null.

resolverQueryLogConfigAssociation_creationTime :: Lens' ResolverQueryLogConfigAssociation (Maybe Text) Source #

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

resolverQueryLogConfigAssociation_status :: Lens' ResolverQueryLogConfigAssociation (Maybe ResolverQueryLogConfigAssociationStatus) Source #

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

resolverQueryLogConfigAssociation_resolverQueryLogConfigId :: Lens' ResolverQueryLogConfigAssociation (Maybe Text) Source #

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

resolverQueryLogConfigAssociation_resourceId :: Lens' ResolverQueryLogConfigAssociation (Maybe Text) Source #

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

resolverQueryLogConfigAssociation_error :: Lens' ResolverQueryLogConfigAssociation (Maybe ResolverQueryLogConfigAssociationError) Source #

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.

resolverQueryLogConfigAssociation_errorMessage :: Lens' ResolverQueryLogConfigAssociation (Maybe Text) Source #

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