aws_sdk_appmesh/client/
delete_mesh.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 [`DeleteMesh`](crate::operation::delete_mesh::builders::DeleteMeshFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`mesh_name(impl Into<String>)`](crate::operation::delete_mesh::builders::DeleteMeshFluentBuilder::mesh_name) / [`set_mesh_name(Option<String>)`](crate::operation::delete_mesh::builders::DeleteMeshFluentBuilder::set_mesh_name):<br>required: **true**<br><p>The name of the service mesh to delete.</p><br>
7    /// - On success, responds with [`DeleteMeshOutput`](crate::operation::delete_mesh::DeleteMeshOutput) with field(s):
8    ///   - [`mesh(Option<MeshData>)`](crate::operation::delete_mesh::DeleteMeshOutput::mesh): <p>The service mesh that was deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteMeshError>`](crate::operation::delete_mesh::DeleteMeshError)
10    pub fn delete_mesh(&self) -> crate::operation::delete_mesh::builders::DeleteMeshFluentBuilder {
11        crate::operation::delete_mesh::builders::DeleteMeshFluentBuilder::new(self.handle.clone())
12    }
13}