// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteKey`](crate::operation::delete_key::builders::DeleteKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`key_identifier(impl Into<String>)`](crate::operation::delete_key::builders::DeleteKeyFluentBuilder::key_identifier) / [`set_key_identifier(Option<String>)`](crate::operation::delete_key::builders::DeleteKeyFluentBuilder::set_key_identifier): <p>The <code>KeyARN</code> of the key that is scheduled for deletion.</p>
/// - [`delete_key_in_days(i32)`](crate::operation::delete_key::builders::DeleteKeyFluentBuilder::delete_key_in_days) / [`set_delete_key_in_days(Option<i32>)`](crate::operation::delete_key::builders::DeleteKeyFluentBuilder::set_delete_key_in_days): <p>The waiting period for key deletion. The default value is seven days.</p>
/// - On success, responds with [`DeleteKeyOutput`](crate::operation::delete_key::DeleteKeyOutput) with field(s):
/// - [`key(Option<Key>)`](crate::operation::delete_key::DeleteKeyOutput::key): <p>The <code>KeyARN</code> of the key that is scheduled for deletion.</p>
/// - On failure, responds with [`SdkError<DeleteKeyError>`](crate::operation::delete_key::DeleteKeyError)
pub fn delete_key(&self) -> crate::operation::delete_key::builders::DeleteKeyFluentBuilder {
crate::operation::delete_key::builders::DeleteKeyFluentBuilder::new(self.handle.clone())
}
}