1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::copy_snapshot::_copy_snapshot_output::CopySnapshotOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::copy_snapshot::_copy_snapshot_input::CopySnapshotInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::copy_snapshot::_copy_snapshot_output::CopySnapshotOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::copy_snapshot::builders::CopySnapshotInputBuilder {
|
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::copy_snapshot::CopySnapshotOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::copy_snapshot::CopySnapshotError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.copy_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 `CopySnapshot`.
|
24 24 | ///
|
25 25 | /// <p>Creates an exact copy of an Amazon EBS snapshot.</p>
|
26 26 | /// <p>The location of the source snapshot determines whether you can copy it or not, and the allowed destinations for the snapshot copy.</p>
|
27 27 | /// <ul>
|
28 28 | /// <li>
|
29 29 | /// <p>If the source snapshot is in a Region, you can copy it within that Region, to another Region, to an Outpost associated with that Region, or to a Local Zone in that Region.</p></li>
|
30 30 | /// <li>
|
31 31 | /// <p>If the source snapshot is in a Local Zone, you can copy it within that Local Zone, to another Local Zone in the same zone group, or to the parent Region of the Local Zone.</p></li>
|
32 32 | /// <li>
|
33 33 | /// <p>If the source snapshot is on an Outpost, you can't copy it.</p></li>
|
34 34 | /// </ul>
|
35 35 | /// <p>When copying snapshots to a Region, the encryption outcome for the snapshot copy depends on the Amazon EBS encryption by default setting for the destination Region, the encryption status of the source snapshot, and the encryption parameters you specify in the request. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-copy-snapshot.html#creating-encrypted-snapshots"> Encryption and snapshot copying</a>.</p>
|