aws_sdk_resourceexplorer2/client/
delete_view.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 [`DeleteView`](crate::operation::delete_view::builders::DeleteViewFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`view_arn(impl Into<String>)`](crate::operation::delete_view::builders::DeleteViewFluentBuilder::view_arn) / [`set_view_arn(Option<String>)`](crate::operation::delete_view::builders::DeleteViewFluentBuilder::set_view_arn):<br>required: **true**<br><p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the view that you want to delete.</p><br>
7    /// - On success, responds with [`DeleteViewOutput`](crate::operation::delete_view::DeleteViewOutput) with field(s):
8    ///   - [`view_arn(Option<String>)`](crate::operation::delete_view::DeleteViewOutput::view_arn): <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the view that you successfully deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteViewError>`](crate::operation::delete_view::DeleteViewError)
10    pub fn delete_view(&self) -> crate::operation::delete_view::builders::DeleteViewFluentBuilder {
11        crate::operation::delete_view::builders::DeleteViewFluentBuilder::new(self.handle.clone())
12    }
13}