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 [`ListTapePools`](crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`pool_arns(impl Into<String>)`](crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder::pool_arns) / [`set_pool_arns(Option<Vec::<String>>)`](crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder::set_pool_arns):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of each of the custom tape pools you want to list. If you don't specify a custom tape pool ARN, the response lists all custom tape pools.</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder::set_marker):<br>required: **false**<br><p>A string that indicates the position at which to begin the returned list of tape pools.</p><br>
    ///   - [`limit(i32)`](crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder::set_limit):<br>required: **false**<br><p>An optional number limit for the tape pools in the list returned by this call.</p><br>
    /// - On success, responds with [`ListTapePoolsOutput`](crate::operation::list_tape_pools::ListTapePoolsOutput) with field(s):
    ///   - [`pool_infos(Option<Vec::<PoolInfo>>)`](crate::operation::list_tape_pools::ListTapePoolsOutput::pool_infos): <p>An array of <code>PoolInfo</code> objects, where each object describes a single custom tape pool. If there are no custom tape pools, the <code>PoolInfos</code> is an empty array.</p>
    ///   - [`marker(Option<String>)`](crate::operation::list_tape_pools::ListTapePoolsOutput::marker): <p>A string that indicates the position at which to begin the returned list of tape pools. Use the marker in your next request to continue pagination of tape pools. If there are no more tape pools to list, this element does not appear in the response body.</p>
    /// - On failure, responds with [`SdkError<ListTapePoolsError>`](crate::operation::list_tape_pools::ListTapePoolsError)
    pub fn list_tape_pools(&self) -> crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder {
        crate::operation::list_tape_pools::builders::ListTapePoolsFluentBuilder::new(self.handle.clone())
    }
}