1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::delete_snapshot::_delete_snapshot_output::DeleteSnapshotOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::delete_snapshot::_delete_snapshot_input::DeleteSnapshotInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::delete_snapshot::_delete_snapshot_output::DeleteSnapshotOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::delete_snapshot::builders::DeleteSnapshotInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::delete_snapshot::DeleteSnapshotOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::delete_snapshot::DeleteSnapshotError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.delete_snapshot();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DeleteSnapshot`.
|
24 24 | ///
|
25 25 | /// <p>Deletes the specified snapshot.</p>
|
26 26 | /// <p>When you make periodic snapshots of a volume, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the volume.</p>
|
27 27 | /// <p>You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI. You must first deregister the AMI before you can delete the snapshot.</p>
|
28 28 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-snapshot.html">Delete an Amazon EBS snapshot</a> in the <i>Amazon EBS User Guide</i>.</p>
|
29 29 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
30 30 | pub struct DeleteSnapshotFluentBuilder {
|
31 31 | handle: ::std::sync::Arc<crate::client::Handle>,
|
32 32 | inner: crate::operation::delete_snapshot::builders::DeleteSnapshotInputBuilder,
|
33 33 | config_override: ::std::option::Option<crate::config::Builder>,
|
34 34 | }
|
35 35 | impl
|