1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::modify_volume::_modify_volume_output::ModifyVolumeOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::modify_volume::_modify_volume_input::ModifyVolumeInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::modify_volume::_modify_volume_output::ModifyVolumeOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::modify_volume::builders::ModifyVolumeInputBuilder {
|
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::modify_volume::ModifyVolumeOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::modify_volume::ModifyVolumeError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.modify_volume();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `ModifyVolume`.
|
24 24 | ///
|
25 25 | /// <p>You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity. If your EBS volume is attached to a current-generation EC2 instance type, you might be able to apply these changes without stopping the instance or detaching the volume from it. For more information about modifying EBS volumes, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modify-volume.html">Amazon EBS Elastic Volumes</a> in the <i>Amazon EBS User Guide</i>.</p>
|
26 26 | /// <p>When you complete a resize operation on your volume, you need to extend the volume's file-system size to take advantage of the new storage capacity. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html">Extend the file system</a>.</p>
|
27 27 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-modifications.html">Monitor the progress of volume modifications</a> in the <i>Amazon EBS User Guide</i>.</p>
|
28 28 | /// <p>With previous-generation instance types, resizing an EBS volume might require detaching and reattaching the volume or stopping and restarting the instance.</p>
|
29 29 | /// <p>After modifying a volume, you must wait at least six hours and ensure that the volume is in the <code>in-use</code> or <code>available</code> state before you can modify the same volume. This is sometimes referred to as a cooldown period.</p>
|
30 30 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
31 31 | pub struct ModifyVolumeFluentBuilder {
|
32 32 | handle: ::std::sync::Arc<crate::client::Handle>,
|
33 33 | inner: crate::operation::modify_volume::builders::ModifyVolumeInputBuilder,
|
34 34 | config_override: ::std::option::Option<crate::config::Builder>,
|
35 35 | }
|