| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Inspector2.DisableDelegatedAdminAccount
Description
Disables the Amazon Inspector delegated administrator for your organization.
Synopsis
- data DisableDelegatedAdminAccount = DisableDelegatedAdminAccount' {}
- newDisableDelegatedAdminAccount :: Text -> DisableDelegatedAdminAccount
- disableDelegatedAdminAccount_delegatedAdminAccountId :: Lens' DisableDelegatedAdminAccount Text
- data DisableDelegatedAdminAccountResponse = DisableDelegatedAdminAccountResponse' {}
- newDisableDelegatedAdminAccountResponse :: Int -> Text -> DisableDelegatedAdminAccountResponse
- disableDelegatedAdminAccountResponse_httpStatus :: Lens' DisableDelegatedAdminAccountResponse Int
- disableDelegatedAdminAccountResponse_delegatedAdminAccountId :: Lens' DisableDelegatedAdminAccountResponse Text
Creating a Request
data DisableDelegatedAdminAccount Source #
See: newDisableDelegatedAdminAccount smart constructor.
Constructors
| DisableDelegatedAdminAccount' | |
Fields
| |
Instances
newDisableDelegatedAdminAccount Source #
Arguments
| :: Text | |
| -> DisableDelegatedAdminAccount |
Create a value of DisableDelegatedAdminAccount 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:
DisableDelegatedAdminAccount, disableDelegatedAdminAccount_delegatedAdminAccountId - The Amazon Web Services account ID of the current Amazon Inspector
delegated administrator.
Request Lenses
disableDelegatedAdminAccount_delegatedAdminAccountId :: Lens' DisableDelegatedAdminAccount Text Source #
The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.
Destructuring the Response
data DisableDelegatedAdminAccountResponse Source #
See: newDisableDelegatedAdminAccountResponse smart constructor.
Constructors
| DisableDelegatedAdminAccountResponse' | |
Fields
| |
Instances
newDisableDelegatedAdminAccountResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> DisableDelegatedAdminAccountResponse |
Create a value of DisableDelegatedAdminAccountResponse 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:DisableDelegatedAdminAccountResponse', disableDelegatedAdminAccountResponse_httpStatus - The response's http status code.
DisableDelegatedAdminAccount, disableDelegatedAdminAccountResponse_delegatedAdminAccountId - The Amazon Web Services account ID of the successfully disabled
delegated administrator.
Response Lenses
disableDelegatedAdminAccountResponse_httpStatus :: Lens' DisableDelegatedAdminAccountResponse Int Source #
The response's http status code.
disableDelegatedAdminAccountResponse_delegatedAdminAccountId :: Lens' DisableDelegatedAdminAccountResponse Text Source #
The Amazon Web Services account ID of the successfully disabled delegated administrator.