asRouteToTargetOrNull
Casts this Action as a RouteToTarget and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.RouteToTargetAction value. Returns null if the Action is not a RouteToTarget.
Casts this Action as a RouteToTarget and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.RouteToTargetAction value. Returns null if the Action is not a RouteToTarget.