aws_sdk_shield/client/
update_application_layer_automatic_response.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateApplicationLayerAutomaticResponse`](crate::operation::update_application_layer_automatic_response::builders::UpdateApplicationLayerAutomaticResponseFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_arn(impl Into<String>)`](crate::operation::update_application_layer_automatic_response::builders::UpdateApplicationLayerAutomaticResponseFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::update_application_layer_automatic_response::builders::UpdateApplicationLayerAutomaticResponseFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The ARN (Amazon Resource Name) of the resource.</p><br>
7    ///   - [`action(ResponseAction)`](crate::operation::update_application_layer_automatic_response::builders::UpdateApplicationLayerAutomaticResponseFluentBuilder::action) / [`set_action(Option<ResponseAction>)`](crate::operation::update_application_layer_automatic_response::builders::UpdateApplicationLayerAutomaticResponseFluentBuilder::set_action):<br>required: **true**<br><p>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.</p><br>
8    /// - On success, responds with [`UpdateApplicationLayerAutomaticResponseOutput`](crate::operation::update_application_layer_automatic_response::UpdateApplicationLayerAutomaticResponseOutput)
9    /// - On failure, responds with [`SdkError<UpdateApplicationLayerAutomaticResponseError>`](crate::operation::update_application_layer_automatic_response::UpdateApplicationLayerAutomaticResponseError)
10    pub fn update_application_layer_automatic_response(
11        &self,
12    ) -> crate::operation::update_application_layer_automatic_response::builders::UpdateApplicationLayerAutomaticResponseFluentBuilder {
13        crate::operation::update_application_layer_automatic_response::builders::UpdateApplicationLayerAutomaticResponseFluentBuilder::new(
14            self.handle.clone(),
15        )
16    }
17}