aws_sdk_timestreaminfluxdb/client/create_db_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 [`CreateDbParameterGroup`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::set_name):<br>required: **true**<br><p>The name of the DB parameter group. The name must be unique per customer and per region.</p><br>
7 /// - [`description(impl Into<String>)`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::set_description):<br>required: **false**<br><p>A description of the DB parameter group.</p><br>
8 /// - [`parameters(Parameters)`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::parameters) / [`set_parameters(Option<Parameters>)`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::set_parameters):<br>required: **false**<br><p>A list of the parameters that comprise the DB parameter group.</p><br>
9 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::set_tags):<br>required: **false**<br><p>A list of key-value pairs to associate with the DB parameter group.</p><br>
10 /// - On success, responds with [`CreateDbParameterGroupOutput`](crate::operation::create_db_parameter_group::CreateDbParameterGroupOutput) with field(s):
11 /// - [`id(String)`](crate::operation::create_db_parameter_group::CreateDbParameterGroupOutput::id): <p>A service-generated unique identifier.</p>
12 /// - [`name(String)`](crate::operation::create_db_parameter_group::CreateDbParameterGroupOutput::name): <p>The customer-supplied name that uniquely identifies the DB parameter group when interacting with the Amazon Timestream for InfluxDB API and CLI commands.</p>
13 /// - [`arn(String)`](crate::operation::create_db_parameter_group::CreateDbParameterGroupOutput::arn): <p>The Amazon Resource Name (ARM) of the DB parameter group.</p>
14 /// - [`description(Option<String>)`](crate::operation::create_db_parameter_group::CreateDbParameterGroupOutput::description): <p>The description of the DB parameter group.</p>
15 /// - [`parameters(Option<Parameters>)`](crate::operation::create_db_parameter_group::CreateDbParameterGroupOutput::parameters): <p>A list of the parameters that comprise the DB parameter group.</p>
16 /// - On failure, responds with [`SdkError<CreateDbParameterGroupError>`](crate::operation::create_db_parameter_group::CreateDbParameterGroupError)
17 pub fn create_db_parameter_group(&self) -> crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder {
18 crate::operation::create_db_parameter_group::builders::CreateDbParameterGroupFluentBuilder::new(self.handle.clone())
19 }
20}