// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeregisterVolume`](crate::operation::deregister_volume::builders::DeregisterVolumeFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`volume_id(impl Into<String>)`](crate::operation::deregister_volume::builders::DeregisterVolumeFluentBuilder::volume_id) / [`set_volume_id(Option<String>)`](crate::operation::deregister_volume::builders::DeregisterVolumeFluentBuilder::set_volume_id):<br>required: **true**<br><p>The OpsWorks Stacks volume ID, which is the GUID that OpsWorks Stacks assigned to the instance when you registered the volume with the stack, not the Amazon EC2 volume ID.</p><br>
/// - On success, responds with [`DeregisterVolumeOutput`](crate::operation::deregister_volume::DeregisterVolumeOutput)
/// - On failure, responds with [`SdkError<DeregisterVolumeError>`](crate::operation::deregister_volume::DeregisterVolumeError)
pub fn deregister_volume(&self) -> crate::operation::deregister_volume::builders::DeregisterVolumeFluentBuilder {
crate::operation::deregister_volume::builders::DeregisterVolumeFluentBuilder::new(self.handle.clone())
}
}