aws-sdk-bedrock 1.40.0 → 1.42.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +152 -8
- data/lib/aws-sdk-bedrock/client_api.rb +114 -2
- data/lib/aws-sdk-bedrock/types.rb +716 -28
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +92 -14
- data/sig/types.rbs +122 -14
- metadata +2 -2
@@ -23,6 +23,9 @@ module Aws::Bedrock
|
|
23
23
|
ApplicationType = Shapes::StringShape.new(name: 'ApplicationType')
|
24
24
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
25
25
|
AutomatedEvaluationConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationConfig')
|
26
|
+
AutomatedEvaluationCustomMetricConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationCustomMetricConfig')
|
27
|
+
AutomatedEvaluationCustomMetricSource = Shapes::UnionShape.new(name: 'AutomatedEvaluationCustomMetricSource')
|
28
|
+
AutomatedEvaluationCustomMetrics = Shapes::ListShape.new(name: 'AutomatedEvaluationCustomMetrics')
|
26
29
|
BaseModelIdentifier = Shapes::StringShape.new(name: 'BaseModelIdentifier')
|
27
30
|
BatchDeleteEvaluationJobError = Shapes::StructureShape.new(name: 'BatchDeleteEvaluationJobError')
|
28
31
|
BatchDeleteEvaluationJobErrors = Shapes::ListShape.new(name: 'BatchDeleteEvaluationJobErrors')
|
@@ -65,6 +68,11 @@ module Aws::Bedrock
|
|
65
68
|
CreatePromptRouterResponse = Shapes::StructureShape.new(name: 'CreatePromptRouterResponse')
|
66
69
|
CreateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputRequest')
|
67
70
|
CreateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputResponse')
|
71
|
+
CustomMetricBedrockEvaluatorModel = Shapes::StructureShape.new(name: 'CustomMetricBedrockEvaluatorModel')
|
72
|
+
CustomMetricBedrockEvaluatorModels = Shapes::ListShape.new(name: 'CustomMetricBedrockEvaluatorModels')
|
73
|
+
CustomMetricDefinition = Shapes::StructureShape.new(name: 'CustomMetricDefinition')
|
74
|
+
CustomMetricEvaluatorModelConfig = Shapes::StructureShape.new(name: 'CustomMetricEvaluatorModelConfig')
|
75
|
+
CustomMetricInstructions = Shapes::StringShape.new(name: 'CustomMetricInstructions')
|
68
76
|
CustomModelArn = Shapes::StringShape.new(name: 'CustomModelArn')
|
69
77
|
CustomModelName = Shapes::StringShape.new(name: 'CustomModelName')
|
70
78
|
CustomModelSummary = Shapes::StructureShape.new(name: 'CustomModelSummary')
|
@@ -149,6 +157,7 @@ module Aws::Bedrock
|
|
149
157
|
FilterKey = Shapes::StringShape.new(name: 'FilterKey')
|
150
158
|
FilterValue = Shapes::DocumentShape.new(name: 'FilterValue', document: true)
|
151
159
|
FineTuningJobStatus = Shapes::StringShape.new(name: 'FineTuningJobStatus')
|
160
|
+
Float = Shapes::FloatShape.new(name: 'Float')
|
152
161
|
FoundationModelArn = Shapes::StringShape.new(name: 'FoundationModelArn')
|
153
162
|
FoundationModelDetails = Shapes::StructureShape.new(name: 'FoundationModelDetails')
|
154
163
|
FoundationModelLifecycle = Shapes::StructureShape.new(name: 'FoundationModelLifecycle')
|
@@ -190,12 +199,14 @@ module Aws::Bedrock
|
|
190
199
|
GuardrailConfigurationGuardrailIdString = Shapes::StringShape.new(name: 'GuardrailConfigurationGuardrailIdString')
|
191
200
|
GuardrailConfigurationGuardrailVersionString = Shapes::StringShape.new(name: 'GuardrailConfigurationGuardrailVersionString')
|
192
201
|
GuardrailContentFilter = Shapes::StructureShape.new(name: 'GuardrailContentFilter')
|
202
|
+
GuardrailContentFilterAction = Shapes::StringShape.new(name: 'GuardrailContentFilterAction')
|
193
203
|
GuardrailContentFilterConfig = Shapes::StructureShape.new(name: 'GuardrailContentFilterConfig')
|
194
204
|
GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
|
195
205
|
GuardrailContentFilters = Shapes::ListShape.new(name: 'GuardrailContentFilters')
|
196
206
|
GuardrailContentFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContentFiltersConfig')
|
197
207
|
GuardrailContentPolicy = Shapes::StructureShape.new(name: 'GuardrailContentPolicy')
|
198
208
|
GuardrailContentPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailContentPolicyConfig')
|
209
|
+
GuardrailContextualGroundingAction = Shapes::StringShape.new(name: 'GuardrailContextualGroundingAction')
|
199
210
|
GuardrailContextualGroundingFilter = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingFilter')
|
200
211
|
GuardrailContextualGroundingFilterConfig = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingFilterConfig')
|
201
212
|
GuardrailContextualGroundingFilterConfigThresholdDouble = Shapes::FloatShape.new(name: 'GuardrailContextualGroundingFilterConfigThresholdDouble')
|
@@ -245,6 +256,7 @@ module Aws::Bedrock
|
|
245
256
|
GuardrailSummaries = Shapes::ListShape.new(name: 'GuardrailSummaries')
|
246
257
|
GuardrailSummary = Shapes::StructureShape.new(name: 'GuardrailSummary')
|
247
258
|
GuardrailTopic = Shapes::StructureShape.new(name: 'GuardrailTopic')
|
259
|
+
GuardrailTopicAction = Shapes::StringShape.new(name: 'GuardrailTopicAction')
|
248
260
|
GuardrailTopicConfig = Shapes::StructureShape.new(name: 'GuardrailTopicConfig')
|
249
261
|
GuardrailTopicDefinition = Shapes::StringShape.new(name: 'GuardrailTopicDefinition')
|
250
262
|
GuardrailTopicExample = Shapes::StringShape.new(name: 'GuardrailTopicExample')
|
@@ -257,6 +269,7 @@ module Aws::Bedrock
|
|
257
269
|
GuardrailTopicsConfig = Shapes::ListShape.new(name: 'GuardrailTopicsConfig')
|
258
270
|
GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
|
259
271
|
GuardrailWord = Shapes::StructureShape.new(name: 'GuardrailWord')
|
272
|
+
GuardrailWordAction = Shapes::StringShape.new(name: 'GuardrailWordAction')
|
260
273
|
GuardrailWordConfig = Shapes::StructureShape.new(name: 'GuardrailWordConfig')
|
261
274
|
GuardrailWordConfigTextString = Shapes::StringShape.new(name: 'GuardrailWordConfigTextString')
|
262
275
|
GuardrailWordPolicy = Shapes::StructureShape.new(name: 'GuardrailWordPolicy')
|
@@ -346,6 +359,7 @@ module Aws::Bedrock
|
|
346
359
|
MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
|
347
360
|
Message = Shapes::StringShape.new(name: 'Message')
|
348
361
|
MetricFloat = Shapes::FloatShape.new(name: 'MetricFloat')
|
362
|
+
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
349
363
|
ModelArchitecture = Shapes::StringShape.new(name: 'ModelArchitecture')
|
350
364
|
ModelArn = Shapes::StringShape.new(name: 'ModelArn')
|
351
365
|
ModelCopyJobArn = Shapes::StringShape.new(name: 'ModelCopyJobArn')
|
@@ -417,6 +431,11 @@ module Aws::Bedrock
|
|
417
431
|
RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
|
418
432
|
RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
|
419
433
|
RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
|
434
|
+
RatingScale = Shapes::ListShape.new(name: 'RatingScale')
|
435
|
+
RatingScaleItem = Shapes::StructureShape.new(name: 'RatingScaleItem')
|
436
|
+
RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
|
437
|
+
RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
|
438
|
+
RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
|
420
439
|
RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
|
421
440
|
RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
|
422
441
|
RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
|
@@ -505,8 +524,21 @@ module Aws::Bedrock
|
|
505
524
|
|
506
525
|
AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
|
507
526
|
AutomatedEvaluationConfig.add_member(:evaluator_model_config, Shapes::ShapeRef.new(shape: EvaluatorModelConfig, location_name: "evaluatorModelConfig"))
|
527
|
+
AutomatedEvaluationConfig.add_member(:custom_metric_config, Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetricConfig, location_name: "customMetricConfig"))
|
508
528
|
AutomatedEvaluationConfig.struct_class = Types::AutomatedEvaluationConfig
|
509
529
|
|
530
|
+
AutomatedEvaluationCustomMetricConfig.add_member(:custom_metrics, Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetrics, required: true, location_name: "customMetrics"))
|
531
|
+
AutomatedEvaluationCustomMetricConfig.add_member(:evaluator_model_config, Shapes::ShapeRef.new(shape: CustomMetricEvaluatorModelConfig, required: true, location_name: "evaluatorModelConfig"))
|
532
|
+
AutomatedEvaluationCustomMetricConfig.struct_class = Types::AutomatedEvaluationCustomMetricConfig
|
533
|
+
|
534
|
+
AutomatedEvaluationCustomMetricSource.add_member(:custom_metric_definition, Shapes::ShapeRef.new(shape: CustomMetricDefinition, location_name: "customMetricDefinition"))
|
535
|
+
AutomatedEvaluationCustomMetricSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
536
|
+
AutomatedEvaluationCustomMetricSource.add_member_subclass(:custom_metric_definition, Types::AutomatedEvaluationCustomMetricSource::CustomMetricDefinition)
|
537
|
+
AutomatedEvaluationCustomMetricSource.add_member_subclass(:unknown, Types::AutomatedEvaluationCustomMetricSource::Unknown)
|
538
|
+
AutomatedEvaluationCustomMetricSource.struct_class = Types::AutomatedEvaluationCustomMetricSource
|
539
|
+
|
540
|
+
AutomatedEvaluationCustomMetrics.member = Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetricSource)
|
541
|
+
|
510
542
|
BatchDeleteEvaluationJobError.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location_name: "jobIdentifier"))
|
511
543
|
BatchDeleteEvaluationJobError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
|
512
544
|
BatchDeleteEvaluationJobError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -692,6 +724,19 @@ module Aws::Bedrock
|
|
692
724
|
CreateProvisionedModelThroughputResponse.add_member(:provisioned_model_arn, Shapes::ShapeRef.new(shape: ProvisionedModelArn, required: true, location_name: "provisionedModelArn"))
|
693
725
|
CreateProvisionedModelThroughputResponse.struct_class = Types::CreateProvisionedModelThroughputResponse
|
694
726
|
|
727
|
+
CustomMetricBedrockEvaluatorModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluatorModelIdentifier, required: true, location_name: "modelIdentifier"))
|
728
|
+
CustomMetricBedrockEvaluatorModel.struct_class = Types::CustomMetricBedrockEvaluatorModel
|
729
|
+
|
730
|
+
CustomMetricBedrockEvaluatorModels.member = Shapes::ShapeRef.new(shape: CustomMetricBedrockEvaluatorModel)
|
731
|
+
|
732
|
+
CustomMetricDefinition.add_member(:name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "name"))
|
733
|
+
CustomMetricDefinition.add_member(:instructions, Shapes::ShapeRef.new(shape: CustomMetricInstructions, required: true, location_name: "instructions"))
|
734
|
+
CustomMetricDefinition.add_member(:rating_scale, Shapes::ShapeRef.new(shape: RatingScale, location_name: "ratingScale"))
|
735
|
+
CustomMetricDefinition.struct_class = Types::CustomMetricDefinition
|
736
|
+
|
737
|
+
CustomMetricEvaluatorModelConfig.add_member(:bedrock_evaluator_models, Shapes::ShapeRef.new(shape: CustomMetricBedrockEvaluatorModels, required: true, location_name: "bedrockEvaluatorModels"))
|
738
|
+
CustomMetricEvaluatorModelConfig.struct_class = Types::CustomMetricEvaluatorModelConfig
|
739
|
+
|
695
740
|
CustomModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
|
696
741
|
CustomModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
697
742
|
CustomModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
@@ -869,9 +914,10 @@ module Aws::Bedrock
|
|
869
914
|
EvaluationSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
870
915
|
EvaluationSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: EvaluationJobType, required: true, location_name: "jobType"))
|
871
916
|
EvaluationSummary.add_member(:evaluation_task_types, Shapes::ShapeRef.new(shape: EvaluationTaskTypes, required: true, location_name: "evaluationTaskTypes"))
|
872
|
-
EvaluationSummary.add_member(:model_identifiers, Shapes::ShapeRef.new(shape: EvaluationBedrockModelIdentifiers, deprecated: true, location_name: "modelIdentifiers", metadata: {"deprecatedMessage"=>"Inference identifiers should be retrieved from the inferenceConfigSummary"}))
|
873
|
-
EvaluationSummary.add_member(:rag_identifiers, Shapes::ShapeRef.new(shape: EvaluationBedrockKnowledgeBaseIdentifiers, deprecated: true, location_name: "ragIdentifiers", metadata: {"deprecatedMessage"=>"Inference identifiers should be retrieved from the inferenceConfigSummary"}))
|
917
|
+
EvaluationSummary.add_member(:model_identifiers, Shapes::ShapeRef.new(shape: EvaluationBedrockModelIdentifiers, deprecated: true, location_name: "modelIdentifiers", metadata: {"deprecatedMessage"=>"Inference identifiers should be retrieved from the inferenceConfigSummary", "deprecatedSince"=>"2025-03-07"}))
|
918
|
+
EvaluationSummary.add_member(:rag_identifiers, Shapes::ShapeRef.new(shape: EvaluationBedrockKnowledgeBaseIdentifiers, deprecated: true, location_name: "ragIdentifiers", metadata: {"deprecatedMessage"=>"Inference identifiers should be retrieved from the inferenceConfigSummary", "deprecatedSince"=>"2025-03-07"}))
|
874
919
|
EvaluationSummary.add_member(:evaluator_model_identifiers, Shapes::ShapeRef.new(shape: EvaluatorModelIdentifiers, location_name: "evaluatorModelIdentifiers"))
|
920
|
+
EvaluationSummary.add_member(:custom_metrics_evaluator_model_identifiers, Shapes::ShapeRef.new(shape: EvaluatorModelIdentifiers, location_name: "customMetricsEvaluatorModelIdentifiers"))
|
875
921
|
EvaluationSummary.add_member(:inference_config_summary, Shapes::ShapeRef.new(shape: EvaluationInferenceConfigSummary, location_name: "inferenceConfigSummary"))
|
876
922
|
EvaluationSummary.add_member(:application_type, Shapes::ShapeRef.new(shape: ApplicationType, location_name: "applicationType"))
|
877
923
|
EvaluationSummary.struct_class = Types::EvaluationSummary
|
@@ -1175,6 +1221,10 @@ module Aws::Bedrock
|
|
1175
1221
|
GuardrailContentFilter.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
|
1176
1222
|
GuardrailContentFilter.add_member(:input_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "inputModalities"))
|
1177
1223
|
GuardrailContentFilter.add_member(:output_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "outputModalities"))
|
1224
|
+
GuardrailContentFilter.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailContentFilterAction, location_name: "inputAction"))
|
1225
|
+
GuardrailContentFilter.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailContentFilterAction, location_name: "outputAction"))
|
1226
|
+
GuardrailContentFilter.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1227
|
+
GuardrailContentFilter.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1178
1228
|
GuardrailContentFilter.struct_class = Types::GuardrailContentFilter
|
1179
1229
|
|
1180
1230
|
GuardrailContentFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, required: true, location_name: "type"))
|
@@ -1182,6 +1232,10 @@ module Aws::Bedrock
|
|
1182
1232
|
GuardrailContentFilterConfig.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
|
1183
1233
|
GuardrailContentFilterConfig.add_member(:input_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "inputModalities"))
|
1184
1234
|
GuardrailContentFilterConfig.add_member(:output_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "outputModalities"))
|
1235
|
+
GuardrailContentFilterConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailContentFilterAction, location_name: "inputAction"))
|
1236
|
+
GuardrailContentFilterConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailContentFilterAction, location_name: "outputAction"))
|
1237
|
+
GuardrailContentFilterConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1238
|
+
GuardrailContentFilterConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1185
1239
|
GuardrailContentFilterConfig.struct_class = Types::GuardrailContentFilterConfig
|
1186
1240
|
|
1187
1241
|
GuardrailContentFilters.member = Shapes::ShapeRef.new(shape: GuardrailContentFilter)
|
@@ -1196,10 +1250,14 @@ module Aws::Bedrock
|
|
1196
1250
|
|
1197
1251
|
GuardrailContextualGroundingFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
|
1198
1252
|
GuardrailContextualGroundingFilter.add_member(:threshold, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterThresholdDouble, required: true, location_name: "threshold"))
|
1253
|
+
GuardrailContextualGroundingFilter.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingAction, location_name: "action"))
|
1254
|
+
GuardrailContextualGroundingFilter.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
1199
1255
|
GuardrailContextualGroundingFilter.struct_class = Types::GuardrailContextualGroundingFilter
|
1200
1256
|
|
1201
1257
|
GuardrailContextualGroundingFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
|
1202
1258
|
GuardrailContextualGroundingFilterConfig.add_member(:threshold, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterConfigThresholdDouble, required: true, location_name: "threshold"))
|
1259
|
+
GuardrailContextualGroundingFilterConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingAction, location_name: "action"))
|
1260
|
+
GuardrailContextualGroundingFilterConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
1203
1261
|
GuardrailContextualGroundingFilterConfig.struct_class = Types::GuardrailContextualGroundingFilterConfig
|
1204
1262
|
|
1205
1263
|
GuardrailContextualGroundingFilters.member = Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilter)
|
@@ -1219,9 +1277,17 @@ module Aws::Bedrock
|
|
1219
1277
|
GuardrailManagedWordListsConfig.member = Shapes::ShapeRef.new(shape: GuardrailManagedWordsConfig)
|
1220
1278
|
|
1221
1279
|
GuardrailManagedWords.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailManagedWordsType, required: true, location_name: "type"))
|
1280
|
+
GuardrailManagedWords.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1281
|
+
GuardrailManagedWords.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
1282
|
+
GuardrailManagedWords.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1283
|
+
GuardrailManagedWords.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1222
1284
|
GuardrailManagedWords.struct_class = Types::GuardrailManagedWords
|
1223
1285
|
|
1224
1286
|
GuardrailManagedWordsConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailManagedWordsType, required: true, location_name: "type"))
|
1287
|
+
GuardrailManagedWordsConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1288
|
+
GuardrailManagedWordsConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
1289
|
+
GuardrailManagedWordsConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1290
|
+
GuardrailManagedWordsConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1225
1291
|
GuardrailManagedWordsConfig.struct_class = Types::GuardrailManagedWordsConfig
|
1226
1292
|
|
1227
1293
|
GuardrailModalities.member = Shapes::ShapeRef.new(shape: GuardrailModality)
|
@@ -1232,22 +1298,38 @@ module Aws::Bedrock
|
|
1232
1298
|
|
1233
1299
|
GuardrailPiiEntity.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailPiiEntityType, required: true, location_name: "type"))
|
1234
1300
|
GuardrailPiiEntity.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
|
1301
|
+
GuardrailPiiEntity.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "inputAction"))
|
1302
|
+
GuardrailPiiEntity.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "outputAction"))
|
1303
|
+
GuardrailPiiEntity.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1304
|
+
GuardrailPiiEntity.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1235
1305
|
GuardrailPiiEntity.struct_class = Types::GuardrailPiiEntity
|
1236
1306
|
|
1237
1307
|
GuardrailPiiEntityConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailPiiEntityType, required: true, location_name: "type"))
|
1238
1308
|
GuardrailPiiEntityConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
|
1309
|
+
GuardrailPiiEntityConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "inputAction"))
|
1310
|
+
GuardrailPiiEntityConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "outputAction"))
|
1311
|
+
GuardrailPiiEntityConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1312
|
+
GuardrailPiiEntityConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1239
1313
|
GuardrailPiiEntityConfig.struct_class = Types::GuardrailPiiEntityConfig
|
1240
1314
|
|
1241
1315
|
GuardrailRegex.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailRegexNameString, required: true, location_name: "name"))
|
1242
1316
|
GuardrailRegex.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailRegexDescriptionString, location_name: "description"))
|
1243
1317
|
GuardrailRegex.add_member(:pattern, Shapes::ShapeRef.new(shape: GuardrailRegexPatternString, required: true, location_name: "pattern"))
|
1244
1318
|
GuardrailRegex.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
|
1319
|
+
GuardrailRegex.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "inputAction"))
|
1320
|
+
GuardrailRegex.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "outputAction"))
|
1321
|
+
GuardrailRegex.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1322
|
+
GuardrailRegex.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1245
1323
|
GuardrailRegex.struct_class = Types::GuardrailRegex
|
1246
1324
|
|
1247
1325
|
GuardrailRegexConfig.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailRegexConfigNameString, required: true, location_name: "name"))
|
1248
1326
|
GuardrailRegexConfig.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailRegexConfigDescriptionString, location_name: "description"))
|
1249
1327
|
GuardrailRegexConfig.add_member(:pattern, Shapes::ShapeRef.new(shape: GuardrailRegexConfigPatternString, required: true, location_name: "pattern"))
|
1250
1328
|
GuardrailRegexConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
|
1329
|
+
GuardrailRegexConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "inputAction"))
|
1330
|
+
GuardrailRegexConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "outputAction"))
|
1331
|
+
GuardrailRegexConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1332
|
+
GuardrailRegexConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1251
1333
|
GuardrailRegexConfig.struct_class = Types::GuardrailRegexConfig
|
1252
1334
|
|
1253
1335
|
GuardrailRegexes.member = Shapes::ShapeRef.new(shape: GuardrailRegex)
|
@@ -1280,12 +1362,20 @@ module Aws::Bedrock
|
|
1280
1362
|
GuardrailTopic.add_member(:definition, Shapes::ShapeRef.new(shape: GuardrailTopicDefinition, required: true, location_name: "definition"))
|
1281
1363
|
GuardrailTopic.add_member(:examples, Shapes::ShapeRef.new(shape: GuardrailTopicExamples, location_name: "examples"))
|
1282
1364
|
GuardrailTopic.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailTopicType, location_name: "type"))
|
1365
|
+
GuardrailTopic.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailTopicAction, location_name: "inputAction"))
|
1366
|
+
GuardrailTopic.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailTopicAction, location_name: "outputAction"))
|
1367
|
+
GuardrailTopic.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1368
|
+
GuardrailTopic.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1283
1369
|
GuardrailTopic.struct_class = Types::GuardrailTopic
|
1284
1370
|
|
1285
1371
|
GuardrailTopicConfig.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailTopicName, required: true, location_name: "name"))
|
1286
1372
|
GuardrailTopicConfig.add_member(:definition, Shapes::ShapeRef.new(shape: GuardrailTopicDefinition, required: true, location_name: "definition"))
|
1287
1373
|
GuardrailTopicConfig.add_member(:examples, Shapes::ShapeRef.new(shape: GuardrailTopicExamples, location_name: "examples"))
|
1288
1374
|
GuardrailTopicConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailTopicType, required: true, location_name: "type"))
|
1375
|
+
GuardrailTopicConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailTopicAction, location_name: "inputAction"))
|
1376
|
+
GuardrailTopicConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailTopicAction, location_name: "outputAction"))
|
1377
|
+
GuardrailTopicConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1378
|
+
GuardrailTopicConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1289
1379
|
GuardrailTopicConfig.struct_class = Types::GuardrailTopicConfig
|
1290
1380
|
|
1291
1381
|
GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
|
@@ -1301,9 +1391,17 @@ module Aws::Bedrock
|
|
1301
1391
|
GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
|
1302
1392
|
|
1303
1393
|
GuardrailWord.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordTextString, required: true, location_name: "text"))
|
1394
|
+
GuardrailWord.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1395
|
+
GuardrailWord.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
1396
|
+
GuardrailWord.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1397
|
+
GuardrailWord.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1304
1398
|
GuardrailWord.struct_class = Types::GuardrailWord
|
1305
1399
|
|
1306
1400
|
GuardrailWordConfig.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordConfigTextString, required: true, location_name: "text"))
|
1401
|
+
GuardrailWordConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1402
|
+
GuardrailWordConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
1403
|
+
GuardrailWordConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1404
|
+
GuardrailWordConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1307
1405
|
GuardrailWordConfig.struct_class = Types::GuardrailWordConfig
|
1308
1406
|
|
1309
1407
|
GuardrailWordPolicy.add_member(:words, Shapes::ShapeRef.new(shape: GuardrailWords, location_name: "words"))
|
@@ -1768,6 +1866,20 @@ module Aws::Bedrock
|
|
1768
1866
|
|
1769
1867
|
RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
|
1770
1868
|
|
1869
|
+
RatingScale.member = Shapes::ShapeRef.new(shape: RatingScaleItem)
|
1870
|
+
|
1871
|
+
RatingScaleItem.add_member(:definition, Shapes::ShapeRef.new(shape: RatingScaleItemDefinition, required: true, location_name: "definition"))
|
1872
|
+
RatingScaleItem.add_member(:value, Shapes::ShapeRef.new(shape: RatingScaleItemValue, required: true, location_name: "value"))
|
1873
|
+
RatingScaleItem.struct_class = Types::RatingScaleItem
|
1874
|
+
|
1875
|
+
RatingScaleItemValue.add_member(:string_value, Shapes::ShapeRef.new(shape: RatingScaleItemValueStringValueString, location_name: "stringValue"))
|
1876
|
+
RatingScaleItemValue.add_member(:float_value, Shapes::ShapeRef.new(shape: Float, location_name: "floatValue"))
|
1877
|
+
RatingScaleItemValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1878
|
+
RatingScaleItemValue.add_member_subclass(:string_value, Types::RatingScaleItemValue::StringValue)
|
1879
|
+
RatingScaleItemValue.add_member_subclass(:float_value, Types::RatingScaleItemValue::FloatValue)
|
1880
|
+
RatingScaleItemValue.add_member_subclass(:unknown, Types::RatingScaleItemValue::Unknown)
|
1881
|
+
RatingScaleItemValue.struct_class = Types::RatingScaleItemValue
|
1882
|
+
|
1771
1883
|
RegisterMarketplaceModelEndpointRequest.add_member(:endpoint_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointIdentifier"))
|
1772
1884
|
RegisterMarketplaceModelEndpointRequest.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
|
1773
1885
|
RegisterMarketplaceModelEndpointRequest.struct_class = Types::RegisterMarketplaceModelEndpointRequest
|