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 [`CreateIntegrationWorkflow`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`workflow_type(WorkflowType)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::workflow_type) / [`set_workflow_type(Option<WorkflowType>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::set_workflow_type):<br>required: **true**<br><p>The type of workflow. The only supported value is APPFLOW_INTEGRATION.</p><br>
    ///   - [`integration_config(IntegrationConfig)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::integration_config) / [`set_integration_config(Option<IntegrationConfig>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::set_integration_config):<br>required: **true**<br><p>Configuration data for integration workflow.</p><br>
    ///   - [`object_type_name(impl Into<String>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::object_type_name) / [`set_object_type_name(Option<String>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::set_object_type_name):<br>required: **true**<br><p>The name of the profile object type.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::set_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for this resource.</p><br>
    /// - On success, responds with [`CreateIntegrationWorkflowOutput`](crate::operation::create_integration_workflow::CreateIntegrationWorkflowOutput) with field(s):
    ///   - [`workflow_id(String)`](crate::operation::create_integration_workflow::CreateIntegrationWorkflowOutput::workflow_id): <p>Unique identifier for the workflow.</p>
    ///   - [`message(String)`](crate::operation::create_integration_workflow::CreateIntegrationWorkflowOutput::message): <p>A message indicating create request was received.</p>
    /// - On failure, responds with [`SdkError<CreateIntegrationWorkflowError>`](crate::operation::create_integration_workflow::CreateIntegrationWorkflowError)
    pub fn create_integration_workflow(&self) -> crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder {
        crate::operation::create_integration_workflow::builders::CreateIntegrationWorkflowFluentBuilder::new(self.handle.clone())
    }
}