Struct aws_sdk_backup::input::StartReportJobInput
source · #[non_exhaustive]pub struct StartReportJobInput { /* private fields */ }
Implementations§
source§impl StartReportJobInput
impl StartReportJobInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartReportJob, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartReportJob, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartReportJob
>
Examples found in repository?
src/client.rs (line 6617)
6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StartReportJob,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::StartReportJobError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::StartReportJobOutput,
aws_smithy_http::result::SdkError<crate::error::StartReportJobError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartReportJobInput
.
source§impl StartReportJobInput
impl StartReportJobInput
sourcepub fn report_plan_name(&self) -> Option<&str>
pub fn report_plan_name(&self) -> Option<&str>
The unique name of a report plan.
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 StartReportJobInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Trait Implementations§
source§impl Clone for StartReportJobInput
impl Clone for StartReportJobInput
source§fn clone(&self) -> StartReportJobInput
fn clone(&self) -> StartReportJobInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more