libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • 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.

  • 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 called Amazon CloudWatch Events).

Instances

Instances details
Eq EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Read EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Show EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Generic EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Associated Types

type Rep EnableMacie :: Type -> Type #

NFData EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Methods

rnf :: EnableMacie -> () #

Hashable EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

ToJSON EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

AWSRequest EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Associated Types

type AWSResponse 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

type Rep EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

type Rep EnableMacie = D1 ('MetaData "EnableMacie" "Amazonka.MacieV2.EnableMacie" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "EnableMacie'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MacieStatus)) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "findingPublishingFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingPublishingFrequency)))))
type AWSResponse EnableMacie Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

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.

Constructors

EnableMacieResponse' 

Fields

Instances

Instances details
Eq EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Read EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Show EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Generic EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Associated Types

type Rep EnableMacieResponse :: Type -> Type #

NFData EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

Methods

rnf :: EnableMacieResponse -> () #

type Rep EnableMacieResponse Source # 
Instance details

Defined in Amazonka.MacieV2.EnableMacie

type Rep EnableMacieResponse = D1 ('MetaData "EnableMacieResponse" "Amazonka.MacieV2.EnableMacie" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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