Struct aws_sdk_sns::input::PutDataProtectionPolicyInput
source · #[non_exhaustive]pub struct PutDataProtectionPolicyInput { /* private fields */ }
Implementations§
source§impl PutDataProtectionPolicyInput
impl PutDataProtectionPolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutDataProtectionPolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutDataProtectionPolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutDataProtectionPolicy
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutDataProtectionPolicyInput
.
source§impl PutDataProtectionPolicyInput
impl PutDataProtectionPolicyInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN of the topic whose DataProtectionPolicy
you want to add or update.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn data_protection_policy(&self) -> Option<&str>
pub fn data_protection_policy(&self) -> Option<&str>
The JSON serialization of the topic's DataProtectionPolicy
.
The DataProtectionPolicy
must be in JSON string format.
Length Constraints: Maximum length of 30,720.
Trait Implementations§
source§impl Clone for PutDataProtectionPolicyInput
impl Clone for PutDataProtectionPolicyInput
source§fn clone(&self) -> PutDataProtectionPolicyInput
fn clone(&self) -> PutDataProtectionPolicyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PutDataProtectionPolicyInput
impl Debug for PutDataProtectionPolicyInput
source§impl PartialEq<PutDataProtectionPolicyInput> for PutDataProtectionPolicyInput
impl PartialEq<PutDataProtectionPolicyInput> for PutDataProtectionPolicyInput
source§fn eq(&self, other: &PutDataProtectionPolicyInput) -> bool
fn eq(&self, other: &PutDataProtectionPolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.