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 |
Designates an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization.
Synopsis
- data EnableOrganizationAdminAccount = EnableOrganizationAdminAccount' {}
- newEnableOrganizationAdminAccount :: Text -> EnableOrganizationAdminAccount
- enableOrganizationAdminAccount_clientToken :: Lens' EnableOrganizationAdminAccount (Maybe Text)
- enableOrganizationAdminAccount_adminAccountId :: Lens' EnableOrganizationAdminAccount Text
- data EnableOrganizationAdminAccountResponse = EnableOrganizationAdminAccountResponse' {
- httpStatus :: Int
- newEnableOrganizationAdminAccountResponse :: Int -> EnableOrganizationAdminAccountResponse
- enableOrganizationAdminAccountResponse_httpStatus :: Lens' EnableOrganizationAdminAccountResponse Int
Creating a Request
data EnableOrganizationAdminAccount Source #
See: newEnableOrganizationAdminAccount
smart constructor.
EnableOrganizationAdminAccount' | |
|
Instances
newEnableOrganizationAdminAccount Source #
Create a value of EnableOrganizationAdminAccount
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:clientToken:EnableOrganizationAdminAccount'
, enableOrganizationAdminAccount_clientToken
- A unique, case-sensitive token that you provide to ensure the
idempotency of the request.
$sel:adminAccountId:EnableOrganizationAdminAccount'
, enableOrganizationAdminAccount_adminAccountId
- The Amazon Web Services account ID for the account to designate as the
delegated Amazon Macie administrator account for the organization.
Request Lenses
enableOrganizationAdminAccount_clientToken :: Lens' EnableOrganizationAdminAccount (Maybe Text) Source #
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
enableOrganizationAdminAccount_adminAccountId :: Lens' EnableOrganizationAdminAccount Text Source #
The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
Destructuring the Response
data EnableOrganizationAdminAccountResponse Source #
See: newEnableOrganizationAdminAccountResponse
smart constructor.
EnableOrganizationAdminAccountResponse' | |
|
Instances
newEnableOrganizationAdminAccountResponse Source #
Create a value of EnableOrganizationAdminAccountResponse
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:EnableOrganizationAdminAccountResponse'
, enableOrganizationAdminAccountResponse_httpStatus
- The response's http status code.
Response Lenses
enableOrganizationAdminAccountResponse_httpStatus :: Lens' EnableOrganizationAdminAccountResponse Int Source #
The response's http status code.