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 [`ListCompatibleImages`](crate::operation::list_compatible_images::builders::ListCompatibleImagesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_compatible_images::builders::ListCompatibleImagesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_compatible_images::builders::ListCompatibleImagesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_compatible_images::builders::ListCompatibleImagesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results for the list of compatible images. Currently, a Snowball Edge device can store 10 AMIs.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_compatible_images::builders::ListCompatibleImagesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_compatible_images::builders::ListCompatibleImagesFluentBuilder::set_next_token):<br>required: **false**<br><p>HTTP requests are stateless. To identify what object comes "next" in the list of compatible images, you can specify a value for <code>NextToken</code> as the starting point for your list of returned images.</p><br>
    /// - On success, responds with [`ListCompatibleImagesOutput`](crate::operation::list_compatible_images::ListCompatibleImagesOutput) with field(s):
    ///   - [`compatible_images(Option<Vec::<CompatibleImage>>)`](crate::operation::list_compatible_images::ListCompatibleImagesOutput::compatible_images): <p>A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_compatible_images::ListCompatibleImagesOutput::next_token): <p>Because HTTP requests are stateless, this is the starting point for your next list of returned images.</p>
    /// - On failure, responds with [`SdkError<ListCompatibleImagesError>`](crate::operation::list_compatible_images::ListCompatibleImagesError)
    pub fn list_compatible_images(&self) -> crate::operation::list_compatible_images::builders::ListCompatibleImagesFluentBuilder {
        crate::operation::list_compatible_images::builders::ListCompatibleImagesFluentBuilder::new(self.handle.clone())
    }
}