aws_sdk_mediaconnect/client/
list_bridges.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 [`ListBridges`](crate::operation::list_bridges::builders::ListBridgesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_bridges::builders::ListBridgesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`filter_arn(impl Into<String>)`](crate::operation::list_bridges::builders::ListBridgesFluentBuilder::filter_arn) / [`set_filter_arn(Option<String>)`](crate::operation::list_bridges::builders::ListBridgesFluentBuilder::set_filter_arn):<br>required: **false**<br><p>Filter the list results to display only the bridges associated with the selected ARN.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_bridges::builders::ListBridgesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_bridges::builders::ListBridgesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per API request.</p> <p>For example, you submit a <code>ListBridges</code> request with <code>MaxResults</code> set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a <code>NextToken</code> value that you can use to fetch the next batch of results.)</p> <p>The service might return fewer results than the <code>MaxResults</code> value. If <code>MaxResults</code> is not included in the request, the service defaults to pagination with a maximum of 10 results per page.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_bridges::builders::ListBridgesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_bridges::builders::ListBridgesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token that identifies the batch of results that you want to see.</p> <p>For example, you submit a <code>ListBridges</code> request with <code>MaxResults</code> set at 5. The service returns the first batch of results (up to 5) and a <code>NextToken</code> value. To see the next batch of results, you can submit the <code>ListBridges</code> request a second time and specify the <code>NextToken</code> value.</p><br>
10    /// - On success, responds with [`ListBridgesOutput`](crate::operation::list_bridges::ListBridgesOutput) with field(s):
11    ///   - [`bridges(Option<Vec::<ListedBridge>>)`](crate::operation::list_bridges::ListBridgesOutput::bridges): <p>A list of bridge summaries.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_bridges::ListBridgesOutput::next_token): <p>The token that identifies the batch of results that you want to see.</p> <p>For example, you submit a <code>ListBridges</code> request with <code>MaxResults</code> set at 5. The service returns the first batch of results (up to 5) and a <code>NextToken</code> value. To see the next batch of results, you can submit the <code>ListBridges</code> request a second time and specify the <code>NextToken</code> value.</p>
13    /// - On failure, responds with [`SdkError<ListBridgesError>`](crate::operation::list_bridges::ListBridgesError)
14    pub fn list_bridges(&self) -> crate::operation::list_bridges::builders::ListBridgesFluentBuilder {
15        crate::operation::list_bridges::builders::ListBridgesFluentBuilder::new(self.handle.clone())
16    }
17}