aws_sdk_detective/client/
delete_graph.rs

1
2
3
4
5
6
7
8
9
10
11
12
// 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_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>
    /// - On success, responds with [`DeleteGraphOutput`](crate::operation::delete_graph::DeleteGraphOutput)
    /// - 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())
    }
}