amazonka-elasticsearch-2.0: Amazon Elasticsearch Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElasticSearch.Types.AuthorizedPrincipal

Description

 
Synopsis

Documentation

data AuthorizedPrincipal Source #

Information about an account or service that has access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

See: newAuthorizedPrincipal smart constructor.

Constructors

AuthorizedPrincipal' 

Fields

Instances

Instances details
FromJSON AuthorizedPrincipal Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.AuthorizedPrincipal

Generic AuthorizedPrincipal Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.AuthorizedPrincipal

Associated Types

type Rep AuthorizedPrincipal :: Type -> Type #

Read AuthorizedPrincipal Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.AuthorizedPrincipal

Show AuthorizedPrincipal Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.AuthorizedPrincipal

NFData AuthorizedPrincipal Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.AuthorizedPrincipal

Methods

rnf :: AuthorizedPrincipal -> () #

Eq AuthorizedPrincipal Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.AuthorizedPrincipal

Hashable AuthorizedPrincipal Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.AuthorizedPrincipal

type Rep AuthorizedPrincipal Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.AuthorizedPrincipal

type Rep AuthorizedPrincipal = D1 ('MetaData "AuthorizedPrincipal" "Amazonka.ElasticSearch.Types.AuthorizedPrincipal" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "AuthorizedPrincipal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principalType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrincipalType))))

newAuthorizedPrincipal :: AuthorizedPrincipal Source #

Create a value of AuthorizedPrincipal 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:principal:AuthorizedPrincipal', authorizedPrincipal_principal - The IAM principal that is allowed access to the domain.

$sel:principalType:AuthorizedPrincipal', authorizedPrincipal_principalType - The type of principal.

authorizedPrincipal_principal :: Lens' AuthorizedPrincipal (Maybe Text) Source #

The IAM principal that is allowed access to the domain.