Struct aws_sdk_backup::model::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
sourceimpl 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.
sourceimpl ReportPlan
impl ReportPlan
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReportPlan
Trait Implementations
sourceimpl Clone for ReportPlan
impl Clone for ReportPlan
sourcefn clone(&self) -> ReportPlan
fn clone(&self) -> ReportPlan
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReportPlan
impl Debug for ReportPlan
sourceimpl PartialEq<ReportPlan> for ReportPlan
impl PartialEq<ReportPlan> for ReportPlan
sourcefn eq(&self, other: &ReportPlan) -> bool
fn eq(&self, other: &ReportPlan) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReportPlan) -> bool
fn ne(&self, other: &ReportPlan) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReportPlan
Auto Trait Implementations
impl RefUnwindSafe for ReportPlan
impl Send for ReportPlan
impl Sync for ReportPlan
impl Unpin for ReportPlan
impl UnwindSafe for ReportPlan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more