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 |
Provides the details for the GuardDuty master account to the current GuardDuty member account.
Synopsis
- getMasterAccount :: Text -> GetMasterAccount
- data GetMasterAccount
- gmaDetectorId :: Lens' GetMasterAccount Text
- getMasterAccountResponse :: Int -> GetMasterAccountResponse
- data GetMasterAccountResponse
- gmarsMaster :: Lens' GetMasterAccountResponse (Maybe Master)
- gmarsResponseStatus :: Lens' GetMasterAccountResponse Int
Creating a Request
Creates a value of GetMasterAccount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmaDetectorId
- The unique ID of the detector of the GuardDuty member account.
data GetMasterAccount Source #
See: getMasterAccount
smart constructor.
Instances
Request Lenses
gmaDetectorId :: Lens' GetMasterAccount Text Source #
The unique ID of the detector of the GuardDuty member account.
Destructuring the Response
getMasterAccountResponse Source #
Creates a value of GetMasterAccountResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmarsMaster
- Undocumented member.gmarsResponseStatus
- -- | The response status code.
data GetMasterAccountResponse Source #
See: getMasterAccountResponse
smart constructor.
Instances
Response Lenses
gmarsMaster :: Lens' GetMasterAccountResponse (Maybe Master) Source #
Undocumented member.
gmarsResponseStatus :: Lens' GetMasterAccountResponse Int Source #
- - | The response status code.