aws_sdk_detective/client/delete_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 [`DeleteGraph`](crate::operation::delete_graph::builders::DeleteGraphFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`graph_arn(impl Into<String>)`](crate::operation::delete_graph::builders::DeleteGraphFluentBuilder::graph_arn) / [`set_graph_arn(Option<String>)`](crate::operation::delete_graph::builders::DeleteGraphFluentBuilder::set_graph_arn):<br>required: **true**<br><p>The ARN of the behavior graph to disable.</p><br>
7 /// - On success, responds with [`DeleteGraphOutput`](crate::operation::delete_graph::DeleteGraphOutput)
8 /// - On failure, responds with [`SdkError<DeleteGraphError>`](crate::operation::delete_graph::DeleteGraphError)
9 pub fn delete_graph(&self) -> crate::operation::delete_graph::builders::DeleteGraphFluentBuilder {
10 crate::operation::delete_graph::builders::DeleteGraphFluentBuilder::new(self.handle.clone())
11 }
12}