Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data SharePrincipal Source #
Describes the recipient type and ID, if available.
See: newSharePrincipal
smart constructor.
Instances
:: 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.