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 |
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
- data PutResolverQueryLogConfigPolicy = PutResolverQueryLogConfigPolicy' {}
- newPutResolverQueryLogConfigPolicy :: Text -> Text -> PutResolverQueryLogConfigPolicy
- putResolverQueryLogConfigPolicy_arn :: Lens' PutResolverQueryLogConfigPolicy Text
- putResolverQueryLogConfigPolicy_resolverQueryLogConfigPolicy :: Lens' PutResolverQueryLogConfigPolicy Text
- data PutResolverQueryLogConfigPolicyResponse = PutResolverQueryLogConfigPolicyResponse' {
- returnValue :: Maybe Bool
- httpStatus :: Int
- newPutResolverQueryLogConfigPolicyResponse :: Int -> PutResolverQueryLogConfigPolicyResponse
- putResolverQueryLogConfigPolicyResponse_returnValue :: Lens' PutResolverQueryLogConfigPolicyResponse (Maybe Bool)
- putResolverQueryLogConfigPolicyResponse_httpStatus :: Lens' PutResolverQueryLogConfigPolicyResponse Int
Creating a Request
data PutResolverQueryLogConfigPolicy Source #
See: newPutResolverQueryLogConfigPolicy
smart constructor.
PutResolverQueryLogConfigPolicy' | |
|
Instances
newPutResolverQueryLogConfigPolicy Source #
:: Text | |
-> Text |
|
-> PutResolverQueryLogConfigPolicy |
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.
PutResolverQueryLogConfigPolicyResponse' | |
|
Instances
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.
putResolverQueryLogConfigPolicyResponse_httpStatus :: Lens' PutResolverQueryLogConfigPolicyResponse Int Source #
The response's http status code.