#[non_exhaustive]pub struct ModifyGlobalReplicationGroupInput { /* private fields */ }
Implementations§
source§impl ModifyGlobalReplicationGroupInput
impl ModifyGlobalReplicationGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyGlobalReplicationGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyGlobalReplicationGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyGlobalReplicationGroup
>
Examples found in repository?
8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyGlobalReplicationGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyGlobalReplicationGroupError>,
> {
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::ModifyGlobalReplicationGroupOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyGlobalReplicationGroupError>,
> {
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 ModifyGlobalReplicationGroupInput
.
source§impl ModifyGlobalReplicationGroupInput
impl ModifyGlobalReplicationGroupInput
sourcepub fn global_replication_group_id(&self) -> Option<&str>
pub fn global_replication_group_id(&self) -> Option<&str>
The name of the Global datastore
sourcepub fn apply_immediately(&self) -> bool
pub fn apply_immediately(&self) -> bool
This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.
sourcepub fn cache_node_type(&self) -> Option<&str>
pub fn cache_node_type(&self) -> Option<&str>
A valid cache node type that you want to scale this Global datastore to.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The upgraded version of the cache engine to be run on the clusters in the Global datastore.
sourcepub fn cache_parameter_group_name(&self) -> Option<&str>
pub fn cache_parameter_group_name(&self) -> Option<&str>
The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
sourcepub fn global_replication_group_description(&self) -> Option<&str>
pub fn global_replication_group_description(&self) -> Option<&str>
A description of the Global datastore
sourcepub fn automatic_failover_enabled(&self) -> Option<bool>
pub fn automatic_failover_enabled(&self) -> Option<bool>
Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
Trait Implementations§
source§impl Clone for ModifyGlobalReplicationGroupInput
impl Clone for ModifyGlobalReplicationGroupInput
source§fn clone(&self) -> ModifyGlobalReplicationGroupInput
fn clone(&self) -> ModifyGlobalReplicationGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more