flow_aliases
Creates, updates, deletes, gets or lists a flow_aliases resource.
Overview
| Name | flow_aliases |
| Type | Resource |
| Id | aws.bedrock_agent.flow_aliases |
Fields
The following fields are returned by SELECT queries:
- list_flow_aliases
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the alias of the flow. (pattern: <code>(TSTALIASID|[0-9a-zA-Z]{10})</code>) |
name | string | The name of the alias. (pattern: <code>([0-9a-zA-Z][_-]?){1,100}</code>) |
arn | string | The Amazon Resource Name (ARN) of the alias. (pattern: <code>arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10}/alias/(TSTALIASID|[0-9a-zA-Z]{10})</code>) |
concurrency_configuration | object | Determines how multiple nodes in a flow can run in parallel. Running nodes concurrently can improve your flow's performance. |
created_at | string (date-time) | The time at which the alias was created. |
description | string | A description of the alias. |
flow_id | string | The unique identifier of the flow. (pattern: <code>[0-9a-zA-Z]{10}</code>) |
routing_configuration | array | A list of configurations about the versions that the alias maps to. Currently, you can only specify one. |
updated_at | string (date-time) | The time at which the alias was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_flow_aliases | select | flow_identifier, region | maxResults, nextToken | Returns a list of aliases for a flow. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
flow_identifier | string | The unique identifier of the flow for which aliases are being returned. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. |
nextToken | string | If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. |
SELECT examples
- list_flow_aliases
Returns a list of aliases for a flow.
SELECT
id,
name,
arn,
concurrency_configuration,
created_at,
description,
flow_id,
routing_configuration,
updated_at
FROM aws.bedrock_agent.flow_aliases
WHERE flow_identifier = '{{ flow_identifier }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;