aws_sdk_dax/client/
create_parameter_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateParameterGroup`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`parameter_group_name(impl Into<String>)`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::parameter_group_name) / [`set_parameter_group_name(Option<String>)`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::set_parameter_group_name):<br>required: **true**<br><p>The name of the parameter group to apply to all of the clusters in this replication group.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::set_description):<br>required: **false**<br><p>A description of the parameter group.</p><br>
    /// - On success, responds with [`CreateParameterGroupOutput`](crate::operation::create_parameter_group::CreateParameterGroupOutput) with field(s):
    ///   - [`parameter_group(Option<ParameterGroup>)`](crate::operation::create_parameter_group::CreateParameterGroupOutput::parameter_group): <p>Represents the output of a <i>CreateParameterGroup</i> action.</p>
    /// - On failure, responds with [`SdkError<CreateParameterGroupError>`](crate::operation::create_parameter_group::CreateParameterGroupError)
    pub fn create_parameter_group(&self) -> crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder {
        crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::new(self.handle.clone())
    }
}