Struct aws_sdk_backup::model::ReportJob
source · [−]#[non_exhaustive]pub struct ReportJob { /* private fields */ }
Expand description
Contains detailed information about a report job. A report job compiles a report based on a report plan and publishes it to Amazon S3.
Implementations
sourceimpl ReportJob
impl ReportJob
sourcepub fn report_job_id(&self) -> Option<&str>
pub fn report_job_id(&self) -> Option<&str>
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.
sourcepub fn report_plan_arn(&self) -> Option<&str>
pub fn report_plan_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn report_template(&self) -> Option<&str>
pub fn report_template(&self) -> Option<&str>
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
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
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.
sourcepub fn completion_time(&self) -> Option<&DateTime>
pub fn completion_time(&self) -> Option<&DateTime>
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.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
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.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A message explaining the status of the report job.
sourcepub fn report_destination(&self) -> Option<&ReportDestination>
pub fn report_destination(&self) -> Option<&ReportDestination>
The S3 bucket name and S3 keys for the destination where the report job publishes the report.