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§
source§impl 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.
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 more