pub struct UpdateApplicationLayerAutomaticResponse { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateApplicationLayerAutomaticResponse
.
Updates an existing Shield Advanced automatic application layer DDoS mitigation configuration for the specified resource.
Implementations
sourceimpl UpdateApplicationLayerAutomaticResponse
impl UpdateApplicationLayerAutomaticResponse
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateApplicationLayerAutomaticResponse, AwsResponseRetryClassifier>, SdkError<UpdateApplicationLayerAutomaticResponseError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateApplicationLayerAutomaticResponse, AwsResponseRetryClassifier>, SdkError<UpdateApplicationLayerAutomaticResponseError>>
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<UpdateApplicationLayerAutomaticResponseOutput, SdkError<UpdateApplicationLayerAutomaticResponseError>>
pub async fn send(
self
) -> Result<UpdateApplicationLayerAutomaticResponseOutput, SdkError<UpdateApplicationLayerAutomaticResponseError>>
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 resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN (Amazon Resource Name) of the resource.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN (Amazon Resource Name) of the resource.
sourcepub fn action(self, input: ResponseAction) -> Self
pub fn action(self, input: ResponseAction) -> Self
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
sourcepub fn set_action(self, input: Option<ResponseAction>) -> Self
pub fn set_action(self, input: Option<ResponseAction>) -> Self
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
Trait Implementations
sourceimpl Clone for UpdateApplicationLayerAutomaticResponse
impl Clone for UpdateApplicationLayerAutomaticResponse
sourcefn clone(&self) -> UpdateApplicationLayerAutomaticResponse
fn clone(&self) -> UpdateApplicationLayerAutomaticResponse
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more