Skip to content

Create Flow Alias

bedrockagent_create_flow_alias R Documentation

Creates an alias of a flow for deployment

Description

Creates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

Usage

bedrockagent_create_flow_alias(clientToken, description, flowIdentifier,
  name, routingConfiguration, tags)

Arguments

clientToken

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

description

A description for the alias.

flowIdentifier

[required] The unique identifier of the flow for which to create an alias.

name

[required] A name for the alias.

routingConfiguration

[required] Contains information about the version to which to map the alias.

tags

Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.

Value

A list with the following syntax:

list(
  arn = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  description = "string",
  flowId = "string",
  id = "string",
  name = "string",
  routingConfiguration = list(
    list(
      flowVersion = "string"
    )
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_flow_alias(
  clientToken = "string",
  description = "string",
  flowIdentifier = "string",
  name = "string",
  routingConfiguration = list(
    list(
      flowVersion = "string"
    )
  ),
  tags = list(
    "string"
  )
)