1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::enable_ebs_encryption_by_default::_enable_ebs_encryption_by_default_output::EnableEbsEncryptionByDefaultOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::enable_ebs_encryption_by_default::_enable_ebs_encryption_by_default_input::EnableEbsEncryptionByDefaultInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::enable_ebs_encryption_by_default::_enable_ebs_encryption_by_default_output::EnableEbsEncryptionByDefaultOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::enable_ebs_encryption_by_default::builders::EnableEbsEncryptionByDefaultInputBuilder {
|
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::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.enable_ebs_encryption_by_default();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `EnableEbsEncryptionByDefault`.
|
24 24 | ///
|
25 25 | /// <p>Enables EBS encryption by default for your account in the current Region.</p>
|
26 26 | /// <p>After you enable encryption by default, the EBS volumes that you create are always encrypted, either using the default KMS key or the KMS key that you specified when you created each volume. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>.</p>
|
27 27 | /// <p>Enabling encryption by default has no effect on the encryption status of your existing volumes.</p>
|
28 28 | /// <p>After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances">Supported instance types</a>.</p>
|
29 29 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
30 30 | pub struct EnableEbsEncryptionByDefaultFluentBuilder {
|
31 31 | handle: ::std::sync::Arc<crate::client::Handle>,
|
32 32 | inner: crate::operation::enable_ebs_encryption_by_default::builders::EnableEbsEncryptionByDefaultInputBuilder,
|
33 33 | config_override: ::std::option::Option<crate::config::Builder>,
|
34 34 | }
|
35 35 | impl
|