aws_sdk_managedblockchain/client/
list_accessors.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 [`ListAccessors`](crate::operation::list_accessors::builders::ListAccessorsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_accessors::builders::ListAccessorsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_accessors::builders::ListAccessorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_accessors::builders::ListAccessorsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of accessors to list.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_accessors::builders::ListAccessorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_accessors::builders::ListAccessorsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token that indicates the next set of results to retrieve.</p><br>
9    ///   - [`network_type(AccessorNetworkType)`](crate::operation::list_accessors::builders::ListAccessorsFluentBuilder::network_type) / [`set_network_type(Option<AccessorNetworkType>)`](crate::operation::list_accessors::builders::ListAccessorsFluentBuilder::set_network_type):<br>required: **false**<br><p>The blockchain network that the <code>Accessor</code> token is created for.</p><note>  <p>Use the value <code>ETHEREUM_MAINNET_AND_GOERLI</code> for all existing <code>Accessors</code> tokens that were created before the <code>networkType</code> property was introduced.</p> </note><br>
10    /// - On success, responds with [`ListAccessorsOutput`](crate::operation::list_accessors::ListAccessorsOutput) with field(s):
11    ///   - [`accessors(Option<Vec::<AccessorSummary>>)`](crate::operation::list_accessors::ListAccessorsOutput::accessors): <p>An array of AccessorSummary objects that contain configuration properties for each accessor.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_accessors::ListAccessorsOutput::next_token): <p>The pagination token that indicates the next set of results to retrieve.</p>
13    /// - On failure, responds with [`SdkError<ListAccessorsError>`](crate::operation::list_accessors::ListAccessorsError)
14    pub fn list_accessors(&self) -> crate::operation::list_accessors::builders::ListAccessorsFluentBuilder {
15        crate::operation::list_accessors::builders::ListAccessorsFluentBuilder::new(self.handle.clone())
16    }
17}