Skip to content

/AWS1/CL_BDA=>CREATEAGENTALIAS()

About CreateAgentAlias

Creates an alias of an agent that can be used to deploy the agent.

Method Signature

IMPORTING

Required arguments:

IV_AGENTID TYPE /AWS1/BDAID /AWS1/BDAID

The unique identifier of the agent.

IV_AGENTALIASNAME TYPE /AWS1/BDANAME /AWS1/BDANAME

The name of the alias.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/BDACLIENTTOKEN /AWS1/BDACLIENTTOKEN

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.

IV_DESCRIPTION TYPE /AWS1/BDADESCRIPTION /AWS1/BDADESCRIPTION

A description of the alias of the agent.

IT_ROUTINGCONFIGURATION TYPE /AWS1/CL_BDAAGENTALIASROUTIN00=>TT_AGENTALIASROUTINGCONF TT_AGENTALIASROUTINGCONF

Contains details about the routing configuration of the alias.

IT_TAGS TYPE /AWS1/CL_BDATAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP

Any tags that you want to attach to the alias of the agent.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BDACREAGENTALIASRSP /AWS1/CL_BDACREAGENTALIASRSP