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 |
Suspends or re-enables an Amazon Macie account, or updates the configuration settings for a Macie account.
Synopsis
- data UpdateMacieSession = UpdateMacieSession' {}
- newUpdateMacieSession :: UpdateMacieSession
- updateMacieSession_status :: Lens' UpdateMacieSession (Maybe MacieStatus)
- updateMacieSession_findingPublishingFrequency :: Lens' UpdateMacieSession (Maybe FindingPublishingFrequency)
- data UpdateMacieSessionResponse = UpdateMacieSessionResponse' {
- httpStatus :: Int
- newUpdateMacieSessionResponse :: Int -> UpdateMacieSessionResponse
- updateMacieSessionResponse_httpStatus :: Lens' UpdateMacieSessionResponse Int
Creating a Request
data UpdateMacieSession Source #
See: newUpdateMacieSession
smart constructor.
UpdateMacieSession' | |
|
Instances
newUpdateMacieSession :: UpdateMacieSession Source #
Create a value of UpdateMacieSession
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:UpdateMacieSession'
, updateMacieSession_status
- Specifies a new status for the account. Valid values are: ENABLED,
resume all Amazon Macie activities for the account; and, PAUSED, suspend
all Macie activities for the account.
$sel:findingPublishingFrequency:UpdateMacieSession'
, updateMacieSession_findingPublishingFrequency
- Specifies how often to publish updates to policy findings for the
account. This includes publishing updates to Security Hub and Amazon
EventBridge (formerly called Amazon CloudWatch Events).
Request Lenses
updateMacieSession_status :: Lens' UpdateMacieSession (Maybe MacieStatus) Source #
Specifies a new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
updateMacieSession_findingPublishingFrequency :: Lens' UpdateMacieSession (Maybe FindingPublishingFrequency) Source #
Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
Destructuring the Response
data UpdateMacieSessionResponse Source #
See: newUpdateMacieSessionResponse
smart constructor.
UpdateMacieSessionResponse' | |
|
Instances
newUpdateMacieSessionResponse Source #
Create a value of UpdateMacieSessionResponse
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:httpStatus:UpdateMacieSessionResponse'
, updateMacieSessionResponse_httpStatus
- The response's http status code.
Response Lenses
updateMacieSessionResponse_httpStatus :: Lens' UpdateMacieSessionResponse Int Source #
The response's http status code.