aws_sdk_connect/client/
delete_contact_flow_version.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 [`DeleteContactFlowVersion`](crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
7    ///   - [`contact_flow_id(impl Into<String>)`](crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder::contact_flow_id) / [`set_contact_flow_id(Option<String>)`](crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder::set_contact_flow_id):<br>required: **true**<br><p>The identifier of the flow.</p><br>
8    ///   - [`contact_flow_version(i64)`](crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder::contact_flow_version) / [`set_contact_flow_version(Option<i64>)`](crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder::set_contact_flow_version):<br>required: **true**<br><p>The identifier of the flow version.</p><br>
9    /// - On success, responds with [`DeleteContactFlowVersionOutput`](crate::operation::delete_contact_flow_version::DeleteContactFlowVersionOutput)
10    /// - On failure, responds with [`SdkError<DeleteContactFlowVersionError>`](crate::operation::delete_contact_flow_version::DeleteContactFlowVersionError)
11    pub fn delete_contact_flow_version(&self) -> crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder {
12        crate::operation::delete_contact_flow_version::builders::DeleteContactFlowVersionFluentBuilder::new(self.handle.clone())
13    }
14}