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.Types.LastRunErrorStatus

Description

 
Synopsis

Documentation

data LastRunErrorStatus Source #

Specifies whether any account- or bucket-level access errors occurred when a classification job ran. For information about using logging data to investigate these errors, see Monitoring sensitive data discovery jobs in the Amazon Macie User Guide.

See: newLastRunErrorStatus smart constructor.

Constructors

LastRunErrorStatus' 

Fields

  • code :: Maybe LastRunErrorStatusCode

    Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:

    • ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.
    • NONE - No errors occurred. Macie processed all the data specified for the job.

Instances

Instances details
FromJSON LastRunErrorStatus Source # 
Instance details

Defined in Amazonka.MacieV2.Types.LastRunErrorStatus

Generic LastRunErrorStatus Source # 
Instance details

Defined in Amazonka.MacieV2.Types.LastRunErrorStatus

Associated Types

type Rep LastRunErrorStatus :: Type -> Type #

Read LastRunErrorStatus Source # 
Instance details

Defined in Amazonka.MacieV2.Types.LastRunErrorStatus

Show LastRunErrorStatus Source # 
Instance details

Defined in Amazonka.MacieV2.Types.LastRunErrorStatus

NFData LastRunErrorStatus Source # 
Instance details

Defined in Amazonka.MacieV2.Types.LastRunErrorStatus

Methods

rnf :: LastRunErrorStatus -> () #

Eq LastRunErrorStatus Source # 
Instance details

Defined in Amazonka.MacieV2.Types.LastRunErrorStatus

Hashable LastRunErrorStatus Source # 
Instance details

Defined in Amazonka.MacieV2.Types.LastRunErrorStatus

type Rep LastRunErrorStatus Source # 
Instance details

Defined in Amazonka.MacieV2.Types.LastRunErrorStatus

type Rep LastRunErrorStatus = D1 ('MetaData "LastRunErrorStatus" "Amazonka.MacieV2.Types.LastRunErrorStatus" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "LastRunErrorStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LastRunErrorStatusCode))))

newLastRunErrorStatus :: LastRunErrorStatus Source #

Create a value of LastRunErrorStatus 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:code:LastRunErrorStatus', lastRunErrorStatus_code - Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:

  • ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.
  • NONE - No errors occurred. Macie processed all the data specified for the job.

lastRunErrorStatus_code :: Lens' LastRunErrorStatus (Maybe LastRunErrorStatusCode) Source #

Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:

  • ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.
  • NONE - No errors occurred. Macie processed all the data specified for the job.