1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSparqlStatistics`](crate::operation::get_sparql_statistics::builders::GetSparqlStatisticsFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_sparql_statistics::builders::GetSparqlStatisticsFluentBuilder::send) it.
    /// - On success, responds with [`GetSparqlStatisticsOutput`](crate::operation::get_sparql_statistics::GetSparqlStatisticsOutput) with field(s):
    ///   - [`status(String)`](crate::operation::get_sparql_statistics::GetSparqlStatisticsOutput::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> <p>When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getstatisticsstatus">neptune-db:GetStatisticsStatus</a> IAM action in that cluster.</p>
    ///   - [`payload(Option<Statistics>)`](crate::operation::get_sparql_statistics::GetSparqlStatisticsOutput::payload): <p>Statistics for RDF data.</p>
    /// - On failure, responds with [`SdkError<GetSparqlStatisticsError>`](crate::operation::get_sparql_statistics::GetSparqlStatisticsError)
    pub fn get_sparql_statistics(&self) -> crate::operation::get_sparql_statistics::builders::GetSparqlStatisticsFluentBuilder {
        crate::operation::get_sparql_statistics::builders::GetSparqlStatisticsFluentBuilder::new(self.handle.clone())
    }
}