pub fn ser_remote_account_identifier(
encoder: &mut ::aws_smithy_cbor::Encoder,
input: &crate::types::RemoteAccountIdentifier,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.map(1);
match input {
crate::types::RemoteAccountIdentifier::Identifier(inner) => {
encoder.str("identifier").str(inner.as_str());
}
crate::types::RemoteAccountIdentifier::Unknown => {
return ::std::result::Result::Err(::aws_smithy_types::error::operation::SerializationError::unknown_variant(
"RemoteAccountIdentifier",
))
}
}
::std::result::Result::Ok(())
}