[ aws . backup ]

list-report-jobs

Description

Returns details about your report jobs.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  list-report-jobs
[--by-report-plan-name <value>]
[--by-creation-before <value>]
[--by-creation-after <value>]
[--by-status <value>]
[--max-results <value>]
[--next-token <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--by-report-plan-name (string)

Returns only report jobs with the specified report plan name.

--by-creation-before (timestamp)

Returns only report jobs that were created before the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.

--by-creation-after (timestamp)

Returns only report jobs that were created after the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.

--by-status (string)

Returns only report jobs that are in the specified status. The statuses are:

CREATED | RUNNING | COMPLETED | FAILED

--max-results (integer)

The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

--next-token (string)

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

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

See ‘aws help’ for descriptions of global parameters.

Output

ReportJobs -> (list)

Details about your report jobs in JSON format.

(structure)

Contains detailed information about a report job. A report job compiles a report based on a report plan and publishes it to Amazon S3.

ReportJobId -> (string)

The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. Report job IDs cannot be edited.

ReportPlanArn -> (string)

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

ReportTemplate -> (string)

Identifies the report template for the report. Reports are built using a report template. The report templates are:

RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT

CreationTime -> (timestamp)

The date and time that a report job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

CompletionTime -> (timestamp)

The date and time that a report job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Status -> (string)

The status of a report job. The statuses are:

CREATED | RUNNING | COMPLETED | FAILED

COMPLETED means that the report is available for your review at your designated destination. If the status is FAILED , review the StatusMessage for the reason.

StatusMessage -> (string)

A message explaining the status of the report job.

ReportDestination -> (structure)

The S3 bucket name and S3 keys for the destination where the report job publishes the report.

S3BucketName -> (string)

The unique name of the Amazon S3 bucket that receives your reports.

S3Keys -> (list)

The object key that uniquely identifies your reports in your S3 bucket.

(string)

NextToken -> (string)

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.