aws_sdk_neptunedata/client/
get_propertygraph_statistics.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 [`GetPropertygraphStatistics`](crate::operation::get_propertygraph_statistics::builders::GetPropertygraphStatisticsFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_propertygraph_statistics::builders::GetPropertygraphStatisticsFluentBuilder::send) it.
6    /// - On success, responds with [`GetPropertygraphStatisticsOutput`](crate::operation::get_propertygraph_statistics::GetPropertygraphStatisticsOutput) with field(s):
7    ///   - [`status(String)`](crate::operation::get_propertygraph_statistics::GetPropertygraphStatisticsOutput::status): <p>The HTTP return code of the request. If the request succeeded, the code is 200. See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/neptune-dfe-statistics.html#neptune-dfe-statistics-errors">Common error codes for DFE statistics request</a> for a list of common errors.</p>
8    ///   - [`payload(Option<Statistics>)`](crate::operation::get_propertygraph_statistics::GetPropertygraphStatisticsOutput::payload): <p>Statistics for property-graph data.</p>
9    /// - On failure, responds with [`SdkError<GetPropertygraphStatisticsError>`](crate::operation::get_propertygraph_statistics::GetPropertygraphStatisticsError)
10    pub fn get_propertygraph_statistics(&self) -> crate::operation::get_propertygraph_statistics::builders::GetPropertygraphStatisticsFluentBuilder {
11        crate::operation::get_propertygraph_statistics::builders::GetPropertygraphStatisticsFluentBuilder::new(self.handle.clone())
12    }
13}