aws_sdk_proton/client/
get_resources_summary.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 [`GetResourcesSummary`](crate::operation::get_resources_summary::builders::GetResourcesSummaryFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_resources_summary::builders::GetResourcesSummaryFluentBuilder::send) it.
6    /// - On success, responds with [`GetResourcesSummaryOutput`](crate::operation::get_resources_summary::GetResourcesSummaryOutput) with field(s):
7    ///   - [`counts(Option<CountsSummary>)`](crate::operation::get_resources_summary::GetResourcesSummaryOutput::counts): <p>Summary counts of each Proton resource type.</p>
8    /// - On failure, responds with [`SdkError<GetResourcesSummaryError>`](crate::operation::get_resources_summary::GetResourcesSummaryError)
9    pub fn get_resources_summary(&self) -> crate::operation::get_resources_summary::builders::GetResourcesSummaryFluentBuilder {
10        crate::operation::get_resources_summary::builders::GetResourcesSummaryFluentBuilder::new(self.handle.clone())
11    }
12}