pub struct CreateIdentityPool<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateIdentityPool
.
Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account. The keys for SupportedLoginProviders
are as follows:
-
Facebook:
graph.facebook.com
-
Google:
accounts.google.com
-
Amazon:
www.amazon.com
-
Twitter:
api.twitter.com
-
Digits:
www.digits.com
You must use AWS Developer credentials to call this API.
Implementations
impl<C, M, R> CreateIdentityPool<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateIdentityPool<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateIdentityPoolOutput, SdkError<CreateIdentityPoolError>> where
R::Policy: SmithyRetryPolicy<CreateIdentityPoolInputOperationOutputAlias, CreateIdentityPoolOutput, CreateIdentityPoolError, CreateIdentityPoolInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateIdentityPoolOutput, SdkError<CreateIdentityPoolError>> where
R::Policy: SmithyRetryPolicy<CreateIdentityPoolInputOperationOutputAlias, CreateIdentityPoolOutput, CreateIdentityPoolError, CreateIdentityPoolInputOperationRetryAlias>,
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.
A string that you provide.
A string that you provide.
TRUE if the identity pool supports unauthenticated logins.
TRUE if the identity pool supports unauthenticated logins.
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
Adds a key-value pair to SupportedLoginProviders
.
To override the contents of this collection use set_supported_login_providers
.
Optional key:value pairs mapping provider names to provider app IDs.
Optional key:value pairs mapping provider names to provider app IDs.
The "domain" by which Cognito will refer to your users. 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 (-
).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
The "domain" by which Cognito will refer to your users. 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 (-
).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
Appends an item to OpenIdConnectProviderARNs
.
To override the contents of this collection use set_open_id_connect_provider_ar_ns
.
The Amazon Resource Names (ARN) of the OpenID Connect providers.
The Amazon Resource Names (ARN) of the OpenID Connect providers.
Appends an item to CognitoIdentityProviders
.
To override the contents of this collection use set_cognito_identity_providers
.
An array of Amazon Cognito user pools and their client IDs.
pub fn set_cognito_identity_providers(
self,
input: Option<Vec<CognitoIdentityProvider>>
) -> Self
pub fn set_cognito_identity_providers(
self,
input: Option<Vec<CognitoIdentityProvider>>
) -> Self
An array of Amazon Cognito user pools and their client IDs.
Appends an item to SamlProviderARNs
.
To override the contents of this collection use set_saml_provider_ar_ns
.
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
Adds a key-value pair to IdentityPoolTags
.
To override the contents of this collection use set_identity_pool_tags
.
Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateIdentityPool<C, M, R>
impl<C, M, R> Send for CreateIdentityPool<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateIdentityPool<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateIdentityPool<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateIdentityPool<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