pub struct UpdateIdentityPool { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateIdentityPool
.
Updates an identity pool.
You must use AWS Developer credentials to call this API.
Implementations
sourceimpl UpdateIdentityPool
impl UpdateIdentityPool
sourcepub async fn send(
self
) -> Result<UpdateIdentityPoolOutput, SdkError<UpdateIdentityPoolError>>
pub async fn send(
self
) -> Result<UpdateIdentityPoolOutput, SdkError<UpdateIdentityPoolError>>
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 identity_pool_id(self, input: impl Into<String>) -> Self
pub fn identity_pool_id(self, input: impl Into<String>) -> Self
An identity pool ID in the format REGION:GUID.
sourcepub fn set_identity_pool_id(self, input: Option<String>) -> Self
pub fn set_identity_pool_id(self, input: Option<String>) -> Self
An identity pool ID in the format REGION:GUID.
sourcepub fn identity_pool_name(self, input: impl Into<String>) -> Self
pub fn identity_pool_name(self, input: impl Into<String>) -> Self
A string that you provide.
sourcepub fn set_identity_pool_name(self, input: Option<String>) -> Self
pub fn set_identity_pool_name(self, input: Option<String>) -> Self
A string that you provide.
sourcepub fn allow_unauthenticated_identities(self, input: bool) -> Self
pub fn allow_unauthenticated_identities(self, input: bool) -> Self
TRUE if the identity pool supports unauthenticated logins.
sourcepub fn set_allow_unauthenticated_identities(self, input: Option<bool>) -> Self
pub fn set_allow_unauthenticated_identities(self, input: Option<bool>) -> Self
TRUE if the identity pool supports unauthenticated logins.
sourcepub fn allow_classic_flow(self, input: bool) -> Self
pub fn allow_classic_flow(self, input: bool) -> Self
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
sourcepub fn set_allow_classic_flow(self, input: Option<bool>) -> Self
pub fn set_allow_classic_flow(self, input: Option<bool>) -> Self
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
sourcepub fn supported_login_providers(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn supported_login_providers(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
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.
sourcepub fn set_supported_login_providers(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_supported_login_providers(
self,
input: Option<HashMap<String, String>>
) -> Self
Optional key:value pairs mapping provider names to provider app IDs.
sourcepub fn developer_provider_name(self, input: impl Into<String>) -> Self
pub fn developer_provider_name(self, input: impl Into<String>) -> Self
The "domain" by which Cognito will refer to your users.
sourcepub fn set_developer_provider_name(self, input: Option<String>) -> Self
pub fn set_developer_provider_name(self, input: Option<String>) -> Self
The "domain" by which Cognito will refer to your users.
sourcepub fn open_id_connect_provider_ar_ns(self, input: impl Into<String>) -> Self
pub fn open_id_connect_provider_ar_ns(self, input: impl Into<String>) -> Self
Appends an item to OpenIdConnectProviderARNs
.
To override the contents of this collection use set_open_id_connect_provider_ar_ns
.
The ARNs of the OpenID Connect providers.
sourcepub fn set_open_id_connect_provider_ar_ns(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_open_id_connect_provider_ar_ns(
self,
input: Option<Vec<String>>
) -> Self
The ARNs of the OpenID Connect providers.
sourcepub fn cognito_identity_providers(self, input: CognitoIdentityProvider) -> Self
pub fn cognito_identity_providers(self, input: CognitoIdentityProvider) -> Self
Appends an item to CognitoIdentityProviders
.
To override the contents of this collection use set_cognito_identity_providers
.
A list representing an Amazon Cognito user pool and its client ID.
sourcepub fn set_cognito_identity_providers(
self,
input: Option<Vec<CognitoIdentityProvider>>
) -> Self
pub fn set_cognito_identity_providers(
self,
input: Option<Vec<CognitoIdentityProvider>>
) -> Self
A list representing an Amazon Cognito user pool and its client ID.
sourcepub fn saml_provider_ar_ns(self, input: impl Into<String>) -> Self
pub fn saml_provider_ar_ns(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_saml_provider_ar_ns(self, input: Option<Vec<String>>) -> Self
pub fn set_saml_provider_ar_ns(self, input: Option<Vec<String>>) -> Self
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
.
The tags that are assigned 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.
The tags that are assigned 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
sourceimpl Clone for UpdateIdentityPool
impl Clone for UpdateIdentityPool
sourcefn clone(&self) -> UpdateIdentityPool
fn clone(&self) -> UpdateIdentityPool
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateIdentityPool
impl Send for UpdateIdentityPool
impl Sync for UpdateIdentityPool
impl Unpin for UpdateIdentityPool
impl !UnwindSafe for UpdateIdentityPool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more