#[non_exhaustive]pub struct ColumnLevelPermissionRule {
pub principals: Option<Vec<String>>,
pub column_names: Option<Vec<String>>,
}
Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.principals: Option<Vec<String>>
An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.
column_names: Option<Vec<String>>
An array of column names.
Implementations§
source§impl ColumnLevelPermissionRule
impl ColumnLevelPermissionRule
sourcepub fn principals(&self) -> &[String]
pub fn principals(&self) -> &[String]
An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .principals.is_none()
.
sourcepub fn column_names(&self) -> &[String]
pub fn column_names(&self) -> &[String]
An array of column names.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .column_names.is_none()
.
source§impl ColumnLevelPermissionRule
impl ColumnLevelPermissionRule
sourcepub fn builder() -> ColumnLevelPermissionRuleBuilder
pub fn builder() -> ColumnLevelPermissionRuleBuilder
Creates a new builder-style object to manufacture ColumnLevelPermissionRule
.
Trait Implementations§
source§impl Clone for ColumnLevelPermissionRule
impl Clone for ColumnLevelPermissionRule
source§fn clone(&self) -> ColumnLevelPermissionRule
fn clone(&self) -> ColumnLevelPermissionRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ColumnLevelPermissionRule
impl Debug for ColumnLevelPermissionRule
source§impl PartialEq for ColumnLevelPermissionRule
impl PartialEq for ColumnLevelPermissionRule
source§fn eq(&self, other: &ColumnLevelPermissionRule) -> bool
fn eq(&self, other: &ColumnLevelPermissionRule) -> bool
self
and other
values to be equal, and is used
by ==
.