Struct aws_sdk_backup::client::fluent_builders::CreateReportPlan [−][src]
pub struct CreateReportPlan<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateReportPlan
.
Creates a report plan. A report plan is a document that contains information about the contents of the report and where Backup will deliver it.
If you call CreateReportPlan
with a plan that already exists, you receive
an AlreadyExistsException
exception.
Implementations
impl<C, M, R> CreateReportPlan<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateReportPlan<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateReportPlanOutput, SdkError<CreateReportPlanError>> where
R::Policy: SmithyRetryPolicy<CreateReportPlanInputOperationOutputAlias, CreateReportPlanOutput, CreateReportPlanError, CreateReportPlanInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateReportPlanOutput, SdkError<CreateReportPlanError>> where
R::Policy: SmithyRetryPolicy<CreateReportPlanInputOperationOutputAlias, CreateReportPlanOutput, CreateReportPlanError, CreateReportPlanInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 (_).
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 (_).
An optional description of the report plan with a maximum of 1,024 characters.
An optional description of the report plan with a maximum of 1,024 characters.
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.
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.
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.
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.
Adds a key-value pair to ReportPlanTags
.
To override the contents of this collection use set_report_plan_tags
.
Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateReportPlan<C, M, R>
impl<C, M, R> Send for CreateReportPlan<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateReportPlan<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateReportPlan<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateReportPlan<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more