#[non_exhaustive]pub struct RowLevelPermissionDataSet {
pub namespace: Option<String>,
pub arn: Option<String>,
pub permission_policy: Option<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: Option<String>
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
permission_policy: Option<RowLevelPermissionPolicy>
The 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
sourceimpl 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) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
sourcepub fn permission_policy(&self) -> Option<&RowLevelPermissionPolicy>
pub fn permission_policy(&self) -> Option<&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.
sourceimpl RowLevelPermissionDataSet
impl RowLevelPermissionDataSet
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RowLevelPermissionDataSet
Trait Implementations
sourceimpl Clone for RowLevelPermissionDataSet
impl Clone for RowLevelPermissionDataSet
sourcefn clone(&self) -> RowLevelPermissionDataSet
fn clone(&self) -> RowLevelPermissionDataSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RowLevelPermissionDataSet
impl Debug for RowLevelPermissionDataSet
sourceimpl PartialEq<RowLevelPermissionDataSet> for RowLevelPermissionDataSet
impl PartialEq<RowLevelPermissionDataSet> for RowLevelPermissionDataSet
sourcefn eq(&self, other: &RowLevelPermissionDataSet) -> bool
fn eq(&self, other: &RowLevelPermissionDataSet) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RowLevelPermissionDataSet) -> bool
fn ne(&self, other: &RowLevelPermissionDataSet) -> bool
This method tests for !=
.
impl StructuralPartialEq for RowLevelPermissionDataSet
Auto Trait Implementations
impl RefUnwindSafe for RowLevelPermissionDataSet
impl Send for RowLevelPermissionDataSet
impl Sync for RowLevelPermissionDataSet
impl Unpin for RowLevelPermissionDataSet
impl UnwindSafe for RowLevelPermissionDataSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more