1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ExecuteGremlinProfileQuery`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gremlin_query(impl Into<String>)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::gremlin_query) / [`set_gremlin_query(Option<String>)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::set_gremlin_query):<br>required: **true**<br><p>The Gremlin query string to profile.</p><br>
    ///   - [`results(bool)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::results) / [`set_results(Option<bool>)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::set_results):<br>required: **false**<br><p>If this flag is set to <code>TRUE</code>, the query results are gathered and displayed as part of the profile report. If <code>FALSE</code>, only the result count is displayed.</p><br>
    ///   - [`chop(i32)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::chop) / [`set_chop(Option<i32>)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::set_chop):<br>required: **false**<br><p>If non-zero, causes the results string to be truncated at that number of characters. If set to zero, the string contains all the results.</p><br>
    ///   - [`serializer(impl Into<String>)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::serializer) / [`set_serializer(Option<String>)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::set_serializer):<br>required: **false**<br><p>If non-null, the gathered results are returned in a serialized response message in the format specified by this parameter. See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-profile-api.html">Gremlin profile API in Neptune</a> for more information.</p><br>
    ///   - [`index_ops(bool)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::index_ops) / [`set_index_ops(Option<bool>)`](crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::set_index_ops):<br>required: **false**<br><p>If this flag is set to <code>TRUE</code>, the results include a detailed report of all index operations that took place during query execution and serialization.</p><br>
    /// - On success, responds with [`ExecuteGremlinProfileQueryOutput`](crate::operation::execute_gremlin_profile_query::ExecuteGremlinProfileQueryOutput) with field(s):
    ///   - [`output(Option<Blob>)`](crate::operation::execute_gremlin_profile_query::ExecuteGremlinProfileQueryOutput::output): <p>A text blob containing the Gremlin Profile result. See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-profile-api.html">Gremlin profile API in Neptune</a> for details.</p>
    /// - On failure, responds with [`SdkError<ExecuteGremlinProfileQueryError>`](crate::operation::execute_gremlin_profile_query::ExecuteGremlinProfileQueryError)
    pub fn execute_gremlin_profile_query(
        &self,
    ) -> crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder {
        crate::operation::execute_gremlin_profile_query::builders::ExecuteGremlinProfileQueryFluentBuilder::new(self.handle.clone())
    }
}