aws_sdk_detective/client/
create_graph.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateGraph`](crate::operation::create_graph::builders::CreateGraphFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_graph::builders::CreateGraphFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_graph::builders::CreateGraphFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to assign to the new behavior graph. You can add up to 50 tags. For each tag, you provide the tag key and the tag value. Each tag key can contain up to 128 characters. Each tag value can contain up to 256 characters.</p><br>
    /// - On success, responds with [`CreateGraphOutput`](crate::operation::create_graph::CreateGraphOutput) with field(s):
    ///   - [`graph_arn(Option<String>)`](crate::operation::create_graph::CreateGraphOutput::graph_arn): <p>The ARN of the new behavior graph.</p>
    /// - On failure, responds with [`SdkError<CreateGraphError>`](crate::operation::create_graph::CreateGraphError)
    pub fn create_graph(&self) -> crate::operation::create_graph::builders::CreateGraphFluentBuilder {
        crate::operation::create_graph::builders::CreateGraphFluentBuilder::new(self.handle.clone())
    }
}