aws_sdk_neptunegraph/client/reset_graph.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 [`ResetGraph`](crate::operation::reset_graph::builders::ResetGraphFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`graph_identifier(impl Into<String>)`](crate::operation::reset_graph::builders::ResetGraphFluentBuilder::graph_identifier) / [`set_graph_identifier(Option<String>)`](crate::operation::reset_graph::builders::ResetGraphFluentBuilder::set_graph_identifier):<br>required: **true**<br><p>ID of the graph to reset.</p><br>
7 /// - [`skip_snapshot(bool)`](crate::operation::reset_graph::builders::ResetGraphFluentBuilder::skip_snapshot) / [`set_skip_snapshot(Option<bool>)`](crate::operation::reset_graph::builders::ResetGraphFluentBuilder::set_skip_snapshot):<br>required: **true**<br><p>Determines whether a final graph snapshot is created before the graph data is deleted. If set to <code>true</code>, no graph snapshot is created. If set to <code>false</code>, a graph snapshot is created before the data is deleted.</p><br>
8 /// - On success, responds with [`ResetGraphOutput`](crate::operation::reset_graph::ResetGraphOutput) with field(s):
9 /// - [`id(String)`](crate::operation::reset_graph::ResetGraphOutput::id): <p>The unique identifier of the graph.</p>
10 /// - [`name(String)`](crate::operation::reset_graph::ResetGraphOutput::name): <p>The name of the graph.</p>
11 /// - [`arn(String)`](crate::operation::reset_graph::ResetGraphOutput::arn): <p>The ARN associated with the graph.</p>
12 /// - [`status(Option<GraphStatus>)`](crate::operation::reset_graph::ResetGraphOutput::status): <p>The status of the graph.</p>
13 /// - [`status_reason(Option<String>)`](crate::operation::reset_graph::ResetGraphOutput::status_reason): <p>The reason that the graph has this status.</p>
14 /// - [`create_time(Option<DateTime>)`](crate::operation::reset_graph::ResetGraphOutput::create_time): <p>The time at which the graph was created.</p>
15 /// - [`provisioned_memory(Option<i32>)`](crate::operation::reset_graph::ResetGraphOutput::provisioned_memory): <p>The number of memory-optimized Neptune Capacity Units (m-NCUs) allocated to the graph.</p>
16 /// - [`endpoint(Option<String>)`](crate::operation::reset_graph::ResetGraphOutput::endpoint): <p>The graph endpoint.</p>
17 /// - [`public_connectivity(Option<bool>)`](crate::operation::reset_graph::ResetGraphOutput::public_connectivity): <p>If <code>true</code>, the graph has a public endpoint, otherwise not.</p>
18 /// - [`vector_search_configuration(Option<VectorSearchConfiguration>)`](crate::operation::reset_graph::ResetGraphOutput::vector_search_configuration): <p>Specifies the number of dimensions for vector embeddings loaded into the graph. Max = 65535</p>
19 /// - [`replica_count(Option<i32>)`](crate::operation::reset_graph::ResetGraphOutput::replica_count): <p>The number of replicas for the graph.</p>
20 /// - [`kms_key_identifier(Option<String>)`](crate::operation::reset_graph::ResetGraphOutput::kms_key_identifier): <p>The ID of the KMS key used to encrypt and decrypt graph data.</p>
21 /// - [`source_snapshot_id(Option<String>)`](crate::operation::reset_graph::ResetGraphOutput::source_snapshot_id): <p>The ID of the snapshot from which the graph was created, if any.</p>
22 /// - [`deletion_protection(Option<bool>)`](crate::operation::reset_graph::ResetGraphOutput::deletion_protection): <p>If <code>true</code>, deletion protection is enabled for the graph.</p>
23 /// - [`build_number(Option<String>)`](crate::operation::reset_graph::ResetGraphOutput::build_number): <p>The build number of the graph.</p>
24 /// - On failure, responds with [`SdkError<ResetGraphError>`](crate::operation::reset_graph::ResetGraphError)
25 pub fn reset_graph(&self) -> crate::operation::reset_graph::builders::ResetGraphFluentBuilder {
26 crate::operation::reset_graph::builders::ResetGraphFluentBuilder::new(self.handle.clone())
27 }
28}