pub struct CreateGraphFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateGraph
.
Creates a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective.
The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph.
CreateGraph
triggers a process to create the corresponding data tables for the new behavior graph.
An account can only be the administrator account for one behavior graph within a Region. If the same account calls CreateGraph
with the same administrator account, it always returns the same behavior graph ARN. It does not create a new behavior graph.
Implementations§
source§impl CreateGraphFluentBuilder
impl CreateGraphFluentBuilder
sourcepub fn as_input(&self) -> &CreateGraphInputBuilder
pub fn as_input(&self) -> &CreateGraphInputBuilder
Access the CreateGraph as a reference.
sourcepub async fn send(
self
) -> Result<CreateGraphOutput, SdkError<CreateGraphError, HttpResponse>>
pub async fn send( self ) -> Result<CreateGraphOutput, SdkError<CreateGraphError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateGraphOutput, CreateGraphError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateGraphOutput, CreateGraphError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
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.
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.
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.
Trait Implementations§
source§impl Clone for CreateGraphFluentBuilder
impl Clone for CreateGraphFluentBuilder
source§fn clone(&self) -> CreateGraphFluentBuilder
fn clone(&self) -> CreateGraphFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more