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 |
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.
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.
GetDelegatedAdminAccountResponse' | |
|
Instances
Generic GetDelegatedAdminAccountResponse Source # | |
Read GetDelegatedAdminAccountResponse Source # | |
Show GetDelegatedAdminAccountResponse Source # | |
NFData GetDelegatedAdminAccountResponse Source # | |
Defined in Amazonka.Inspector2.GetDelegatedAdminAccount rnf :: GetDelegatedAdminAccountResponse -> () # | |
Eq GetDelegatedAdminAccountResponse Source # | |
type Rep GetDelegatedAdminAccountResponse Source # | |
Defined in Amazonka.Inspector2.GetDelegatedAdminAccount type Rep GetDelegatedAdminAccountResponse = D1 ('MetaData "GetDelegatedAdminAccountResponse" "Amazonka.Inspector2.GetDelegatedAdminAccount" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "GetDelegatedAdminAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "delegatedAdmin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DelegatedAdmin)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.