aws_sdk_connect/client/create_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 [`CreateContactFlowVersion`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_id(impl Into<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance.</p><br>
7 /// - [`description(impl Into<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::set_description):<br>required: **false**<br><p>The description of the flow version.</p><br>
8 /// - [`contact_flow_id(impl Into<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::contact_flow_id) / [`set_contact_flow_id(Option<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::set_contact_flow_id):<br>required: **true**<br><p>The identifier of the flow.</p><br>
9 /// - [`flow_content_sha256(impl Into<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::flow_content_sha256) / [`set_flow_content_sha256(Option<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::set_flow_content_sha256):<br>required: **false**<br><p>Indicates the checksum value of the flow content.</p><br>
10 /// - [`contact_flow_version(i64)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::contact_flow_version) / [`set_contact_flow_version(Option<i64>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::set_contact_flow_version):<br>required: **false**<br><p>The identifier of the flow version.</p><br>
11 /// - [`last_modified_time(DateTime)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::last_modified_time) / [`set_last_modified_time(Option<DateTime>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::set_last_modified_time):<br>required: **false**<br><p>The Amazon Web Services Region where this resource was last modified.</p><br>
12 /// - [`last_modified_region(impl Into<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::last_modified_region) / [`set_last_modified_region(Option<String>)`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::set_last_modified_region):<br>required: **false**<br><p>The Amazon Web Services Region where this resource was last modified.</p><br>
13 /// - On success, responds with [`CreateContactFlowVersionOutput`](crate::operation::create_contact_flow_version::CreateContactFlowVersionOutput) with field(s):
14 /// - [`contact_flow_arn(Option<String>)`](crate::operation::create_contact_flow_version::CreateContactFlowVersionOutput::contact_flow_arn): <p>The Amazon Resource Name (ARN) of the flow.</p>
15 /// - [`version(Option<i64>)`](crate::operation::create_contact_flow_version::CreateContactFlowVersionOutput::version): <p>The identifier of the flow version.</p>
16 /// - On failure, responds with [`SdkError<CreateContactFlowVersionError>`](crate::operation::create_contact_flow_version::CreateContactFlowVersionError)
17 pub fn create_contact_flow_version(&self) -> crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder {
18 crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::new(self.handle.clone())
19 }
20}