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 |
Synopsis
- data ColumnLevelPermissionRule = ColumnLevelPermissionRule' {
- principals :: Maybe (NonEmpty Text)
- columnNames :: Maybe (NonEmpty Text)
- newColumnLevelPermissionRule :: ColumnLevelPermissionRule
- columnLevelPermissionRule_principals :: Lens' ColumnLevelPermissionRule (Maybe (NonEmpty Text))
- columnLevelPermissionRule_columnNames :: Lens' ColumnLevelPermissionRule (Maybe (NonEmpty Text))
Documentation
data ColumnLevelPermissionRule Source #
A rule defined to grant access on one or more restricted columns. Each dataset can have multiple rules. To create a restricted column, you add it to one or more rules. Each rule must contain at least one column and at least one user or group. To be able to see a restricted column, a user or group needs to be added to a rule for that column.
See: newColumnLevelPermissionRule
smart constructor.
ColumnLevelPermissionRule' | |
|
Instances
newColumnLevelPermissionRule :: ColumnLevelPermissionRule Source #
Create a value of ColumnLevelPermissionRule
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:principals:ColumnLevelPermissionRule'
, columnLevelPermissionRule_principals
- An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or
groups.
$sel:columnNames:ColumnLevelPermissionRule'
, columnLevelPermissionRule_columnNames
- An array of column names.
columnLevelPermissionRule_principals :: Lens' ColumnLevelPermissionRule (Maybe (NonEmpty Text)) Source #
An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.
columnLevelPermissionRule_columnNames :: Lens' ColumnLevelPermissionRule (Maybe (NonEmpty Text)) Source #
An array of column names.