1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AddPartner`](crate::operation::add_partner::builders::AddPartnerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::add_partner::builders::AddPartnerFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::add_partner::builders::AddPartnerFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID that owns the cluster.</p><br>
    ///   - [`cluster_identifier(impl Into<String>)`](crate::operation::add_partner::builders::AddPartnerFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::add_partner::builders::AddPartnerFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The cluster identifier of the cluster that receives data from the partner.</p><br>
    ///   - [`database_name(impl Into<String>)`](crate::operation::add_partner::builders::AddPartnerFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::add_partner::builders::AddPartnerFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the database that receives data from the partner.</p><br>
    ///   - [`partner_name(impl Into<String>)`](crate::operation::add_partner::builders::AddPartnerFluentBuilder::partner_name) / [`set_partner_name(Option<String>)`](crate::operation::add_partner::builders::AddPartnerFluentBuilder::set_partner_name):<br>required: **true**<br><p>The name of the partner that is authorized to send data.</p><br>
    /// - On success, responds with [`AddPartnerOutput`](crate::operation::add_partner::AddPartnerOutput) with field(s):
    ///   - [`database_name(Option<String>)`](crate::operation::add_partner::AddPartnerOutput::database_name): <p>The name of the database that receives data from the partner.</p>
    ///   - [`partner_name(Option<String>)`](crate::operation::add_partner::AddPartnerOutput::partner_name): <p>The name of the partner that is authorized to send data.</p>
    /// - On failure, responds with [`SdkError<AddPartnerError>`](crate::operation::add_partner::AddPartnerError)
    pub fn add_partner(&self) -> crate::operation::add_partner::builders::AddPartnerFluentBuilder {
        crate::operation::add_partner::builders::AddPartnerFluentBuilder::new(self.handle.clone())
    }
}