Skip to content

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(name, description, routingConfiguration,
  concurrencyConfiguration, flowIdentifier, clientToken, tags)

Arguments

  • name

[required] A name for the alias.

  • description

A description for the alias.

  • routingConfiguration

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

  • concurrencyConfiguration

The configuration that specifies how nodes in the flow are executed in parallel.

  • flowIdentifier

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

  • 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.

  • 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(
  name = "string",
  description = "string",
  routingConfiguration = list(
    list(
      flowVersion = "string"
    )
  ),
  concurrencyConfiguration = list(
    type = "Automatic"|"Manual",
    maxConcurrency = 123
  ),
  flowId = "string",
  id = "string",
  arn = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_flow_alias(
  name = "string",
  description = "string",
  routingConfiguration = list(
    list(
      flowVersion = "string"
    )
  ),
  concurrencyConfiguration = list(
    type = "Automatic"|"Manual",
    maxConcurrency = 123
  ),
  flowIdentifier = "string",
  clientToken = "string",
  tags = list(
    "string"
  )
)