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 |
Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
Synopsis
- data UpdateMacieSession = UpdateMacieSession' {}
- newUpdateMacieSession :: UpdateMacieSession
- updateMacieSession_findingPublishingFrequency :: Lens' UpdateMacieSession (Maybe FindingPublishingFrequency)
- updateMacieSession_status :: Lens' UpdateMacieSession (Maybe MacieStatus)
- 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: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 Amazon CloudWatch Events).
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.
Request Lenses
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 Amazon CloudWatch Events).
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.
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.