aws_sdk_workdocs/client/
remove_all_resource_permissions.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RemoveAllResourcePermissions`](crate::operation::remove_all_resource_permissions::builders::RemoveAllResourcePermissionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`authentication_token(impl Into<String>)`](crate::operation::remove_all_resource_permissions::builders::RemoveAllResourcePermissionsFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::remove_all_resource_permissions::builders::RemoveAllResourcePermissionsFluentBuilder::set_authentication_token):<br>required: **false**<br><p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
    ///   - [`resource_id(impl Into<String>)`](crate::operation::remove_all_resource_permissions::builders::RemoveAllResourcePermissionsFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::remove_all_resource_permissions::builders::RemoveAllResourcePermissionsFluentBuilder::set_resource_id):<br>required: **true**<br><p>The ID of the resource.</p><br>
    /// - On success, responds with [`RemoveAllResourcePermissionsOutput`](crate::operation::remove_all_resource_permissions::RemoveAllResourcePermissionsOutput)
    /// - On failure, responds with [`SdkError<RemoveAllResourcePermissionsError>`](crate::operation::remove_all_resource_permissions::RemoveAllResourcePermissionsError)
    pub fn remove_all_resource_permissions(
        &self,
    ) -> crate::operation::remove_all_resource_permissions::builders::RemoveAllResourcePermissionsFluentBuilder {
        crate::operation::remove_all_resource_permissions::builders::RemoveAllResourcePermissionsFluentBuilder::new(self.handle.clone())
    }
}