---
title: "PUT /projects/{name}/sendProjectSessionAction"
method: PUT
path: "/projects/{name}/sendProjectSessionAction"
---

# PUT /projects/{name}/sendProjectSessionAction

`PUT /projects/{name}/sendProjectSessionAction`

Performs a recipe step within an interactive DataBrew session that's currently open.

## Path parameters

- `name` string, required

## Request body

- object
  - `Preview` boolean — If true, the result of the recipe step will be returned, but not applied.
  - `RecipeStep` object — Represents a single step from a DataBrew recipe to be performed.
    - `Action` object — The particular action to be performed in the recipe step.
      - `Operation` string, required — The name of a valid DataBrew transformation to be performed on the data.
      - `Parameters` object — Contextual parameters for the transformation.
    - `ConditionExpressions` ConditionExpression[] — <p>One or more conditions that must be met for the recipe step to succeed.</p> <note> <p>All of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.</p> </note>
      - `Condition` string, required — A specific condition to apply to a recipe action. For more information, see <a href="https://docs.aws.amazon.com/databrew/latest/dg/recipes.html#recipes.structure">Recipe structure</a> in the <i>Glue DataBrew Developer Guide</i>.
      - `Value` string — A value that the condition must evaluate to for the condition to succeed.
      - `TargetColumn` string, required — A column to apply this condition to.
  - `StepIndex` integer — The index from which to preview a step. This index is used to preview the result of steps that have already been applied, so that the resulting view frame is from earlier in the view frame stack.
  - `ClientSessionId` string, password — A unique identifier for an interactive session that's currently open and ready for work. The action will be performed on this session.
  - `ViewFrame` object — Represents the data being transformed during an action.
    - `StartColumnIndex` integer — The starting index for the range of columns to return in the view frame.
    - `ColumnRange` integer — The number of columns to include in the view frame, beginning with the <code>StartColumnIndex</code> value and ignoring any columns in the <code>HiddenColumns</code> list.
    - `HiddenColumns` ColumnName[] — A list of columns to hide in the view frame.
    - `StartRowIndex` integer — The starting index for the range of rows to return in the view frame.
    - `RowRange` integer — The number of rows to include in the view frame, beginning with the <code>StartRowIndex</code> value.
    - `Analytics` 'ENABLE' | 'DISABLE' — Controls if analytics computation is enabled or disabled. Enabled by default.

## Response `200`

Success

- SendProjectSessionActionResponse
  - `Result` string — A message indicating the result of performing the action.
  - `Name` string, required — The name of the project that was affected by the action.
  - `ActionId` integer — A unique identifier for the action that was performed.

## Other responses

- `480` — ConflictException
- `481` — ResourceNotFoundException
- `482` — ValidationException

---

[API](https://skmtc.net/aws/apis/databrew.md) · [All operations](https://skmtc.net/aws/apis/databrew/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/databrew/versions/c06b9719d66f/schema)
