aws_sdk_repostspace/client/batch_add_channel_role_to_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 [`BatchAddChannelRoleToAccessors`](crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`space_id(impl Into<String>)`](crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::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_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::channel_id) / [`set_channel_id(Option<String>)`](crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::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_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::accessor_ids) / [`set_accessor_ids(Option<Vec::<String>>)`](crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::set_accessor_ids):<br>required: **true**<br><p>The user or group identifiers to add the role to.</p><br>
9 /// - [`channel_role(ChannelRole)`](crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::channel_role) / [`set_channel_role(Option<ChannelRole>)`](crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::set_channel_role):<br>required: **true**<br><p>The channel role to add to the users or groups.</p><br>
10 /// - On success, responds with [`BatchAddChannelRoleToAccessorsOutput`](crate::operation::batch_add_channel_role_to_accessors::BatchAddChannelRoleToAccessorsOutput) with field(s):
11 /// - [`added_accessor_ids(Vec::<String>)`](crate::operation::batch_add_channel_role_to_accessors::BatchAddChannelRoleToAccessorsOutput::added_accessor_ids): <p>An array of successfully updated identifiers.</p>
12 /// - [`errors(Vec::<BatchError>)`](crate::operation::batch_add_channel_role_to_accessors::BatchAddChannelRoleToAccessorsOutput::errors): <p>An array of errors that occurred when roles were added.</p>
13 /// - On failure, responds with [`SdkError<BatchAddChannelRoleToAccessorsError>`](crate::operation::batch_add_channel_role_to_accessors::BatchAddChannelRoleToAccessorsError)
14 pub fn batch_add_channel_role_to_accessors(
15 &self,
16 ) -> crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder {
17 crate::operation::batch_add_channel_role_to_accessors::builders::BatchAddChannelRoleToAccessorsFluentBuilder::new(self.handle.clone())
18 }
19}