Struct aws_sdk_backup::input::CreateReportPlanInput
source · [−]#[non_exhaustive]pub struct CreateReportPlanInput {
pub report_plan_name: Option<String>,
pub report_plan_description: Option<String>,
pub report_delivery_channel: Option<ReportDeliveryChannel>,
pub report_setting: Option<ReportSetting>,
pub report_plan_tags: Option<HashMap<String, String>>,
pub idempotency_token: Option<String>,
}
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_name: Option<String>
The unique name of the report plan. The name must be 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 of 1,024 characters.
report_delivery_channel: Option<ReportDeliveryChannel>
A structure that 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.
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.
Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
idempotency_token: Option<String>
A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateReportPlanInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Implementations
sourceimpl CreateReportPlanInput
impl CreateReportPlanInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateReportPlan, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateReportPlan, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateReportPlan
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateReportPlanInput
sourceimpl CreateReportPlanInput
impl CreateReportPlanInput
sourcepub fn report_plan_name(&self) -> Option<&str>
pub fn report_plan_name(&self) -> Option<&str>
The unique name of the report plan. The name must be 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 of 1,024 characters.
sourcepub fn report_delivery_channel(&self) -> Option<&ReportDeliveryChannel>
pub fn report_delivery_channel(&self) -> Option<&ReportDeliveryChannel>
A structure that 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 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.
Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
sourcepub fn idempotency_token(&self) -> Option<&str>
pub fn idempotency_token(&self) -> Option<&str>
A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateReportPlanInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Trait Implementations
sourceimpl Clone for CreateReportPlanInput
impl Clone for CreateReportPlanInput
sourcefn clone(&self) -> CreateReportPlanInput
fn clone(&self) -> CreateReportPlanInput
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 CreateReportPlanInput
impl Debug for CreateReportPlanInput
sourceimpl PartialEq<CreateReportPlanInput> for CreateReportPlanInput
impl PartialEq<CreateReportPlanInput> for CreateReportPlanInput
sourcefn eq(&self, other: &CreateReportPlanInput) -> bool
fn eq(&self, other: &CreateReportPlanInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateReportPlanInput) -> bool
fn ne(&self, other: &CreateReportPlanInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateReportPlanInput
Auto Trait Implementations
impl RefUnwindSafe for CreateReportPlanInput
impl Send for CreateReportPlanInput
impl Sync for CreateReportPlanInput
impl Unpin for CreateReportPlanInput
impl UnwindSafe for CreateReportPlanInput
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