#[non_exhaustive]pub struct ModifyCacheSubnetGroupInput { /* private fields */ }
Expand description
Represents the input of a ModifyCacheSubnetGroup
operation.
Implementations§
source§impl ModifyCacheSubnetGroupInput
impl ModifyCacheSubnetGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyCacheSubnetGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyCacheSubnetGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyCacheSubnetGroup
>
Examples found in repository?
src/client.rs (line 8732)
8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyCacheSubnetGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyCacheSubnetGroupError>,
> {
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::ModifyCacheSubnetGroupOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyCacheSubnetGroupError>,
> {
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 ModifyCacheSubnetGroupInput
.
source§impl ModifyCacheSubnetGroupInput
impl ModifyCacheSubnetGroupInput
sourcepub fn cache_subnet_group_name(&self) -> Option<&str>
pub fn cache_subnet_group_name(&self) -> Option<&str>
The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn cache_subnet_group_description(&self) -> Option<&str>
pub fn cache_subnet_group_description(&self) -> Option<&str>
A description of the cache subnet group.
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
The EC2 subnet IDs for the cache subnet group.
Trait Implementations§
source§impl Clone for ModifyCacheSubnetGroupInput
impl Clone for ModifyCacheSubnetGroupInput
source§fn clone(&self) -> ModifyCacheSubnetGroupInput
fn clone(&self) -> ModifyCacheSubnetGroupInput
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