Struct aws_sdk_opensearch::types::CognitoOptions
source · #[non_exhaustive]pub struct CognitoOptions {
pub enabled: Option<bool>,
pub user_pool_id: Option<String>,
pub identity_pool_id: Option<String>,
pub role_arn: Option<String>,
}
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.
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.enabled: Option<bool>
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
user_pool_id: Option<String>
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
identity_pool_id: Option<String>
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
role_arn: Option<String>
The AmazonOpenSearchServiceCognitoAccess
role that allows OpenSearch Service to configure your user pool and identity pool.
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() -> CognitoOptionsBuilder
pub fn builder() -> CognitoOptionsBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CognitoOptions
impl Debug for CognitoOptions
source§impl PartialEq for CognitoOptions
impl PartialEq for CognitoOptions
source§fn eq(&self, other: &CognitoOptions) -> bool
fn eq(&self, other: &CognitoOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CognitoOptions
Auto Trait Implementations§
impl Freeze for CognitoOptions
impl RefUnwindSafe for CognitoOptions
impl Send for CognitoOptions
impl Sync for CognitoOptions
impl Unpin for CognitoOptions
impl UnwindSafe for CognitoOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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