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 |
Enables Amazon Macie and specifies the configuration settings for a Macie account.
Synopsis
- data EnableMacie = EnableMacie' {}
- newEnableMacie :: EnableMacie
- enableMacie_status :: Lens' EnableMacie (Maybe MacieStatus)
- enableMacie_clientToken :: Lens' EnableMacie (Maybe Text)
- enableMacie_findingPublishingFrequency :: Lens' EnableMacie (Maybe FindingPublishingFrequency)
- data EnableMacieResponse = EnableMacieResponse' {
- httpStatus :: Int
- newEnableMacieResponse :: Int -> EnableMacieResponse
- enableMacieResponse_httpStatus :: Lens' EnableMacieResponse Int
Creating a Request
data EnableMacie Source #
See: newEnableMacie
smart constructor.
EnableMacie' | |
|
Instances
newEnableMacie :: EnableMacie Source #
Create a value of EnableMacie
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:EnableMacie'
, enableMacie_status
- Specifies the new status for the account. To enable Amazon Macie and
start all Macie activities for the account, set this value to ENABLED.
$sel:clientToken:EnableMacie'
, enableMacie_clientToken
- A unique, case-sensitive token that you provide to ensure the
idempotency of the request.
$sel:findingPublishingFrequency:EnableMacie'
, enableMacie_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
enableMacie_status :: Lens' EnableMacie (Maybe MacieStatus) Source #
Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
enableMacie_clientToken :: Lens' EnableMacie (Maybe Text) Source #
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
enableMacie_findingPublishingFrequency :: Lens' EnableMacie (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 EnableMacieResponse Source #
See: newEnableMacieResponse
smart constructor.
EnableMacieResponse' | |
|
Instances
newEnableMacieResponse Source #
Create a value of EnableMacieResponse
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:EnableMacieResponse'
, enableMacieResponse_httpStatus
- The response's http status code.
Response Lenses
enableMacieResponse_httpStatus :: Lens' EnableMacieResponse Int Source #
The response's http status code.