aws_sdk_codebuild/client/
list_sandboxes_for_project.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 [`ListSandboxesForProject`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`project_name(impl Into<String>)`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::set_project_name):<br>required: **true**<br><p>The CodeBuild project name.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of sandbox records to be retrieved.</p><br>
9    ///   - [`sort_order(SortOrderType)`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrderType>)`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::set_sort_order):<br>required: **false**<br><p>The order in which sandbox records should be retrieved.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::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>
11    /// - On success, responds with [`ListSandboxesForProjectOutput`](crate::operation::list_sandboxes_for_project::ListSandboxesForProjectOutput) with field(s):
12    ///   - [`ids(Option<Vec::<String>>)`](crate::operation::list_sandboxes_for_project::ListSandboxesForProjectOutput::ids): <p>Information about the requested sandbox IDs.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_sandboxes_for_project::ListSandboxesForProjectOutput::next_token): <p>Information about the next token to get paginated results.</p>
14    /// - On failure, responds with [`SdkError<ListSandboxesForProjectError>`](crate::operation::list_sandboxes_for_project::ListSandboxesForProjectError)
15    pub fn list_sandboxes_for_project(&self) -> crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder {
16        crate::operation::list_sandboxes_for_project::builders::ListSandboxesForProjectFluentBuilder::new(self.handle.clone())
17    }
18}