Struct aws_sdk_route53resolver::operation::put_resolver_rule_policy::PutResolverRulePolicyInput
source · #[non_exhaustive]pub struct PutResolverRulePolicyInput { /* private fields */ }Implementations§
source§impl PutResolverRulePolicyInput
impl PutResolverRulePolicyInput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the rule that you want to share with another account.
sourcepub fn resolver_rule_policy(&self) -> Option<&str>
pub fn resolver_rule_policy(&self) -> Option<&str>
An Identity and Access Management policy statement that lists the rules 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 Action section of the statement:
-
route53resolver:GetResolverRule -
route53resolver:AssociateResolverRule -
route53resolver:DisassociateResolverRule -
route53resolver:ListResolverRules -
route53resolver:ListResolverRuleAssociations
In the Resource section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified in Arn.
source§impl PutResolverRulePolicyInput
impl PutResolverRulePolicyInput
sourcepub fn builder() -> PutResolverRulePolicyInputBuilder
pub fn builder() -> PutResolverRulePolicyInputBuilder
Creates a new builder-style object to manufacture PutResolverRulePolicyInput.
source§impl PutResolverRulePolicyInput
impl PutResolverRulePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutResolverRulePolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<PutResolverRulePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutResolverRulePolicy>
Trait Implementations§
source§impl Clone for PutResolverRulePolicyInput
impl Clone for PutResolverRulePolicyInput
source§fn clone(&self) -> PutResolverRulePolicyInput
fn clone(&self) -> PutResolverRulePolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutResolverRulePolicyInput
impl Debug for PutResolverRulePolicyInput
source§impl PartialEq<PutResolverRulePolicyInput> for PutResolverRulePolicyInput
impl PartialEq<PutResolverRulePolicyInput> for PutResolverRulePolicyInput
source§fn eq(&self, other: &PutResolverRulePolicyInput) -> bool
fn eq(&self, other: &PutResolverRulePolicyInput) -> bool
self and other values to be equal, and is used
by ==.