1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdatePartnership`](crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`partnership_id(impl Into<String>)`](crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder::partnership_id) / [`set_partnership_id(Option<String>)`](crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder::set_partnership_id):<br>required: **true**<br><p>Specifies the unique, system-generated identifier for a partnership.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder::set_name):<br>required: **false**<br><p>The name of the partnership, used to identify it.</p><br>
    ///   - [`capabilities(impl Into<String>)`](crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder::capabilities) / [`set_capabilities(Option<Vec::<String>>)`](crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder::set_capabilities):<br>required: **false**<br><p>List of the capabilities associated with this partnership.</p><br>
    /// - On success, responds with [`UpdatePartnershipOutput`](crate::operation::update_partnership::UpdatePartnershipOutput) with field(s):
    ///   - [`profile_id(String)`](crate::operation::update_partnership::UpdatePartnershipOutput::profile_id): <p>Returns the unique, system-generated identifier for the profile connected to this partnership.</p>
    ///   - [`partnership_id(String)`](crate::operation::update_partnership::UpdatePartnershipOutput::partnership_id): <p>Returns the unique, system-generated identifier for a partnership.</p>
    ///   - [`partnership_arn(String)`](crate::operation::update_partnership::UpdatePartnershipOutput::partnership_arn): <p>Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.</p>
    ///   - [`name(Option<String>)`](crate::operation::update_partnership::UpdatePartnershipOutput::name): <p>The name of the partnership, used to identify it.</p>
    ///   - [`email(Option<String>)`](crate::operation::update_partnership::UpdatePartnershipOutput::email): <p>Returns the email address associated with this trading partner.</p>
    ///   - [`phone(Option<String>)`](crate::operation::update_partnership::UpdatePartnershipOutput::phone): <p>Returns the phone number associated with the partnership.</p>
    ///   - [`capabilities(Option<Vec::<String>>)`](crate::operation::update_partnership::UpdatePartnershipOutput::capabilities): <p>Returns one or more capabilities associated with this partnership.</p>
    ///   - [`trading_partner_id(Option<String>)`](crate::operation::update_partnership::UpdatePartnershipOutput::trading_partner_id): <p>Returns the unique, system-generated identifier for a trading partner.</p>
    ///   - [`created_at(DateTime)`](crate::operation::update_partnership::UpdatePartnershipOutput::created_at): <p>Returns a timestamp that identifies the most recent date and time that the partnership was modified.</p>
    ///   - [`modified_at(Option<DateTime>)`](crate::operation::update_partnership::UpdatePartnershipOutput::modified_at): <p>Returns a timestamp that identifies the most recent date and time that the partnership was modified.</p>
    /// - On failure, responds with [`SdkError<UpdatePartnershipError>`](crate::operation::update_partnership::UpdatePartnershipError)
    pub fn update_partnership(&self) -> crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder {
        crate::operation::update_partnership::builders::UpdatePartnershipFluentBuilder::new(self.handle.clone())
    }
}