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 |
Retrieves an Amazon GuardDuty detector specified by the detectorId.
Synopsis
- getDetector :: Text -> GetDetector
- data GetDetector
- gdDetectorId :: Lens' GetDetector Text
- getDetectorResponse :: Int -> GetDetectorResponse
- data GetDetectorResponse
- gdrsStatus :: Lens' GetDetectorResponse (Maybe DetectorStatus)
- gdrsCreatedAt :: Lens' GetDetectorResponse (Maybe Text)
- gdrsUpdatedAt :: Lens' GetDetectorResponse (Maybe Text)
- gdrsServiceRole :: Lens' GetDetectorResponse (Maybe Text)
- gdrsResponseStatus :: Lens' GetDetectorResponse Int
Creating a Request
Creates a value of GetDetector
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdDetectorId
- The unique ID of the detector that you want to retrieve.
data GetDetector Source #
See: getDetector
smart constructor.
Instances
Request Lenses
gdDetectorId :: Lens' GetDetector Text Source #
The unique ID of the detector that you want to retrieve.
Destructuring the Response
Creates a value of GetDetectorResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdrsStatus
- Undocumented member.gdrsCreatedAt
- Undocumented member.gdrsUpdatedAt
- Undocumented member.gdrsServiceRole
- Undocumented member.gdrsResponseStatus
- -- | The response status code.
data GetDetectorResponse Source #
See: getDetectorResponse
smart constructor.
Instances
Response Lenses
gdrsStatus :: Lens' GetDetectorResponse (Maybe DetectorStatus) Source #
Undocumented member.
gdrsCreatedAt :: Lens' GetDetectorResponse (Maybe Text) Source #
Undocumented member.
gdrsUpdatedAt :: Lens' GetDetectorResponse (Maybe Text) Source #
Undocumented member.
gdrsServiceRole :: Lens' GetDetectorResponse (Maybe Text) Source #
Undocumented member.
gdrsResponseStatus :: Lens' GetDetectorResponse Int Source #
- - | The response status code.