pub struct UpdateIdentityProfile<C, M, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateIdentityProfile
.
Updates profile of the current identity.
Implementations
sourceimpl<C, M, R> UpdateIdentityProfile<C, M, R>where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateIdentityProfile<C, M, R>where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
sourcepub async fn send(
self
) -> Result<UpdateIdentityProfileOutput, SdkError<UpdateIdentityProfileError>>where
R::Policy: SmithyRetryPolicy<UpdateIdentityProfileInputOperationOutputAlias, UpdateIdentityProfileOutput, UpdateIdentityProfileError, UpdateIdentityProfileInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateIdentityProfileOutput, SdkError<UpdateIdentityProfileError>>where
R::Policy: SmithyRetryPolicy<UpdateIdentityProfileInputOperationOutputAlias, UpdateIdentityProfileOutput, UpdateIdentityProfileError, UpdateIdentityProfileInputOperationRetryAlias>,
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, which can be set when configuring the client.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
Represent a resource’s readable display name.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
Represent a resource’s readable display name.
sourcepub fn account_number(self, input: i32) -> Self
pub fn account_number(self, input: i32) -> Self
Identity profile account number (#1234). These are assigned in addition to an identity’s display name in order to allow multiple identities to have the same display name while still providing a unique handle. These are unique to each display name; you can have multiple accounts with different display names and the same account number.
sourcepub fn set_account_number(self, input: Option<i32>) -> Self
pub fn set_account_number(self, input: Option<i32>) -> Self
Identity profile account number (#1234). These are assigned in addition to an identity’s display name in order to allow multiple identities to have the same display name while still providing a unique handle. These are unique to each display name; you can have multiple accounts with different display names and the same account number.
Trait Implementations
sourceimpl<C: Clone, M: Clone, R: Clone> Clone for UpdateIdentityProfile<C, M, R>
impl<C: Clone, M: Clone, R: Clone> Clone for UpdateIdentityProfile<C, M, R>
sourcefn clone(&self) -> UpdateIdentityProfile<C, M, R>
fn clone(&self) -> UpdateIdentityProfile<C, M, R>
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more