| 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.AuditManager.GetAccountStatus
Description
Returns the registration status of an account in Audit Manager.
Synopsis
- data GetAccountStatus = GetAccountStatus' {
- newGetAccountStatus :: GetAccountStatus
- data GetAccountStatusResponse = GetAccountStatusResponse' {}
- newGetAccountStatusResponse :: Int -> GetAccountStatusResponse
- getAccountStatusResponse_status :: Lens' GetAccountStatusResponse (Maybe AccountStatus)
- getAccountStatusResponse_httpStatus :: Lens' GetAccountStatusResponse Int
Creating a Request
data GetAccountStatus Source #
See: newGetAccountStatus smart constructor.
Constructors
| GetAccountStatus' | |
Instances
newGetAccountStatus :: GetAccountStatus Source #
Create a value of GetAccountStatus with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAccountStatusResponse Source #
See: newGetAccountStatusResponse smart constructor.
Constructors
| GetAccountStatusResponse' | |
Fields
| |
Instances
newGetAccountStatusResponse Source #
Create a value of GetAccountStatusResponse 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:
GetAccountStatusResponse, getAccountStatusResponse_status - The status of the Amazon Web Services account.
$sel:httpStatus:GetAccountStatusResponse', getAccountStatusResponse_httpStatus - The response's http status code.
Response Lenses
getAccountStatusResponse_status :: Lens' GetAccountStatusResponse (Maybe AccountStatus) Source #
The status of the Amazon Web Services account.
getAccountStatusResponse_httpStatus :: Lens' GetAccountStatusResponse Int Source #
The response's http status code.