v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1475719557.8 KB

Modifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html">How it works</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-create.html">Create a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.

put/flows/{flowIdentifier}/

Path parameters

flowIdentifierstring required

The unique identifier of the flow.

Request body

namestring required

A name for the flow.

descriptionstring

A description for the flow.

executionRoleArnstring required

The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html">Create a service role for flows in Amazon Bedrock</a> in the Amazon Bedrock User Guide.

customerEncryptionKeyArnstring

The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.

Response

Success

namestring required

The name of the flow.

descriptionstring

The description of the flow.

executionRoleArnstring required

The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html">Create a service role for flows in Amazon Bedrock</a> in the Amazon Bedrock User Guide.

customerEncryptionKeyArnstring

The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.

idstring required

The unique identifier of the flow.

arnstring required

The Amazon Resource Name (ARN) of the flow.

status'Failed' | 'Prepared' | 'Preparing' | 'NotPrepared' required

The status of the flow. When you submit this request, the status will be <code>NotPrepared</code>. If updating fails, the status becomes <code>Failed</code>.

createdAtstring date-time required

The time at which the flow was created.

updatedAtstring date-time required

The time at which the flow was last updated.

versionstring required

The version of the flow. When you update a flow, the version updated is the <code>DRAFT</code> version.