#[non_exhaustive]pub struct UpdateBackendAuthResourceConfig {
pub auth_resources: Option<AuthResources>,
pub identity_pool_configs: Option<UpdateBackendAuthIdentityPoolConfig>,
pub service: Option<Service>,
pub user_pool_configs: Option<UpdateBackendAuthUserPoolConfig>,
}
Expand description
Defines the resource configuration when updating an authentication resource in your Amplify project.
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.auth_resources: Option<AuthResources>
Defines the service name to use when configuring an authentication resource in your Amplify project.
identity_pool_configs: Option<UpdateBackendAuthIdentityPoolConfig>
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
service: Option<Service>
Defines the service name to use when configuring an authentication resource in your Amplify project.
user_pool_configs: Option<UpdateBackendAuthUserPoolConfig>
Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
Implementations§
source§impl UpdateBackendAuthResourceConfig
impl UpdateBackendAuthResourceConfig
sourcepub fn auth_resources(&self) -> Option<&AuthResources>
pub fn auth_resources(&self) -> Option<&AuthResources>
Defines the service name to use when configuring an authentication resource in your Amplify project.
sourcepub fn identity_pool_configs(
&self
) -> Option<&UpdateBackendAuthIdentityPoolConfig>
pub fn identity_pool_configs( &self ) -> Option<&UpdateBackendAuthIdentityPoolConfig>
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
sourcepub fn service(&self) -> Option<&Service>
pub fn service(&self) -> Option<&Service>
Defines the service name to use when configuring an authentication resource in your Amplify project.
sourcepub fn user_pool_configs(&self) -> Option<&UpdateBackendAuthUserPoolConfig>
pub fn user_pool_configs(&self) -> Option<&UpdateBackendAuthUserPoolConfig>
Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
source§impl UpdateBackendAuthResourceConfig
impl UpdateBackendAuthResourceConfig
sourcepub fn builder() -> UpdateBackendAuthResourceConfigBuilder
pub fn builder() -> UpdateBackendAuthResourceConfigBuilder
Creates a new builder-style object to manufacture UpdateBackendAuthResourceConfig
.
Trait Implementations§
source§impl Clone for UpdateBackendAuthResourceConfig
impl Clone for UpdateBackendAuthResourceConfig
source§fn clone(&self) -> UpdateBackendAuthResourceConfig
fn clone(&self) -> UpdateBackendAuthResourceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateBackendAuthResourceConfig
impl PartialEq for UpdateBackendAuthResourceConfig
source§fn eq(&self, other: &UpdateBackendAuthResourceConfig) -> bool
fn eq(&self, other: &UpdateBackendAuthResourceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateBackendAuthResourceConfig
Auto Trait Implementations§
impl Freeze for UpdateBackendAuthResourceConfig
impl RefUnwindSafe for UpdateBackendAuthResourceConfig
impl Send for UpdateBackendAuthResourceConfig
impl Sync for UpdateBackendAuthResourceConfig
impl Unpin for UpdateBackendAuthResourceConfig
impl UnwindSafe for UpdateBackendAuthResourceConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more