aws_sdk_efs/client/delete_mount_target.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 [`DeleteMountTarget`](crate::operation::delete_mount_target::builders::DeleteMountTargetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`mount_target_id(impl Into<String>)`](crate::operation::delete_mount_target::builders::DeleteMountTargetFluentBuilder::mount_target_id) / [`set_mount_target_id(Option<String>)`](crate::operation::delete_mount_target::builders::DeleteMountTargetFluentBuilder::set_mount_target_id):<br>required: **true**<br><p>The ID of the mount target to delete (String).</p><br>
7 /// - On success, responds with [`DeleteMountTargetOutput`](crate::operation::delete_mount_target::DeleteMountTargetOutput)
8 /// - On failure, responds with [`SdkError<DeleteMountTargetError>`](crate::operation::delete_mount_target::DeleteMountTargetError)
9 pub fn delete_mount_target(&self) -> crate::operation::delete_mount_target::builders::DeleteMountTargetFluentBuilder {
10 crate::operation::delete_mount_target::builders::DeleteMountTargetFluentBuilder::new(self.handle.clone())
11 }
12}