aws-sdk-bedrockagentcorecontrol 1.82.0 → 1.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +304 -7
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +80 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +318 -11
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/params.rbs +75 -10
- data/sig/types.rbs +70 -1
- metadata +1 -1
|
@@ -140,6 +140,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
140
140
|
CertificateS3Uri = Shapes::StringShape.new(name: 'CertificateS3Uri')
|
|
141
141
|
CertificateSecretArn = Shapes::StringShape.new(name: 'CertificateSecretArn')
|
|
142
142
|
Certificates = Shapes::ListShape.new(name: 'Certificates')
|
|
143
|
+
CircuitBreakerConfiguration = Shapes::StructureShape.new(name: 'CircuitBreakerConfiguration')
|
|
144
|
+
CircuitBreakerMode = Shapes::StringShape.new(name: 'CircuitBreakerMode')
|
|
143
145
|
ClaimMatchOperatorType = Shapes::StringShape.new(name: 'ClaimMatchOperatorType')
|
|
144
146
|
ClaimMatchValueType = Shapes::UnionShape.new(name: 'ClaimMatchValueType')
|
|
145
147
|
ClientAuthenticationMethodType = Shapes::StringShape.new(name: 'ClientAuthenticationMethodType')
|
|
@@ -176,6 +178,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
176
178
|
CompositeIdentifierEntry = Shapes::StringShape.new(name: 'CompositeIdentifierEntry')
|
|
177
179
|
CompositeIdentifierList = Shapes::ListShape.new(name: 'CompositeIdentifierList')
|
|
178
180
|
ComputeConfiguration = Shapes::UnionShape.new(name: 'ComputeConfiguration')
|
|
181
|
+
ConcreteModelId = Shapes::StringShape.new(name: 'ConcreteModelId')
|
|
179
182
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
|
180
183
|
Condition = Shapes::UnionShape.new(name: 'Condition')
|
|
181
184
|
Conditions = Shapes::ListShape.new(name: 'Conditions')
|
|
@@ -410,6 +413,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
410
413
|
DeviceName = Shapes::StringShape.new(name: 'DeviceName')
|
|
411
414
|
DimensionKey = Shapes::StringShape.new(name: 'DimensionKey')
|
|
412
415
|
DimensionKeys = Shapes::ListShape.new(name: 'DimensionKeys')
|
|
416
|
+
DimensionRatingScale = Shapes::UnionShape.new(name: 'DimensionRatingScale')
|
|
413
417
|
DimensionValue = Shapes::StringShape.new(name: 'DimensionValue')
|
|
414
418
|
DiscoveryUrl = Shapes::StringShape.new(name: 'DiscoveryUrl')
|
|
415
419
|
DiscoveryUrlType = Shapes::StringShape.new(name: 'DiscoveryUrlType')
|
|
@@ -451,8 +455,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
451
455
|
EpisodicReflectionConfiguration = Shapes::StructureShape.new(name: 'EpisodicReflectionConfiguration')
|
|
452
456
|
EpisodicReflectionConfigurationInput = Shapes::StructureShape.new(name: 'EpisodicReflectionConfigurationInput')
|
|
453
457
|
EpisodicReflectionOverride = Shapes::StructureShape.new(name: 'EpisodicReflectionOverride')
|
|
458
|
+
ErrorStatusCodePattern = Shapes::StringShape.new(name: 'ErrorStatusCodePattern')
|
|
454
459
|
EvaluationConfigDescription = Shapes::StringShape.new(name: 'EvaluationConfigDescription')
|
|
455
460
|
EvaluationConfigName = Shapes::StringShape.new(name: 'EvaluationConfigName')
|
|
461
|
+
EvaluationDimension = Shapes::StructureShape.new(name: 'EvaluationDimension')
|
|
462
|
+
EvaluationDimensionInstruction = Shapes::StringShape.new(name: 'EvaluationDimensionInstruction')
|
|
463
|
+
EvaluationDimensionName = Shapes::StringShape.new(name: 'EvaluationDimensionName')
|
|
464
|
+
EvaluationDimensions = Shapes::ListShape.new(name: 'EvaluationDimensions')
|
|
456
465
|
EvaluatorArn = Shapes::StringShape.new(name: 'EvaluatorArn')
|
|
457
466
|
EvaluatorConfig = Shapes::UnionShape.new(name: 'EvaluatorConfig')
|
|
458
467
|
EvaluatorDescription = Shapes::StringShape.new(name: 'EvaluatorDescription')
|
|
@@ -474,6 +483,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
474
483
|
ExtractionConfig = Shapes::UnionShape.new(name: 'ExtractionConfig')
|
|
475
484
|
ExtractionConfiguration = Shapes::UnionShape.new(name: 'ExtractionConfiguration')
|
|
476
485
|
ExtractionType = Shapes::StringShape.new(name: 'ExtractionType')
|
|
486
|
+
Fallback = Shapes::StructureShape.new(name: 'Fallback')
|
|
487
|
+
FallbackError = Shapes::StringShape.new(name: 'FallbackError')
|
|
488
|
+
FallbackFirstByteTimeoutMillisecondsInteger = Shapes::IntegerShape.new(name: 'FallbackFirstByteTimeoutMillisecondsInteger')
|
|
489
|
+
FallbackTarget = Shapes::StructureShape.new(name: 'FallbackTarget')
|
|
490
|
+
FallbackTargetFallbackList = Shapes::ListShape.new(name: 'FallbackTargetFallbackList')
|
|
491
|
+
FallbackTargetFirstByteTimeoutMillisecondsInteger = Shapes::IntegerShape.new(name: 'FallbackTargetFirstByteTimeoutMillisecondsInteger')
|
|
492
|
+
FallbackTriggers = Shapes::StructureShape.new(name: 'FallbackTriggers')
|
|
493
|
+
FallbackTriggersErrorsList = Shapes::ListShape.new(name: 'FallbackTriggersErrorsList')
|
|
494
|
+
FallbackTriggersStatusCodesList = Shapes::ListShape.new(name: 'FallbackTriggersStatusCodesList')
|
|
477
495
|
FilesystemConfiguration = Shapes::UnionShape.new(name: 'FilesystemConfiguration')
|
|
478
496
|
FilesystemConfigurations = Shapes::ListShape.new(name: 'FilesystemConfigurations')
|
|
479
497
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
|
@@ -886,6 +904,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
886
904
|
MCPGatewayConfiguration = Shapes::StructureShape.new(name: 'MCPGatewayConfiguration')
|
|
887
905
|
ManagedResourceDetails = Shapes::StructureShape.new(name: 'ManagedResourceDetails')
|
|
888
906
|
ManagedVpcResource = Shapes::StructureShape.new(name: 'ManagedVpcResource')
|
|
907
|
+
MatchModelEntry = Shapes::StructureShape.new(name: 'MatchModelEntry')
|
|
908
|
+
MatchModels = Shapes::StructureShape.new(name: 'MatchModels')
|
|
909
|
+
MatchModelsAnyOfList = Shapes::ListShape.new(name: 'MatchModelsAnyOfList')
|
|
910
|
+
MatchOperator = Shapes::StringShape.new(name: 'MatchOperator')
|
|
889
911
|
MatchPathPattern = Shapes::StringShape.new(name: 'MatchPathPattern')
|
|
890
912
|
MatchPaths = Shapes::StructureShape.new(name: 'MatchPaths')
|
|
891
913
|
MatchPathsAnyOfList = Shapes::ListShape.new(name: 'MatchPathsAnyOfList')
|
|
@@ -1742,6 +1764,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
1742
1764
|
|
|
1743
1765
|
Certificates.member = Shapes::ShapeRef.new(shape: Certificate)
|
|
1744
1766
|
|
|
1767
|
+
CircuitBreakerConfiguration.add_member(:mode, Shapes::ShapeRef.new(shape: CircuitBreakerMode, location_name: "mode"))
|
|
1768
|
+
CircuitBreakerConfiguration.struct_class = Types::CircuitBreakerConfiguration
|
|
1769
|
+
|
|
1745
1770
|
ClaimMatchValueType.add_member(:match_value_string, Shapes::ShapeRef.new(shape: MatchValueString, location_name: "matchValueString"))
|
|
1746
1771
|
ClaimMatchValueType.add_member(:match_value_string_list, Shapes::ShapeRef.new(shape: MatchValueStringList, location_name: "matchValueStringList"))
|
|
1747
1772
|
ClaimMatchValueType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
@@ -1847,9 +1872,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
1847
1872
|
|
|
1848
1873
|
Condition.add_member(:match_principals, Shapes::ShapeRef.new(shape: MatchPrincipals, location_name: "matchPrincipals"))
|
|
1849
1874
|
Condition.add_member(:match_paths, Shapes::ShapeRef.new(shape: MatchPaths, location_name: "matchPaths"))
|
|
1875
|
+
Condition.add_member(:match_models, Shapes::ShapeRef.new(shape: MatchModels, location_name: "matchModels"))
|
|
1850
1876
|
Condition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1851
1877
|
Condition.add_member_subclass(:match_principals, Types::Condition::MatchPrincipals)
|
|
1852
1878
|
Condition.add_member_subclass(:match_paths, Types::Condition::MatchPaths)
|
|
1879
|
+
Condition.add_member_subclass(:match_models, Types::Condition::MatchModels)
|
|
1853
1880
|
Condition.add_member_subclass(:unknown, Types::Condition::Unknown)
|
|
1854
1881
|
Condition.struct_class = Types::Condition
|
|
1855
1882
|
|
|
@@ -2950,6 +2977,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
2950
2977
|
|
|
2951
2978
|
DimensionKeys.member = Shapes::ShapeRef.new(shape: DimensionKey)
|
|
2952
2979
|
|
|
2980
|
+
DimensionRatingScale.add_member(:numerical, Shapes::ShapeRef.new(shape: NumericalScaleDefinitions, location_name: "numerical"))
|
|
2981
|
+
DimensionRatingScale.add_member(:categorical, Shapes::ShapeRef.new(shape: CategoricalScaleDefinitions, location_name: "categorical"))
|
|
2982
|
+
DimensionRatingScale.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2983
|
+
DimensionRatingScale.add_member_subclass(:numerical, Types::DimensionRatingScale::Numerical)
|
|
2984
|
+
DimensionRatingScale.add_member_subclass(:categorical, Types::DimensionRatingScale::Categorical)
|
|
2985
|
+
DimensionRatingScale.add_member_subclass(:unknown, Types::DimensionRatingScale::Unknown)
|
|
2986
|
+
DimensionRatingScale.struct_class = Types::DimensionRatingScale
|
|
2987
|
+
|
|
2953
2988
|
EbsVolumeConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: VolumeName, required: true, location_name: "name"))
|
|
2954
2989
|
EbsVolumeConfiguration.add_member(:size_gi_b, Shapes::ShapeRef.new(shape: VolumeSizeGiB, required: true, location_name: "sizeGiB"))
|
|
2955
2990
|
EbsVolumeConfiguration.add_member(:volume_type, Shapes::ShapeRef.new(shape: EbsVolumeType, location_name: "volumeType"))
|
|
@@ -3054,6 +3089,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
3054
3089
|
EpisodicReflectionOverride.add_member(:memory_record_schema, Shapes::ShapeRef.new(shape: MemoryRecordSchema, location_name: "memoryRecordSchema"))
|
|
3055
3090
|
EpisodicReflectionOverride.struct_class = Types::EpisodicReflectionOverride
|
|
3056
3091
|
|
|
3092
|
+
EvaluationDimension.add_member(:dimension_name, Shapes::ShapeRef.new(shape: EvaluationDimensionName, required: true, location_name: "dimensionName"))
|
|
3093
|
+
EvaluationDimension.add_member(:dimension_instruction, Shapes::ShapeRef.new(shape: EvaluationDimensionInstruction, required: true, location_name: "dimensionInstruction"))
|
|
3094
|
+
EvaluationDimension.add_member(:dimension_rating_scale, Shapes::ShapeRef.new(shape: DimensionRatingScale, required: true, location_name: "dimensionRatingScale"))
|
|
3095
|
+
EvaluationDimension.struct_class = Types::EvaluationDimension
|
|
3096
|
+
|
|
3097
|
+
EvaluationDimensions.member = Shapes::ShapeRef.new(shape: EvaluationDimension)
|
|
3098
|
+
|
|
3057
3099
|
EvaluatorConfig.add_member(:llm_as_a_judge, Shapes::ShapeRef.new(shape: LlmAsAJudgeEvaluatorConfig, location_name: "llmAsAJudge"))
|
|
3058
3100
|
EvaluatorConfig.add_member(:code_based, Shapes::ShapeRef.new(shape: CodeBasedEvaluatorConfig, location_name: "codeBased"))
|
|
3059
3101
|
EvaluatorConfig.add_member(:derived, Shapes::ShapeRef.new(shape: DerivedEvaluatorConfig, location_name: "derived"))
|
|
@@ -3110,6 +3152,28 @@ module Aws::BedrockAgentCoreControl
|
|
|
3110
3152
|
ExtractionConfiguration.add_member_subclass(:unknown, Types::ExtractionConfiguration::Unknown)
|
|
3111
3153
|
ExtractionConfiguration.struct_class = Types::ExtractionConfiguration
|
|
3112
3154
|
|
|
3155
|
+
Fallback.add_member(:trigger_on, Shapes::ShapeRef.new(shape: FallbackTriggers, location_name: "triggerOn"))
|
|
3156
|
+
Fallback.add_member(:first_byte_timeout_milliseconds, Shapes::ShapeRef.new(shape: FallbackFirstByteTimeoutMillisecondsInteger, location_name: "firstByteTimeoutMilliseconds"))
|
|
3157
|
+
Fallback.add_member(:circuit_breaker, Shapes::ShapeRef.new(shape: CircuitBreakerConfiguration, location_name: "circuitBreaker"))
|
|
3158
|
+
Fallback.add_member(:target_fallback, Shapes::ShapeRef.new(shape: FallbackTargetFallbackList, required: true, location_name: "targetFallback"))
|
|
3159
|
+
Fallback.struct_class = Types::Fallback
|
|
3160
|
+
|
|
3161
|
+
FallbackTarget.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, required: true, location_name: "targetName"))
|
|
3162
|
+
FallbackTarget.add_member(:model, Shapes::ShapeRef.new(shape: ConcreteModelId, location_name: "model"))
|
|
3163
|
+
FallbackTarget.add_member(:trigger_on, Shapes::ShapeRef.new(shape: FallbackTriggers, location_name: "triggerOn"))
|
|
3164
|
+
FallbackTarget.add_member(:first_byte_timeout_milliseconds, Shapes::ShapeRef.new(shape: FallbackTargetFirstByteTimeoutMillisecondsInteger, location_name: "firstByteTimeoutMilliseconds"))
|
|
3165
|
+
FallbackTarget.struct_class = Types::FallbackTarget
|
|
3166
|
+
|
|
3167
|
+
FallbackTargetFallbackList.member = Shapes::ShapeRef.new(shape: FallbackTarget)
|
|
3168
|
+
|
|
3169
|
+
FallbackTriggers.add_member(:status_codes, Shapes::ShapeRef.new(shape: FallbackTriggersStatusCodesList, location_name: "statusCodes"))
|
|
3170
|
+
FallbackTriggers.add_member(:errors, Shapes::ShapeRef.new(shape: FallbackTriggersErrorsList, location_name: "errors"))
|
|
3171
|
+
FallbackTriggers.struct_class = Types::FallbackTriggers
|
|
3172
|
+
|
|
3173
|
+
FallbackTriggersErrorsList.member = Shapes::ShapeRef.new(shape: FallbackError)
|
|
3174
|
+
|
|
3175
|
+
FallbackTriggersStatusCodesList.member = Shapes::ShapeRef.new(shape: ErrorStatusCodePattern)
|
|
3176
|
+
|
|
3113
3177
|
FilesystemConfiguration.add_member(:session_storage, Shapes::ShapeRef.new(shape: SessionStorageConfiguration, location_name: "sessionStorage"))
|
|
3114
3178
|
FilesystemConfiguration.add_member(:s3_files_access_point, Shapes::ShapeRef.new(shape: S3FilesAccessPointConfiguration, location_name: "s3FilesAccessPoint"))
|
|
3115
3179
|
FilesystemConfiguration.add_member(:efs_access_point, Shapes::ShapeRef.new(shape: EfsAccessPointConfiguration, location_name: "efsAccessPoint"))
|
|
@@ -4734,6 +4798,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
4734
4798
|
ManagedVpcResource.add_member(:routing_domain, Shapes::ShapeRef.new(shape: RoutingDomain, location_name: "routingDomain"))
|
|
4735
4799
|
ManagedVpcResource.struct_class = Types::ManagedVpcResource
|
|
4736
4800
|
|
|
4801
|
+
MatchModelEntry.add_member(:value, Shapes::ShapeRef.new(shape: ModelPattern, required: true, location_name: "value"))
|
|
4802
|
+
MatchModelEntry.add_member(:operator, Shapes::ShapeRef.new(shape: MatchOperator, location_name: "operator"))
|
|
4803
|
+
MatchModelEntry.struct_class = Types::MatchModelEntry
|
|
4804
|
+
|
|
4805
|
+
MatchModels.add_member(:any_of, Shapes::ShapeRef.new(shape: MatchModelsAnyOfList, required: true, location_name: "anyOf"))
|
|
4806
|
+
MatchModels.struct_class = Types::MatchModels
|
|
4807
|
+
|
|
4808
|
+
MatchModelsAnyOfList.member = Shapes::ShapeRef.new(shape: MatchModelEntry)
|
|
4809
|
+
|
|
4737
4810
|
MatchPaths.add_member(:any_of, Shapes::ShapeRef.new(shape: MatchPathsAnyOfList, required: true, location_name: "anyOf"))
|
|
4738
4811
|
MatchPaths.struct_class = Types::MatchPaths
|
|
4739
4812
|
|
|
@@ -5304,9 +5377,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
5304
5377
|
|
|
5305
5378
|
RatingScale.add_member(:numerical, Shapes::ShapeRef.new(shape: NumericalScaleDefinitions, location_name: "numerical"))
|
|
5306
5379
|
RatingScale.add_member(:categorical, Shapes::ShapeRef.new(shape: CategoricalScaleDefinitions, location_name: "categorical"))
|
|
5380
|
+
RatingScale.add_member(:multi_dimensional, Shapes::ShapeRef.new(shape: EvaluationDimensions, location_name: "multiDimensional"))
|
|
5307
5381
|
RatingScale.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
5308
5382
|
RatingScale.add_member_subclass(:numerical, Types::RatingScale::Numerical)
|
|
5309
5383
|
RatingScale.add_member_subclass(:categorical, Types::RatingScale::Categorical)
|
|
5384
|
+
RatingScale.add_member_subclass(:multi_dimensional, Types::RatingScale::MultiDimensional)
|
|
5310
5385
|
RatingScale.add_member_subclass(:unknown, Types::RatingScale::Unknown)
|
|
5311
5386
|
RatingScale.struct_class = Types::RatingScale
|
|
5312
5387
|
|
|
@@ -5648,6 +5723,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5648
5723
|
StaticQueryParameters.value = Shapes::ShapeRef.new(shape: StaticQueryParameterValue)
|
|
5649
5724
|
|
|
5650
5725
|
StaticRoute.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, required: true, location_name: "targetName"))
|
|
5726
|
+
StaticRoute.add_member(:model, Shapes::ShapeRef.new(shape: ConcreteModelId, location_name: "model"))
|
|
5727
|
+
StaticRoute.add_member(:fallback, Shapes::ShapeRef.new(shape: Fallback, location_name: "fallback"))
|
|
5651
5728
|
StaticRoute.struct_class = Types::StaticRoute
|
|
5652
5729
|
|
|
5653
5730
|
StatusReasons.member = Shapes::ShapeRef.new(shape: StatusReason)
|
|
@@ -5797,9 +5874,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
5797
5874
|
|
|
5798
5875
|
TargetTrafficSplitEntries.member = Shapes::ShapeRef.new(shape: TargetTrafficSplitEntry)
|
|
5799
5876
|
|
|
5877
|
+
TargetTrafficSplitEntry.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, required: true, location_name: "targetName"))
|
|
5878
|
+
TargetTrafficSplitEntry.add_member(:model, Shapes::ShapeRef.new(shape: ConcreteModelId, location_name: "model"))
|
|
5879
|
+
TargetTrafficSplitEntry.add_member(:fallback, Shapes::ShapeRef.new(shape: Fallback, location_name: "fallback"))
|
|
5800
5880
|
TargetTrafficSplitEntry.add_member(:name, Shapes::ShapeRef.new(shape: TargetTrafficSplitEntryNameString, required: true, location_name: "name"))
|
|
5801
5881
|
TargetTrafficSplitEntry.add_member(:weight, Shapes::ShapeRef.new(shape: TargetTrafficSplitEntryWeightInteger, required: true, location_name: "weight"))
|
|
5802
|
-
TargetTrafficSplitEntry.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, required: true, location_name: "targetName"))
|
|
5803
5882
|
TargetTrafficSplitEntry.add_member(:description, Shapes::ShapeRef.new(shape: TargetTrafficSplitEntryDescriptionString, location_name: "description"))
|
|
5804
5883
|
TargetTrafficSplitEntry.add_member(:metadata, Shapes::ShapeRef.new(shape: TrafficSplitMetadataMap, location_name: "metadata"))
|
|
5805
5884
|
TargetTrafficSplitEntry.struct_class = Types::TargetTrafficSplitEntry
|
|
@@ -1255,6 +1255,22 @@ module Aws::BedrockAgentCoreControl
|
|
|
1255
1255
|
class Unknown < CertificateLocation; end
|
|
1256
1256
|
end
|
|
1257
1257
|
|
|
1258
|
+
# Specifies whether the circuit breaker monitors failures for the
|
|
1259
|
+
# targets in a fallback chain.
|
|
1260
|
+
#
|
|
1261
|
+
# @!attribute [rw] mode
|
|
1262
|
+
# Specifies whether you want the circuit breaker turned on. To turn it
|
|
1263
|
+
# off, set this value to `DISABLED`. The default is `ENABLED`.
|
|
1264
|
+
# @return [String]
|
|
1265
|
+
#
|
|
1266
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CircuitBreakerConfiguration AWS API Documentation
|
|
1267
|
+
#
|
|
1268
|
+
class CircuitBreakerConfiguration < Struct.new(
|
|
1269
|
+
:mode)
|
|
1270
|
+
SENSITIVE = []
|
|
1271
|
+
include Aws::Structure
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1258
1274
|
# The value or values to match for.
|
|
1259
1275
|
#
|
|
1260
1276
|
# * Include a `matchValueString` with the `EQUALS` operator to specify a
|
|
@@ -1716,7 +1732,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1716
1732
|
end
|
|
1717
1733
|
|
|
1718
1734
|
# A condition that determines when a gateway rule applies. Conditions
|
|
1719
|
-
# can match on principals or
|
|
1735
|
+
# can match on principals, request paths, or the requested model.
|
|
1720
1736
|
#
|
|
1721
1737
|
# @note Condition is a union - when making an API calls you must set exactly one of the members.
|
|
1722
1738
|
#
|
|
@@ -1731,11 +1747,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
1731
1747
|
# A condition that matches on the request path.
|
|
1732
1748
|
# @return [Types::MatchPaths]
|
|
1733
1749
|
#
|
|
1750
|
+
# @!attribute [rw] match_models
|
|
1751
|
+
# A condition that matches on the model requested in an inference
|
|
1752
|
+
# request.
|
|
1753
|
+
# @return [Types::MatchModels]
|
|
1754
|
+
#
|
|
1734
1755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Condition AWS API Documentation
|
|
1735
1756
|
#
|
|
1736
1757
|
class Condition < Struct.new(
|
|
1737
1758
|
:match_principals,
|
|
1738
1759
|
:match_paths,
|
|
1760
|
+
:match_models,
|
|
1739
1761
|
:unknown)
|
|
1740
1762
|
SENSITIVE = []
|
|
1741
1763
|
include Aws::Structure
|
|
@@ -1743,6 +1765,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
1743
1765
|
|
|
1744
1766
|
class MatchPrincipals < Condition; end
|
|
1745
1767
|
class MatchPaths < Condition; end
|
|
1768
|
+
class MatchModels < Condition; end
|
|
1746
1769
|
class Unknown < Condition; end
|
|
1747
1770
|
end
|
|
1748
1771
|
|
|
@@ -7296,6 +7319,38 @@ module Aws::BedrockAgentCoreControl
|
|
|
7296
7319
|
include Aws::Structure
|
|
7297
7320
|
end
|
|
7298
7321
|
|
|
7322
|
+
# The rating scale for one dimension of an LLM-as-a-judge evaluator,
|
|
7323
|
+
# supporting either a numerical or a categorical scale.
|
|
7324
|
+
#
|
|
7325
|
+
# @note DimensionRatingScale is a union - when making an API calls you must set exactly one of the members.
|
|
7326
|
+
#
|
|
7327
|
+
# @note DimensionRatingScale is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DimensionRatingScale corresponding to the set member.
|
|
7328
|
+
#
|
|
7329
|
+
# @!attribute [rw] numerical
|
|
7330
|
+
# The numerical rating scale with defined score values and
|
|
7331
|
+
# descriptions for quantitative evaluation of the dimension.
|
|
7332
|
+
# @return [Array<Types::NumericalScaleDefinition>]
|
|
7333
|
+
#
|
|
7334
|
+
# @!attribute [rw] categorical
|
|
7335
|
+
# The categorical rating scale with named categories and definitions
|
|
7336
|
+
# for qualitative evaluation of the dimension.
|
|
7337
|
+
# @return [Array<Types::CategoricalScaleDefinition>]
|
|
7338
|
+
#
|
|
7339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DimensionRatingScale AWS API Documentation
|
|
7340
|
+
#
|
|
7341
|
+
class DimensionRatingScale < Struct.new(
|
|
7342
|
+
:numerical,
|
|
7343
|
+
:categorical,
|
|
7344
|
+
:unknown)
|
|
7345
|
+
SENSITIVE = []
|
|
7346
|
+
include Aws::Structure
|
|
7347
|
+
include Aws::Structure::Union
|
|
7348
|
+
|
|
7349
|
+
class Numerical < DimensionRatingScale; end
|
|
7350
|
+
class Categorical < DimensionRatingScale; end
|
|
7351
|
+
class Unknown < DimensionRatingScale; end
|
|
7352
|
+
end
|
|
7353
|
+
|
|
7299
7354
|
# The configuration for an Amazon EBS-backed persistent volume. The
|
|
7300
7355
|
# service creates persistent volumes when a session first launches, and
|
|
7301
7356
|
# the volumes survive instance termination. The volumes persist until
|
|
@@ -7866,6 +7921,36 @@ module Aws::BedrockAgentCoreControl
|
|
|
7866
7921
|
include Aws::Structure
|
|
7867
7922
|
end
|
|
7868
7923
|
|
|
7924
|
+
# A single dimension of an LLM-as-a-judge evaluator, defining what the
|
|
7925
|
+
# evaluator model should judge for that dimension and how it should be
|
|
7926
|
+
# scored.
|
|
7927
|
+
#
|
|
7928
|
+
# @!attribute [rw] dimension_name
|
|
7929
|
+
# The name of the dimension. This name is unique within the evaluator
|
|
7930
|
+
# and identifies the dimension's results.
|
|
7931
|
+
# @return [String]
|
|
7932
|
+
#
|
|
7933
|
+
# @!attribute [rw] dimension_instruction
|
|
7934
|
+
# The instruction to the evaluator model for this dimension,
|
|
7935
|
+
# describing what the model should judge when scoring the dimension.
|
|
7936
|
+
# @return [String]
|
|
7937
|
+
#
|
|
7938
|
+
# @!attribute [rw] dimension_rating_scale
|
|
7939
|
+
# The rating scale for this dimension, which can be numerical or
|
|
7940
|
+
# categorical. A dimension's rating scale cannot itself be
|
|
7941
|
+
# multi-dimensional.
|
|
7942
|
+
# @return [Types::DimensionRatingScale]
|
|
7943
|
+
#
|
|
7944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluationDimension AWS API Documentation
|
|
7945
|
+
#
|
|
7946
|
+
class EvaluationDimension < Struct.new(
|
|
7947
|
+
:dimension_name,
|
|
7948
|
+
:dimension_instruction,
|
|
7949
|
+
:dimension_rating_scale)
|
|
7950
|
+
SENSITIVE = [:dimension_instruction, :dimension_rating_scale]
|
|
7951
|
+
include Aws::Structure
|
|
7952
|
+
end
|
|
7953
|
+
|
|
7869
7954
|
# The configuration that defines how an evaluator assesses agent
|
|
7870
7955
|
# performance, including the evaluation method and parameters.
|
|
7871
7956
|
#
|
|
@@ -8083,6 +8168,145 @@ module Aws::BedrockAgentCoreControl
|
|
|
8083
8168
|
class Unknown < ExtractionConfiguration; end
|
|
8084
8169
|
end
|
|
8085
8170
|
|
|
8171
|
+
# The fallback configuration for a route to an inference target. Defines
|
|
8172
|
+
# an ordered list of fallback targets to try when a request to the
|
|
8173
|
+
# route's target fails, and the conditions that trigger a fallback. A
|
|
8174
|
+
# fallback can occur only before the gateway sends the first byte of the
|
|
8175
|
+
# response to the caller. After a streaming response starts, the gateway
|
|
8176
|
+
# doesn't fall back.
|
|
8177
|
+
#
|
|
8178
|
+
# @!attribute [rw] trigger_on
|
|
8179
|
+
# The status codes and errors from the route's target that cause the
|
|
8180
|
+
# gateway to send the request to the first fallback target. If you
|
|
8181
|
+
# omit `triggerOn`, the gateway falls back on `5XX` status codes and
|
|
8182
|
+
# on the `CONNECTION_ERROR`, `FIRST_BYTE_TIMEOUT`, and `UNROUTABLE`
|
|
8183
|
+
# errors. If you specify `triggerOn`, only the status codes and errors
|
|
8184
|
+
# that you list trigger a fallback.
|
|
8185
|
+
# @return [Types::FallbackTriggers]
|
|
8186
|
+
#
|
|
8187
|
+
# @!attribute [rw] first_byte_timeout_milliseconds
|
|
8188
|
+
# The maximum time, in milliseconds, from sending the request to the
|
|
8189
|
+
# route's target until the first byte of the response body arrives.
|
|
8190
|
+
# If the time expires, the gateway abandons the request and treats it
|
|
8191
|
+
# as a `FIRST_BYTE_TIMEOUT` error. If you don't specify a value, no
|
|
8192
|
+
# timeout is enforced.
|
|
8193
|
+
# @return [Integer]
|
|
8194
|
+
#
|
|
8195
|
+
# @!attribute [rw] circuit_breaker
|
|
8196
|
+
# Specifies whether the gateway temporarily stops sending your
|
|
8197
|
+
# requests to a failing target. The circuit breaker tracks each
|
|
8198
|
+
# combination of target and model separately. With the circuit breaker
|
|
8199
|
+
# enabled, the gateway skips one or more targets and models that fail
|
|
8200
|
+
# repeatedly, and your requests go to the next target in the chain.
|
|
8201
|
+
# The gateway always tries the last remaining target in the chain. The
|
|
8202
|
+
# gateway enables the circuit breaker by default.
|
|
8203
|
+
# @return [Types::CircuitBreakerConfiguration]
|
|
8204
|
+
#
|
|
8205
|
+
# @!attribute [rw] target_fallback
|
|
8206
|
+
# The ordered list of fallback targets. The gateway tries each target
|
|
8207
|
+
# in order until a response doesn't match that target's triggers,
|
|
8208
|
+
# and returns that response to the caller. If every target fails, the
|
|
8209
|
+
# gateway returns the last response. You can specify up to two
|
|
8210
|
+
# fallback targets. Each combination of target and model, including
|
|
8211
|
+
# the route's target, can appear only once.
|
|
8212
|
+
# @return [Array<Types::FallbackTarget>]
|
|
8213
|
+
#
|
|
8214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Fallback AWS API Documentation
|
|
8215
|
+
#
|
|
8216
|
+
class Fallback < Struct.new(
|
|
8217
|
+
:trigger_on,
|
|
8218
|
+
:first_byte_timeout_milliseconds,
|
|
8219
|
+
:circuit_breaker,
|
|
8220
|
+
:target_fallback)
|
|
8221
|
+
SENSITIVE = []
|
|
8222
|
+
include Aws::Structure
|
|
8223
|
+
end
|
|
8224
|
+
|
|
8225
|
+
# Specifies a target to send the request to when the previous target in
|
|
8226
|
+
# the fallback chain fails. Includes the target name, the model to send,
|
|
8227
|
+
# and the conditions that trigger a fallback from this target to the
|
|
8228
|
+
# next one.
|
|
8229
|
+
#
|
|
8230
|
+
# @!attribute [rw] target_name
|
|
8231
|
+
# The name of the gateway target to fall back to. The target must be
|
|
8232
|
+
# an inference target.
|
|
8233
|
+
# @return [String]
|
|
8234
|
+
#
|
|
8235
|
+
# @!attribute [rw] model
|
|
8236
|
+
# The model ID to send to this fallback target. If you don't specify
|
|
8237
|
+
# a model, the gateway sends the model from the original request.
|
|
8238
|
+
# @return [String]
|
|
8239
|
+
#
|
|
8240
|
+
# @!attribute [rw] trigger_on
|
|
8241
|
+
# The status codes and errors from this target that cause the gateway
|
|
8242
|
+
# to send the request to the next fallback target. This setting isn't
|
|
8243
|
+
# inherited from the route. If you omit it, the gateway uses the
|
|
8244
|
+
# default triggers: `5XX` status codes and the `CONNECTION_ERROR`,
|
|
8245
|
+
# `FIRST_BYTE_TIMEOUT`, and `UNROUTABLE` errors.
|
|
8246
|
+
# @return [Types::FallbackTriggers]
|
|
8247
|
+
#
|
|
8248
|
+
# @!attribute [rw] first_byte_timeout_milliseconds
|
|
8249
|
+
# The maximum time, in milliseconds, from sending the request to this
|
|
8250
|
+
# target until the first byte of the response body arrives. This
|
|
8251
|
+
# setting isn't inherited from the route. If you don't specify a
|
|
8252
|
+
# value, no timeout is enforced.
|
|
8253
|
+
# @return [Integer]
|
|
8254
|
+
#
|
|
8255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/FallbackTarget AWS API Documentation
|
|
8256
|
+
#
|
|
8257
|
+
class FallbackTarget < Struct.new(
|
|
8258
|
+
:target_name,
|
|
8259
|
+
:model,
|
|
8260
|
+
:trigger_on,
|
|
8261
|
+
:first_byte_timeout_milliseconds)
|
|
8262
|
+
SENSITIVE = [:target_name]
|
|
8263
|
+
include Aws::Structure
|
|
8264
|
+
end
|
|
8265
|
+
|
|
8266
|
+
# The conditions that trigger a fallback to the next target. A fallback
|
|
8267
|
+
# occurs if the response matches any of the specified status codes or
|
|
8268
|
+
# errors.
|
|
8269
|
+
#
|
|
8270
|
+
# @!attribute [rw] status_codes
|
|
8271
|
+
# The HTTP status codes returned by the target that trigger a
|
|
8272
|
+
# fallback. You can specify the following:
|
|
8273
|
+
#
|
|
8274
|
+
# * An exact status code – A three-digit code, such as `429`.
|
|
8275
|
+
#
|
|
8276
|
+
# * A class of status codes – The first digit followed by `XX`, such
|
|
8277
|
+
# as `5XX`, which matches every code from 500 to 599.
|
|
8278
|
+
#
|
|
8279
|
+
# Only 4XX and 5XX codes are supported. Throttling by the gateway
|
|
8280
|
+
# itself doesn't trigger a fallback.
|
|
8281
|
+
# @return [Array<String>]
|
|
8282
|
+
#
|
|
8283
|
+
# @!attribute [rw] errors
|
|
8284
|
+
# The errors that trigger a fallback. You can specify the following:
|
|
8285
|
+
#
|
|
8286
|
+
# * `CONNECTION_ERROR` – The gateway couldn't connect to the target
|
|
8287
|
+
# because the connection was refused, reset, or timed out. The
|
|
8288
|
+
# request didn't reach the target.
|
|
8289
|
+
#
|
|
8290
|
+
# * `FIRST_BYTE_TIMEOUT` – The target accepted the connection but
|
|
8291
|
+
# didn't return the first byte of the response within
|
|
8292
|
+
# `firstByteTimeoutMilliseconds`. The gateway abandons the request
|
|
8293
|
+
# before any of the response reaches you.
|
|
8294
|
+
#
|
|
8295
|
+
# * `UNROUTABLE` – The gateway couldn't route the request to the
|
|
8296
|
+
# target, for example because the target doesn't exist or doesn't
|
|
8297
|
+
# support the request path. These errors don't count toward the
|
|
8298
|
+
# circuit breaker.
|
|
8299
|
+
# @return [Array<String>]
|
|
8300
|
+
#
|
|
8301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/FallbackTriggers AWS API Documentation
|
|
8302
|
+
#
|
|
8303
|
+
class FallbackTriggers < Struct.new(
|
|
8304
|
+
:status_codes,
|
|
8305
|
+
:errors)
|
|
8306
|
+
SENSITIVE = []
|
|
8307
|
+
include Aws::Structure
|
|
8308
|
+
end
|
|
8309
|
+
|
|
8086
8310
|
# Configuration for a filesystem that can be mounted into the AgentCore
|
|
8087
8311
|
# Runtime.
|
|
8088
8312
|
#
|
|
@@ -15728,11 +15952,16 @@ module Aws::BedrockAgentCoreControl
|
|
|
15728
15952
|
# @return [Types::StreamingConfiguration]
|
|
15729
15953
|
#
|
|
15730
15954
|
# @!attribute [rw] disable_mcp_list_tools_pagination
|
|
15731
|
-
# Specifies whether
|
|
15732
|
-
# Protocol (MCP) `tools/list` operation. When set to `true`,
|
|
15733
|
-
# gateway returns the complete list of tools in a single response
|
|
15955
|
+
# Specifies whether the gateway disables pagination for the Model
|
|
15956
|
+
# Context Protocol (MCP) `tools/list` operation. When set to `true`,
|
|
15957
|
+
# the gateway returns the complete list of tools in a single response
|
|
15734
15958
|
# without a pagination cursor. When set to `false` or omitted, the
|
|
15735
|
-
# gateway returns tools in paginated responses.
|
|
15959
|
+
# gateway returns tools in paginated responses. For information about
|
|
15960
|
+
# changing this value on an existing gateway, see [UpdateGateway][1].
|
|
15961
|
+
#
|
|
15962
|
+
#
|
|
15963
|
+
#
|
|
15964
|
+
# [1]: https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateGateway.html
|
|
15736
15965
|
# @return [Boolean]
|
|
15737
15966
|
#
|
|
15738
15967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MCPGatewayConfiguration AWS API Documentation
|
|
@@ -15822,6 +16051,49 @@ module Aws::BedrockAgentCoreControl
|
|
|
15822
16051
|
include Aws::Structure
|
|
15823
16052
|
end
|
|
15824
16053
|
|
|
16054
|
+
# A model ID or pattern to match against the requested model, and the
|
|
16055
|
+
# operator to use for the comparison.
|
|
16056
|
+
#
|
|
16057
|
+
# @!attribute [rw] value
|
|
16058
|
+
# The model ID or pattern to match. With the `StringLike` operator,
|
|
16059
|
+
# you can use `*` and `?` as wildcards, for example
|
|
16060
|
+
# `anthropic.claude-*`.
|
|
16061
|
+
# @return [String]
|
|
16062
|
+
#
|
|
16063
|
+
# @!attribute [rw] operator
|
|
16064
|
+
# The operator to use when comparing the requested model to the value:
|
|
16065
|
+
#
|
|
16066
|
+
# * `StringEquals` – Requires an exact match.
|
|
16067
|
+
#
|
|
16068
|
+
# * `StringLike` – Supports wildcard patterns using `*` and `?`. This
|
|
16069
|
+
# is the default.
|
|
16070
|
+
# @return [String]
|
|
16071
|
+
#
|
|
16072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MatchModelEntry AWS API Documentation
|
|
16073
|
+
#
|
|
16074
|
+
class MatchModelEntry < Struct.new(
|
|
16075
|
+
:value,
|
|
16076
|
+
:operator)
|
|
16077
|
+
SENSITIVE = []
|
|
16078
|
+
include Aws::Structure
|
|
16079
|
+
end
|
|
16080
|
+
|
|
16081
|
+
# A condition that matches inference requests based on the requested
|
|
16082
|
+
# model.
|
|
16083
|
+
#
|
|
16084
|
+
# @!attribute [rw] any_of
|
|
16085
|
+
# A list of model entries. The condition is met if the requested model
|
|
16086
|
+
# matches any of the entries.
|
|
16087
|
+
# @return [Array<Types::MatchModelEntry>]
|
|
16088
|
+
#
|
|
16089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MatchModels AWS API Documentation
|
|
16090
|
+
#
|
|
16091
|
+
class MatchModels < Struct.new(
|
|
16092
|
+
:any_of)
|
|
16093
|
+
SENSITIVE = []
|
|
16094
|
+
include Aws::Structure
|
|
16095
|
+
end
|
|
16096
|
+
|
|
15825
16097
|
# A condition that matches requests based on the request path.
|
|
15826
16098
|
#
|
|
15827
16099
|
# @!attribute [rw] any_of
|
|
@@ -18369,11 +18641,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
18369
18641
|
# for qualitative evaluation.
|
|
18370
18642
|
# @return [Array<Types::CategoricalScaleDefinition>]
|
|
18371
18643
|
#
|
|
18644
|
+
# @!attribute [rw] multi_dimensional
|
|
18645
|
+
# A list of dimensions that lets an LLM-as-a-judge evaluator score
|
|
18646
|
+
# several dimensions of the same target in a single evaluation. Each
|
|
18647
|
+
# dimension has its own instruction and rating scale, and produces its
|
|
18648
|
+
# own result.
|
|
18649
|
+
# @return [Array<Types::EvaluationDimension>]
|
|
18650
|
+
#
|
|
18372
18651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RatingScale AWS API Documentation
|
|
18373
18652
|
#
|
|
18374
18653
|
class RatingScale < Struct.new(
|
|
18375
18654
|
:numerical,
|
|
18376
18655
|
:categorical,
|
|
18656
|
+
:multi_dimensional,
|
|
18377
18657
|
:unknown)
|
|
18378
18658
|
SENSITIVE = []
|
|
18379
18659
|
include Aws::Structure
|
|
@@ -18381,6 +18661,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
18381
18661
|
|
|
18382
18662
|
class Numerical < RatingScale; end
|
|
18383
18663
|
class Categorical < RatingScale; end
|
|
18664
|
+
class MultiDimensional < RatingScale; end
|
|
18384
18665
|
class Unknown < RatingScale; end
|
|
18385
18666
|
end
|
|
18386
18667
|
|
|
@@ -19971,10 +20252,23 @@ module Aws::BedrockAgentCoreControl
|
|
|
19971
20252
|
# The name of the target to route requests to.
|
|
19972
20253
|
# @return [String]
|
|
19973
20254
|
#
|
|
20255
|
+
# @!attribute [rw] model
|
|
20256
|
+
# The model ID to send to the target. Supported only for inference
|
|
20257
|
+
# targets. If you don't specify a model, the gateway sends the model
|
|
20258
|
+
# from the original request.
|
|
20259
|
+
# @return [String]
|
|
20260
|
+
#
|
|
20261
|
+
# @!attribute [rw] fallback
|
|
20262
|
+
# The fallback configuration for this route. Supported only for
|
|
20263
|
+
# inference targets.
|
|
20264
|
+
# @return [Types::Fallback]
|
|
20265
|
+
#
|
|
19974
20266
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/StaticRoute AWS API Documentation
|
|
19975
20267
|
#
|
|
19976
20268
|
class StaticRoute < Struct.new(
|
|
19977
|
-
:target_name
|
|
20269
|
+
:target_name,
|
|
20270
|
+
:model,
|
|
20271
|
+
:fallback)
|
|
19978
20272
|
SENSITIVE = [:target_name]
|
|
19979
20273
|
include Aws::Structure
|
|
19980
20274
|
end
|
|
@@ -20617,6 +20911,21 @@ module Aws::BedrockAgentCoreControl
|
|
|
20617
20911
|
|
|
20618
20912
|
# An entry in a target traffic split configuration.
|
|
20619
20913
|
#
|
|
20914
|
+
# @!attribute [rw] target_name
|
|
20915
|
+
# The name of the target to route traffic to.
|
|
20916
|
+
# @return [String]
|
|
20917
|
+
#
|
|
20918
|
+
# @!attribute [rw] model
|
|
20919
|
+
# The model ID to send to the target for this variant. Supported only
|
|
20920
|
+
# for inference targets. If you don't specify a model, the gateway
|
|
20921
|
+
# sends the model from the original request.
|
|
20922
|
+
# @return [String]
|
|
20923
|
+
#
|
|
20924
|
+
# @!attribute [rw] fallback
|
|
20925
|
+
# The fallback configuration for this variant. Supported only for
|
|
20926
|
+
# inference targets.
|
|
20927
|
+
# @return [Types::Fallback]
|
|
20928
|
+
#
|
|
20620
20929
|
# @!attribute [rw] name
|
|
20621
20930
|
# The name of this traffic split variant.
|
|
20622
20931
|
# @return [String]
|
|
@@ -20625,10 +20934,6 @@ module Aws::BedrockAgentCoreControl
|
|
|
20625
20934
|
# The percentage of traffic to route to this variant.
|
|
20626
20935
|
# @return [Integer]
|
|
20627
20936
|
#
|
|
20628
|
-
# @!attribute [rw] target_name
|
|
20629
|
-
# The name of the target to route traffic to.
|
|
20630
|
-
# @return [String]
|
|
20631
|
-
#
|
|
20632
20937
|
# @!attribute [rw] description
|
|
20633
20938
|
# The description of this traffic split variant.
|
|
20634
20939
|
# @return [String]
|
|
@@ -20640,9 +20945,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
20640
20945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/TargetTrafficSplitEntry AWS API Documentation
|
|
20641
20946
|
#
|
|
20642
20947
|
class TargetTrafficSplitEntry < Struct.new(
|
|
20948
|
+
:target_name,
|
|
20949
|
+
:model,
|
|
20950
|
+
:fallback,
|
|
20643
20951
|
:name,
|
|
20644
20952
|
:weight,
|
|
20645
|
-
:target_name,
|
|
20646
20953
|
:description,
|
|
20647
20954
|
:metadata)
|
|
20648
20955
|
SENSITIVE = [:target_name]
|