aws_sdk_rds/client/delete_db_snapshot.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 [`DeleteDBSnapshot`](crate::operation::delete_db_snapshot::builders::DeleteDBSnapshotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`db_snapshot_identifier(impl Into<String>)`](crate::operation::delete_db_snapshot::builders::DeleteDBSnapshotFluentBuilder::db_snapshot_identifier) / [`set_db_snapshot_identifier(Option<String>)`](crate::operation::delete_db_snapshot::builders::DeleteDBSnapshotFluentBuilder::set_db_snapshot_identifier):<br>required: **true**<br><p>The DB snapshot identifier.</p> <p>Constraints: Must be the name of an existing DB snapshot in the <code>available</code> state.</p><br>
7 /// - On success, responds with [`DeleteDbSnapshotOutput`](crate::operation::delete_db_snapshot::DeleteDbSnapshotOutput) with field(s):
8 /// - [`db_snapshot(Option<DbSnapshot>)`](crate::operation::delete_db_snapshot::DeleteDbSnapshotOutput::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>
9 /// - On failure, responds with [`SdkError<DeleteDBSnapshotError>`](crate::operation::delete_db_snapshot::DeleteDBSnapshotError)
10 pub fn delete_db_snapshot(&self) -> crate::operation::delete_db_snapshot::builders::DeleteDBSnapshotFluentBuilder {
11 crate::operation::delete_db_snapshot::builders::DeleteDBSnapshotFluentBuilder::new(self.handle.clone())
12 }
13}