Struct aws_sdk_rbin::input::UpdateRuleInput
source · #[non_exhaustive]pub struct UpdateRuleInput { /* private fields */ }
Implementations§
source§impl UpdateRuleInput
impl UpdateRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRule, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRule, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateRule
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateRuleInput
.
source§impl UpdateRuleInput
impl UpdateRuleInput
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The unique ID of the retention rule.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
Information about the retention period for which the retention rule is to retain resources.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The retention rule description.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
This parameter is currently not supported. You can't update a retention rule's resource type after creation.
Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.
You can add the same tag key and value pair to a maximum or five retention rules.
To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.
Trait Implementations§
source§impl Clone for UpdateRuleInput
impl Clone for UpdateRuleInput
source§fn clone(&self) -> UpdateRuleInput
fn clone(&self) -> UpdateRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateRuleInput
impl Debug for UpdateRuleInput
source§impl PartialEq<UpdateRuleInput> for UpdateRuleInput
impl PartialEq<UpdateRuleInput> for UpdateRuleInput
source§fn eq(&self, other: &UpdateRuleInput) -> bool
fn eq(&self, other: &UpdateRuleInput) -> bool
self
and other
values to be equal, and is used
by ==
.