#[non_exhaustive]pub struct UpdateDashboardPermissionsInput {
pub aws_account_id: Option<String>,
pub dashboard_id: Option<String>,
pub grant_permissions: Option<Vec<ResourcePermission>>,
pub revoke_permissions: Option<Vec<ResourcePermission>>,
pub grant_link_permissions: Option<Vec<ResourcePermission>>,
pub revoke_link_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 dashboard whose permissions you're updating.
dashboard_id: Option<String>
The ID for the dashboard.
grant_permissions: Option<Vec<ResourcePermission>>
The permissions that you want to grant on this resource.
revoke_permissions: Option<Vec<ResourcePermission>>
The permissions that you want to revoke from this resource.
grant_link_permissions: Option<Vec<ResourcePermission>>
Grants link permissions to all users in a defined namespace.
revoke_link_permissions: Option<Vec<ResourcePermission>>
Revokes link permissions from all users in a defined namespace.
Implementations
sourceimpl UpdateDashboardPermissionsInput
impl UpdateDashboardPermissionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDashboardPermissions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDashboardPermissions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateDashboardPermissions
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDashboardPermissionsInput
sourceimpl UpdateDashboardPermissionsInput
impl UpdateDashboardPermissionsInput
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 dashboard whose permissions you're updating.
sourcepub fn dashboard_id(&self) -> Option<&str>
pub fn dashboard_id(&self) -> Option<&str>
The ID for the dashboard.
sourcepub fn grant_permissions(&self) -> Option<&[ResourcePermission]>
pub fn grant_permissions(&self) -> Option<&[ResourcePermission]>
The permissions that you want to grant on this resource.
sourcepub fn revoke_permissions(&self) -> Option<&[ResourcePermission]>
pub fn revoke_permissions(&self) -> Option<&[ResourcePermission]>
The permissions that you want to revoke from this resource.
sourcepub fn grant_link_permissions(&self) -> Option<&[ResourcePermission]>
pub fn grant_link_permissions(&self) -> Option<&[ResourcePermission]>
Grants link permissions to all users in a defined namespace.
sourcepub fn revoke_link_permissions(&self) -> Option<&[ResourcePermission]>
pub fn revoke_link_permissions(&self) -> Option<&[ResourcePermission]>
Revokes link permissions from all users in a defined namespace.
Trait Implementations
sourceimpl Clone for UpdateDashboardPermissionsInput
impl Clone for UpdateDashboardPermissionsInput
sourcefn clone(&self) -> UpdateDashboardPermissionsInput
fn clone(&self) -> UpdateDashboardPermissionsInput
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 PartialEq<UpdateDashboardPermissionsInput> for UpdateDashboardPermissionsInput
impl PartialEq<UpdateDashboardPermissionsInput> for UpdateDashboardPermissionsInput
sourcefn eq(&self, other: &UpdateDashboardPermissionsInput) -> bool
fn eq(&self, other: &UpdateDashboardPermissionsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateDashboardPermissionsInput) -> bool
fn ne(&self, other: &UpdateDashboardPermissionsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateDashboardPermissionsInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateDashboardPermissionsInput
impl Send for UpdateDashboardPermissionsInput
impl Sync for UpdateDashboardPermissionsInput
impl Unpin for UpdateDashboardPermissionsInput
impl UnwindSafe for UpdateDashboardPermissionsInput
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