#[non_exhaustive]pub struct UpdateDashboardPermissionsInput { /* private fields */ }Implementations§
source§impl UpdateDashboardPermissionsInput
impl UpdateDashboardPermissionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDashboardPermissions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDashboardPermissions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDashboardPermissions>
Examples found in repository?
src/client.rs (line 13620)
13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDashboardPermissions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDashboardPermissionsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateDashboardPermissionsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDashboardPermissionsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDashboardPermissionsInput.
source§impl 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§
source§impl Clone for UpdateDashboardPermissionsInput
impl Clone for UpdateDashboardPermissionsInput
source§fn clone(&self) -> UpdateDashboardPermissionsInput
fn clone(&self) -> UpdateDashboardPermissionsInput
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 more