| 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 |
Amazonka.MacieV2.EnableMacie
Description
Enables Amazon Macie and specifies the configuration settings for a Macie account.
Synopsis
- data EnableMacie = EnableMacie' {}
- newEnableMacie :: EnableMacie
- enableMacie_clientToken :: Lens' EnableMacie (Maybe Text)
- enableMacie_findingPublishingFrequency :: Lens' EnableMacie (Maybe FindingPublishingFrequency)
- enableMacie_status :: Lens' EnableMacie (Maybe MacieStatus)
- data EnableMacieResponse = EnableMacieResponse' {
- httpStatus :: Int
- newEnableMacieResponse :: Int -> EnableMacieResponse
- enableMacieResponse_httpStatus :: Lens' EnableMacieResponse Int
Creating a Request
data EnableMacie Source #
See: newEnableMacie smart constructor.
Constructors
| EnableMacie' | |
Fields
| |
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: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 Amazon CloudWatch Events).
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.
Request Lenses
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 Amazon CloudWatch Events).
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.
Destructuring the Response
data EnableMacieResponse Source #
See: newEnableMacieResponse smart constructor.
Constructors
| EnableMacieResponse' | |
Fields
| |
Instances
newEnableMacieResponse Source #
Arguments
| :: Int | |
| -> EnableMacieResponse |
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.