aws_sdk_efs/client/
delete_access_point.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 [`DeleteAccessPoint`](crate::operation::delete_access_point::builders::DeleteAccessPointFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`access_point_id(impl Into<String>)`](crate::operation::delete_access_point::builders::DeleteAccessPointFluentBuilder::access_point_id) / [`set_access_point_id(Option<String>)`](crate::operation::delete_access_point::builders::DeleteAccessPointFluentBuilder::set_access_point_id):<br>required: **true**<br><p>The ID of the access point that you want to delete.</p><br>
7    /// - On success, responds with [`DeleteAccessPointOutput`](crate::operation::delete_access_point::DeleteAccessPointOutput)
8    /// - On failure, responds with [`SdkError<DeleteAccessPointError>`](crate::operation::delete_access_point::DeleteAccessPointError)
9    pub fn delete_access_point(&self) -> crate::operation::delete_access_point::builders::DeleteAccessPointFluentBuilder {
10        crate::operation::delete_access_point::builders::DeleteAccessPointFluentBuilder::new(self.handle.clone())
11    }
12}