pub struct AssociateDRTLogBucket { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateDRTLogBucket
.
Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.
To use the services of the SRT and make an AssociateDRTLogBucket
request, you must be subscribed to the Business Support plan or the Enterprise Support plan.
Implementations
sourceimpl AssociateDRTLogBucket
impl AssociateDRTLogBucket
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AssociateDRTLogBucket, AwsResponseRetryClassifier>, SdkError<AssociateDRTLogBucketError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AssociateDRTLogBucket, AwsResponseRetryClassifier>, SdkError<AssociateDRTLogBucketError>>
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<AssociateDrtLogBucketOutput, SdkError<AssociateDRTLogBucketError>>
pub async fn send(
self
) -> Result<AssociateDrtLogBucketOutput, SdkError<AssociateDRTLogBucketError>>
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 log_bucket(self, input: impl Into<String>) -> Self
pub fn log_bucket(self, input: impl Into<String>) -> Self
The Amazon S3 bucket that contains the logs that you want to share.
sourcepub fn set_log_bucket(self, input: Option<String>) -> Self
pub fn set_log_bucket(self, input: Option<String>) -> Self
The Amazon S3 bucket that contains the logs that you want to share.
Trait Implementations
sourceimpl Clone for AssociateDRTLogBucket
impl Clone for AssociateDRTLogBucket
sourcefn clone(&self) -> AssociateDRTLogBucket
fn clone(&self) -> AssociateDRTLogBucket
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more