Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.Shield.DescribeAttack
Description
Describes the details of a DDoS attack.
Creating a Request
Arguments
:: Text | |
-> DescribeAttack |
Creates a value of DescribeAttack
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
daAttackId
- The unique identifier (ID) for the attack that to be described.
data DescribeAttack #
See: describeAttack
smart constructor.
Instances
Request Lenses
daAttackId :: Lens' DescribeAttack Text #
The unique identifier (ID) for the attack that to be described.
Destructuring the Response
Arguments
:: Int | |
-> DescribeAttackResponse |
Creates a value of DescribeAttackResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
darsAttack
- The attack that is described.darsResponseStatus
- -- | The response status code.
data DescribeAttackResponse #
See: describeAttackResponse
smart constructor.
Response Lenses
darsAttack :: Lens' DescribeAttackResponse (Maybe AttackDetail) #
The attack that is described.
darsResponseStatus :: Lens' DescribeAttackResponse Int #
- - | The response status code.