| 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.DescribeAttack
Description
Describes the details of a DDoS attack.
Synopsis
- data DescribeAttack = DescribeAttack' {}
- newDescribeAttack :: Text -> DescribeAttack
- describeAttack_attackId :: Lens' DescribeAttack Text
- data DescribeAttackResponse = DescribeAttackResponse' {
- attack :: Maybe AttackDetail
- httpStatus :: Int
- newDescribeAttackResponse :: Int -> DescribeAttackResponse
- describeAttackResponse_attack :: Lens' DescribeAttackResponse (Maybe AttackDetail)
- describeAttackResponse_httpStatus :: Lens' DescribeAttackResponse Int
Creating a Request
data DescribeAttack Source #
See: newDescribeAttack smart constructor.
Constructors
| DescribeAttack' | |
Instances
Arguments
| :: Text | |
| -> DescribeAttack |
Create a value of DescribeAttack 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:
DescribeAttack, describeAttack_attackId - The unique identifier (ID) for the attack.
Request Lenses
describeAttack_attackId :: Lens' DescribeAttack Text Source #
The unique identifier (ID) for the attack.
Destructuring the Response
data DescribeAttackResponse Source #
See: newDescribeAttackResponse smart constructor.
Constructors
| DescribeAttackResponse' | |
Fields
| |
Instances
newDescribeAttackResponse Source #
Create a value of DescribeAttackResponse 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:attack:DescribeAttackResponse', describeAttackResponse_attack - The attack that you requested.
$sel:httpStatus:DescribeAttackResponse', describeAttackResponse_httpStatus - The response's http status code.
Response Lenses
describeAttackResponse_attack :: Lens' DescribeAttackResponse (Maybe AttackDetail) Source #
The attack that you requested.
describeAttackResponse_httpStatus :: Lens' DescribeAttackResponse Int Source #
The response's http status code.