aws_sdk_rds/client/
modify_db_snapshot.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ModifyDBSnapshot`](crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`db_snapshot_identifier(impl Into<String>)`](crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder::db_snapshot_identifier) / [`set_db_snapshot_identifier(Option<String>)`](crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder::set_db_snapshot_identifier):<br>required: **true**<br><p>The identifier of the DB snapshot to modify.</p><br>
    ///   - [`engine_version(impl Into<String>)`](crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder::engine_version) / [`set_engine_version(Option<String>)`](crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder::set_engine_version):<br>required: **false**<br><p>The engine version to upgrade the DB snapshot to.</p> <p>The following are the database engines and engine versions that are available when you upgrade a DB snapshot.</p> <p><b>MySQL</b></p> <p>For the list of engine versions that are available for upgrading a DB snapshot, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-upgrade-snapshot.html"> Upgrading a MySQL DB snapshot engine version</a> in the <i>Amazon RDS User Guide.</i></p> <p><b>Oracle</b></p> <ul>  <li>   <p><code>19.0.0.0.ru-2022-01.rur-2022-01.r1</code> (supported for 12.2.0.1 DB snapshots)</p></li>  <li>   <p><code>19.0.0.0.ru-2022-07.rur-2022-07.r1</code> (supported for 12.1.0.2 DB snapshots)</p></li>  <li>   <p><code>12.1.0.2.v8</code> (supported for 12.1.0.1 DB snapshots)</p></li>  <li>   <p><code>11.2.0.4.v12</code> (supported for 11.2.0.2 DB snapshots)</p></li>  <li>   <p><code>11.2.0.4.v11</code> (supported for 11.2.0.3 DB snapshots)</p></li> </ul> <p><b>PostgreSQL</b></p> <p>For the list of engine versions that are available for upgrading a DB snapshot, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBSnapshot.PostgreSQL.html"> Upgrading a PostgreSQL DB snapshot engine version</a> in the <i>Amazon RDS User Guide.</i></p><br>
    ///   - [`option_group_name(impl Into<String>)`](crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder::option_group_name) / [`set_option_group_name(Option<String>)`](crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder::set_option_group_name):<br>required: **false**<br><p>The option group to identify with the upgraded DB snapshot.</p> <p>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 <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Oracle.html#USER_UpgradeDBInstance.Oracle.OGPG.OG">Option group considerations</a> in the <i>Amazon RDS User Guide.</i></p><br>
    /// - On success, responds with [`ModifyDbSnapshotOutput`](crate::operation::modify_db_snapshot::ModifyDbSnapshotOutput) with field(s):
    ///   - [`db_snapshot(Option<DbSnapshot>)`](crate::operation::modify_db_snapshot::ModifyDbSnapshotOutput::db_snapshot): <p>Contains the details of an Amazon RDS DB snapshot.</p> <p>This data type is used as a response element in the <code>DescribeDBSnapshots</code> action.</p>
    /// - On failure, responds with [`SdkError<ModifyDBSnapshotError>`](crate::operation::modify_db_snapshot::ModifyDBSnapshotError)
    pub fn modify_db_snapshot(&self) -> crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder {
        crate::operation::modify_db_snapshot::builders::ModifyDBSnapshotFluentBuilder::new(self.handle.clone())
    }
}