Struct aws_sdk_dynamodb::input::DeleteBackupInput
source · #[non_exhaustive]pub struct DeleteBackupInput { /* private fields */ }
Implementations§
source§impl DeleteBackupInput
impl DeleteBackupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteBackup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteBackup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteBackup
>
Examples found in repository?
src/client.rs (line 1911)
1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteBackup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteBackupError>,
> {
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::DeleteBackupOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteBackupError>,
> {
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 DeleteBackupInput
.
source§impl DeleteBackupInput
impl DeleteBackupInput
sourcepub fn backup_arn(&self) -> Option<&str>
pub fn backup_arn(&self) -> Option<&str>
The ARN associated with the backup.
Trait Implementations§
source§impl Clone for DeleteBackupInput
impl Clone for DeleteBackupInput
source§fn clone(&self) -> DeleteBackupInput
fn clone(&self) -> DeleteBackupInput
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