Struct aws_sdk_elasticache::model::ProcessedUpdateAction
source · #[non_exhaustive]pub struct ProcessedUpdateAction { /* private fields */ }
Expand description
Update action that has been processed for the corresponding apply/stop request
Implementations§
source§impl ProcessedUpdateAction
impl ProcessedUpdateAction
sourcepub fn replication_group_id(&self) -> Option<&str>
pub fn replication_group_id(&self) -> Option<&str>
The ID of the replication group
sourcepub fn cache_cluster_id(&self) -> Option<&str>
pub fn cache_cluster_id(&self) -> Option<&str>
The ID of the cache cluster
sourcepub fn service_update_name(&self) -> Option<&str>
pub fn service_update_name(&self) -> Option<&str>
The unique ID of the service update
sourcepub fn update_action_status(&self) -> Option<&UpdateActionStatus>
pub fn update_action_status(&self) -> Option<&UpdateActionStatus>
The status of the update action on the Redis cluster
source§impl ProcessedUpdateAction
impl ProcessedUpdateAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ProcessedUpdateAction
.
Examples found in repository?
src/xml_deser.rs (line 8667)
8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727
pub fn deser_structure_crate_model_processed_update_action(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ProcessedUpdateAction, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ProcessedUpdateAction::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("ReplicationGroupId") /* ReplicationGroupId com.amazonaws.elasticache#ProcessedUpdateAction$ReplicationGroupId */ => {
let var_331 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_replication_group_id(var_331);
}
,
s if s.matches("CacheClusterId") /* CacheClusterId com.amazonaws.elasticache#ProcessedUpdateAction$CacheClusterId */ => {
let var_332 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_cache_cluster_id(var_332);
}
,
s if s.matches("ServiceUpdateName") /* ServiceUpdateName com.amazonaws.elasticache#ProcessedUpdateAction$ServiceUpdateName */ => {
let var_333 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_service_update_name(var_333);
}
,
s if s.matches("UpdateActionStatus") /* UpdateActionStatus com.amazonaws.elasticache#ProcessedUpdateAction$UpdateActionStatus */ => {
let var_334 =
Some(
Result::<crate::model::UpdateActionStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::UpdateActionStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_update_action_status(var_334);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for ProcessedUpdateAction
impl Clone for ProcessedUpdateAction
source§fn clone(&self) -> ProcessedUpdateAction
fn clone(&self) -> ProcessedUpdateAction
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 more