aws_sdk_neptunegraph/client/
get_graph_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 [`GetGraphSummary`](crate::operation::get_graph_summary::builders::GetGraphSummaryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`graph_identifier(impl Into<String>)`](crate::operation::get_graph_summary::builders::GetGraphSummaryFluentBuilder::graph_identifier) / [`set_graph_identifier(Option<String>)`](crate::operation::get_graph_summary::builders::GetGraphSummaryFluentBuilder::set_graph_identifier):<br>required: **true**<br><p>The unique identifier of the Neptune Analytics graph.</p><br>
7    ///   - [`mode(GraphSummaryMode)`](crate::operation::get_graph_summary::builders::GetGraphSummaryFluentBuilder::mode) / [`set_mode(Option<GraphSummaryMode>)`](crate::operation::get_graph_summary::builders::GetGraphSummaryFluentBuilder::set_mode):<br>required: **false**<br><p>The summary mode can take one of two values: <code>basic</code> (the default), and <code>detailed</code>.</p><br>
8    /// - On success, responds with [`GetGraphSummaryOutput`](crate::operation::get_graph_summary::GetGraphSummaryOutput) with field(s):
9    ///   - [`version(Option<String>)`](crate::operation::get_graph_summary::GetGraphSummaryOutput::version): <p>Display the version of this tool.</p>
10    ///   - [`last_statistics_computation_time(Option<DateTime>)`](crate::operation::get_graph_summary::GetGraphSummaryOutput::last_statistics_computation_time): <p>The timestamp, in ISO 8601 format, of the time at which Neptune Analytics last computed statistics.</p>
11    ///   - [`graph_summary(Option<GraphDataSummary>)`](crate::operation::get_graph_summary::GetGraphSummaryOutput::graph_summary): <p>The graph summary.</p>
12    /// - On failure, responds with [`SdkError<GetGraphSummaryError>`](crate::operation::get_graph_summary::GetGraphSummaryError)
13    pub fn get_graph_summary(&self) -> crate::operation::get_graph_summary::builders::GetGraphSummaryFluentBuilder {
14        crate::operation::get_graph_summary::builders::GetGraphSummaryFluentBuilder::new(self.handle.clone())
15    }
16}