Copyright | (c) 2013-2017 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 |
Lists the details of a Protection
object.
- 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
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 theProtection
object that is described.
data DescribeProtection Source #
See: describeProtection
smart constructor.
Request Lenses
dpProtectionId :: Lens' DescribeProtection Text Source #
The unique identifier (ID) for the Protection
object that is described.
Destructuring the Response
describeProtectionResponse Source #
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
- TheProtection
object that is described.dprsResponseStatus
- -- | The response status code.
data DescribeProtectionResponse Source #
See: describeProtectionResponse
smart constructor.
Response Lenses
dprsProtection :: Lens' DescribeProtectionResponse (Maybe Protection) Source #
The Protection
object that is described.
dprsResponseStatus :: Lens' DescribeProtectionResponse Int Source #
- - | The response status code.