Struct aws_sdk_elasticache::input::ModifyUserInput
source · #[non_exhaustive]pub struct ModifyUserInput { /* private fields */ }
Implementations§
source§impl ModifyUserInput
impl ModifyUserInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyUser, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyUser, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyUser
>
Examples found in repository?
src/client.rs (line 9644)
9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyUser,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyUserError>,
> {
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::ModifyUserOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyUserError>,
> {
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 ModifyUserInput
.
source§impl ModifyUserInput
impl ModifyUserInput
sourcepub fn access_string(&self) -> Option<&str>
pub fn access_string(&self) -> Option<&str>
Access permissions string used for this user.
sourcepub fn append_access_string(&self) -> Option<&str>
pub fn append_access_string(&self) -> Option<&str>
Adds additional user permissions to the access string.
sourcepub fn passwords(&self) -> Option<&[String]>
pub fn passwords(&self) -> Option<&[String]>
The passwords belonging to the user. You are allowed up to two.
sourcepub fn no_password_required(&self) -> Option<bool>
pub fn no_password_required(&self) -> Option<bool>
Indicates no password is required for the user.
Trait Implementations§
source§impl Clone for ModifyUserInput
impl Clone for ModifyUserInput
source§fn clone(&self) -> ModifyUserInput
fn clone(&self) -> ModifyUserInput
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