Class: Aws::BedrockAgentCoreControl::Types::RouteToTargetAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::RouteToTargetAction
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb
Overview
RouteToTargetAction is a union - when making an API calls you must set exactly one of the members.
RouteToTargetAction is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RouteToTargetAction corresponding to the set member.
An action that routes requests to a gateway target, either statically or with weighted traffic splitting.
Defined Under Namespace
Classes: StaticRoute, Unknown, WeightedRoute
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#static_route ⇒ Types::StaticRoute
A static route that sends all matching requests to a single target.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#weighted_route ⇒ Types::WeightedRoute
A weighted route that splits traffic between multiple targets.
Instance Attribute Details
#static_route ⇒ Types::StaticRoute
A static route that sends all matching requests to a single target.
19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 19275 class RouteToTargetAction < Struct.new( :static_route, :weighted_route, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StaticRoute < RouteToTargetAction; end class WeightedRoute < RouteToTargetAction; end class Unknown < RouteToTargetAction; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
19275 19276 19277 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 19275 def unknown @unknown end |
#weighted_route ⇒ Types::WeightedRoute
A weighted route that splits traffic between multiple targets.
19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 19275 class RouteToTargetAction < Struct.new( :static_route, :weighted_route, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StaticRoute < RouteToTargetAction; end class WeightedRoute < RouteToTargetAction; end class Unknown < RouteToTargetAction; end end |