aws-sdk-eventbridgev2 1.2.0

AWS SDK for Amazon EventBridgeV2
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_list_subscribers_input_input(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::operation::list_subscribers::ListSubscribersInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.event_bus_arn {
        encoder.str("EventBusArn").str(var_1.as_str());
    }
    if let Some(var_2) = &input.name_prefix {
        encoder.str("NamePrefix").str(var_2.as_str());
    }
    if let Some(var_3) = &input.next_token {
        encoder.str("NextToken").str(var_3.as_str());
    }
    if let Some(var_4) = &input.max_results {
        encoder.str("MaxResults").integer(*var_4);
    }
    encoder.end();
    Ok(())
}