| 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.WorkDocs.Types.SharePrincipal
Description
Documentation
data SharePrincipal Source #
Describes the recipient type and ID, if available.
See: newSharePrincipal smart constructor.
Constructors
| SharePrincipal' | |
Instances
Arguments
| :: Text | |
| -> PrincipalType | |
| -> RoleType | |
| -> SharePrincipal |
Create a value of SharePrincipal 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:id:SharePrincipal', sharePrincipal_id - The ID of the recipient.
$sel:type':SharePrincipal', sharePrincipal_type - The type of the recipient.
$sel:role':SharePrincipal', sharePrincipal_role - The role of the recipient.
sharePrincipal_id :: Lens' SharePrincipal Text Source #
The ID of the recipient.
sharePrincipal_type :: Lens' SharePrincipal PrincipalType Source #
The type of the recipient.
sharePrincipal_role :: Lens' SharePrincipal RoleType Source #
The role of the recipient.