#[non_exhaustive]pub struct CreateDbParameterGroupInput {
pub db_parameter_group_name: Option<String>,
pub db_parameter_group_family: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.db_parameter_group_name: Option<String>The name of the DB parameter group.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
db_parameter_group_family: Option<String>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.
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions\[\].DBParameterGroupFamily" --engine
For example, to list all of the available parameter group families for the MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions\[\].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql -
aurora-postgresql -
db2-ae -
db2-se -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
description: Option<String>The description for the DB parameter group.
Tags to assign to the DB parameter group.
Implementations§
source§impl CreateDbParameterGroupInput
impl CreateDbParameterGroupInput
sourcepub fn db_parameter_group_name(&self) -> Option<&str>
pub fn db_parameter_group_name(&self) -> Option<&str>
The name of the DB parameter group.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
sourcepub fn db_parameter_group_family(&self) -> Option<&str>
pub fn db_parameter_group_family(&self) -> Option<&str>
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.
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions\[\].DBParameterGroupFamily" --engine
For example, to list all of the available parameter group families for the MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions\[\].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql -
aurora-postgresql -
db2-ae -
db2-se -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the DB parameter group.
Tags to assign to the DB parameter group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateDbParameterGroupInput
impl CreateDbParameterGroupInput
sourcepub fn builder() -> CreateDbParameterGroupInputBuilder
pub fn builder() -> CreateDbParameterGroupInputBuilder
Creates a new builder-style object to manufacture CreateDbParameterGroupInput.
Trait Implementations§
source§impl Clone for CreateDbParameterGroupInput
impl Clone for CreateDbParameterGroupInput
source§fn clone(&self) -> CreateDbParameterGroupInput
fn clone(&self) -> CreateDbParameterGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDbParameterGroupInput
impl Debug for CreateDbParameterGroupInput
source§impl PartialEq for CreateDbParameterGroupInput
impl PartialEq for CreateDbParameterGroupInput
source§fn eq(&self, other: &CreateDbParameterGroupInput) -> bool
fn eq(&self, other: &CreateDbParameterGroupInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDbParameterGroupInput
Auto Trait Implementations§
impl Freeze for CreateDbParameterGroupInput
impl RefUnwindSafe for CreateDbParameterGroupInput
impl Send for CreateDbParameterGroupInput
impl Sync for CreateDbParameterGroupInput
impl Unpin for CreateDbParameterGroupInput
impl UnwindSafe for CreateDbParameterGroupInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more