aws_sdk_dax/client/
delete_parameter_group.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 [`DeleteParameterGroup`](crate::operation::delete_parameter_group::builders::DeleteParameterGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`parameter_group_name(impl Into<String>)`](crate::operation::delete_parameter_group::builders::DeleteParameterGroupFluentBuilder::parameter_group_name) / [`set_parameter_group_name(Option<String>)`](crate::operation::delete_parameter_group::builders::DeleteParameterGroupFluentBuilder::set_parameter_group_name):<br>required: **true**<br><p>The name of the parameter group to delete.</p><br>
7    /// - On success, responds with [`DeleteParameterGroupOutput`](crate::operation::delete_parameter_group::DeleteParameterGroupOutput) with field(s):
8    ///   - [`deletion_message(Option<String>)`](crate::operation::delete_parameter_group::DeleteParameterGroupOutput::deletion_message): <p>A user-specified message for this action (i.e., a reason for deleting the parameter group).</p>
9    /// - On failure, responds with [`SdkError<DeleteParameterGroupError>`](crate::operation::delete_parameter_group::DeleteParameterGroupError)
10    pub fn delete_parameter_group(&self) -> crate::operation::delete_parameter_group::builders::DeleteParameterGroupFluentBuilder {
11        crate::operation::delete_parameter_group::builders::DeleteParameterGroupFluentBuilder::new(self.handle.clone())
12    }
13}