Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.Shield.UpdateApplicationLayerAutomaticResponse
Description
Updates an existing Shield Advanced automatic application layer DDoS mitigation configuration for the specified resource.
Synopsis
- data UpdateApplicationLayerAutomaticResponse = UpdateApplicationLayerAutomaticResponse' {}
- newUpdateApplicationLayerAutomaticResponse :: Text -> ResponseAction -> UpdateApplicationLayerAutomaticResponse
- updateApplicationLayerAutomaticResponse_resourceArn :: Lens' UpdateApplicationLayerAutomaticResponse Text
- updateApplicationLayerAutomaticResponse_action :: Lens' UpdateApplicationLayerAutomaticResponse ResponseAction
- data UpdateApplicationLayerAutomaticResponseResponse = UpdateApplicationLayerAutomaticResponseResponse' {
- httpStatus :: Int
- newUpdateApplicationLayerAutomaticResponseResponse :: Int -> UpdateApplicationLayerAutomaticResponseResponse
- updateApplicationLayerAutomaticResponseResponse_httpStatus :: Lens' UpdateApplicationLayerAutomaticResponseResponse Int
Creating a Request
data UpdateApplicationLayerAutomaticResponse Source #
See: newUpdateApplicationLayerAutomaticResponse
smart constructor.
Constructors
UpdateApplicationLayerAutomaticResponse' | |
Fields
|
Instances
newUpdateApplicationLayerAutomaticResponse Source #
Arguments
:: Text | |
-> ResponseAction | |
-> UpdateApplicationLayerAutomaticResponse |
Create a value of UpdateApplicationLayerAutomaticResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateApplicationLayerAutomaticResponse
, updateApplicationLayerAutomaticResponse_resourceArn
- The ARN (Amazon Resource Name) of the resource.
UpdateApplicationLayerAutomaticResponse
, updateApplicationLayerAutomaticResponse_action
- 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.
Request Lenses
updateApplicationLayerAutomaticResponse_resourceArn :: Lens' UpdateApplicationLayerAutomaticResponse Text Source #
The ARN (Amazon Resource Name) of the resource.
updateApplicationLayerAutomaticResponse_action :: Lens' UpdateApplicationLayerAutomaticResponse ResponseAction Source #
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.
Destructuring the Response
data UpdateApplicationLayerAutomaticResponseResponse Source #
See: newUpdateApplicationLayerAutomaticResponseResponse
smart constructor.
Constructors
UpdateApplicationLayerAutomaticResponseResponse' | |
Fields
|
Instances
newUpdateApplicationLayerAutomaticResponseResponse Source #
Arguments
:: Int |
|
-> UpdateApplicationLayerAutomaticResponseResponse |
Create a value of UpdateApplicationLayerAutomaticResponseResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateApplicationLayerAutomaticResponseResponse'
, updateApplicationLayerAutomaticResponseResponse_httpStatus
- The response's http status code.
Response Lenses
updateApplicationLayerAutomaticResponseResponse_httpStatus :: Lens' UpdateApplicationLayerAutomaticResponseResponse Int Source #
The response's http status code.