pub struct MergeDeveloperIdentities<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to MergeDeveloperIdentities
.
Merges two users having different IdentityId
s, existing in the same identity pool, and identified by the same developer provider. You can use this action to request that discrete users be merged and identified as a single user in the Cognito environment. Cognito associates the given source user (SourceUserIdentifier
) with the IdentityId
of the DestinationUserIdentifier
. Only developer-authenticated users can be merged. If the users to be merged are associated with the same public provider, but as two different users, an exception will be thrown.
The number of linked logins is limited to 20. So, the number of linked logins for the source user, SourceUserIdentifier
, and the destination user, DestinationUserIdentifier
, together should not be larger than 20. Otherwise, an exception will be thrown.
You must use AWS Developer credentials to call this API.
Implementations
impl<C, M, R> MergeDeveloperIdentities<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> MergeDeveloperIdentities<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<MergeDeveloperIdentitiesOutput, SdkError<MergeDeveloperIdentitiesError>> where
R::Policy: SmithyRetryPolicy<MergeDeveloperIdentitiesInputOperationOutputAlias, MergeDeveloperIdentitiesOutput, MergeDeveloperIdentitiesError, MergeDeveloperIdentitiesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<MergeDeveloperIdentitiesOutput, SdkError<MergeDeveloperIdentitiesError>> where
R::Policy: SmithyRetryPolicy<MergeDeveloperIdentitiesInputOperationOutputAlias, MergeDeveloperIdentitiesOutput, MergeDeveloperIdentitiesError, MergeDeveloperIdentitiesInputOperationRetryAlias>,
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.
User identifier for the source user. The value should be a DeveloperUserIdentifier
.
User identifier for the source user. The value should be a DeveloperUserIdentifier
.
User identifier for the destination user. The value should be a DeveloperUserIdentifier
.
User identifier for the destination user. The value should be a DeveloperUserIdentifier
.
The "domain" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName
, you can use letters as well as period (.), underscore (_), and dash (-).
The "domain" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName
, you can use letters as well as period (.), underscore (_), and dash (-).
An identity pool ID in the format REGION:GUID.
An identity pool ID in the format REGION:GUID.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for MergeDeveloperIdentities<C, M, R>
impl<C, M, R> Send for MergeDeveloperIdentities<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for MergeDeveloperIdentities<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for MergeDeveloperIdentities<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for MergeDeveloperIdentities<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more