1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListHypervisors`](crate::operation::list_hypervisors::builders::ListHypervisorsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_hypervisors::builders::ListHypervisorsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_hypervisors::builders::ListHypervisorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_hypervisors::builders::ListHypervisorsFluentBuilder::set_max_results): <p>The maximum number of hypervisors to list.</p>
    ///   - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_hypervisors::builders::ListHypervisorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_hypervisors::builders::ListHypervisorsFluentBuilder::set_next_token): <p>The next item following a partial list of returned resources. For example, if a request is made to return <code>maxResults</code> number of resources, <code>NextToken</code> allows you to return more items in your list starting at the location pointed to by the next token.</p>
    /// - On success, responds with [`ListHypervisorsOutput`](crate::operation::list_hypervisors::ListHypervisorsOutput) with field(s):
    ///   - [`hypervisors(Option<Vec<Hypervisor>>)`](crate::operation::list_hypervisors::ListHypervisorsOutput::hypervisors): <p>A list of your <code>Hypervisor</code> objects, ordered by their Amazon Resource Names (ARNs).</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_hypervisors::ListHypervisorsOutput::next_token): <p>The next item following a partial list of returned resources. For example, if a request is made to return <code>maxResults</code> number of resources, <code>NextToken</code> allows you to return more items in your list starting at the location pointed to by the next token.</p>
    /// - On failure, responds with [`SdkError<ListHypervisorsError>`](crate::operation::list_hypervisors::ListHypervisorsError)
    pub fn list_hypervisors(&self) -> crate::operation::list_hypervisors::builders::ListHypervisorsFluentBuilder {
        crate::operation::list_hypervisors::builders::ListHypervisorsFluentBuilder::new(self.handle.clone())
    }
}