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

Description

Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.

Synopsis

Creating a Request

data UpdateMacieSession Source #

See: newUpdateMacieSession smart constructor.

Constructors

UpdateMacieSession' 

Fields

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

Instances

Instances details
ToJSON UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

ToHeaders UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

ToPath UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

ToQuery UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

AWSRequest UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Associated Types

type AWSResponse UpdateMacieSession #

Generic UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Associated Types

type Rep UpdateMacieSession :: Type -> Type #

Read UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Show UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

NFData UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Methods

rnf :: UpdateMacieSession -> () #

Eq UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Hashable UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

type AWSResponse UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

type Rep UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

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

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.

Constructors

UpdateMacieSessionResponse' 

Fields

Instances

Instances details
Generic UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Associated Types

type Rep UpdateMacieSessionResponse :: Type -> Type #

Read UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Show UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

NFData UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Eq UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

type Rep UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

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

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