Struct aws_sdk_quicksight::operation::update_analysis_permissions::UpdateAnalysisPermissionsInput
source · #[non_exhaustive]pub struct UpdateAnalysisPermissionsInput {
pub aws_account_id: Option<String>,
pub analysis_id: Option<String>,
pub grant_permissions: Option<Vec<ResourcePermission>>,
pub revoke_permissions: Option<Vec<ResourcePermission>>,
}
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.aws_account_id: Option<String>
The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
analysis_id: Option<String>
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
grant_permissions: Option<Vec<ResourcePermission>>
A structure that describes the permissions to add and the principal to add them to.
revoke_permissions: Option<Vec<ResourcePermission>>
A structure that describes the permissions to remove and the principal to remove them from.
Implementations§
source§impl UpdateAnalysisPermissionsInput
impl UpdateAnalysisPermissionsInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
sourcepub fn analysis_id(&self) -> Option<&str>
pub fn analysis_id(&self) -> Option<&str>
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
sourcepub fn grant_permissions(&self) -> &[ResourcePermission]
pub fn grant_permissions(&self) -> &[ResourcePermission]
A structure that describes the permissions to add and the principal to add them to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .grant_permissions.is_none()
.
sourcepub fn revoke_permissions(&self) -> &[ResourcePermission]
pub fn revoke_permissions(&self) -> &[ResourcePermission]
A structure that describes the permissions to remove and the principal to remove them from.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .revoke_permissions.is_none()
.
source§impl UpdateAnalysisPermissionsInput
impl UpdateAnalysisPermissionsInput
sourcepub fn builder() -> UpdateAnalysisPermissionsInputBuilder
pub fn builder() -> UpdateAnalysisPermissionsInputBuilder
Creates a new builder-style object to manufacture UpdateAnalysisPermissionsInput
.
Trait Implementations§
source§impl Clone for UpdateAnalysisPermissionsInput
impl Clone for UpdateAnalysisPermissionsInput
source§fn clone(&self) -> UpdateAnalysisPermissionsInput
fn clone(&self) -> UpdateAnalysisPermissionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateAnalysisPermissionsInput
impl PartialEq for UpdateAnalysisPermissionsInput
source§fn eq(&self, other: &UpdateAnalysisPermissionsInput) -> bool
fn eq(&self, other: &UpdateAnalysisPermissionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.