Copyright | (c) 2013-2021 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 |
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
Synopsis
- data GetMasterAccount = GetMasterAccount' {
- detectorId :: Text
- newGetMasterAccount :: Text -> GetMasterAccount
- getMasterAccount_detectorId :: Lens' GetMasterAccount Text
- data GetMasterAccountResponse = GetMasterAccountResponse' {
- httpStatus :: Int
- master :: Master
- newGetMasterAccountResponse :: Int -> Master -> GetMasterAccountResponse
- getMasterAccountResponse_httpStatus :: Lens' GetMasterAccountResponse Int
- getMasterAccountResponse_master :: Lens' GetMasterAccountResponse Master
Creating a Request
data GetMasterAccount Source #
See: newGetMasterAccount
smart constructor.
GetMasterAccount' | |
|
Instances
Create a value of GetMasterAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:detectorId:GetMasterAccount'
, getMasterAccount_detectorId
- The unique ID of the detector of the GuardDuty member account.
Request Lenses
getMasterAccount_detectorId :: Lens' GetMasterAccount Text Source #
The unique ID of the detector of the GuardDuty member account.
Destructuring the Response
data GetMasterAccountResponse Source #
See: newGetMasterAccountResponse
smart constructor.
GetMasterAccountResponse' | |
|
Instances
newGetMasterAccountResponse Source #
:: Int | |
-> Master | |
-> GetMasterAccountResponse |
Create a value of GetMasterAccountResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetMasterAccountResponse'
, getMasterAccountResponse_httpStatus
- The response's http status code.
$sel:master:GetMasterAccountResponse'
, getMasterAccountResponse_master
- The administrator account details.
Response Lenses
getMasterAccountResponse_httpStatus :: Lens' GetMasterAccountResponse Int Source #
The response's http status code.
getMasterAccountResponse_master :: Lens' GetMasterAccountResponse Master Source #
The administrator account details.