aws_sdk_connect/client/
create_contact_flow_version.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateContactFlowVersion`](crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`CreateContactFlowVersionOutput`](crate::operation::create_contact_flow_version::CreateContactFlowVersionOutput) with field(s):
    ///   - [`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>
    ///   - [`version(Option<i64>)`](crate::operation::create_contact_flow_version::CreateContactFlowVersionOutput::version): <p>The identifier of the flow version.</p>
    /// - On failure, responds with [`SdkError<CreateContactFlowVersionError>`](crate::operation::create_contact_flow_version::CreateContactFlowVersionError)
    pub fn create_contact_flow_version(&self) -> crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder {
        crate::operation::create_contact_flow_version::builders::CreateContactFlowVersionFluentBuilder::new(self.handle.clone())
    }
}