| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AuditManager.GetOrganizationAdminAccount
Description
Returns the name of the delegated Amazon Web Services administrator account for the organization.
Synopsis
- data GetOrganizationAdminAccount = GetOrganizationAdminAccount' {
- newGetOrganizationAdminAccount :: GetOrganizationAdminAccount
- data GetOrganizationAdminAccountResponse = GetOrganizationAdminAccountResponse' {}
- newGetOrganizationAdminAccountResponse :: Int -> GetOrganizationAdminAccountResponse
- getOrganizationAdminAccountResponse_adminAccountId :: Lens' GetOrganizationAdminAccountResponse (Maybe Text)
- getOrganizationAdminAccountResponse_organizationId :: Lens' GetOrganizationAdminAccountResponse (Maybe Text)
- getOrganizationAdminAccountResponse_httpStatus :: Lens' GetOrganizationAdminAccountResponse Int
Creating a Request
data GetOrganizationAdminAccount Source #
See: newGetOrganizationAdminAccount smart constructor.
Constructors
| GetOrganizationAdminAccount' | |
Instances
newGetOrganizationAdminAccount :: GetOrganizationAdminAccount Source #
Create a value of GetOrganizationAdminAccount with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetOrganizationAdminAccountResponse Source #
See: newGetOrganizationAdminAccountResponse smart constructor.
Constructors
| GetOrganizationAdminAccountResponse' | |
Fields
| |
Instances
newGetOrganizationAdminAccountResponse Source #
Arguments
| :: Int | |
| -> GetOrganizationAdminAccountResponse |
Create a value of GetOrganizationAdminAccountResponse 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:adminAccountId:GetOrganizationAdminAccountResponse', getOrganizationAdminAccountResponse_adminAccountId - The identifier for the administrator account.
$sel:organizationId:GetOrganizationAdminAccountResponse', getOrganizationAdminAccountResponse_organizationId - The identifier for the organization.
$sel:httpStatus:GetOrganizationAdminAccountResponse', getOrganizationAdminAccountResponse_httpStatus - The response's http status code.
Response Lenses
getOrganizationAdminAccountResponse_adminAccountId :: Lens' GetOrganizationAdminAccountResponse (Maybe Text) Source #
The identifier for the administrator account.
getOrganizationAdminAccountResponse_organizationId :: Lens' GetOrganizationAdminAccountResponse (Maybe Text) Source #
The identifier for the organization.
getOrganizationAdminAccountResponse_httpStatus :: Lens' GetOrganizationAdminAccountResponse Int Source #
The response's http status code.