aws-sdk-eventbridge 1.105.0

AWS SDK for Amazon EventBridge
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_create_connection_basic_auth_request_parameters(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::CreateConnectionBasicAuthRequestParameters,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    {
        object.key("Username").string(input.username.as_str());
    }
    {
        object.key("Password").string(input.password.as_str());
    }
    Ok(())
}