Struct aws_sdk_rds::client::fluent_builders::ModifyDBSnapshot
source · [−]pub struct ModifyDBSnapshot { /* private fields */ }Expand description
Fluent builder constructing a request to ModifyDBSnapshot.
Updates a manual DB snapshot with a new engine version. The snapshot can be encrypted or unencrypted, but not shared or public.
Amazon RDS supports upgrading DB snapshots for MySQL, PostgreSQL, and Oracle. This command doesn't apply to RDS Custom.
Implementations
sourceimpl ModifyDBSnapshot
impl ModifyDBSnapshot
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyDBSnapshot, AwsResponseRetryClassifier>, SdkError<ModifyDBSnapshotError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ModifyDBSnapshot, AwsResponseRetryClassifier>, SdkError<ModifyDBSnapshotError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ModifyDbSnapshotOutput, SdkError<ModifyDBSnapshotError>>
pub async fn send(
self
) -> Result<ModifyDbSnapshotOutput, SdkError<ModifyDBSnapshotError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn db_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn db_snapshot_identifier(self, input: impl Into<String>) -> Self
The identifier of the DB snapshot to modify.
sourcepub fn set_db_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_db_snapshot_identifier(self, input: Option<String>) -> Self
The identifier of the DB snapshot to modify.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The engine version to upgrade the DB snapshot to.
The following are the database engines and engine versions that are available when you upgrade a DB snapshot.
MySQL
-
5.5.46(supported for 5.1 DB snapshots)
Oracle
-
12.1.0.2.v8(supported for 12.1.0.1 DB snapshots) -
11.2.0.4.v12(supported for 11.2.0.2 DB snapshots) -
11.2.0.4.v11(supported for 11.2.0.3 DB snapshots)
PostgreSQL
For the list of engine versions that are available for upgrading a DB snapshot, see Upgrading the PostgreSQL DB Engine for Amazon RDS.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The engine version to upgrade the DB snapshot to.
The following are the database engines and engine versions that are available when you upgrade a DB snapshot.
MySQL
-
5.5.46(supported for 5.1 DB snapshots)
Oracle
-
12.1.0.2.v8(supported for 12.1.0.1 DB snapshots) -
11.2.0.4.v12(supported for 11.2.0.2 DB snapshots) -
11.2.0.4.v11(supported for 11.2.0.3 DB snapshots)
PostgreSQL
For the list of engine versions that are available for upgrading a DB snapshot, see Upgrading the PostgreSQL DB Engine for Amazon RDS.
sourcepub fn option_group_name(self, input: impl Into<String>) -> Self
pub fn option_group_name(self, input: impl Into<String>) -> Self
The option group to identify with the upgraded DB snapshot.
You can specify this parameter when you upgrade an Oracle DB snapshot. The same option group considerations apply when upgrading a DB snapshot as when upgrading a DB instance. For more information, see Option group considerations in the Amazon RDS User Guide.
sourcepub fn set_option_group_name(self, input: Option<String>) -> Self
pub fn set_option_group_name(self, input: Option<String>) -> Self
The option group to identify with the upgraded DB snapshot.
You can specify this parameter when you upgrade an Oracle DB snapshot. The same option group considerations apply when upgrading a DB snapshot as when upgrading a DB instance. For more information, see Option group considerations in the Amazon RDS User Guide.
Trait Implementations
sourceimpl Clone for ModifyDBSnapshot
impl Clone for ModifyDBSnapshot
sourcefn clone(&self) -> ModifyDBSnapshot
fn clone(&self) -> ModifyDBSnapshot
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more