| 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.MacieV2.GetMasterAccount
Description
(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
Synopsis
- data GetMasterAccount = GetMasterAccount' {
- newGetMasterAccount :: GetMasterAccount
- data GetMasterAccountResponse = GetMasterAccountResponse' {
- master :: Maybe Invitation
- httpStatus :: Int
- newGetMasterAccountResponse :: Int -> GetMasterAccountResponse
- getMasterAccountResponse_master :: Lens' GetMasterAccountResponse (Maybe Invitation)
- getMasterAccountResponse_httpStatus :: Lens' GetMasterAccountResponse Int
Creating a Request
data GetMasterAccount Source #
See: newGetMasterAccount smart constructor.
Constructors
| GetMasterAccount' | |
Instances
newGetMasterAccount :: GetMasterAccount Source #
Create a value of GetMasterAccount with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetMasterAccountResponse Source #
See: newGetMasterAccountResponse smart constructor.
Constructors
| GetMasterAccountResponse' | |
Fields
| |
Instances
newGetMasterAccountResponse Source #
Create a value of GetMasterAccountResponse 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:master:GetMasterAccountResponse', getMasterAccountResponse_master - (Deprecated) The Amazon Web Services account ID for the administrator
account. If the accounts are associated by a Macie membership
invitation, this object also provides details about the invitation that
was sent to establish the relationship between the accounts.
$sel:httpStatus:GetMasterAccountResponse', getMasterAccountResponse_httpStatus - The response's http status code.
Response Lenses
getMasterAccountResponse_master :: Lens' GetMasterAccountResponse (Maybe Invitation) Source #
(Deprecated) The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.
getMasterAccountResponse_httpStatus :: Lens' GetMasterAccountResponse Int Source #
The response's http status code.