aws_sdk_iotwireless/client/
list_partner_accounts.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListPartnerAccounts`](crate::operation::list_partner_accounts::builders::ListPartnerAccountsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`next_token(impl Into<String>)`](crate::operation::list_partner_accounts::builders::ListPartnerAccountsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_partner_accounts::builders::ListPartnerAccountsFluentBuilder::set_next_token):<br>required: **false**<br><p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p><br>
7    ///   - [`max_results(i32)`](crate::operation::list_partner_accounts::builders::ListPartnerAccountsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_partner_accounts::builders::ListPartnerAccountsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in this operation.</p><br>
8    /// - On success, responds with [`ListPartnerAccountsOutput`](crate::operation::list_partner_accounts::ListPartnerAccountsOutput) with field(s):
9    ///   - [`next_token(Option<String>)`](crate::operation::list_partner_accounts::ListPartnerAccountsOutput::next_token): <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
10    ///   - [`sidewalk(Option<Vec::<SidewalkAccountInfoWithFingerprint>>)`](crate::operation::list_partner_accounts::ListPartnerAccountsOutput::sidewalk): <p>The Sidewalk account credentials.</p>
11    /// - On failure, responds with [`SdkError<ListPartnerAccountsError>`](crate::operation::list_partner_accounts::ListPartnerAccountsError)
12    pub fn list_partner_accounts(&self) -> crate::operation::list_partner_accounts::builders::ListPartnerAccountsFluentBuilder {
13        crate::operation::list_partner_accounts::builders::ListPartnerAccountsFluentBuilder::new(self.handle.clone())
14    }
15}