Struct aws_sdk_backup::types::ReportJob
source · #[non_exhaustive]pub struct ReportJob {
pub report_job_id: Option<String>,
pub report_plan_arn: Option<String>,
pub report_template: Option<String>,
pub creation_time: Option<DateTime>,
pub completion_time: Option<DateTime>,
pub status: Option<String>,
pub status_message: Option<String>,
pub report_destination: Option<ReportDestination>,
}
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.report_job_id: Option<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.
report_plan_arn: Option<String>
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
report_template: Option<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
creation_time: 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.
completion_time: 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.
status: Option<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.
status_message: Option<String>
A message explaining the status of the report job.
report_destination: Option<ReportDestination>
The S3 bucket name and S3 keys for the destination where the report job publishes the report.
Implementations§
source§impl 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.