Struct aws_sdk_backup::input::StopBackupJobInput
source · #[non_exhaustive]pub struct StopBackupJobInput { /* private fields */ }
Implementations§
source§impl StopBackupJobInput
impl StopBackupJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopBackupJob, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopBackupJob, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StopBackupJob
>
Examples found in repository?
src/client.rs (line 6891)
6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StopBackupJob,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::StopBackupJobError>,
> {
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::StopBackupJobOutput,
aws_smithy_http::result::SdkError<crate::error::StopBackupJobError>,
> {
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 StopBackupJobInput
.
source§impl StopBackupJobInput
impl StopBackupJobInput
sourcepub fn backup_job_id(&self) -> Option<&str>
pub fn backup_job_id(&self) -> Option<&str>
Uniquely identifies a request to Backup to back up a resource.
Trait Implementations§
source§impl Clone for StopBackupJobInput
impl Clone for StopBackupJobInput
source§fn clone(&self) -> StopBackupJobInput
fn clone(&self) -> StopBackupJobInput
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