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 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.
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.
GetOrganizationAdminAccountResponse' | |
|
Instances
newGetOrganizationAdminAccountResponse Source #
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 specified administrator account.
$sel:organizationId:GetOrganizationAdminAccountResponse'
, getOrganizationAdminAccountResponse_organizationId
- The identifier for the specified 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 specified administrator account.
getOrganizationAdminAccountResponse_organizationId :: Lens' GetOrganizationAdminAccountResponse (Maybe Text) Source #
The identifier for the specified organization.
getOrganizationAdminAccountResponse_httpStatus :: Lens' GetOrganizationAdminAccountResponse Int Source #
The response's http status code.