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 |
Enables an AWS account within the organization as the GuardDuty delegated administrator.
Synopsis
- data EnableOrganizationAdminAccount = EnableOrganizationAdminAccount' {}
- newEnableOrganizationAdminAccount :: Text -> EnableOrganizationAdminAccount
- 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:adminAccountId:EnableOrganizationAdminAccount'
, enableOrganizationAdminAccount_adminAccountId
- The AWS Account ID for the organization account to be enabled as a
GuardDuty delegated administrator.
Request Lenses
enableOrganizationAdminAccount_adminAccountId :: Lens' EnableOrganizationAdminAccount Text Source #
The AWS Account ID for the organization account to be enabled as a GuardDuty delegated administrator.
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.