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 AWS account within the Organization as the GuardDuty delegated administrator.
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 AWS Account ID for the organizations account to be disabled as a
GuardDuty delegated administrator.
Request Lenses
disableOrganizationAdminAccount_adminAccountId :: Lens' DisableOrganizationAdminAccount Text Source #
The AWS Account ID for the organizations account to be disabled as a GuardDuty delegated administrator.
Destructuring the Response
data DisableOrganizationAdminAccountResponse Source #
See: newDisableOrganizationAdminAccountResponse
smart constructor.
DisableOrganizationAdminAccountResponse' | |
|
Instances
Eq DisableOrganizationAdminAccountResponse Source # | |
Read DisableOrganizationAdminAccountResponse Source # | |
Show DisableOrganizationAdminAccountResponse Source # | |
Generic DisableOrganizationAdminAccountResponse Source # | |
Defined in Amazonka.GuardDuty.DisableOrganizationAdminAccount type Rep DisableOrganizationAdminAccountResponse :: Type -> Type # | |
NFData DisableOrganizationAdminAccountResponse Source # | |
type Rep DisableOrganizationAdminAccountResponse Source # | |
Defined in Amazonka.GuardDuty.DisableOrganizationAdminAccount type Rep DisableOrganizationAdminAccountResponse = D1 ('MetaData "DisableOrganizationAdminAccountResponse" "Amazonka.GuardDuty.DisableOrganizationAdminAccount" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "DisableOrganizationAdminAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.