Struct aws_sdk_quicksight::model::ResourcePermission
source · #[non_exhaustive]pub struct ResourcePermission { /* private fields */ }
Expand description
Permission for the resource.
Implementations§
source§impl ResourcePermission
impl ResourcePermission
sourcepub fn principal(&self) -> Option<&str>
pub fn principal(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
-
The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
-
The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
-
The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)
source§impl ResourcePermission
impl ResourcePermission
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourcePermission
.
Trait Implementations§
source§impl Clone for ResourcePermission
impl Clone for ResourcePermission
source§fn clone(&self) -> ResourcePermission
fn clone(&self) -> ResourcePermission
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResourcePermission
impl Debug for ResourcePermission
source§impl PartialEq<ResourcePermission> for ResourcePermission
impl PartialEq<ResourcePermission> for ResourcePermission
source§fn eq(&self, other: &ResourcePermission) -> bool
fn eq(&self, other: &ResourcePermission) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.