libZSservicesZSamazonka-opensearchZSamazonka-opensearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpenSearch.Types.CognitoOptions

Description

 
Synopsis

Documentation

data CognitoOptions Source #

Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

See: newCognitoOptions smart constructor.

Constructors

CognitoOptions' 

Fields

  • identityPoolId :: Maybe Text

    The Cognito identity pool ID for OpenSearch Dashboards authentication.

  • enabled :: Maybe Bool

    The option to enable Cognito for OpenSearch Dashboards authentication.

  • userPoolId :: Maybe Text

    The Cognito user pool ID for OpenSearch Dashboards authentication.

  • roleArn :: Maybe Text

    The role ARN that provides OpenSearch permissions for accessing Cognito resources.

Instances

Instances details
Eq CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

Read CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

Show CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

Generic CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

Associated Types

type Rep CognitoOptions :: Type -> Type #

NFData CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

Methods

rnf :: CognitoOptions -> () #

Hashable CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

ToJSON CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

FromJSON CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

type Rep CognitoOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.CognitoOptions

type Rep CognitoOptions = D1 ('MetaData "CognitoOptions" "Amazonka.OpenSearch.Types.CognitoOptions" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "CognitoOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCognitoOptions :: CognitoOptions Source #

Create a value of CognitoOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:identityPoolId:CognitoOptions', cognitoOptions_identityPoolId - The Cognito identity pool ID for OpenSearch Dashboards authentication.

$sel:enabled:CognitoOptions', cognitoOptions_enabled - The option to enable Cognito for OpenSearch Dashboards authentication.

$sel:userPoolId:CognitoOptions', cognitoOptions_userPoolId - The Cognito user pool ID for OpenSearch Dashboards authentication.

$sel:roleArn:CognitoOptions', cognitoOptions_roleArn - The role ARN that provides OpenSearch permissions for accessing Cognito resources.

cognitoOptions_identityPoolId :: Lens' CognitoOptions (Maybe Text) Source #

The Cognito identity pool ID for OpenSearch Dashboards authentication.

cognitoOptions_enabled :: Lens' CognitoOptions (Maybe Bool) Source #

The option to enable Cognito for OpenSearch Dashboards authentication.

cognitoOptions_userPoolId :: Lens' CognitoOptions (Maybe Text) Source #

The Cognito user pool ID for OpenSearch Dashboards authentication.

cognitoOptions_roleArn :: Lens' CognitoOptions (Maybe Text) Source #

The role ARN that provides OpenSearch permissions for accessing Cognito resources.