#[non_exhaustive]pub struct BackendApiAppSyncAuthSettings { /* private fields */ }
Expand description
The authentication settings for accessing provisioned data models in your Amplify project.
Implementations
sourceimpl BackendApiAppSyncAuthSettings
impl BackendApiAppSyncAuthSettings
sourcepub fn cognito_user_pool_id(&self) -> Option<&str>
pub fn cognito_user_pool_id(&self) -> Option<&str>
The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data models.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.
sourcepub fn expiration_time(&self) -> f64
pub fn expiration_time(&self) -> f64
The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.
sourcepub fn open_id_auth_ttl(&self) -> Option<&str>
pub fn open_id_auth_ttl(&self) -> Option<&str>
The expiry time for the OpenID authentication mechanism.
sourcepub fn open_id_client_id(&self) -> Option<&str>
pub fn open_id_client_id(&self) -> Option<&str>
The clientID for openID, if openID was used as an authentication setting to access your data models.
sourcepub fn open_id_iat_ttl(&self) -> Option<&str>
pub fn open_id_iat_ttl(&self) -> Option<&str>
The expiry time for the OpenID authentication mechanism.
sourcepub fn open_id_issue_url(&self) -> Option<&str>
pub fn open_id_issue_url(&self) -> Option<&str>
The openID issuer URL, if openID was used as an authentication setting to access your data models.
sourcepub fn open_id_provider_name(&self) -> Option<&str>
pub fn open_id_provider_name(&self) -> Option<&str>
The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.
sourceimpl BackendApiAppSyncAuthSettings
impl BackendApiAppSyncAuthSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BackendApiAppSyncAuthSettings
.
Trait Implementations
sourceimpl Clone for BackendApiAppSyncAuthSettings
impl Clone for BackendApiAppSyncAuthSettings
sourcefn clone(&self) -> BackendApiAppSyncAuthSettings
fn clone(&self) -> BackendApiAppSyncAuthSettings
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 BackendApiAppSyncAuthSettings
impl Debug for BackendApiAppSyncAuthSettings
sourceimpl PartialEq<BackendApiAppSyncAuthSettings> for BackendApiAppSyncAuthSettings
impl PartialEq<BackendApiAppSyncAuthSettings> for BackendApiAppSyncAuthSettings
sourcefn eq(&self, other: &BackendApiAppSyncAuthSettings) -> bool
fn eq(&self, other: &BackendApiAppSyncAuthSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for BackendApiAppSyncAuthSettings
Auto Trait Implementations
impl RefUnwindSafe for BackendApiAppSyncAuthSettings
impl Send for BackendApiAppSyncAuthSettings
impl Sync for BackendApiAppSyncAuthSettings
impl Unpin for BackendApiAppSyncAuthSettings
impl UnwindSafe for BackendApiAppSyncAuthSettings
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> 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