aws_sdk_memorydb/client/
create_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 [`CreateParameterGroup`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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.</p><br>
7    ///   - [`family(impl Into<String>)`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::family) / [`set_family(Option<String>)`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::set_family):<br>required: **true**<br><p>The name of the parameter group family that the parameter group can be used with.</p><br>
8    ///   - [`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>An optional description of the parameter group.</p><br>
9    ///   - [`tags(Tag)`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.</p><br>
10    /// - On success, responds with [`CreateParameterGroupOutput`](crate::operation::create_parameter_group::CreateParameterGroupOutput) with field(s):
11    ///   - [`parameter_group(Option<ParameterGroup>)`](crate::operation::create_parameter_group::CreateParameterGroupOutput::parameter_group): <p>The newly-created parameter group.</p>
12    /// - On failure, responds with [`SdkError<CreateParameterGroupError>`](crate::operation::create_parameter_group::CreateParameterGroupError)
13    pub fn create_parameter_group(&self) -> crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder {
14        crate::operation::create_parameter_group::builders::CreateParameterGroupFluentBuilder::new(self.handle.clone())
15    }
16}