asRouteToTarget
Casts this Action as a RouteToTarget and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.RouteToTargetAction value. Throws an exception if the Action is not a RouteToTarget.
Casts this Action as a RouteToTarget and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.RouteToTargetAction value. Throws an exception if the Action is not a RouteToTarget.