aws_sdk_connect/client/delete_view_version.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteViewVersion`](crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder::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>
/// - [`view_id(impl Into<String>)`](crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder::view_id) / [`set_view_id(Option<String>)`](crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder::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>
/// - [`view_version(i32)`](crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder::view_version) / [`set_view_version(Option<i32>)`](crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder::set_view_version):<br>required: **true**<br><p>The version number of the view.</p><br>
/// - On success, responds with [`DeleteViewVersionOutput`](crate::operation::delete_view_version::DeleteViewVersionOutput)
/// - On failure, responds with [`SdkError<DeleteViewVersionError>`](crate::operation::delete_view_version::DeleteViewVersionError)
pub fn delete_view_version(&self) -> crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder {
crate::operation::delete_view_version::builders::DeleteViewVersionFluentBuilder::new(self.handle.clone())
}
}