Struct aws_sdk_backup::client::fluent_builders::UpdateGlobalSettings
source · [−]pub struct UpdateGlobalSettings { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateGlobalSettings
.
Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not an Organizations management account. Use the DescribeGlobalSettings
API to determine the current settings.
Implementations
sourceimpl UpdateGlobalSettings
impl UpdateGlobalSettings
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateGlobalSettings, AwsResponseRetryClassifier>, SdkError<UpdateGlobalSettingsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateGlobalSettings, AwsResponseRetryClassifier>, SdkError<UpdateGlobalSettingsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateGlobalSettingsOutput, SdkError<UpdateGlobalSettingsError>>
pub async fn send(
self
) -> Result<UpdateGlobalSettingsOutput, SdkError<UpdateGlobalSettingsError>>
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.
sourcepub fn global_settings(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn global_settings(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to GlobalSettings
.
To override the contents of this collection use set_global_settings
.
A value for isCrossAccountBackupEnabled
and a Region. Example: update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2
.
Trait Implementations
sourceimpl Clone for UpdateGlobalSettings
impl Clone for UpdateGlobalSettings
sourcefn clone(&self) -> UpdateGlobalSettings
fn clone(&self) -> UpdateGlobalSettings
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more