#[non_exhaustive]pub struct IncreaseReplicaCountInput { /* private fields */ }
Implementations§
source§impl IncreaseReplicaCountInput
impl IncreaseReplicaCountInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<IncreaseReplicaCount, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<IncreaseReplicaCount, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<IncreaseReplicaCount
>
Examples found in repository?
7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::IncreaseReplicaCount,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::IncreaseReplicaCountError>,
> {
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::IncreaseReplicaCountOutput,
aws_smithy_http::result::SdkError<crate::error::IncreaseReplicaCountError>,
> {
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 IncreaseReplicaCountInput
.
source§impl IncreaseReplicaCountInput
impl IncreaseReplicaCountInput
sourcepub fn replication_group_id(&self) -> Option<&str>
pub fn replication_group_id(&self) -> Option<&str>
The id of the replication group to which you want to add replica nodes.
sourcepub fn new_replica_count(&self) -> Option<i32>
pub fn new_replica_count(&self) -> Option<i32>
The number of read replica nodes you want at the completion of this operation. For Redis (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
sourcepub fn replica_configuration(&self) -> Option<&[ConfigureShard]>
pub fn replica_configuration(&self) -> Option<&[ConfigureShard]>
A list of ConfigureShard
objects that can be used to configure each shard in a Redis (cluster mode enabled) replication group. The ConfigureShard
has three members: NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.
sourcepub fn apply_immediately(&self) -> bool
pub fn apply_immediately(&self) -> bool
If True
, the number of replica nodes is increased immediately. ApplyImmediately=False
is not currently supported.
Trait Implementations§
source§impl Clone for IncreaseReplicaCountInput
impl Clone for IncreaseReplicaCountInput
source§fn clone(&self) -> IncreaseReplicaCountInput
fn clone(&self) -> IncreaseReplicaCountInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more