aws_sdk_repostspace/client/batch_remove_role.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`BatchRemoveRole`](crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`space_id(impl Into<String>)`](crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder::set_space_id):<br>required: **true**<br><p>The unique ID of the private re:Post.</p><br>
/// - [`accessor_ids(impl Into<String>)`](crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder::accessor_ids) / [`set_accessor_ids(Option<Vec::<String>>)`](crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder::set_accessor_ids):<br>required: **true**<br><p>The user or group accessor identifiers to remove the role from.</p><br>
/// - [`role(Role)`](crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder::role) / [`set_role(Option<Role>)`](crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder::set_role):<br>required: **true**<br><p>The role to remove from the users or groups.</p><br>
/// - On success, responds with [`BatchRemoveRoleOutput`](crate::operation::batch_remove_role::BatchRemoveRoleOutput) with field(s):
/// - [`removed_accessor_ids(Vec::<String>)`](crate::operation::batch_remove_role::BatchRemoveRoleOutput::removed_accessor_ids): <p>An array of successfully updated accessor identifiers.</p>
/// - [`errors(Vec::<BatchError>)`](crate::operation::batch_remove_role::BatchRemoveRoleOutput::errors): <p>An array of errors that occurred when roles were removed.</p>
/// - On failure, responds with [`SdkError<BatchRemoveRoleError>`](crate::operation::batch_remove_role::BatchRemoveRoleError)
pub fn batch_remove_role(&self) -> crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder {
crate::operation::batch_remove_role::builders::BatchRemoveRoleFluentBuilder::new(self.handle.clone())
}
}