#[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 ==.impl StructuralPartialEq for RowLevelPermissionDataSet
Auto Trait Implementations§
impl Freeze for RowLevelPermissionDataSet
impl RefUnwindSafe for RowLevelPermissionDataSet
impl Send for RowLevelPermissionDataSet
impl Sync for RowLevelPermissionDataSet
impl Unpin for RowLevelPermissionDataSet
impl UnwindSafe for RowLevelPermissionDataSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more