1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateDBParameterGroup`](crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`db_parameter_group_name(impl Into<String>)`](crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder::db_parameter_group_name) / [`set_db_parameter_group_name(Option<String>)`](crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder::set_db_parameter_group_name): <p>The name of the DB parameter group.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens</p> </li> </ul> <note> <p>This value is stored as a lowercase string.</p> </note>
/// - [`db_parameter_group_family(impl Into<String>)`](crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder::db_parameter_group_family) / [`set_db_parameter_group_family(Option<String>)`](crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder::set_db_parameter_group_family): <p>The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.</p> <p>To list all of the available parameter group families for a DB engine, use the following command:</p> <p> <code>aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine <engine></engine></code> </p> <p>For example, to list all of the available parameter group families for the MySQL DB engine, use the following command:</p> <p> <code>aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql</code> </p> <note> <p>The output contains duplicates.</p> </note> <p>The following are the valid DB engine values:</p> <ul> <li> <p> <code>aurora</code> (for MySQL 5.6-compatible Aurora)</p> </li> <li> <p> <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p> </li> <li> <p> <code>aurora-postgresql</code> </p> </li> <li> <p> <code>mariadb</code> </p> </li> <li> <p> <code>mysql</code> </p> </li> <li> <p> <code>oracle-ee</code> </p> </li> <li> <p> <code>oracle-ee-cdb</code> </p> </li> <li> <p> <code>oracle-se2</code> </p> </li> <li> <p> <code>oracle-se2-cdb</code> </p> </li> <li> <p> <code>postgres</code> </p> </li> <li> <p> <code>sqlserver-ee</code> </p> </li> <li> <p> <code>sqlserver-se</code> </p> </li> <li> <p> <code>sqlserver-ex</code> </p> </li> <li> <p> <code>sqlserver-web</code> </p> </li> </ul>
/// - [`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): <p>The description for the DB parameter group.</p>
/// - [`tags(Vec<Tag>)`](crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder::set_tags): <p>Tags to assign to the DB parameter group.</p>
/// - On success, responds with [`CreateDbParameterGroupOutput`](crate::operation::create_db_parameter_group::CreateDbParameterGroupOutput) with field(s):
/// - [`db_parameter_group(Option<DbParameterGroup>)`](crate::operation::create_db_parameter_group::CreateDbParameterGroupOutput::db_parameter_group): <p>Contains the details of an Amazon RDS DB parameter group.</p> <p>This data type is used as a response element in the <code>DescribeDBParameterGroups</code> action.</p>
/// - On failure, responds with [`SdkError<CreateDBParameterGroupError>`](crate::operation::create_db_parameter_group::CreateDBParameterGroupError)
pub fn create_db_parameter_group(
&self,
) -> crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder
{
crate::operation::create_db_parameter_group::builders::CreateDBParameterGroupFluentBuilder::new(self.handle.clone())
}
}