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

Description

Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC.

The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.

To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.

Synopsis

Creating a Request

data AssociateResolverQueryLogConfig Source #

See: newAssociateResolverQueryLogConfig smart constructor.

Constructors

AssociateResolverQueryLogConfig' 

Fields

  • resolverQueryLogConfigId :: Text

    The ID of the query logging configuration that you want to associate a VPC with.

  • resourceId :: Text

    The ID of an Amazon VPC that you want this query logging configuration to log queries for.

    The VPCs and the query logging configuration must be in the same Region.

Instances

Instances details
Eq AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

Read AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

Show AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

Generic AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

Associated Types

type Rep AssociateResolverQueryLogConfig :: Type -> Type #

NFData AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

Hashable AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

ToJSON AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

AWSRequest AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

ToHeaders AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

ToPath AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

ToQuery AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

type Rep AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

type Rep AssociateResolverQueryLogConfig = D1 ('MetaData "AssociateResolverQueryLogConfig" "Amazonka.Route53Resolver.AssociateResolverQueryLogConfig" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "AssociateResolverQueryLogConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resolverQueryLogConfigId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociateResolverQueryLogConfig Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

newAssociateResolverQueryLogConfig Source #

Create a value of AssociateResolverQueryLogConfig 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:resolverQueryLogConfigId:AssociateResolverQueryLogConfig', associateResolverQueryLogConfig_resolverQueryLogConfigId - The ID of the query logging configuration that you want to associate a VPC with.

$sel:resourceId:AssociateResolverQueryLogConfig', associateResolverQueryLogConfig_resourceId - The ID of an Amazon VPC that you want this query logging configuration to log queries for.

The VPCs and the query logging configuration must be in the same Region.

Request Lenses

associateResolverQueryLogConfig_resolverQueryLogConfigId :: Lens' AssociateResolverQueryLogConfig Text Source #

The ID of the query logging configuration that you want to associate a VPC with.

associateResolverQueryLogConfig_resourceId :: Lens' AssociateResolverQueryLogConfig Text Source #

The ID of an Amazon VPC that you want this query logging configuration to log queries for.

The VPCs and the query logging configuration must be in the same Region.

Destructuring the Response

data AssociateResolverQueryLogConfigResponse Source #

Constructors

AssociateResolverQueryLogConfigResponse' 

Fields

Instances

Instances details
Eq AssociateResolverQueryLogConfigResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

Read AssociateResolverQueryLogConfigResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

Show AssociateResolverQueryLogConfigResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

Generic AssociateResolverQueryLogConfigResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

NFData AssociateResolverQueryLogConfigResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

type Rep AssociateResolverQueryLogConfigResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverQueryLogConfig

type Rep AssociateResolverQueryLogConfigResponse = D1 ('MetaData "AssociateResolverQueryLogConfigResponse" "Amazonka.Route53Resolver.AssociateResolverQueryLogConfig" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "AssociateResolverQueryLogConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resolverQueryLogConfigAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResolverQueryLogConfigAssociation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateResolverQueryLogConfigResponse Source #

Create a value of AssociateResolverQueryLogConfigResponse 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:resolverQueryLogConfigAssociation:AssociateResolverQueryLogConfigResponse', associateResolverQueryLogConfigResponse_resolverQueryLogConfigAssociation - A complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration.

$sel:httpStatus:AssociateResolverQueryLogConfigResponse', associateResolverQueryLogConfigResponse_httpStatus - The response's http status code.

Response Lenses

associateResolverQueryLogConfigResponse_resolverQueryLogConfigAssociation :: Lens' AssociateResolverQueryLogConfigResponse (Maybe ResolverQueryLogConfigAssociation) Source #

A complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration.