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

Description

 
Synopsis

Documentation

data JobDetails Source #

Specifies whether any one-time or recurring classification jobs are configured to analyze data in an S3 bucket, and, if so, the details of the job that ran most recently.

See: newJobDetails smart constructor.

Constructors

JobDetails' 

Fields

  • isMonitoredByJob :: Maybe IsMonitoredByJob

    Specifies whether any recurring jobs are configured to analyze data in the bucket. Possible values are:

    • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more recurring jobs or the bucket matches the bucket criteria (S3BucketCriteriaForJob) for one or more recurring jobs. At least one of those jobs has a status other than CANCELLED.
    • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any recurring jobs, the bucket doesn't match the bucket criteria (S3BucketCriteriaForJob) for any recurring jobs, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.
    • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
  • isDefinedInJob :: Maybe IsDefinedInJob

    Specifies whether any one-time or recurring jobs are configured to analyze data in the bucket. Possible values are:

    • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more jobs and at least one of those jobs has a status other than CANCELLED. Or the bucket matched the bucket criteria (S3BucketCriteriaForJob) for at least one job that previously ran.
    • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any jobs, all the jobs that explicitly include the bucket in their bucket definitions have a status of CANCELLED, or the bucket didn't match the bucket criteria (S3BucketCriteriaForJob) for any jobs that previously ran.
    • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
  • lastJobId :: Maybe Text

    The unique identifier for the job that ran most recently and is configured to analyze data in the bucket, either the latest run of a recurring job or the only run of a one-time job.

    This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

  • lastJobRunTime :: Maybe POSIX

    The date and time, in UTC and extended ISO 8601 format, when the job (lastJobId) started. If the job is a recurring job, this value indicates when the most recent run started.

    This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

Instances

Instances details
Eq JobDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobDetails

Read JobDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobDetails

Show JobDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobDetails

Generic JobDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobDetails

Associated Types

type Rep JobDetails :: Type -> Type #

NFData JobDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobDetails

Methods

rnf :: JobDetails -> () #

Hashable JobDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobDetails

FromJSON JobDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobDetails

type Rep JobDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.JobDetails

type Rep JobDetails = D1 ('MetaData "JobDetails" "Amazonka.MacieV2.Types.JobDetails" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "JobDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "isMonitoredByJob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IsMonitoredByJob)) :*: S1 ('MetaSel ('Just "isDefinedInJob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IsDefinedInJob))) :*: (S1 ('MetaSel ('Just "lastJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastJobRunTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newJobDetails :: JobDetails Source #

Create a value of JobDetails 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:isMonitoredByJob:JobDetails', jobDetails_isMonitoredByJob - Specifies whether any recurring jobs are configured to analyze data in the bucket. Possible values are:

  • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more recurring jobs or the bucket matches the bucket criteria (S3BucketCriteriaForJob) for one or more recurring jobs. At least one of those jobs has a status other than CANCELLED.
  • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any recurring jobs, the bucket doesn't match the bucket criteria (S3BucketCriteriaForJob) for any recurring jobs, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.
  • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

$sel:isDefinedInJob:JobDetails', jobDetails_isDefinedInJob - Specifies whether any one-time or recurring jobs are configured to analyze data in the bucket. Possible values are:

  • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more jobs and at least one of those jobs has a status other than CANCELLED. Or the bucket matched the bucket criteria (S3BucketCriteriaForJob) for at least one job that previously ran.
  • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any jobs, all the jobs that explicitly include the bucket in their bucket definitions have a status of CANCELLED, or the bucket didn't match the bucket criteria (S3BucketCriteriaForJob) for any jobs that previously ran.
  • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

$sel:lastJobId:JobDetails', jobDetails_lastJobId - The unique identifier for the job that ran most recently and is configured to analyze data in the bucket, either the latest run of a recurring job or the only run of a one-time job.

This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

$sel:lastJobRunTime:JobDetails', jobDetails_lastJobRunTime - The date and time, in UTC and extended ISO 8601 format, when the job (lastJobId) started. If the job is a recurring job, this value indicates when the most recent run started.

This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

jobDetails_isMonitoredByJob :: Lens' JobDetails (Maybe IsMonitoredByJob) Source #

Specifies whether any recurring jobs are configured to analyze data in the bucket. Possible values are:

  • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more recurring jobs or the bucket matches the bucket criteria (S3BucketCriteriaForJob) for one or more recurring jobs. At least one of those jobs has a status other than CANCELLED.
  • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any recurring jobs, the bucket doesn't match the bucket criteria (S3BucketCriteriaForJob) for any recurring jobs, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.
  • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

jobDetails_isDefinedInJob :: Lens' JobDetails (Maybe IsDefinedInJob) Source #

Specifies whether any one-time or recurring jobs are configured to analyze data in the bucket. Possible values are:

  • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more jobs and at least one of those jobs has a status other than CANCELLED. Or the bucket matched the bucket criteria (S3BucketCriteriaForJob) for at least one job that previously ran.
  • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any jobs, all the jobs that explicitly include the bucket in their bucket definitions have a status of CANCELLED, or the bucket didn't match the bucket criteria (S3BucketCriteriaForJob) for any jobs that previously ran.
  • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

jobDetails_lastJobId :: Lens' JobDetails (Maybe Text) Source #

The unique identifier for the job that ran most recently and is configured to analyze data in the bucket, either the latest run of a recurring job or the only run of a one-time job.

This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

jobDetails_lastJobRunTime :: Lens' JobDetails (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when the job (lastJobId) started. If the job is a recurring job, this value indicates when the most recent run started.

This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.