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 [`DeleteGroup`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the application in which the group mapping belongs.</p><br>
    ///   - [`index_id(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the index you want to delete the group from.</p><br>
    ///   - [`group_name(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_group_name):<br>required: **true**<br><p>The name of the group you want to delete.</p><br>
    ///   - [`data_source_id(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::data_source_id) / [`set_data_source_id(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_data_source_id):<br>required: **false**<br><p>The identifier of the data source linked to the group</p> <p>A group can be tied to multiple data sources. You can delete a group from accessing documents in a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. You want to delete "Research" and "Engineering" groups from Salesforce, so that these groups cannot access customer-related documents stored in Salesforce. Only "Sales and Marketing" should access documents in the Salesforce data source.</p><br>
    /// - On success, responds with [`DeleteGroupOutput`](crate::operation::delete_group::DeleteGroupOutput)
    /// - On failure, responds with [`SdkError<DeleteGroupError>`](crate::operation::delete_group::DeleteGroupError)
    pub fn delete_group(&self) -> crate::operation::delete_group::builders::DeleteGroupFluentBuilder {
        crate::operation::delete_group::builders::DeleteGroupFluentBuilder::new(self.handle.clone())
    }
}