#[non_exhaustive]pub struct RowLevelPermissionDataSet {
pub namespace: Option<String>,
pub arn: String,
pub permission_policy: RowLevelPermissionPolicy,
pub format_version: Option<RowLevelPermissionFormatVersion>,
pub status: Option<Status>,
}Expand description
Information about a dataset that contains permissions for row-level security (RLS). The permissions dataset maps fields to users or groups. For more information, see Using Row-Level Security (RLS) to Restrict Access to a Dataset in the Amazon QuickSight User Guide.
The option to deny permissions by setting PermissionPolicy to DENY_ACCESS is not supported for new RLS datasets.
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.namespace: Option<String>The namespace associated with the dataset that contains permissions for RLS.
arn: StringThe Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
permission_policy: RowLevelPermissionPolicyThe type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.
format_version: Option<RowLevelPermissionFormatVersion>The user or group rules associated with the dataset that contains permissions for RLS.
By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN and GroupARN are required, and Namespace must not exist.
status: Option<Status>The status of the row-level security permission dataset. If enabled, the status is ENABLED. If disabled, the status is DISABLED.
Implementations§
source§impl RowLevelPermissionDataSet
impl RowLevelPermissionDataSet
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace associated with the dataset that contains permissions for RLS.
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
sourcepub fn permission_policy(&self) -> &RowLevelPermissionPolicy
pub fn permission_policy(&self) -> &RowLevelPermissionPolicy
The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.
sourcepub fn format_version(&self) -> Option<&RowLevelPermissionFormatVersion>
pub fn format_version(&self) -> Option<&RowLevelPermissionFormatVersion>
The user or group rules associated with the dataset that contains permissions for RLS.
By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN and GroupARN are required, and Namespace must not exist.
source§impl RowLevelPermissionDataSet
impl RowLevelPermissionDataSet
sourcepub fn builder() -> RowLevelPermissionDataSetBuilder
pub fn builder() -> RowLevelPermissionDataSetBuilder
Creates a new builder-style object to manufacture RowLevelPermissionDataSet.
Trait Implementations§
source§impl Clone for RowLevelPermissionDataSet
impl Clone for RowLevelPermissionDataSet
source§fn clone(&self) -> RowLevelPermissionDataSet
fn clone(&self) -> RowLevelPermissionDataSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RowLevelPermissionDataSet
impl Debug for RowLevelPermissionDataSet
source§impl PartialEq for RowLevelPermissionDataSet
impl PartialEq for RowLevelPermissionDataSet
source§fn eq(&self, other: &RowLevelPermissionDataSet) -> bool
fn eq(&self, other: &RowLevelPermissionDataSet) -> bool
self and other values to be equal, and is used
by ==.