pub fn de_global_replication_group_list(
decoder: &mut ::aws_smithy_xml::decode::ScopedDecoder,
) -> ::std::result::Result<::std::vec::Vec<crate::types::GlobalReplicationGroup>, ::aws_smithy_xml::decode::XmlDecodeError> {
let mut out = std::vec::Vec::new();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("GlobalReplicationGroup") => {
out.push(
crate::protocol_serde::shape_global_replication_group::de_global_replication_group(&mut tag)
?
);
}
,
_ => {}
}
}
Ok(out)
}