aws-sdk-quicksight 1.145.0

AWS SDK for Amazon QuickSight
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateFlow`](crate::operation::create_flow::builders::CreateFlowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account where you want to create the flow.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::set_name):<br>required: **true**<br><p>The display name for the flow.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::set_description):<br>required: **false**<br><p>The description for the flow.</p><br>
    ///   - [`flow_definition(Document)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::flow_definition) / [`set_flow_definition(Option<Document>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::set_flow_definition):<br>required: **true**<br><p>The definition of the flow, specifying the steps and configurations. This is the flow definition in Quick Flow's internal format. The format is subject to change.</p><note>  <p>Always derive or depend on the flow definition from the <code>DescribeFlow</code> operation to ensure you are working with the latest format.</p> </note><br>
    ///   - [`permissions(Permission)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::permissions) / [`set_permissions(Option<Vec::<Permission>>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::set_permissions):<br>required: **false**<br><p>Initial permissions for the flow. If omitted, the flow is created without any permissions.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_flow::builders::CreateFlowFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
    /// - On success, responds with [`CreateFlowOutput`](crate::operation::create_flow::CreateFlowOutput) with field(s):
    ///   - [`arn(String)`](crate::operation::create_flow::CreateFlowOutput::arn): <p>The Amazon Resource Name (ARN) of the flow.</p>
    ///   - [`flow_id(String)`](crate::operation::create_flow::CreateFlowOutput::flow_id): <p>The unique identifier of the flow.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::create_flow::CreateFlowOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::create_flow::CreateFlowOutput::status): <p>The HTTP status of the request.</p>
    /// - On failure, responds with [`SdkError<CreateFlowError>`](crate::operation::create_flow::CreateFlowError)
    pub fn create_flow(&self) -> crate::operation::create_flow::builders::CreateFlowFluentBuilder {
        crate::operation::create_flow::builders::CreateFlowFluentBuilder::new(self.handle.clone())
    }
}