aws_sdk_workmail/client/delete_group.rs
// 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:
/// - [`organization_id(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_organization_id):<br>required: **true**<br><p>The organization that contains the group.</p><br>
/// - [`group_id(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::group_id) / [`set_group_id(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_group_id):<br>required: **true**<br><p>The identifier of the group to be deleted.</p> <p>The identifier can be the <i>GroupId</i>, or <i>Groupname</i>. The following identity formats are available:</p> <ul> <li> <p>Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234</p></li> <li> <p>Group name: group</p></li> </ul><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())
}
}