Class: Aws::BedrockAgentCore::Types::Variant
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::Variant
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
A variant in an A/B test, representing either the control (C) or treatment (T1) configuration.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the variant.
-
#variant_configuration ⇒ Types::VariantConfiguration
The configuration for this variant, including the configuration bundle or target reference.
-
#weight ⇒ Integer
The percentage of traffic to route to this variant.
Instance Attribute Details
#name ⇒ String
The name of the variant. Must be C for control or T1 for
treatment.
11500 11501 11502 11503 11504 11505 11506 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11500 class Variant < Struct.new( :name, :weight, :variant_configuration) SENSITIVE = [] include Aws::Structure end |
#variant_configuration ⇒ Types::VariantConfiguration
The configuration for this variant, including the configuration bundle or target reference.
11500 11501 11502 11503 11504 11505 11506 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11500 class Variant < Struct.new( :name, :weight, :variant_configuration) SENSITIVE = [] include Aws::Structure end |
#weight ⇒ Integer
The percentage of traffic to route to this variant. Weights across all variants must sum to 100.
11500 11501 11502 11503 11504 11505 11506 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11500 class Variant < Struct.new( :name, :weight, :variant_configuration) SENSITIVE = [] include Aws::Structure end |