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 |
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.
Synopsis
- data GetAdminAccount = GetAdminAccount' {
- newGetAdminAccount :: GetAdminAccount
- data GetAdminAccountResponse = GetAdminAccountResponse' {}
- newGetAdminAccountResponse :: Int -> GetAdminAccountResponse
- getAdminAccountResponse_adminAccount :: Lens' GetAdminAccountResponse (Maybe Text)
- getAdminAccountResponse_roleStatus :: Lens' GetAdminAccountResponse (Maybe AccountRoleStatus)
- getAdminAccountResponse_httpStatus :: Lens' GetAdminAccountResponse Int
Creating a Request
data GetAdminAccount Source #
See: newGetAdminAccount
smart constructor.
Instances
newGetAdminAccount :: GetAdminAccount Source #
Create a value of GetAdminAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAdminAccountResponse Source #
See: newGetAdminAccountResponse
smart constructor.
GetAdminAccountResponse' | |
|
Instances
newGetAdminAccountResponse Source #
Create a value of GetAdminAccountResponse
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:adminAccount:GetAdminAccountResponse'
, getAdminAccountResponse_adminAccount
- The Amazon Web Services account that is set as the Firewall Manager
administrator.
$sel:roleStatus:GetAdminAccountResponse'
, getAdminAccountResponse_roleStatus
- The status of the Amazon Web Services account that you set as the
Firewall Manager administrator.
$sel:httpStatus:GetAdminAccountResponse'
, getAdminAccountResponse_httpStatus
- The response's http status code.
Response Lenses
getAdminAccountResponse_adminAccount :: Lens' GetAdminAccountResponse (Maybe Text) Source #
The Amazon Web Services account that is set as the Firewall Manager administrator.
getAdminAccountResponse_roleStatus :: Lens' GetAdminAccountResponse (Maybe AccountRoleStatus) Source #
The status of the Amazon Web Services account that you set as the Firewall Manager administrator.
getAdminAccountResponse_httpStatus :: Lens' GetAdminAccountResponse Int Source #
The response's http status code.