aws_sdk_iotmanagedintegrations/client/list_managed_thing_account_associations.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 [`ListManagedThingAccountAssociations`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`managed_thing_id(impl Into<String>)`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::managed_thing_id) / [`set_managed_thing_id(Option<String>)`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::set_managed_thing_id):<br>required: **false**<br><p>The identifier of the managed thing to list account associations for.</p><br>
8 /// - [`account_association_id(impl Into<String>)`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::account_association_id) / [`set_account_association_id(Option<String>)`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::set_account_association_id):<br>required: **false**<br><p>The identifier of the account association to filter results by. When specified, only associations with this account association ID will be returned.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of account associations to return in a single response.</p><br>
10 /// - [`next_token(impl Into<String>)`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token used for pagination of results.</p><br>
11 /// - On success, responds with [`ListManagedThingAccountAssociationsOutput`](crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsOutput) with field(s):
12 /// - [`items(Option<Vec::<ManagedThingAssociation>>)`](crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsOutput::items): <p>The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsOutput::next_token): <p>A token used for pagination of results when there are more account associations than can be returned in a single response.</p>
14 /// - On failure, responds with [`SdkError<ListManagedThingAccountAssociationsError>`](crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError)
15 pub fn list_managed_thing_account_associations(
16 &self,
17 ) -> crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder {
18 crate::operation::list_managed_thing_account_associations::builders::ListManagedThingAccountAssociationsFluentBuilder::new(
19 self.handle.clone(),
20 )
21 }
22}