Struct aws_sdk_opensearch::model::CognitoOptions
source · #[non_exhaustive]pub struct CognitoOptions { /* private fields */ }
Expand description
Container for the parameters required to enable Cognito authentication for an OpenSearch Service domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
Implementations§
source§impl CognitoOptions
impl CognitoOptions
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
sourcepub fn identity_pool_id(&self) -> Option<&str>
pub fn identity_pool_id(&self) -> Option<&str>
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
source§impl CognitoOptions
impl CognitoOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CognitoOptions
.
Trait Implementations§
source§impl Clone for CognitoOptions
impl Clone for CognitoOptions
source§fn clone(&self) -> CognitoOptions
fn clone(&self) -> CognitoOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CognitoOptions
impl Debug for CognitoOptions
source§impl PartialEq<CognitoOptions> for CognitoOptions
impl PartialEq<CognitoOptions> for CognitoOptions
source§fn 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 ==
.