aws_sdk_repostspace/client/batch_remove_channel_role_from_accessors.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`BatchRemoveChannelRoleFromAccessors`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`space_id(impl Into<String>)`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::set_space_id):<br>required: **true**<br><p>The unique ID of the private re:Post.</p><br>
7 /// - [`channel_id(impl Into<String>)`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::channel_id) / [`set_channel_id(Option<String>)`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::set_channel_id):<br>required: **true**<br><p>The unique ID of the private re:Post channel.</p><br>
8 /// - [`accessor_ids(impl Into<String>)`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::accessor_ids) / [`set_accessor_ids(Option<Vec::<String>>)`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::set_accessor_ids):<br>required: **true**<br><p>The users or groups identifiers to remove the role from.</p><br>
9 /// - [`channel_role(ChannelRole)`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::channel_role) / [`set_channel_role(Option<ChannelRole>)`](crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::set_channel_role):<br>required: **true**<br><p>The channel role to remove from the users or groups.</p><br>
10 /// - On success, responds with [`BatchRemoveChannelRoleFromAccessorsOutput`](crate::operation::batch_remove_channel_role_from_accessors::BatchRemoveChannelRoleFromAccessorsOutput) with field(s):
11 /// - [`removed_accessor_ids(Vec::<String>)`](crate::operation::batch_remove_channel_role_from_accessors::BatchRemoveChannelRoleFromAccessorsOutput::removed_accessor_ids): <p>An array of successfully updated identifiers.</p>
12 /// - [`errors(Vec::<BatchError>)`](crate::operation::batch_remove_channel_role_from_accessors::BatchRemoveChannelRoleFromAccessorsOutput::errors): <p>An array of errors that occurred when roles were removed.</p>
13 /// - On failure, responds with [`SdkError<BatchRemoveChannelRoleFromAccessorsError>`](crate::operation::batch_remove_channel_role_from_accessors::BatchRemoveChannelRoleFromAccessorsError)
14 pub fn batch_remove_channel_role_from_accessors(
15 &self,
16 ) -> crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder {
17 crate::operation::batch_remove_channel_role_from_accessors::builders::BatchRemoveChannelRoleFromAccessorsFluentBuilder::new(
18 self.handle.clone(),
19 )
20 }
21}