Struct aws_sdk_backup::types::ReportPlan
source · #[non_exhaustive]pub struct ReportPlan {
pub report_plan_arn: Option<String>,
pub report_plan_name: Option<String>,
pub report_plan_description: Option<String>,
pub report_setting: Option<ReportSetting>,
pub report_delivery_channel: Option<ReportDeliveryChannel>,
pub deployment_status: Option<String>,
pub creation_time: Option<DateTime>,
pub last_attempted_execution_time: Option<DateTime>,
pub last_successful_execution_time: Option<DateTime>,
}
Expand description
Contains detailed information about a report plan.
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_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_plan_name: Option<String>
The unique name of the report plan. This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
report_plan_description: Option<String>
An optional description of the report plan with a maximum 1,024 characters.
report_setting: Option<ReportSetting>
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
If the report template is RESOURCE_COMPLIANCE_REPORT
or CONTROL_COMPLIANCE_REPORT
, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.
report_delivery_channel: Option<ReportDeliveryChannel>
Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
deployment_status: Option<String>
The deployment status of a report plan. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED
creation_time: Option<DateTime>
The date and time that a report plan 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.
last_attempted_execution_time: Option<DateTime>
The date and time that a report job associated with this report plan last attempted to run, in Unix format and Coordinated Universal Time (UTC). The value of LastAttemptedExecutionTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
last_successful_execution_time: Option<DateTime>
The date and time that a report job associated with this report plan last successfully ran, in Unix format and Coordinated Universal Time (UTC). The value of LastSuccessfulExecutionTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
Implementations§
source§impl ReportPlan
impl ReportPlan
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_plan_name(&self) -> Option<&str>
pub fn report_plan_name(&self) -> Option<&str>
The unique name of the report plan. This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
sourcepub fn report_plan_description(&self) -> Option<&str>
pub fn report_plan_description(&self) -> Option<&str>
An optional description of the report plan with a maximum 1,024 characters.
sourcepub fn report_setting(&self) -> Option<&ReportSetting>
pub fn report_setting(&self) -> Option<&ReportSetting>
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
If the report template is RESOURCE_COMPLIANCE_REPORT
or CONTROL_COMPLIANCE_REPORT
, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.
sourcepub fn report_delivery_channel(&self) -> Option<&ReportDeliveryChannel>
pub fn report_delivery_channel(&self) -> Option<&ReportDeliveryChannel>
Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
sourcepub fn deployment_status(&self) -> Option<&str>
pub fn deployment_status(&self) -> Option<&str>
The deployment status of a report plan. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The date and time that a report plan 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 last_attempted_execution_time(&self) -> Option<&DateTime>
pub fn last_attempted_execution_time(&self) -> Option<&DateTime>
The date and time that a report job associated with this report plan last attempted to run, in Unix format and Coordinated Universal Time (UTC). The value of LastAttemptedExecutionTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn last_successful_execution_time(&self) -> Option<&DateTime>
pub fn last_successful_execution_time(&self) -> Option<&DateTime>
The date and time that a report job associated with this report plan last successfully ran, in Unix format and Coordinated Universal Time (UTC). The value of LastSuccessfulExecutionTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
source§impl ReportPlan
impl ReportPlan
sourcepub fn builder() -> ReportPlanBuilder
pub fn builder() -> ReportPlanBuilder
Creates a new builder-style object to manufacture ReportPlan
.
Trait Implementations§
source§impl Clone for ReportPlan
impl Clone for ReportPlan
source§fn clone(&self) -> ReportPlan
fn clone(&self) -> ReportPlan
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReportPlan
impl Debug for ReportPlan
source§impl PartialEq for ReportPlan
impl PartialEq for ReportPlan
source§fn eq(&self, other: &ReportPlan) -> bool
fn eq(&self, other: &ReportPlan) -> bool
self
and other
values to be equal, and is used
by ==
.