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 the status and configuration settings for an Amazon Macie account.
Synopsis
- data GetMacieSession = GetMacieSession' {
- newGetMacieSession :: GetMacieSession
- data GetMacieSessionResponse = GetMacieSessionResponse' {}
- newGetMacieSessionResponse :: Int -> GetMacieSessionResponse
- getMacieSessionResponse_createdAt :: Lens' GetMacieSessionResponse (Maybe UTCTime)
- getMacieSessionResponse_findingPublishingFrequency :: Lens' GetMacieSessionResponse (Maybe FindingPublishingFrequency)
- getMacieSessionResponse_serviceRole :: Lens' GetMacieSessionResponse (Maybe Text)
- getMacieSessionResponse_status :: Lens' GetMacieSessionResponse (Maybe MacieStatus)
- getMacieSessionResponse_updatedAt :: Lens' GetMacieSessionResponse (Maybe UTCTime)
- getMacieSessionResponse_httpStatus :: Lens' GetMacieSessionResponse Int
Creating a Request
data GetMacieSession Source #
See: newGetMacieSession
smart constructor.
Instances
newGetMacieSession :: GetMacieSession Source #
Create a value of GetMacieSession
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetMacieSessionResponse Source #
See: newGetMacieSessionResponse
smart constructor.
GetMacieSessionResponse' | |
|
Instances
newGetMacieSessionResponse Source #
Create a value of GetMacieSessionResponse
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:
GetMacieSessionResponse
, getMacieSessionResponse_createdAt
- The date and time, in UTC and extended ISO 8601 format, when the Amazon
Macie account was created.
$sel:findingPublishingFrequency:GetMacieSessionResponse'
, getMacieSessionResponse_findingPublishingFrequency
- The frequency with which Amazon Macie publishes updates to policy
findings for the account. This includes publishing updates to Security
Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
$sel:serviceRole:GetMacieSessionResponse'
, getMacieSessionResponse_serviceRole
- The Amazon Resource Name (ARN) of the service-linked role that allows
Amazon Macie to monitor and analyze data in Amazon Web Services
resources for the account.
GetMacieSessionResponse
, getMacieSessionResponse_status
- The current status of the Amazon Macie account. Possible values are:
PAUSED, the account is enabled but all Macie activities are suspended
(paused) for the account; and, ENABLED, the account is enabled and all
Macie activities are enabled for the account.
GetMacieSessionResponse
, getMacieSessionResponse_updatedAt
- The date and time, in UTC and extended ISO 8601 format, of the most
recent change to the status of the Amazon Macie account.
$sel:httpStatus:GetMacieSessionResponse'
, getMacieSessionResponse_httpStatus
- The response's http status code.
Response Lenses
getMacieSessionResponse_createdAt :: Lens' GetMacieSessionResponse (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
getMacieSessionResponse_findingPublishingFrequency :: Lens' GetMacieSessionResponse (Maybe FindingPublishingFrequency) Source #
The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
getMacieSessionResponse_serviceRole :: Lens' GetMacieSessionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.
getMacieSessionResponse_status :: Lens' GetMacieSessionResponse (Maybe MacieStatus) Source #
The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.
getMacieSessionResponse_updatedAt :: Lens' GetMacieSessionResponse (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.
getMacieSessionResponse_httpStatus :: Lens' GetMacieSessionResponse Int Source #
The response's http status code.