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 [`ListResources`](crate::operation::list_resources::builders::ListResourcesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_id(impl ::std::convert::Into<String>)`](crate::operation::list_resources::builders::ListResourcesFluentBuilder::project_id) / [`set_project_id(Option<String>)`](crate::operation::list_resources::builders::ListResourcesFluentBuilder::set_project_id): <p>The ID of the project.</p>
    ///   - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_resources::builders::ListResourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_resources::builders::ListResourcesFluentBuilder::set_next_token): <p>The continuation token for the next set of results, if the results cannot be returned in one response.</p>
    ///   - [`max_results(i32)`](crate::operation::list_resources::builders::ListResourcesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_resources::builders::ListResourcesFluentBuilder::set_max_results): <p>The maximum amount of data that can be contained in a single set of results.</p>
    /// - On success, responds with [`ListResourcesOutput`](crate::operation::list_resources::ListResourcesOutput) with field(s):
    ///   - [`resources(Option<Vec<Resource>>)`](crate::operation::list_resources::ListResourcesOutput::resources): <p>An array of resources associated with the project. </p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_resources::ListResourcesOutput::next_token): <p>The continuation token to use when requesting the next set of results, if there are more results to be returned.</p>
    /// - On failure, responds with [`SdkError<ListResourcesError>`](crate::operation::list_resources::ListResourcesError)
    pub fn list_resources(&self) -> crate::operation::list_resources::builders::ListResourcesFluentBuilder {
        crate::operation::list_resources::builders::ListResourcesFluentBuilder::new(self.handle.clone())
    }
}