1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteKeyGroup`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::set_id): <p>The identifier of the key group that you are deleting. To get the identifier, use <code>ListKeyGroups</code>.</p>
    ///   - [`if_match(impl Into<String>)`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::set_if_match): <p>The version of the key group that you are deleting. The version is the key group's <code>ETag</code> value. To get the <code>ETag</code>, use <code>GetKeyGroup</code> or <code>GetKeyGroupConfig</code>.</p>
    /// - On success, responds with [`DeleteKeyGroupOutput`](crate::operation::delete_key_group::DeleteKeyGroupOutput)
    /// - On failure, responds with [`SdkError<DeleteKeyGroupError>`](crate::operation::delete_key_group::DeleteKeyGroupError)
    pub fn delete_key_group(
        &self,
    ) -> crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder {
        crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::new(
            self.handle.clone(),
        )
    }
}