#[non_exhaustive]pub struct UpdateUserIdentityInfoInput { /* private fields */ }
Implementations§
source§impl UpdateUserIdentityInfoInput
impl UpdateUserIdentityInfoInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUserIdentityInfo, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUserIdentityInfo, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateUserIdentityInfo
>
Examples found in repository?
src/client.rs (line 19115)
19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateUserIdentityInfo,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateUserIdentityInfoError>,
> {
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::UpdateUserIdentityInfoOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateUserIdentityInfoError>,
> {
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 UpdateUserIdentityInfoInput
.
source§impl UpdateUserIdentityInfoInput
impl UpdateUserIdentityInfoInput
sourcepub fn identity_info(&self) -> Option<&UserIdentityInfo>
pub fn identity_info(&self) -> Option<&UserIdentityInfo>
The identity information for the user.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Trait Implementations§
source§impl Clone for UpdateUserIdentityInfoInput
impl Clone for UpdateUserIdentityInfoInput
source§fn clone(&self) -> UpdateUserIdentityInfoInput
fn clone(&self) -> UpdateUserIdentityInfoInput
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