RouteToTargetAction
An action that routes requests to a gateway target, either statically or with weighted traffic splitting.
Inheritors
Types
Functions
Casts this RouteToTargetAction as a StaticRoute and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.StaticRoute value. Throws an exception if the RouteToTargetAction is not a StaticRoute.
Casts this RouteToTargetAction as a StaticRoute and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.StaticRoute value. Returns null if the RouteToTargetAction is not a StaticRoute.
Casts this RouteToTargetAction as a WeightedRoute and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.WeightedRoute value. Throws an exception if the RouteToTargetAction is not a WeightedRoute.
Casts this RouteToTargetAction as a WeightedRoute and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.WeightedRoute value. Returns null if the RouteToTargetAction is not a WeightedRoute.