Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . macie2 ]

describe-classification-job

Description

Retrieves information about the status and settings for a classification job.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  describe-classification-job
--job-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--job-id (string)

The unique identifier for the classification job.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

clientToken -> (string)

The token that was provided to ensure the idempotency of the request to create the job.

createdAt -> (timestamp)

The date and time, in UTC and extended ISO 8601 format, when the job was created.

customDataIdentifierIds -> (list)

The custom data identifiers that the job uses to analyze data.

(string)

description -> (string)

The custom description of the job.

initialRun -> (boolean)

Specifies whether the job has run for the first time.

jobArn -> (string)

The Amazon Resource Name (ARN) of the job.

jobId -> (string)

The unique identifier for the job.

jobStatus -> (string)

The current status of the job. Possible value are:

  • CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
  • COMPLETE - Amazon Macie finished processing all the data specified for the job.
  • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
  • PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
  • RUNNING - The job is in progress.

jobType -> (string)

The schedule for running the job. Possible value are:

  • ONE_TIME - The job ran or will run only once.
  • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

lastRunTime -> (timestamp)

The date and time, in UTC and extended ISO 8601 format, when the job last ran.

name -> (string)

The custom name of the job.

s3JobDefinition -> (structure)

The S3 buckets that the job is configured to analyze, and the scope of that analysis.

bucketDefinitions -> (list)

An array of objects, one for each bucket that contains objects to analyze.

(structure)

Specifies which S3 buckets contain the objects that a classification job analyzes.

accountId -> (string)

The unique identifier for the AWS account that owns one or more of the buckets. If specified, the job analyzes objects in all the buckets that are owned by the account and meet other conditions specified for the job.

buckets -> (list)

An array that lists the names of the buckets.

(string)

scoping -> (structure)

A JobScopeTerm object that specifies conditions for including or excluding objects from the job.

excludes -> (structure)

Reserved for future use.

and -> (list)

Reserved for future use.

(structure)

Specifies one or more conditions that determine which objects a classification job analyzes.

simpleScopeTerm -> (structure)

A property-based condition that defines a property, operator, and one or more values for including or excluding an object from a job.

comparator -> (string)

The operator to use in the condition.

key -> (string)

The property to use in the condition.

values -> (list)

An array that lists one or more values to use in the condition.

(string)

tagScopeTerm -> (structure)

A tag-based condition that defines a property, operator, and one or more values for including or excluding an object from a job.

comparator -> (string)

The operator to use in the condition.

key -> (string)

The tag key to use in the condition.

tagValues -> (list)

The tag key and value pairs to use in the condition.

(structure)

Specifies a tag key and value, as a pair, to use in a tag-based condition for a classification job.

key -> (string)

The value for the tag key to use in the condition.

value -> (string)

The tag value, associated with the specified tag key, to use in the condition.

target -> (string)

The type of object to apply the condition to.

includes -> (structure)

Reserved for future use.

and -> (list)

Reserved for future use.

(structure)

Specifies one or more conditions that determine which objects a classification job analyzes.

simpleScopeTerm -> (structure)

A property-based condition that defines a property, operator, and one or more values for including or excluding an object from a job.

comparator -> (string)

The operator to use in the condition.

key -> (string)

The property to use in the condition.

values -> (list)

An array that lists one or more values to use in the condition.

(string)

tagScopeTerm -> (structure)

A tag-based condition that defines a property, operator, and one or more values for including or excluding an object from a job.

comparator -> (string)

The operator to use in the condition.

key -> (string)

The tag key to use in the condition.

tagValues -> (list)

The tag key and value pairs to use in the condition.

(structure)

Specifies a tag key and value, as a pair, to use in a tag-based condition for a classification job.

key -> (string)

The value for the tag key to use in the condition.

value -> (string)

The tag value, associated with the specified tag key, to use in the condition.

target -> (string)

The type of object to apply the condition to.

samplingPercentage -> (integer)

The sampling depth, as a percentage, that the job applies when it processes objects.

scheduleFrequency -> (structure)

The recurrence pattern for running the job. If the job is configured to run every day, this value is an empty dailySchedule object. If the job is configured to run only once, this value is null.

dailySchedule -> (structure)

Run the job once a day, every day. If specified, this is an empty object.

monthlySchedule -> (structure)

Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.

dayOfMonth -> (integer)

Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.

weeklySchedule -> (structure)

Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY.

dayOfWeek -> (string)

Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY.

statistics -> (structure)

The number of times that the job has run and processing statistics for the job's most recent run.

approximateNumberOfObjectsToProcess -> (double)

The approximate number of objects that the job has yet to process during its current run.

numberOfRuns -> (double)

The number of times that the job has run.

tags -> (map)

A map of key-value pairs that identifies the tags (keys and values) that are associated with the classification job.

key -> (string)

value -> (string)