#[non_exhaustive]pub struct CreateIdentityPoolInput {
pub identity_pool_name: Option<String>,
pub allow_unauthenticated_identities: bool,
pub allow_classic_flow: Option<bool>,
pub supported_login_providers: Option<HashMap<String, String>>,
pub developer_provider_name: Option<String>,
pub open_id_connect_provider_ar_ns: Option<Vec<String>>,
pub cognito_identity_providers: Option<Vec<CognitoIdentityProvider>>,
pub saml_provider_ar_ns: Option<Vec<String>>,
pub identity_pool_tags: Option<HashMap<String, String>>,
}
Expand description
Input to the CreateIdentityPool action.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.identity_pool_name: Option<String>
A string that you provide.
allow_unauthenticated_identities: bool
TRUE if the identity pool supports unauthenticated logins.
allow_classic_flow: Option<bool>
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
supported_login_providers: Option<HashMap<String, String>>
Optional key:value pairs mapping provider names to provider app IDs.
developer_provider_name: Option<String>
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.
open_id_connect_provider_ar_ns: Option<Vec<String>>
The Amazon Resource Names (ARN) of the OpenID Connect providers.
cognito_identity_providers: Option<Vec<CognitoIdentityProvider>>
An array of Amazon Cognito user pools and their client IDs.
saml_provider_ar_ns: Option<Vec<String>>
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
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.
Implementations
sourceimpl CreateIdentityPoolInput
impl CreateIdentityPoolInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateIdentityPool, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateIdentityPool, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateIdentityPool
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateIdentityPoolInput
sourceimpl CreateIdentityPoolInput
impl CreateIdentityPoolInput
sourcepub fn identity_pool_name(&self) -> Option<&str>
pub fn identity_pool_name(&self) -> Option<&str>
A string that you provide.
sourcepub fn allow_unauthenticated_identities(&self) -> bool
pub fn allow_unauthenticated_identities(&self) -> bool
TRUE if the identity pool supports unauthenticated logins.
sourcepub fn allow_classic_flow(&self) -> Option<bool>
pub fn allow_classic_flow(&self) -> Option<bool>
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) -> Option<&HashMap<String, String>>
pub fn supported_login_providers(&self) -> Option<&HashMap<String, String>>
Optional key:value pairs mapping provider names to provider app IDs.
sourcepub fn developer_provider_name(&self) -> Option<&str>
pub fn developer_provider_name(&self) -> Option<&str>
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.
sourcepub fn open_id_connect_provider_ar_ns(&self) -> Option<&[String]>
pub fn open_id_connect_provider_ar_ns(&self) -> Option<&[String]>
The Amazon Resource Names (ARN) of the OpenID Connect providers.
sourcepub fn cognito_identity_providers(&self) -> Option<&[CognitoIdentityProvider]>
pub fn cognito_identity_providers(&self) -> Option<&[CognitoIdentityProvider]>
An array of Amazon Cognito user pools and their client IDs.
sourcepub fn saml_provider_ar_ns(&self) -> Option<&[String]>
pub fn saml_provider_ar_ns(&self) -> Option<&[String]>
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
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
sourceimpl Clone for CreateIdentityPoolInput
impl Clone for CreateIdentityPoolInput
sourcefn clone(&self) -> CreateIdentityPoolInput
fn clone(&self) -> CreateIdentityPoolInput
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
sourceimpl Debug for CreateIdentityPoolInput
impl Debug for CreateIdentityPoolInput
sourceimpl PartialEq<CreateIdentityPoolInput> for CreateIdentityPoolInput
impl PartialEq<CreateIdentityPoolInput> for CreateIdentityPoolInput
sourcefn eq(&self, other: &CreateIdentityPoolInput) -> bool
fn eq(&self, other: &CreateIdentityPoolInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateIdentityPoolInput) -> bool
fn ne(&self, other: &CreateIdentityPoolInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateIdentityPoolInput
Auto Trait Implementations
impl RefUnwindSafe for CreateIdentityPoolInput
impl Send for CreateIdentityPoolInput
impl Sync for CreateIdentityPoolInput
impl Unpin for CreateIdentityPoolInput
impl UnwindSafe for CreateIdentityPoolInput
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