aws_sdk_neptunedata/client/
get_propertygraph_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 [`GetPropertygraphSummary`](crate::operation::get_propertygraph_summary::builders::GetPropertygraphSummaryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`mode(GraphSummaryType)`](crate::operation::get_propertygraph_summary::builders::GetPropertygraphSummaryFluentBuilder::mode) / [`set_mode(Option<GraphSummaryType>)`](crate::operation::get_propertygraph_summary::builders::GetPropertygraphSummaryFluentBuilder::set_mode):<br>required: **false**<br><p>Mode can take one of two values: <code>BASIC</code> (the default), and <code>DETAILED</code>.</p><br>
7    /// - On success, responds with [`GetPropertygraphSummaryOutput`](crate::operation::get_propertygraph_summary::GetPropertygraphSummaryOutput) with field(s):
8    ///   - [`status_code(Option<i32>)`](crate::operation::get_propertygraph_summary::GetPropertygraphSummaryOutput::status_code): <p>The HTTP return code of the request. If the request succeeded, the code is 200.</p>
9    ///   - [`payload(Option<PropertygraphSummaryValueMap>)`](crate::operation::get_propertygraph_summary::GetPropertygraphSummaryOutput::payload): <p>Payload containing the property graph summary response.</p>
10    /// - On failure, responds with [`SdkError<GetPropertygraphSummaryError>`](crate::operation::get_propertygraph_summary::GetPropertygraphSummaryError)
11    pub fn get_propertygraph_summary(&self) -> crate::operation::get_propertygraph_summary::builders::GetPropertygraphSummaryFluentBuilder {
12        crate::operation::get_propertygraph_summary::builders::GetPropertygraphSummaryFluentBuilder::new(self.handle.clone())
13    }
14}