aws_sdk_codebuild/client/
list_sandboxes.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 [`ListSandboxes`](crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of sandbox records to be retrieved.</p><br>
8    ///   - [`sort_order(SortOrderType)`](crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrderType>)`](crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder::set_sort_order):<br>required: **false**<br><p>The order in which sandbox records should be retrieved.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder::set_next_token):<br>required: **false**<br><p>The next token, if any, to get paginated results. You will get this value from previous execution of list sandboxes.</p><br>
10    /// - On success, responds with [`ListSandboxesOutput`](crate::operation::list_sandboxes::ListSandboxesOutput) with field(s):
11    ///   - [`ids(Option<Vec::<String>>)`](crate::operation::list_sandboxes::ListSandboxesOutput::ids): <p>Information about the requested sandbox IDs.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_sandboxes::ListSandboxesOutput::next_token): <p>Information about the next token to get paginated results.</p>
13    /// - On failure, responds with [`SdkError<ListSandboxesError>`](crate::operation::list_sandboxes::ListSandboxesError)
14    pub fn list_sandboxes(&self) -> crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder {
15        crate::operation::list_sandboxes::builders::ListSandboxesFluentBuilder::new(self.handle.clone())
16    }
17}