Struct aws_sdk_detective::client::fluent_builders::CreateGraph
source · pub struct CreateGraph { /* 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.
Before you try to enable Detective, make sure that your account has been enrolled in Amazon GuardDuty for at least 48 hours. If you do not meet this requirement, you cannot enable Detective. If you do meet the GuardDuty prerequisite, then when you make the request to enable Detective, it checks whether your data volume is within the Detective quota. If it exceeds the quota, then you cannot enable 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 CreateGraph
impl CreateGraph
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateGraph, AwsResponseRetryClassifier>, SdkError<CreateGraphError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateGraph, AwsResponseRetryClassifier>, SdkError<CreateGraphError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<CreateGraphOutput, SdkError<CreateGraphError>>
pub async fn send(self) -> Result<CreateGraphOutput, SdkError<CreateGraphError>>
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.
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.
Trait Implementations§
source§impl Clone for CreateGraph
impl Clone for CreateGraph
source§fn clone(&self) -> CreateGraph
fn clone(&self) -> CreateGraph
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more