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

Description

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

Synopsis

Creating a Request

data UpdateMacieSession Source #

See: newUpdateMacieSession smart constructor.

Constructors

UpdateMacieSession' 

Fields

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

  • 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 UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Read UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Show UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Generic UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Associated Types

type Rep UpdateMacieSession :: Type -> Type #

NFData UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Methods

rnf :: UpdateMacieSession -> () #

Hashable UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

ToJSON UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

AWSRequest UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Associated Types

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

type Rep UpdateMacieSession Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

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

Defined in Amazonka.MacieV2.UpdateMacieSession

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:status: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.

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

Request Lenses

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.

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

Destructuring the Response

data UpdateMacieSessionResponse Source #

See: newUpdateMacieSessionResponse smart constructor.

Constructors

UpdateMacieSessionResponse' 

Fields

Instances

Instances details
Eq UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Read UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Show UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Generic UpdateMacieSessionResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateMacieSession

Associated Types

type Rep UpdateMacieSessionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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