aws_sdk_opsworks/client/deregister_volume.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeregisterVolume`](crate::operation::deregister_volume::builders::DeregisterVolumeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`DeregisterVolumeOutput`](crate::operation::deregister_volume::DeregisterVolumeOutput)
8 /// - On failure, responds with [`SdkError<DeregisterVolumeError>`](crate::operation::deregister_volume::DeregisterVolumeError)
9 pub fn deregister_volume(&self) -> crate::operation::deregister_volume::builders::DeregisterVolumeFluentBuilder {
10 crate::operation::deregister_volume::builders::DeregisterVolumeFluentBuilder::new(self.handle.clone())
11 }
12}