aws_sdk_connect/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    ///   - [`instance_id(impl Into<String>)`](crate::operation::delete_view::builders::DeleteViewFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_view::builders::DeleteViewFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p><br>
7    ///   - [`view_id(impl Into<String>)`](crate::operation::delete_view::builders::DeleteViewFluentBuilder::view_id) / [`set_view_id(Option<String>)`](crate::operation::delete_view::builders::DeleteViewFluentBuilder::set_view_id):<br>required: **true**<br><p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p><br>
8    /// - On success, responds with [`DeleteViewOutput`](crate::operation::delete_view::DeleteViewOutput)
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}