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 Security Hub administrator account for the current member account.
Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.
Synopsis
- data GetAdministratorAccount = GetAdministratorAccount' {
- newGetAdministratorAccount :: GetAdministratorAccount
- data GetAdministratorAccountResponse = GetAdministratorAccountResponse' {}
- newGetAdministratorAccountResponse :: Int -> GetAdministratorAccountResponse
- getAdministratorAccountResponse_administrator :: Lens' GetAdministratorAccountResponse (Maybe Invitation)
- getAdministratorAccountResponse_httpStatus :: Lens' GetAdministratorAccountResponse Int
Creating a Request
data GetAdministratorAccount Source #
See: newGetAdministratorAccount
smart constructor.
Instances
newGetAdministratorAccount :: GetAdministratorAccount Source #
Create a value of GetAdministratorAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAdministratorAccountResponse Source #
See: newGetAdministratorAccountResponse
smart constructor.
GetAdministratorAccountResponse' | |
|
Instances
newGetAdministratorAccountResponse Source #
Create a value of GetAdministratorAccountResponse
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:administrator:GetAdministratorAccountResponse'
, getAdministratorAccountResponse_administrator
- Undocumented member.
$sel:httpStatus:GetAdministratorAccountResponse'
, getAdministratorAccountResponse_httpStatus
- The response's http status code.
Response Lenses
getAdministratorAccountResponse_administrator :: Lens' GetAdministratorAccountResponse (Maybe Invitation) Source #
Undocumented member.
getAdministratorAccountResponse_httpStatus :: Lens' GetAdministratorAccountResponse Int Source #
The response's http status code.