Struct aws_sdk_route53resolver::operation::put_resolver_query_log_config_policy::builders::PutResolverQueryLogConfigPolicyInputBuilder
source · #[non_exhaustive]pub struct PutResolverQueryLogConfigPolicyInputBuilder { /* private fields */ }
Expand description
A builder for PutResolverQueryLogConfigPolicyInput
.
Implementations§
source§impl PutResolverQueryLogConfigPolicyInputBuilder
impl PutResolverQueryLogConfigPolicyInputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the account that you want to share rules with.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the account that you want to share rules with.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the account that you want to share rules with.
sourcepub fn resolver_query_log_config_policy(self, input: impl Into<String>) -> Self
pub fn resolver_query_log_config_policy(self, input: impl Into<String>) -> Self
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: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
.
sourcepub fn set_resolver_query_log_config_policy(self, input: Option<String>) -> Self
pub fn set_resolver_query_log_config_policy(self, input: Option<String>) -> Self
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: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
.
sourcepub fn get_resolver_query_log_config_policy(&self) -> &Option<String>
pub fn get_resolver_query_log_config_policy(&self) -> &Option<String>
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: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
.
sourcepub fn build(self) -> Result<PutResolverQueryLogConfigPolicyInput, BuildError>
pub fn build(self) -> Result<PutResolverQueryLogConfigPolicyInput, BuildError>
Consumes the builder and constructs a PutResolverQueryLogConfigPolicyInput
.
source§impl PutResolverQueryLogConfigPolicyInputBuilder
impl PutResolverQueryLogConfigPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutResolverQueryLogConfigPolicyOutput, SdkError<PutResolverQueryLogConfigPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutResolverQueryLogConfigPolicyOutput, SdkError<PutResolverQueryLogConfigPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutResolverQueryLogConfigPolicyInputBuilder
impl Clone for PutResolverQueryLogConfigPolicyInputBuilder
source§fn clone(&self) -> PutResolverQueryLogConfigPolicyInputBuilder
fn clone(&self) -> PutResolverQueryLogConfigPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutResolverQueryLogConfigPolicyInputBuilder
impl Default for PutResolverQueryLogConfigPolicyInputBuilder
source§fn default() -> PutResolverQueryLogConfigPolicyInputBuilder
fn default() -> PutResolverQueryLogConfigPolicyInputBuilder
source§impl PartialEq for PutResolverQueryLogConfigPolicyInputBuilder
impl PartialEq for PutResolverQueryLogConfigPolicyInputBuilder
source§fn eq(&self, other: &PutResolverQueryLogConfigPolicyInputBuilder) -> bool
fn eq(&self, other: &PutResolverQueryLogConfigPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutResolverQueryLogConfigPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for PutResolverQueryLogConfigPolicyInputBuilder
impl RefUnwindSafe for PutResolverQueryLogConfigPolicyInputBuilder
impl Send for PutResolverQueryLogConfigPolicyInputBuilder
impl Sync for PutResolverQueryLogConfigPolicyInputBuilder
impl Unpin for PutResolverQueryLogConfigPolicyInputBuilder
impl UnwindSafe for PutResolverQueryLogConfigPolicyInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more