| 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.DescribeProtection
Description
Lists the details of a Protection object.
Synopsis
- describeProtection :: Text -> DescribeProtection
- data DescribeProtection
- dpProtectionId :: Lens' DescribeProtection Text
- describeProtectionResponse :: Int -> DescribeProtectionResponse
- data DescribeProtectionResponse
- dprsProtection :: Lens' DescribeProtectionResponse (Maybe Protection)
- dprsResponseStatus :: Lens' DescribeProtectionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DescribeProtection |
Creates a value of DescribeProtection with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpProtectionId- The unique identifier (ID) for theProtectionobject that is described.
data DescribeProtection Source #
See: describeProtection smart constructor.
Instances
Request Lenses
dpProtectionId :: Lens' DescribeProtection Text Source #
The unique identifier (ID) for the Protection object that is described.
Destructuring the Response
describeProtectionResponse Source #
Arguments
| :: Int | |
| -> DescribeProtectionResponse |
Creates a value of DescribeProtectionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dprsProtection- TheProtectionobject that is described.dprsResponseStatus- -- | The response status code.
data DescribeProtectionResponse Source #
See: describeProtectionResponse smart constructor.
Instances
Response Lenses
dprsProtection :: Lens' DescribeProtectionResponse (Maybe Protection) Source #
The Protection object that is described.
dprsResponseStatus :: Lens' DescribeProtectionResponse Int Source #
- - | The response status code.