#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateIdentityPoolInput
Implementations
sourceimpl Builder
impl Builder
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 supported_login_providers
.
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. 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 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. 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, input: impl Into<String>) -> Self
pub fn open_id_connect_provider_ar_ns(self, input: impl Into<String>) -> Self
Appends an item to open_id_connect_provider_ar_ns
.
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.
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 Amazon Resource Names (ARN) 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 cognito_identity_providers
.
To override the contents of this collection use set_cognito_identity_providers
.
An array of Amazon Cognito user pools and their client IDs.
sourcepub 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.
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 saml_provider_ar_ns
.
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 identity_pool_tags
.
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.
sourcepub fn build(self) -> Result<CreateIdentityPoolInput, BuildError>
pub fn build(self) -> Result<CreateIdentityPoolInput, BuildError>
Consumes the builder and constructs a CreateIdentityPoolInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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