Struct aws_sdk_memorydb::input::UpdateClusterInput
source · #[non_exhaustive]pub struct UpdateClusterInput { /* private fields */ }
Implementations§
source§impl UpdateClusterInput
impl UpdateClusterInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCluster, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCluster, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateCluster
>
Examples found in repository?
3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateCluster,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateClusterError>,
> {
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::UpdateClusterOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateClusterError>,
> {
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 UpdateClusterInput
.
source§impl UpdateClusterInput
impl UpdateClusterInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the cluster to update
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the cluster to update
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
The SecurityGroupIds to update
sourcepub fn maintenance_window(&self) -> Option<&str>
pub fn maintenance_window(&self) -> Option<&str>
The maintenance window to update
sourcepub fn sns_topic_arn(&self) -> Option<&str>
pub fn sns_topic_arn(&self) -> Option<&str>
The SNS topic ARN to update
sourcepub fn sns_topic_status(&self) -> Option<&str>
pub fn sns_topic_status(&self) -> Option<&str>
The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
sourcepub fn parameter_group_name(&self) -> Option<&str>
pub fn parameter_group_name(&self) -> Option<&str>
The name of the parameter group to update
sourcepub fn snapshot_window(&self) -> Option<&str>
pub fn snapshot_window(&self) -> Option<&str>
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
sourcepub fn snapshot_retention_limit(&self) -> Option<i32>
pub fn snapshot_retention_limit(&self) -> Option<i32>
The number of days for which MemoryDB retains automatic cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
sourcepub fn node_type(&self) -> Option<&str>
pub fn node_type(&self) -> Option<&str>
A valid node type that you want to scale this cluster up or down to.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The upgraded version of the engine to be run on the nodes. You can upgrade to a newer engine version, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version.
sourcepub fn replica_configuration(&self) -> Option<&ReplicaConfigurationRequest>
pub fn replica_configuration(&self) -> Option<&ReplicaConfigurationRequest>
The number of replicas that will reside in each shard
sourcepub fn shard_configuration(&self) -> Option<&ShardConfigurationRequest>
pub fn shard_configuration(&self) -> Option<&ShardConfigurationRequest>
The number of shards in the cluster
Trait Implementations§
source§impl Clone for UpdateClusterInput
impl Clone for UpdateClusterInput
source§fn clone(&self) -> UpdateClusterInput
fn clone(&self) -> UpdateClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more