#[non_exhaustive]pub struct UpdateFolderPermissionsInput { /* private fields */ }Implementations§
source§impl UpdateFolderPermissionsInput
impl UpdateFolderPermissionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFolderPermissions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFolderPermissions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateFolderPermissions>
Examples found in repository?
src/client.rs (line 14627)
14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateFolderPermissions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateFolderPermissionsError>,
> {
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::UpdateFolderPermissionsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateFolderPermissionsError>,
> {
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 UpdateFolderPermissionsInput.
source§impl UpdateFolderPermissionsInput
impl UpdateFolderPermissionsInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID for the Amazon Web Services account that contains the folder to update.
sourcepub fn grant_permissions(&self) -> Option<&[ResourcePermission]>
pub fn grant_permissions(&self) -> Option<&[ResourcePermission]>
The permissions that you want to grant on a resource.
sourcepub fn revoke_permissions(&self) -> Option<&[ResourcePermission]>
pub fn revoke_permissions(&self) -> Option<&[ResourcePermission]>
The permissions that you want to revoke from a resource.
Trait Implementations§
source§impl Clone for UpdateFolderPermissionsInput
impl Clone for UpdateFolderPermissionsInput
source§fn clone(&self) -> UpdateFolderPermissionsInput
fn clone(&self) -> UpdateFolderPermissionsInput
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