amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.EnableMacie

Description

Enables Amazon Macie and specifies the configuration settings for a Macie account.

Synopsis

Creating a Request

data EnableMacie Source #

See: newEnableMacie smart constructor.

Constructors

EnableMacie' 

Fields

  • clientToken :: Maybe Text

    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

  • findingPublishingFrequency :: Maybe 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).

  • status :: Maybe MacieStatus

    Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.

Instances

Instances details
ToJSON EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

ToHeaders EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Methods

toHeaders :: EnableMacie -> [Header] #

ToPath EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

ToQuery EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

AWSRequest EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Associated Types

type AWSResponse EnableMacie #

Generic EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Associated Types

type Rep EnableMacie :: Type -> Type #

Read EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Show EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

NFData EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Methods

rnf :: EnableMacie -> () #

Eq EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Hashable EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

type AWSResponse EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

type Rep EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

type Rep EnableMacie = D1 ('MetaData "EnableMacie" "Amazonka.MacieV2.EnableMacie" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "EnableMacie'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "findingPublishingFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingPublishingFrequency)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MacieStatus)))))

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

Instances details
Generic EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Associated Types

type Rep EnableMacieResponse :: Type -> Type #

Read EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Show EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

NFData EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Methods

rnf :: EnableMacieResponse -> () #

Eq EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

type Rep EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

type Rep EnableMacieResponse = D1 ('MetaData "EnableMacieResponse" "Amazonka.MacieV2.EnableMacie" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "EnableMacieResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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