| 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.GetDelegatedAdminAccount
Description
Retrieves information about the Amazon Inspector delegated administrator for your organization.
Synopsis
- data GetDelegatedAdminAccount = GetDelegatedAdminAccount' {
- newGetDelegatedAdminAccount :: GetDelegatedAdminAccount
- data GetDelegatedAdminAccountResponse = GetDelegatedAdminAccountResponse' {}
- newGetDelegatedAdminAccountResponse :: Int -> GetDelegatedAdminAccountResponse
- getDelegatedAdminAccountResponse_delegatedAdmin :: Lens' GetDelegatedAdminAccountResponse (Maybe DelegatedAdmin)
- getDelegatedAdminAccountResponse_httpStatus :: Lens' GetDelegatedAdminAccountResponse Int
Creating a Request
data GetDelegatedAdminAccount Source #
See: newGetDelegatedAdminAccount smart constructor.
Constructors
| GetDelegatedAdminAccount' | |
Instances
newGetDelegatedAdminAccount :: GetDelegatedAdminAccount Source #
Create a value of GetDelegatedAdminAccount with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetDelegatedAdminAccountResponse Source #
See: newGetDelegatedAdminAccountResponse smart constructor.
Constructors
| GetDelegatedAdminAccountResponse' | |
Fields
| |
Instances
newGetDelegatedAdminAccountResponse Source #
Create a value of GetDelegatedAdminAccountResponse 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:delegatedAdmin:GetDelegatedAdminAccountResponse', getDelegatedAdminAccountResponse_delegatedAdmin - The Amazon Web Services account ID of the Amazon Inspector delegated
administrator.
$sel:httpStatus:GetDelegatedAdminAccountResponse', getDelegatedAdminAccountResponse_httpStatus - The response's http status code.
Response Lenses
getDelegatedAdminAccountResponse_delegatedAdmin :: Lens' GetDelegatedAdminAccountResponse (Maybe DelegatedAdmin) Source #
The Amazon Web Services account ID of the Amazon Inspector delegated administrator.
getDelegatedAdminAccountResponse_httpStatus :: Lens' GetDelegatedAdminAccountResponse Int Source #
The response's http status code.