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 [`ListPartnerships`](crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`profile_id(impl Into<String>)`](crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder::set_profile_id):<br>required: **false**<br><p>Specifies the unique, system-generated identifier for the profile connected to this partnership.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder::set_next_token):<br>required: **false**<br><p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder::set_max_results):<br>required: **false**<br><p>Specifies the maximum number of capabilities to return.</p><br>
    /// - On success, responds with [`ListPartnershipsOutput`](crate::operation::list_partnerships::ListPartnershipsOutput) with field(s):
    ///   - [`partnerships(Vec::<PartnershipSummary>)`](crate::operation::list_partnerships::ListPartnershipsOutput::partnerships): <p>Specifies a list of your partnerships.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_partnerships::ListPartnershipsOutput::next_token): <p>When additional results are obtained from the command, a <code>NextToken</code> parameter is returned in the output. You can then pass the <code>NextToken</code> parameter in a subsequent command to continue listing additional resources.</p>
    /// - On failure, responds with [`SdkError<ListPartnershipsError>`](crate::operation::list_partnerships::ListPartnershipsError)
    pub fn list_partnerships(&self) -> crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder {
        crate::operation::list_partnerships::builders::ListPartnershipsFluentBuilder::new(self.handle.clone())
    }
}