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.MasterUserOptions

Description

 
Synopsis

Documentation

data MasterUserOptions Source #

Credentials for the master user: username and password, ARN, or both.

See: newMasterUserOptions smart constructor.

Constructors

MasterUserOptions' 

Fields

Instances

Instances details
Eq MasterUserOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.MasterUserOptions

Show MasterUserOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.MasterUserOptions

Generic MasterUserOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.MasterUserOptions

Associated Types

type Rep MasterUserOptions :: Type -> Type #

NFData MasterUserOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.MasterUserOptions

Methods

rnf :: MasterUserOptions -> () #

Hashable MasterUserOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.MasterUserOptions

ToJSON MasterUserOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.MasterUserOptions

type Rep MasterUserOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.MasterUserOptions

type Rep MasterUserOptions = D1 ('MetaData "MasterUserOptions" "Amazonka.OpenSearch.Types.MasterUserOptions" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "MasterUserOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "masterUserPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "masterUserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "masterUserARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMasterUserOptions :: MasterUserOptions Source #

Create a value of MasterUserOptions 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:masterUserPassword:MasterUserOptions', masterUserOptions_masterUserPassword - The master user's password, which is stored in the Amazon OpenSearch Service domain's internal database.

$sel:masterUserName:MasterUserOptions', masterUserOptions_masterUserName - The master user's username, which is stored in the Amazon OpenSearch Service domain's internal database.

$sel:masterUserARN:MasterUserOptions', masterUserOptions_masterUserARN - ARN for the master user (if IAM is enabled).

masterUserOptions_masterUserPassword :: Lens' MasterUserOptions (Maybe Text) Source #

The master user's password, which is stored in the Amazon OpenSearch Service domain's internal database.

masterUserOptions_masterUserName :: Lens' MasterUserOptions (Maybe Text) Source #

The master user's username, which is stored in the Amazon OpenSearch Service domain's internal database.

masterUserOptions_masterUserARN :: Lens' MasterUserOptions (Maybe Text) Source #

ARN for the master user (if IAM is enabled).