Struct aws_sdk_opensearch::model::CognitoOptions
source · [−]#[non_exhaustive]pub struct CognitoOptions { /* private fields */ }Expand description
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
Implementations
sourceimpl CognitoOptions
impl CognitoOptions
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
The option to enable Cognito for OpenSearch Dashboards authentication.
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The Cognito user pool ID for OpenSearch Dashboards authentication.
sourcepub fn identity_pool_id(&self) -> Option<&str>
pub fn identity_pool_id(&self) -> Option<&str>
The Cognito identity pool ID for OpenSearch Dashboards authentication.
sourceimpl CognitoOptions
impl CognitoOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CognitoOptions.
Trait Implementations
sourceimpl Clone for CognitoOptions
impl Clone for CognitoOptions
sourcefn clone(&self) -> CognitoOptions
fn clone(&self) -> CognitoOptions
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 CognitoOptions
impl Debug for CognitoOptions
sourceimpl PartialEq<CognitoOptions> for CognitoOptions
impl PartialEq<CognitoOptions> for CognitoOptions
sourcefn eq(&self, other: &CognitoOptions) -> bool
fn eq(&self, other: &CognitoOptions) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CognitoOptions) -> bool
fn ne(&self, other: &CognitoOptions) -> bool
This method tests for !=.
impl StructuralPartialEq for CognitoOptions
Auto Trait Implementations
impl RefUnwindSafe for CognitoOptions
impl Send for CognitoOptions
impl Sync for CognitoOptions
impl Unpin for CognitoOptions
impl UnwindSafe for CognitoOptions
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