| 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.CloudTrail.DeregisterOrganizationDelegatedAdmin
Description
Removes CloudTrail delegated administrator permissions from a member account in an organization.
Synopsis
- data DeregisterOrganizationDelegatedAdmin = DeregisterOrganizationDelegatedAdmin' {}
- newDeregisterOrganizationDelegatedAdmin :: Text -> DeregisterOrganizationDelegatedAdmin
- deregisterOrganizationDelegatedAdmin_delegatedAdminAccountId :: Lens' DeregisterOrganizationDelegatedAdmin Text
- data DeregisterOrganizationDelegatedAdminResponse = DeregisterOrganizationDelegatedAdminResponse' {
- httpStatus :: Int
- newDeregisterOrganizationDelegatedAdminResponse :: Int -> DeregisterOrganizationDelegatedAdminResponse
- deregisterOrganizationDelegatedAdminResponse_httpStatus :: Lens' DeregisterOrganizationDelegatedAdminResponse Int
Creating a Request
data DeregisterOrganizationDelegatedAdmin Source #
Removes CloudTrail delegated administrator permissions from a specified member account in an organization that is currently designated as a delegated administrator.
See: newDeregisterOrganizationDelegatedAdmin smart constructor.
Constructors
| DeregisterOrganizationDelegatedAdmin' | |
Fields
| |
Instances
newDeregisterOrganizationDelegatedAdmin Source #
Arguments
| :: Text |
|
| -> DeregisterOrganizationDelegatedAdmin |
Create a value of DeregisterOrganizationDelegatedAdmin 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:delegatedAdminAccountId:DeregisterOrganizationDelegatedAdmin', deregisterOrganizationDelegatedAdmin_delegatedAdminAccountId - A delegated administrator account ID. This is a member account in an
organization that is currently designated as a delegated administrator.
Request Lenses
deregisterOrganizationDelegatedAdmin_delegatedAdminAccountId :: Lens' DeregisterOrganizationDelegatedAdmin Text Source #
A delegated administrator account ID. This is a member account in an organization that is currently designated as a delegated administrator.
Destructuring the Response
data DeregisterOrganizationDelegatedAdminResponse Source #
Returns the following response if successful. Otherwise, returns an error.
See: newDeregisterOrganizationDelegatedAdminResponse smart constructor.
Constructors
| DeregisterOrganizationDelegatedAdminResponse' | |
Fields
| |
Instances
newDeregisterOrganizationDelegatedAdminResponse Source #
Arguments
| :: Int |
|
| -> DeregisterOrganizationDelegatedAdminResponse |
Create a value of DeregisterOrganizationDelegatedAdminResponse 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:DeregisterOrganizationDelegatedAdminResponse', deregisterOrganizationDelegatedAdminResponse_httpStatus - The response's http status code.
Response Lenses
deregisterOrganizationDelegatedAdminResponse_httpStatus :: Lens' DeregisterOrganizationDelegatedAdminResponse Int Source #
The response's http status code.