aws_sdk_neptunegraph/client/get_query.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 [`GetQuery`](crate::operation::get_query::builders::GetQueryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`graph_identifier(impl Into<String>)`](crate::operation::get_query::builders::GetQueryFluentBuilder::graph_identifier) / [`set_graph_identifier(Option<String>)`](crate::operation::get_query::builders::GetQueryFluentBuilder::set_graph_identifier):<br>required: **true**<br><p>The unique identifier of the Neptune Analytics graph.</p><br>
7 /// - [`query_id(impl Into<String>)`](crate::operation::get_query::builders::GetQueryFluentBuilder::query_id) / [`set_query_id(Option<String>)`](crate::operation::get_query::builders::GetQueryFluentBuilder::set_query_id):<br>required: **true**<br><p>The ID of the query in question.</p><br>
8 /// - On success, responds with [`GetQueryOutput`](crate::operation::get_query::GetQueryOutput) with field(s):
9 /// - [`id(Option<String>)`](crate::operation::get_query::GetQueryOutput::id): <p>The ID of the query in question.</p>
10 /// - [`query_string(Option<String>)`](crate::operation::get_query::GetQueryOutput::query_string): <p>The query in question.</p>
11 /// - [`waited(Option<i32>)`](crate::operation::get_query::GetQueryOutput::waited): <p>Indicates how long the query waited, in milliseconds.</p>
12 /// - [`elapsed(Option<i32>)`](crate::operation::get_query::GetQueryOutput::elapsed): <p>The number of milliseconds the query has been running.</p>
13 /// - [`state(Option<QueryState>)`](crate::operation::get_query::GetQueryOutput::state): <p>State of the query.</p>
14 /// - On failure, responds with [`SdkError<GetQueryError>`](crate::operation::get_query::GetQueryError)
15 pub fn get_query(&self) -> crate::operation::get_query::builders::GetQueryFluentBuilder {
16 crate::operation::get_query::builders::GetQueryFluentBuilder::new(self.handle.clone())
17 }
18}