1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteGraph`](crate::operation::delete_graph::builders::DeleteGraphFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`graph_identifier(impl Into<String>)`](crate::operation::delete_graph::builders::DeleteGraphFluentBuilder::graph_identifier) / [`set_graph_identifier(Option<String>)`](crate::operation::delete_graph::builders::DeleteGraphFluentBuilder::set_graph_identifier):<br>required: **true**<br><p>The unique identifier of the Neptune Analytics graph.</p><br>
    ///   - [`skip_snapshot(bool)`](crate::operation::delete_graph::builders::DeleteGraphFluentBuilder::skip_snapshot) / [`set_skip_snapshot(Option<bool>)`](crate::operation::delete_graph::builders::DeleteGraphFluentBuilder::set_skip_snapshot):<br>required: **true**<br><p>Determines whether a final graph snapshot is created before the graph is deleted. If <code>true</code> is specified, no graph snapshot is created. If <code>false</code> is specified, a graph snapshot is created before the graph is deleted.</p><br>
    /// - On success, responds with [`DeleteGraphOutput`](crate::operation::delete_graph::DeleteGraphOutput) with field(s):
    ///   - [`id(String)`](crate::operation::delete_graph::DeleteGraphOutput::id): <p>The unique identifier of the graph.</p>
    ///   - [`name(String)`](crate::operation::delete_graph::DeleteGraphOutput::name): <p>The name of the graph.</p>
    ///   - [`arn(String)`](crate::operation::delete_graph::DeleteGraphOutput::arn): <p>The ARN associated with the graph.</p>
    ///   - [`status(Option<GraphStatus>)`](crate::operation::delete_graph::DeleteGraphOutput::status): <p>The status of the graph.</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::delete_graph::DeleteGraphOutput::status_reason): <p>The reason for the status of the graph.</p>
    ///   - [`create_time(Option<DateTime>)`](crate::operation::delete_graph::DeleteGraphOutput::create_time): <p>The time at which the graph was created.</p>
    ///   - [`provisioned_memory(Option<i32>)`](crate::operation::delete_graph::DeleteGraphOutput::provisioned_memory): <p>The number of memory-optimized Neptune Capacity Units (m-NCUs) allocated to the graph.</p>
    ///   - [`endpoint(Option<String>)`](crate::operation::delete_graph::DeleteGraphOutput::endpoint): <p>The graph endpoint.</p>
    ///   - [`public_connectivity(Option<bool>)`](crate::operation::delete_graph::DeleteGraphOutput::public_connectivity): <p>If <code>true</code>, the graph has a public endpoint, otherwise not.</p>
    ///   - [`vector_search_configuration(Option<VectorSearchConfiguration>)`](crate::operation::delete_graph::DeleteGraphOutput::vector_search_configuration): <p>Specifies the number of dimensions for vector embeddings loaded into the graph. Max = 65535</p>
    ///   - [`replica_count(Option<i32>)`](crate::operation::delete_graph::DeleteGraphOutput::replica_count): <p>The number of replicas for the graph.</p>
    ///   - [`kms_key_identifier(Option<String>)`](crate::operation::delete_graph::DeleteGraphOutput::kms_key_identifier): <p>The ID of the KMS key used to encrypt and decrypt graph data.</p>
    ///   - [`source_snapshot_id(Option<String>)`](crate::operation::delete_graph::DeleteGraphOutput::source_snapshot_id): <p>The ID of the snapshot from which the graph was created, if the graph was recovered from a snapshot.</p>
    ///   - [`deletion_protection(Option<bool>)`](crate::operation::delete_graph::DeleteGraphOutput::deletion_protection): <p>If <code>true</code>, deletion protection was enabled for the graph.</p>
    ///   - [`build_number(Option<String>)`](crate::operation::delete_graph::DeleteGraphOutput::build_number): <p>The build number associated with the graph.</p>
    /// - On failure, responds with [`SdkError<DeleteGraphError>`](crate::operation::delete_graph::DeleteGraphError)
    pub fn delete_graph(&self) -> crate::operation::delete_graph::builders::DeleteGraphFluentBuilder {
        crate::operation::delete_graph::builders::DeleteGraphFluentBuilder::new(self.handle.clone())
    }
}