aws_sdk_nimble/client/
list_studios.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListStudios`](crate::operation::list_studios::builders::ListStudiosFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_studios::builders::ListStudiosFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_studios::builders::ListStudiosFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_studios::builders::ListStudiosFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results, or null if there are no more results.</p><br>
8    /// - On success, responds with [`ListStudiosOutput`](crate::operation::list_studios::ListStudiosOutput) with field(s):
9    ///   - [`next_token(Option<String>)`](crate::operation::list_studios::ListStudiosOutput::next_token): <p>The token for the next set of results, or null if there are no more results.</p>
10    ///   - [`studios(Vec::<Studio>)`](crate::operation::list_studios::ListStudiosOutput::studios): <p>A collection of studios.</p>
11    /// - On failure, responds with [`SdkError<ListStudiosError>`](crate::operation::list_studios::ListStudiosError)
12    pub fn list_studios(&self) -> crate::operation::list_studios::builders::ListStudiosFluentBuilder {
13        crate::operation::list_studios::builders::ListStudiosFluentBuilder::new(self.handle.clone())
14    }
15}