#[non_exhaustive]pub struct NodeGroupMemberUpdateStatus { /* private fields */ }
Expand description
The status of the service update on the node group member
Implementations§
source§impl NodeGroupMemberUpdateStatus
impl NodeGroupMemberUpdateStatus
sourcepub fn cache_cluster_id(&self) -> Option<&str>
pub fn cache_cluster_id(&self) -> Option<&str>
The cache cluster ID
sourcepub fn cache_node_id(&self) -> Option<&str>
pub fn cache_node_id(&self) -> Option<&str>
The node ID of the cache cluster
sourcepub fn node_update_status(&self) -> Option<&NodeUpdateStatus>
pub fn node_update_status(&self) -> Option<&NodeUpdateStatus>
The update status of the node
sourcepub fn node_deletion_date(&self) -> Option<&DateTime>
pub fn node_deletion_date(&self) -> Option<&DateTime>
The deletion date of the node
sourcepub fn node_update_start_date(&self) -> Option<&DateTime>
pub fn node_update_start_date(&self) -> Option<&DateTime>
The start date of the update for a node
sourcepub fn node_update_end_date(&self) -> Option<&DateTime>
pub fn node_update_end_date(&self) -> Option<&DateTime>
The end date of the update for a node
sourcepub fn node_update_initiated_by(&self) -> Option<&NodeUpdateInitiatedBy>
pub fn node_update_initiated_by(&self) -> Option<&NodeUpdateInitiatedBy>
Reflects whether the update was initiated by the customer or automatically applied
sourcepub fn node_update_initiated_date(&self) -> Option<&DateTime>
pub fn node_update_initiated_date(&self) -> Option<&DateTime>
The date when the update is triggered
sourcepub fn node_update_status_modified_date(&self) -> Option<&DateTime>
pub fn node_update_status_modified_date(&self) -> Option<&DateTime>
The date when the NodeUpdateStatus was last modified
source§impl NodeGroupMemberUpdateStatus
impl NodeGroupMemberUpdateStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeGroupMemberUpdateStatus
.
Examples found in repository?
src/xml_deser.rs (line 12171)
12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302
pub fn deser_structure_crate_model_node_group_member_update_status(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NodeGroupMemberUpdateStatus, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::NodeGroupMemberUpdateStatus::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("CacheClusterId") /* CacheClusterId com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$CacheClusterId */ => {
let var_527 =
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_527);
}
,
s if s.matches("CacheNodeId") /* CacheNodeId com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$CacheNodeId */ => {
let var_528 =
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_node_id(var_528);
}
,
s if s.matches("NodeUpdateStatus") /* NodeUpdateStatus com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$NodeUpdateStatus */ => {
let var_529 =
Some(
Result::<crate::model::NodeUpdateStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::NodeUpdateStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_node_update_status(var_529);
}
,
s if s.matches("NodeDeletionDate") /* NodeDeletionDate com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$NodeDeletionDate */ => {
let var_530 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.elasticache#TStamp`)"))
?
)
;
builder = builder.set_node_deletion_date(var_530);
}
,
s if s.matches("NodeUpdateStartDate") /* NodeUpdateStartDate com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$NodeUpdateStartDate */ => {
let var_531 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.elasticache#TStamp`)"))
?
)
;
builder = builder.set_node_update_start_date(var_531);
}
,
s if s.matches("NodeUpdateEndDate") /* NodeUpdateEndDate com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$NodeUpdateEndDate */ => {
let var_532 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.elasticache#TStamp`)"))
?
)
;
builder = builder.set_node_update_end_date(var_532);
}
,
s if s.matches("NodeUpdateInitiatedBy") /* NodeUpdateInitiatedBy com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$NodeUpdateInitiatedBy */ => {
let var_533 =
Some(
Result::<crate::model::NodeUpdateInitiatedBy, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::NodeUpdateInitiatedBy::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_node_update_initiated_by(var_533);
}
,
s if s.matches("NodeUpdateInitiatedDate") /* NodeUpdateInitiatedDate com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$NodeUpdateInitiatedDate */ => {
let var_534 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.elasticache#TStamp`)"))
?
)
;
builder = builder.set_node_update_initiated_date(var_534);
}
,
s if s.matches("NodeUpdateStatusModifiedDate") /* NodeUpdateStatusModifiedDate com.amazonaws.elasticache#NodeGroupMemberUpdateStatus$NodeUpdateStatusModifiedDate */ => {
let var_535 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.elasticache#TStamp`)"))
?
)
;
builder = builder.set_node_update_status_modified_date(var_535);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for NodeGroupMemberUpdateStatus
impl Clone for NodeGroupMemberUpdateStatus
source§fn clone(&self) -> NodeGroupMemberUpdateStatus
fn clone(&self) -> NodeGroupMemberUpdateStatus
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