Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
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.
GetAccountStatusResponse' | |
|
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:
$sel:status:GetAccountStatusResponse'
, getAccountStatusResponse_status
- The status of the specified 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 specified Amazon Web Services account.
getAccountStatusResponse_httpStatus :: Lens' GetAccountStatusResponse Int Source #
The response's http status code.