Struct aws_sdk_elasticache::input::ModifyUserGroupInput
source · #[non_exhaustive]pub struct ModifyUserGroupInput { /* private fields */ }
Implementations§
source§impl ModifyUserGroupInput
impl ModifyUserGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyUserGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyUserGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyUserGroup
>
Examples found in repository?
src/client.rs (line 9770)
9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyUserGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyUserGroupError>,
> {
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::ModifyUserGroupOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyUserGroupError>,
> {
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 ModifyUserGroupInput
.
source§impl ModifyUserGroupInput
impl ModifyUserGroupInput
sourcepub fn user_group_id(&self) -> Option<&str>
pub fn user_group_id(&self) -> Option<&str>
The ID of the user group.
sourcepub fn user_ids_to_add(&self) -> Option<&[String]>
pub fn user_ids_to_add(&self) -> Option<&[String]>
The list of user IDs to add to the user group.
sourcepub fn user_ids_to_remove(&self) -> Option<&[String]>
pub fn user_ids_to_remove(&self) -> Option<&[String]>
The list of user IDs to remove from the user group.
Trait Implementations§
source§impl Clone for ModifyUserGroupInput
impl Clone for ModifyUserGroupInput
source§fn clone(&self) -> ModifyUserGroupInput
fn clone(&self) -> ModifyUserGroupInput
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