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 |
Disables an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization.
Synopsis
- data DisableOrganizationAdminAccount = DisableOrganizationAdminAccount' {}
- newDisableOrganizationAdminAccount :: Text -> DisableOrganizationAdminAccount
- disableOrganizationAdminAccount_adminAccountId :: Lens' DisableOrganizationAdminAccount Text
- data DisableOrganizationAdminAccountResponse = DisableOrganizationAdminAccountResponse' {
- httpStatus :: Int
- newDisableOrganizationAdminAccountResponse :: Int -> DisableOrganizationAdminAccountResponse
- disableOrganizationAdminAccountResponse_httpStatus :: Lens' DisableOrganizationAdminAccountResponse Int
Creating a Request
data DisableOrganizationAdminAccount Source #
See: newDisableOrganizationAdminAccount
smart constructor.
DisableOrganizationAdminAccount' | |
|
Instances
newDisableOrganizationAdminAccount Source #
Create a value of DisableOrganizationAdminAccount
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:DisableOrganizationAdminAccount'
, disableOrganizationAdminAccount_adminAccountId
- The Amazon Web Services account ID of the delegated Amazon Macie
administrator account.
Request Lenses
disableOrganizationAdminAccount_adminAccountId :: Lens' DisableOrganizationAdminAccount Text Source #
The Amazon Web Services account ID of the delegated Amazon Macie administrator account.
Destructuring the Response
data DisableOrganizationAdminAccountResponse Source #
See: newDisableOrganizationAdminAccountResponse
smart constructor.
DisableOrganizationAdminAccountResponse' | |
|
Instances
newDisableOrganizationAdminAccountResponse Source #
Create a value of DisableOrganizationAdminAccountResponse
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:DisableOrganizationAdminAccountResponse'
, disableOrganizationAdminAccountResponse_httpStatus
- The response's http status code.
Response Lenses
disableOrganizationAdminAccountResponse_httpStatus :: Lens' DisableOrganizationAdminAccountResponse Int Source #
The response's http status code.