Skip to content

Creates a new flow in the specified Amazon Web Services account

Description

Creates a new flow in the specified Amazon Web Services account. Creates both a DRAFT and PUBLISHED (auto-published) version.

This operation is idempotent. Supply a ClientToken to safely retry without creating duplicate resources.

Usage

quicksight_create_flow(AwsAccountId, Name, Description, FlowDefinition,
  Permissions, ClientToken)

Arguments

  • AwsAccountId

[required] The ID of the Amazon Web Services account where you want to create the flow.

  • Name

[required] The display name for the flow.

  • Description

The description for the flow.

  • FlowDefinition

[required] 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.

Always derive or depend on the flow definition from the describe_flow operation to ensure you are working with the latest format.

  • Permissions

Initial permissions for the flow. If omitted, the flow is created without any permissions.

  • ClientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Value

A list with the following syntax:

list(
  Arn = "string",
  FlowId = "string",
  RequestId = "string",
  Status = 123
)

Request syntax

svc$create_flow(
  AwsAccountId = "string",
  Name = "string",
  Description = "string",
  FlowDefinition = list(),
  Permissions = list(
    list(
      Actions = list(
        "string"
      ),
      Principal = "string"
    )
  ),
  ClientToken = "string"
)