aws-sdk-backupexternal 1.0.0

AWS SDK for AWS Backup External
Documentation
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 [`ListDisks`](crate::operation::list_disks::builders::ListDisksFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_disks::builders::ListDisksFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`appliance_arn(impl Into<String>)`](crate::operation::list_disks::builders::ListDisksFluentBuilder::appliance_arn) / [`set_appliance_arn(Option<String>)`](crate::operation::list_disks::builders::ListDisksFluentBuilder::set_appliance_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the appliance.<br>
    ///   - [`node_arn(impl Into<String>)`](crate::operation::list_disks::builders::ListDisksFluentBuilder::node_arn) / [`set_node_arn(Option<String>)`](crate::operation::list_disks::builders::ListDisksFluentBuilder::set_node_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the appliance node.<br>
    ///   - [`max_results(i32)`](crate::operation::list_disks::builders::ListDisksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_disks::builders::ListDisksFluentBuilder::set_max_results):<br>required: **false**<br>The maximum number of results to return in a single response.<br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_disks::builders::ListDisksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_disks::builders::ListDisksFluentBuilder::set_next_token):<br>required: **false**<br>The token returned by a previous call to retrieve the next page of results.<br>
    /// - On success, responds with [`ListDisksOutput`](crate::operation::list_disks::ListDisksOutput) with field(s):
    ///   - [`disks(Vec::<ListDisksDiskSummary>)`](crate::operation::list_disks::ListDisksOutput::disks): The list of disks attached to the appliance node.
    ///   - [`next_token(Option<String>)`](crate::operation::list_disks::ListDisksOutput::next_token): The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
    /// - On failure, responds with [`SdkError<ListDisksError>`](crate::operation::list_disks::ListDisksError)
    pub fn list_disks(&self) -> crate::operation::list_disks::builders::ListDisksFluentBuilder {
        crate::operation::list_disks::builders::ListDisksFluentBuilder::new(self.handle.clone())
    }
}