[ aws . macie2 ]

update-classification-job

Description

Changes the status of a classification job.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  update-classification-job
--job-id <value>
--job-status <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--cli-auto-prompt <value>]

Options

--job-id (string)

The unique identifier for the classification job.

--job-status (string)

The new status for the job. Valid values are:

  • CANCELLED - Stops the job permanently and cancels it. You can’t resume a job after you cancel it. This value is valid only if the job’s current status is IDLE, PAUSED, RUNNING, or USER_PAUSED.

  • RUNNING - Resumes the job. This value is valid only if the job’s current status is USER_PAUSED. If you specify this value, Amazon Macie immediately resumes the job.

  • USER_PAUSED - Pauses the job. This value is valid only if the job’s current status is IDLE or RUNNING. If you specify this value and the job is currently running, Macie immediately stops running the job. To resume a job after you pause it, change the job’s status to RUNNING. If you don’t resume a job within 30 days of pausing it, the job expires and Macie cancels it. You can’t resume a job after it’s cancelled.

Possible values:

  • RUNNING

  • PAUSED

  • CANCELLED

  • COMPLETE

  • IDLE

  • USER_PAUSED

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those 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. This may not be specified along with --cli-input-yaml.

--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. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

--cli-auto-prompt (boolean) Automatically prompt for CLI input parameters.

See ‘aws help’ for descriptions of global parameters.

Output

None