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

Description

Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.

Synopsis

Creating a Request

data PutResolverQueryLogConfigPolicy Source #

See: newPutResolverQueryLogConfigPolicy smart constructor.

Constructors

PutResolverQueryLogConfigPolicy' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of the account that you want to share rules with.

  • resolverQueryLogConfigPolicy :: Text

    An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Actions section of the statement:

    • route53resolver:AssociateResolverQueryLogConfig
    • route53resolver:DisassociateResolverQueryLogConfig
    • route53resolver:ListResolverQueryLogConfigAssociations
    • route53resolver:ListResolverQueryLogConfigs

    In the Resource section of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified in Arn.

Instances

Instances details
Eq PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

Read PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

Show PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

Generic PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

Associated Types

type Rep PutResolverQueryLogConfigPolicy :: Type -> Type #

NFData PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

Hashable PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

ToJSON PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

AWSRequest PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

ToHeaders PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

ToPath PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

ToQuery PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

type Rep PutResolverQueryLogConfigPolicy Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

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

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

newPutResolverQueryLogConfigPolicy Source #

Create a value of PutResolverQueryLogConfigPolicy 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:PutResolverQueryLogConfigPolicy', putResolverQueryLogConfigPolicy_arn - The Amazon Resource Name (ARN) of the account that you want to share rules with.

$sel:resolverQueryLogConfigPolicy:PutResolverQueryLogConfigPolicy', putResolverQueryLogConfigPolicy_resolverQueryLogConfigPolicy - An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Actions section of the statement:

  • route53resolver:AssociateResolverQueryLogConfig
  • route53resolver:DisassociateResolverQueryLogConfig
  • route53resolver:ListResolverQueryLogConfigAssociations
  • route53resolver:ListResolverQueryLogConfigs

In the Resource section of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified in Arn.

Request Lenses

putResolverQueryLogConfigPolicy_arn :: Lens' PutResolverQueryLogConfigPolicy Text Source #

The Amazon Resource Name (ARN) of the account that you want to share rules with.

putResolverQueryLogConfigPolicy_resolverQueryLogConfigPolicy :: Lens' PutResolverQueryLogConfigPolicy Text Source #

An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Actions section of the statement:

  • route53resolver:AssociateResolverQueryLogConfig
  • route53resolver:DisassociateResolverQueryLogConfig
  • route53resolver:ListResolverQueryLogConfigAssociations
  • route53resolver:ListResolverQueryLogConfigs

In the Resource section of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified in Arn.

Destructuring the Response

data PutResolverQueryLogConfigPolicyResponse Source #

The response to a PutResolverQueryLogConfigPolicy request.

See: newPutResolverQueryLogConfigPolicyResponse smart constructor.

Constructors

PutResolverQueryLogConfigPolicyResponse' 

Fields

Instances

Instances details
Eq PutResolverQueryLogConfigPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

Read PutResolverQueryLogConfigPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

Show PutResolverQueryLogConfigPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

Generic PutResolverQueryLogConfigPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

NFData PutResolverQueryLogConfigPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

type Rep PutResolverQueryLogConfigPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.PutResolverQueryLogConfigPolicy

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

newPutResolverQueryLogConfigPolicyResponse Source #

Create a value of PutResolverQueryLogConfigPolicyResponse 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:returnValue:PutResolverQueryLogConfigPolicyResponse', putResolverQueryLogConfigPolicyResponse_returnValue - Whether the PutResolverQueryLogConfigPolicy request was successful.

$sel:httpStatus:PutResolverQueryLogConfigPolicyResponse', putResolverQueryLogConfigPolicyResponse_httpStatus - The response's http status code.

Response Lenses

putResolverQueryLogConfigPolicyResponse_returnValue :: Lens' PutResolverQueryLogConfigPolicyResponse (Maybe Bool) Source #

Whether the PutResolverQueryLogConfigPolicy request was successful.