| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticSearch.Types.AuthorizedPrincipal
Description
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
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.
authorizedPrincipal_principalType :: Lens' AuthorizedPrincipal (Maybe PrincipalType) Source #
The type of principal.