Struct aws_sdk_backup::input::UpdateRegionSettingsInput
source · #[non_exhaustive]pub struct UpdateRegionSettingsInput { /* private fields */ }
Implementations§
source§impl UpdateRegionSettingsInput
impl UpdateRegionSettingsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRegionSettings, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRegionSettings, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateRegionSettings
>
Examples found in repository?
src/client.rs (line 7555)
7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateRegionSettings,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateRegionSettingsError>,
> {
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::UpdateRegionSettingsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateRegionSettingsError>,
> {
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 UpdateRegionSettingsInput
.
source§impl UpdateRegionSettingsInput
impl UpdateRegionSettingsInput
sourcepub fn resource_type_opt_in_preference(&self) -> Option<&HashMap<String, bool>>
pub fn resource_type_opt_in_preference(&self) -> Option<&HashMap<String, bool>>
Updates the list of services along with the opt-in preferences for the Region.
sourcepub fn resource_type_management_preference(
&self
) -> Option<&HashMap<String, bool>>
pub fn resource_type_management_preference(
&self
) -> Option<&HashMap<String, bool>>
Enables or disables full Backup management of backups for a resource type. To enable full Backup management for DynamoDB along with Backup's advanced DynamoDB backup features, follow the procedure to enable advanced DynamoDB backup programmatically.
Trait Implementations§
source§impl Clone for UpdateRegionSettingsInput
impl Clone for UpdateRegionSettingsInput
source§fn clone(&self) -> UpdateRegionSettingsInput
fn clone(&self) -> UpdateRegionSettingsInput
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