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 Macie administrator account for an account.
Synopsis
- data GetAdministratorAccount = GetAdministratorAccount' {
- newGetAdministratorAccount :: GetAdministratorAccount
- data GetAdministratorAccountResponse = GetAdministratorAccountResponse' {}
- newGetAdministratorAccountResponse :: Int -> GetAdministratorAccountResponse
- getAdministratorAccountResponse_administrator :: Lens' GetAdministratorAccountResponse (Maybe Invitation)
- getAdministratorAccountResponse_httpStatus :: Lens' GetAdministratorAccountResponse Int
Creating a Request
data GetAdministratorAccount Source #
See: newGetAdministratorAccount
smart constructor.
Instances
newGetAdministratorAccount :: GetAdministratorAccount Source #
Create a value of GetAdministratorAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAdministratorAccountResponse Source #
See: newGetAdministratorAccountResponse
smart constructor.
GetAdministratorAccountResponse' | |
|
Instances
Generic GetAdministratorAccountResponse Source # | |
Read GetAdministratorAccountResponse Source # | |
Show GetAdministratorAccountResponse Source # | |
Defined in Amazonka.MacieV2.GetAdministratorAccount | |
NFData GetAdministratorAccountResponse Source # | |
Defined in Amazonka.MacieV2.GetAdministratorAccount rnf :: GetAdministratorAccountResponse -> () # | |
Eq GetAdministratorAccountResponse Source # | |
type Rep GetAdministratorAccountResponse Source # | |
Defined in Amazonka.MacieV2.GetAdministratorAccount type Rep GetAdministratorAccountResponse = D1 ('MetaData "GetAdministratorAccountResponse" "Amazonka.MacieV2.GetAdministratorAccount" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetAdministratorAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "administrator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Invitation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetAdministratorAccountResponse Source #
Create a value of GetAdministratorAccountResponse
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:administrator:GetAdministratorAccountResponse'
, getAdministratorAccountResponse_administrator
- The Amazon Web Services account ID for the administrator account. If the
accounts are associated by an Amazon Macie membership invitation, this
object also provides details about the invitation that was sent to
establish the relationship between the accounts.
$sel:httpStatus:GetAdministratorAccountResponse'
, getAdministratorAccountResponse_httpStatus
- The response's http status code.
Response Lenses
getAdministratorAccountResponse_administrator :: Lens' GetAdministratorAccountResponse (Maybe Invitation) Source #
The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.
getAdministratorAccountResponse_httpStatus :: Lens' GetAdministratorAccountResponse Int Source #
The response's http status code.