1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeTapes`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
    ///   - [`tape_arns(impl Into<String>)`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::tape_arns) / [`set_tape_arns(Option<Vec::<String>>)`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::set_tape_arns):<br>required: **false**<br><p>Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, Tape gateway returns a description of all virtual tapes associated with the specified gateway.</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::set_marker):<br>required: **false**<br><p>A marker value, obtained in a previous call to <code>DescribeTapes</code>. This marker indicates which page of results to retrieve.</p>  <p>If not specified, the first page of results is retrieved.</p><br>
    ///   - [`limit(i32)`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::set_limit):<br>required: **false**<br><p>Specifies that the number of virtual tapes described be limited to the specified number.</p> <note>   <p>Amazon Web Services may impose its own limit, if this field is not set.</p>  </note><br>
    /// - On success, responds with [`DescribeTapesOutput`](crate::operation::describe_tapes::DescribeTapesOutput) with field(s):
    ///   - [`tapes(Option<Vec::<Tape>>)`](crate::operation::describe_tapes::DescribeTapesOutput::tapes): <p>An array of virtual tape descriptions.</p>
    ///   - [`marker(Option<String>)`](crate::operation::describe_tapes::DescribeTapesOutput::marker): <p>An opaque string that can be used as part of a subsequent <code>DescribeTapes</code> call to retrieve the next page of results.</p>  <p>If a response does not contain a marker, then there are no more results to be retrieved.</p>
    /// - On failure, responds with [`SdkError<DescribeTapesError>`](crate::operation::describe_tapes::DescribeTapesError)
    pub fn describe_tapes(&self) -> crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder {
        crate::operation::describe_tapes::builders::DescribeTapesFluentBuilder::new(self.handle.clone())
    }
}