aws-sdk-bedrock 1.68.0 → 1.70.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 149972ad92dd6f17205fbb4a3fdd49f8ca4ea4c83d81c4f5870130e2d2288378
4
- data.tar.gz: bb77cc363a8274aa9589ff4e73195afd7d715b0c1791e7b7e239a82e374c9c2a
3
+ metadata.gz: e4faf3a418ad62c28406257bc3938fe0d167c867ec1bbe39b9fe29ab59091caf
4
+ data.tar.gz: c057c56d4aee09fa5e9cff4b87f0ee9e8ed336152f5183c0bb623570aa7bd48b
5
5
  SHA512:
6
- metadata.gz: a401c74bb19c77f38f21780a023ebeb1730de20769c10cd29b69dea82c8a9b1c13f032407eba7dd36bb9992a6319f2422695bdd34fa0b1d08d82e865b8778170
7
- data.tar.gz: 374debf64d258d0059b1d766bad48b19575bfb4a79013e9f051ccb5c382adb460b02216b54b76e197d8dbb4cf5ffa127fe43e5c33344ffb91a1c7e156c103c9b
6
+ metadata.gz: 88936230651a99b26fb76623ef5a26d74650aef66c7642b4f52cc7bdc0c66724eaf7fd49342534795b4916d494badb0b55c4a00a0469c15bb296dd2c37d9c487
7
+ data.tar.gz: cb3b03be3f9e35ba73c23aa0488b59ea45e0fd180dcfa103c12812462e355e4706b17cefff03252ac2c3e6c5978d1ef6564c7d7482d37f866d12ed0a00dea09a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.70.0 (2025-12-10)
5
+ ------------------
6
+
7
+ * Feature - Automated Reasoning checks in Amazon Bedrock Guardrails is capable of generating policy scenarios to validate policies. The GetAutomatedReasoningPolicyBuildWorkflowResultAssets API now adds POLICY SCENARIO asset type, allowing customers to retrieve scenarios generated by the build workflow.
8
+
9
+ 1.69.0 (2025-12-03)
10
+ ------------------
11
+
12
+ * Feature - Adding support in Amazon Bedrock to customize models with reinforcement fine-tuning (RFT) and support for updating the existing Custom Model Deployments.
13
+
4
14
  1.68.0 (2025-12-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.68.0
1
+ 1.70.0
@@ -2279,7 +2279,7 @@ module Aws::Bedrock
2279
2279
  # role_arn: "RoleArn", # required
2280
2280
  # client_request_token: "IdempotencyToken",
2281
2281
  # base_model_identifier: "BaseModelIdentifier", # required
2282
- # customization_type: "FINE_TUNING", # accepts FINE_TUNING, CONTINUED_PRE_TRAINING, DISTILLATION, IMPORTED
2282
+ # customization_type: "FINE_TUNING", # accepts FINE_TUNING, CONTINUED_PRE_TRAINING, DISTILLATION, REINFORCEMENT_FINE_TUNING, IMPORTED
2283
2283
  # custom_model_kms_key_id: "KmsKeyId",
2284
2284
  # job_tags: [
2285
2285
  # {
@@ -2354,6 +2354,23 @@ module Aws::Bedrock
2354
2354
  # max_response_length_for_inference: 1,
2355
2355
  # },
2356
2356
  # },
2357
+ # rft_config: {
2358
+ # grader_config: {
2359
+ # lambda_grader: {
2360
+ # lambda_arn: "LambdaArn", # required
2361
+ # },
2362
+ # },
2363
+ # hyper_parameters: {
2364
+ # epoch_count: 1,
2365
+ # batch_size: 1,
2366
+ # learning_rate: 1.0,
2367
+ # max_prompt_length: 1,
2368
+ # training_sample_per_prompt: 1,
2369
+ # inference_max_tokens: 1,
2370
+ # reasoning_effort: "low", # accepts low, medium, high
2371
+ # eval_interval: 1,
2372
+ # },
2373
+ # },
2357
2374
  # },
2358
2375
  # })
2359
2376
  #
@@ -3439,7 +3456,7 @@ module Aws::Bedrock
3439
3456
  # resp = client.get_automated_reasoning_policy_build_workflow_result_assets({
3440
3457
  # policy_arn: "AutomatedReasoningPolicyArn", # required
3441
3458
  # build_workflow_id: "AutomatedReasoningPolicyBuildWorkflowId", # required
3442
- # asset_type: "BUILD_LOG", # required, accepts BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION, GENERATED_TEST_CASES
3459
+ # asset_type: "BUILD_LOG", # required, accepts BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION, GENERATED_TEST_CASES, POLICY_SCENARIOS
3443
3460
  # })
3444
3461
  #
3445
3462
  # @example Response structure
@@ -3560,6 +3577,12 @@ module Aws::Bedrock
3560
3577
  # resp.build_workflow_assets.generated_test_cases.generated_test_cases[0].query_content #=> String
3561
3578
  # resp.build_workflow_assets.generated_test_cases.generated_test_cases[0].guard_content #=> String
3562
3579
  # resp.build_workflow_assets.generated_test_cases.generated_test_cases[0].expected_aggregated_findings_result #=> String, one of "VALID", "INVALID", "SATISFIABLE", "IMPOSSIBLE", "TRANSLATION_AMBIGUOUS", "TOO_COMPLEX", "NO_TRANSLATION"
3580
+ # resp.build_workflow_assets.policy_scenarios.policy_scenarios #=> Array
3581
+ # resp.build_workflow_assets.policy_scenarios.policy_scenarios[0].expression #=> String
3582
+ # resp.build_workflow_assets.policy_scenarios.policy_scenarios[0].alternate_expression #=> String
3583
+ # resp.build_workflow_assets.policy_scenarios.policy_scenarios[0].expected_result #=> String, one of "VALID", "INVALID", "SATISFIABLE", "IMPOSSIBLE", "TRANSLATION_AMBIGUOUS", "TOO_COMPLEX", "NO_TRANSLATION"
3584
+ # resp.build_workflow_assets.policy_scenarios.policy_scenarios[0].rule_ids #=> Array
3585
+ # resp.build_workflow_assets.policy_scenarios.policy_scenarios[0].rule_ids[0] #=> String
3563
3586
  #
3564
3587
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetAutomatedReasoningPolicyBuildWorkflowResultAssets AWS API Documentation
3565
3588
  #
@@ -3599,9 +3622,9 @@ module Aws::Bedrock
3599
3622
  # resp.policy_arn #=> String
3600
3623
  # resp.scenario.expression #=> String
3601
3624
  # resp.scenario.alternate_expression #=> String
3625
+ # resp.scenario.expected_result #=> String, one of "VALID", "INVALID", "SATISFIABLE", "IMPOSSIBLE", "TRANSLATION_AMBIGUOUS", "TOO_COMPLEX", "NO_TRANSLATION"
3602
3626
  # resp.scenario.rule_ids #=> Array
3603
3627
  # resp.scenario.rule_ids[0] #=> String
3604
- # resp.scenario.expected_result #=> String, one of "VALID", "INVALID", "SATISFIABLE", "IMPOSSIBLE", "TRANSLATION_AMBIGUOUS", "TOO_COMPLEX", "NO_TRANSLATION"
3605
3628
  #
3606
3629
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetAutomatedReasoningPolicyNextScenario AWS API Documentation
3607
3630
  #
@@ -3855,7 +3878,7 @@ module Aws::Bedrock
3855
3878
  # resp.job_name #=> String
3856
3879
  # resp.job_arn #=> String
3857
3880
  # resp.base_model_arn #=> String
3858
- # resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "IMPORTED"
3881
+ # resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "REINFORCEMENT_FINE_TUNING", "IMPORTED"
3859
3882
  # resp.model_kms_key_arn #=> String
3860
3883
  # resp.hyper_parameters #=> Hash
3861
3884
  # resp.hyper_parameters["String"] #=> String
@@ -3885,6 +3908,15 @@ module Aws::Bedrock
3885
3908
  # resp.creation_time #=> Time
3886
3909
  # resp.customization_config.distillation_config.teacher_model_config.teacher_model_identifier #=> String
3887
3910
  # resp.customization_config.distillation_config.teacher_model_config.max_response_length_for_inference #=> Integer
3911
+ # resp.customization_config.rft_config.grader_config.lambda_grader.lambda_arn #=> String
3912
+ # resp.customization_config.rft_config.hyper_parameters.epoch_count #=> Integer
3913
+ # resp.customization_config.rft_config.hyper_parameters.batch_size #=> Integer
3914
+ # resp.customization_config.rft_config.hyper_parameters.learning_rate #=> Float
3915
+ # resp.customization_config.rft_config.hyper_parameters.max_prompt_length #=> Integer
3916
+ # resp.customization_config.rft_config.hyper_parameters.training_sample_per_prompt #=> Integer
3917
+ # resp.customization_config.rft_config.hyper_parameters.inference_max_tokens #=> Integer
3918
+ # resp.customization_config.rft_config.hyper_parameters.reasoning_effort #=> String, one of "low", "medium", "high"
3919
+ # resp.customization_config.rft_config.hyper_parameters.eval_interval #=> Integer
3888
3920
  # resp.model_status #=> String, one of "Active", "Creating", "Failed"
3889
3921
  # resp.failure_message #=> String
3890
3922
  #
@@ -3928,6 +3960,7 @@ module Aws::Bedrock
3928
3960
  # * {Types::GetCustomModelDeploymentResponse#created_at #created_at} => Time
3929
3961
  # * {Types::GetCustomModelDeploymentResponse#status #status} => String
3930
3962
  # * {Types::GetCustomModelDeploymentResponse#description #description} => String
3963
+ # * {Types::GetCustomModelDeploymentResponse#update_details #update_details} => Types::CustomModelDeploymentUpdateDetails
3931
3964
  # * {Types::GetCustomModelDeploymentResponse#failure_message #failure_message} => String
3932
3965
  # * {Types::GetCustomModelDeploymentResponse#last_updated_at #last_updated_at} => Time
3933
3966
  #
@@ -3945,6 +3978,8 @@ module Aws::Bedrock
3945
3978
  # resp.created_at #=> Time
3946
3979
  # resp.status #=> String, one of "Creating", "Active", "Failed"
3947
3980
  # resp.description #=> String
3981
+ # resp.update_details.model_arn #=> String
3982
+ # resp.update_details.update_status #=> String, one of "Updating", "UpdateCompleted", "UpdateFailed"
3948
3983
  # resp.failure_message #=> String
3949
3984
  # resp.last_updated_at #=> Time
3950
3985
  #
@@ -4639,7 +4674,7 @@ module Aws::Bedrock
4639
4674
  # resp.validation_data_config.validators #=> Array
4640
4675
  # resp.validation_data_config.validators[0].s3_uri #=> String
4641
4676
  # resp.output_data_config.s3_uri #=> String
4642
- # resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "IMPORTED"
4677
+ # resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "REINFORCEMENT_FINE_TUNING", "IMPORTED"
4643
4678
  # resp.output_model_kms_key_arn #=> String
4644
4679
  # resp.training_metrics.training_loss #=> Float
4645
4680
  # resp.validation_metrics #=> Array
@@ -4650,6 +4685,15 @@ module Aws::Bedrock
4650
4685
  # resp.vpc_config.security_group_ids[0] #=> String
4651
4686
  # resp.customization_config.distillation_config.teacher_model_config.teacher_model_identifier #=> String
4652
4687
  # resp.customization_config.distillation_config.teacher_model_config.max_response_length_for_inference #=> Integer
4688
+ # resp.customization_config.rft_config.grader_config.lambda_grader.lambda_arn #=> String
4689
+ # resp.customization_config.rft_config.hyper_parameters.epoch_count #=> Integer
4690
+ # resp.customization_config.rft_config.hyper_parameters.batch_size #=> Integer
4691
+ # resp.customization_config.rft_config.hyper_parameters.learning_rate #=> Float
4692
+ # resp.customization_config.rft_config.hyper_parameters.max_prompt_length #=> Integer
4693
+ # resp.customization_config.rft_config.hyper_parameters.training_sample_per_prompt #=> Integer
4694
+ # resp.customization_config.rft_config.hyper_parameters.inference_max_tokens #=> Integer
4695
+ # resp.customization_config.rft_config.hyper_parameters.reasoning_effort #=> String, one of "low", "medium", "high"
4696
+ # resp.customization_config.rft_config.hyper_parameters.eval_interval #=> Integer
4653
4697
  #
4654
4698
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCustomizationJob AWS API Documentation
4655
4699
  #
@@ -5457,7 +5501,7 @@ module Aws::Bedrock
5457
5501
  # resp.model_summaries[0].creation_time #=> Time
5458
5502
  # resp.model_summaries[0].base_model_arn #=> String
5459
5503
  # resp.model_summaries[0].base_model_name #=> String
5460
- # resp.model_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "IMPORTED"
5504
+ # resp.model_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "REINFORCEMENT_FINE_TUNING", "IMPORTED"
5461
5505
  # resp.model_summaries[0].owner_account_id #=> String
5462
5506
  # resp.model_summaries[0].model_status #=> String, one of "Active", "Creating", "Failed"
5463
5507
  #
@@ -6165,7 +6209,7 @@ module Aws::Bedrock
6165
6209
  # resp.model_customization_job_summaries[0].end_time #=> Time
6166
6210
  # resp.model_customization_job_summaries[0].custom_model_arn #=> String
6167
6211
  # resp.model_customization_job_summaries[0].custom_model_name #=> String
6168
- # resp.model_customization_job_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "IMPORTED"
6212
+ # resp.model_customization_job_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "REINFORCEMENT_FINE_TUNING", "IMPORTED"
6169
6213
  #
6170
6214
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCustomizationJobs AWS API Documentation
6171
6215
  #
@@ -7381,6 +7425,42 @@ module Aws::Bedrock
7381
7425
  req.send_request(options)
7382
7426
  end
7383
7427
 
7428
+ # Updates a custom model deployment with a new custom model. This allows
7429
+ # you to deploy updated models without creating new deployment
7430
+ # endpoints.
7431
+ #
7432
+ # @option params [required, String] :model_arn
7433
+ # ARN of the new custom model to deploy. This replaces the currently
7434
+ # deployed model.
7435
+ #
7436
+ # @option params [required, String] :custom_model_deployment_identifier
7437
+ # Identifier of the custom model deployment to update with the new
7438
+ # custom model.
7439
+ #
7440
+ # @return [Types::UpdateCustomModelDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7441
+ #
7442
+ # * {Types::UpdateCustomModelDeploymentResponse#custom_model_deployment_arn #custom_model_deployment_arn} => String
7443
+ #
7444
+ # @example Request syntax with placeholder values
7445
+ #
7446
+ # resp = client.update_custom_model_deployment({
7447
+ # model_arn: "CustomModelArn", # required
7448
+ # custom_model_deployment_identifier: "CustomModelDeploymentIdentifier", # required
7449
+ # })
7450
+ #
7451
+ # @example Response structure
7452
+ #
7453
+ # resp.custom_model_deployment_arn #=> String
7454
+ #
7455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateCustomModelDeployment AWS API Documentation
7456
+ #
7457
+ # @overload update_custom_model_deployment(params = {})
7458
+ # @param [Hash] params ({})
7459
+ def update_custom_model_deployment(params = {}, options = {})
7460
+ req = build_request(:update_custom_model_deployment, params)
7461
+ req.send_request(options)
7462
+ end
7463
+
7384
7464
  # Updates a guardrail with the values you specify.
7385
7465
  #
7386
7466
  # * Specify a `name` and optional `description`.
@@ -7738,7 +7818,7 @@ module Aws::Bedrock
7738
7818
  tracer: tracer
7739
7819
  )
7740
7820
  context[:gem_name] = 'aws-sdk-bedrock'
7741
- context[:gem_version] = '1.68.0'
7821
+ context[:gem_version] = '1.70.0'
7742
7822
  Seahorse::Client::Request.new(handlers, context)
7743
7823
  end
7744
7824
 
@@ -152,6 +152,8 @@ module Aws::Bedrock
152
152
  AutomatedReasoningPolicyScenario = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyScenario')
153
153
  AutomatedReasoningPolicyScenarioAlternateExpression = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyScenarioAlternateExpression')
154
154
  AutomatedReasoningPolicyScenarioExpression = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyScenarioExpression')
155
+ AutomatedReasoningPolicyScenarioList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyScenarioList')
156
+ AutomatedReasoningPolicyScenarios = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyScenarios')
155
157
  AutomatedReasoningPolicySummaries = Shapes::ListShape.new(name: 'AutomatedReasoningPolicySummaries')
156
158
  AutomatedReasoningPolicySummary = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicySummary')
157
159
  AutomatedReasoningPolicyTestCase = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyTestCase')
@@ -247,6 +249,8 @@ module Aws::Bedrock
247
249
  CustomModelDeploymentStatus = Shapes::StringShape.new(name: 'CustomModelDeploymentStatus')
248
250
  CustomModelDeploymentSummary = Shapes::StructureShape.new(name: 'CustomModelDeploymentSummary')
249
251
  CustomModelDeploymentSummaryList = Shapes::ListShape.new(name: 'CustomModelDeploymentSummaryList')
252
+ CustomModelDeploymentUpdateDetails = Shapes::StructureShape.new(name: 'CustomModelDeploymentUpdateDetails')
253
+ CustomModelDeploymentUpdateStatus = Shapes::StringShape.new(name: 'CustomModelDeploymentUpdateStatus')
250
254
  CustomModelName = Shapes::StringShape.new(name: 'CustomModelName')
251
255
  CustomModelSummary = Shapes::StructureShape.new(name: 'CustomModelSummary')
252
256
  CustomModelSummaryList = Shapes::ListShape.new(name: 'CustomModelSummaryList')
@@ -290,6 +294,7 @@ module Aws::Bedrock
290
294
  EndpointConfig = Shapes::UnionShape.new(name: 'EndpointConfig')
291
295
  EndpointName = Shapes::StringShape.new(name: 'EndpointName')
292
296
  EntitlementAvailability = Shapes::StringShape.new(name: 'EntitlementAvailability')
297
+ EpochCount = Shapes::IntegerShape.new(name: 'EpochCount')
293
298
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
294
299
  ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
295
300
  EvaluationBedrockKnowledgeBaseIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockKnowledgeBaseIdentifiers')
@@ -407,6 +412,7 @@ module Aws::Bedrock
407
412
  GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
408
413
  GetUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessRequest')
409
414
  GetUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessResponse')
415
+ GraderConfig = Shapes::UnionShape.new(name: 'GraderConfig')
410
416
  GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
411
417
  GuardrailAutomatedReasoningPolicy = Shapes::StructureShape.new(name: 'GuardrailAutomatedReasoningPolicy')
412
418
  GuardrailAutomatedReasoningPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailAutomatedReasoningPolicyConfig')
@@ -554,6 +560,8 @@ module Aws::Bedrock
554
560
  KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
555
561
  KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
556
562
  KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
563
+ LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
564
+ LambdaGraderConfig = Shapes::StructureShape.new(name: 'LambdaGraderConfig')
557
565
  LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
558
566
  ListAutomatedReasoningPoliciesRequest = Shapes::StructureShape.new(name: 'ListAutomatedReasoningPoliciesRequest')
559
567
  ListAutomatedReasoningPoliciesResponse = Shapes::StructureShape.new(name: 'ListAutomatedReasoningPoliciesResponse')
@@ -694,6 +702,14 @@ module Aws::Bedrock
694
702
  RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
695
703
  RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
696
704
  RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
705
+ RFTBatchSize = Shapes::IntegerShape.new(name: 'RFTBatchSize')
706
+ RFTConfig = Shapes::StructureShape.new(name: 'RFTConfig')
707
+ RFTEvalInterval = Shapes::IntegerShape.new(name: 'RFTEvalInterval')
708
+ RFTHyperParameters = Shapes::StructureShape.new(name: 'RFTHyperParameters')
709
+ RFTInferenceMaxTokens = Shapes::IntegerShape.new(name: 'RFTInferenceMaxTokens')
710
+ RFTLearningRate = Shapes::FloatShape.new(name: 'RFTLearningRate')
711
+ RFTMaxPromptLength = Shapes::IntegerShape.new(name: 'RFTMaxPromptLength')
712
+ RFTTrainingSamplePerPrompt = Shapes::IntegerShape.new(name: 'RFTTrainingSamplePerPrompt')
697
713
  RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
698
714
  RateCard = Shapes::ListShape.new(name: 'RateCard')
699
715
  RatingScale = Shapes::ListShape.new(name: 'RatingScale')
@@ -701,6 +717,7 @@ module Aws::Bedrock
701
717
  RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
702
718
  RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
703
719
  RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
720
+ ReasoningEffort = Shapes::StringShape.new(name: 'ReasoningEffort')
704
721
  RegionAvailability = Shapes::StringShape.new(name: 'RegionAvailability')
705
722
  RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
706
723
  RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
@@ -783,6 +800,8 @@ module Aws::Bedrock
783
800
  UpdateAutomatedReasoningPolicyResponse = Shapes::StructureShape.new(name: 'UpdateAutomatedReasoningPolicyResponse')
784
801
  UpdateAutomatedReasoningPolicyTestCaseRequest = Shapes::StructureShape.new(name: 'UpdateAutomatedReasoningPolicyTestCaseRequest')
785
802
  UpdateAutomatedReasoningPolicyTestCaseResponse = Shapes::StructureShape.new(name: 'UpdateAutomatedReasoningPolicyTestCaseResponse')
803
+ UpdateCustomModelDeploymentRequest = Shapes::StructureShape.new(name: 'UpdateCustomModelDeploymentRequest')
804
+ UpdateCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'UpdateCustomModelDeploymentResponse')
786
805
  UpdateGuardrailRequest = Shapes::StructureShape.new(name: 'UpdateGuardrailRequest')
787
806
  UpdateGuardrailResponse = Shapes::StructureShape.new(name: 'UpdateGuardrailResponse')
788
807
  UpdateMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'UpdateMarketplaceModelEndpointRequest')
@@ -1018,11 +1037,13 @@ module Aws::Bedrock
1018
1037
  AutomatedReasoningPolicyBuildResultAssets.add_member(:quality_report, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDefinitionQualityReport, location_name: "qualityReport"))
1019
1038
  AutomatedReasoningPolicyBuildResultAssets.add_member(:build_log, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildLog, location_name: "buildLog"))
1020
1039
  AutomatedReasoningPolicyBuildResultAssets.add_member(:generated_test_cases, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyGeneratedTestCases, location_name: "generatedTestCases"))
1040
+ AutomatedReasoningPolicyBuildResultAssets.add_member(:policy_scenarios, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyScenarios, location_name: "policyScenarios"))
1021
1041
  AutomatedReasoningPolicyBuildResultAssets.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1022
1042
  AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:policy_definition, Types::AutomatedReasoningPolicyBuildResultAssets::PolicyDefinition)
1023
1043
  AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:quality_report, Types::AutomatedReasoningPolicyBuildResultAssets::QualityReport)
1024
1044
  AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:build_log, Types::AutomatedReasoningPolicyBuildResultAssets::BuildLog)
1025
1045
  AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:generated_test_cases, Types::AutomatedReasoningPolicyBuildResultAssets::GeneratedTestCases)
1046
+ AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:policy_scenarios, Types::AutomatedReasoningPolicyBuildResultAssets::PolicyScenarios)
1026
1047
  AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:unknown, Types::AutomatedReasoningPolicyBuildResultAssets::Unknown)
1027
1048
  AutomatedReasoningPolicyBuildResultAssets.struct_class = Types::AutomatedReasoningPolicyBuildResultAssets
1028
1049
 
@@ -1207,10 +1228,15 @@ module Aws::Bedrock
1207
1228
 
1208
1229
  AutomatedReasoningPolicyScenario.add_member(:expression, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyScenarioExpression, required: true, location_name: "expression"))
1209
1230
  AutomatedReasoningPolicyScenario.add_member(:alternate_expression, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyScenarioAlternateExpression, required: true, location_name: "alternateExpression"))
1210
- AutomatedReasoningPolicyScenario.add_member(:rule_ids, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDefinitionRuleIdList, required: true, location_name: "ruleIds"))
1211
1231
  AutomatedReasoningPolicyScenario.add_member(:expected_result, Shapes::ShapeRef.new(shape: AutomatedReasoningCheckResult, required: true, location_name: "expectedResult"))
1232
+ AutomatedReasoningPolicyScenario.add_member(:rule_ids, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDefinitionRuleIdList, required: true, location_name: "ruleIds"))
1212
1233
  AutomatedReasoningPolicyScenario.struct_class = Types::AutomatedReasoningPolicyScenario
1213
1234
 
1235
+ AutomatedReasoningPolicyScenarioList.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyScenario)
1236
+
1237
+ AutomatedReasoningPolicyScenarios.add_member(:policy_scenarios, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyScenarioList, required: true, location_name: "policyScenarios"))
1238
+ AutomatedReasoningPolicyScenarios.struct_class = Types::AutomatedReasoningPolicyScenarios
1239
+
1214
1240
  AutomatedReasoningPolicySummaries.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicySummary)
1215
1241
 
1216
1242
  AutomatedReasoningPolicySummary.add_member(:policy_arn, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyArn, required: true, location_name: "policyArn"))
@@ -1592,6 +1618,10 @@ module Aws::Bedrock
1592
1618
 
1593
1619
  CustomModelDeploymentSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelDeploymentSummary)
1594
1620
 
1621
+ CustomModelDeploymentUpdateDetails.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
1622
+ CustomModelDeploymentUpdateDetails.add_member(:update_status, Shapes::ShapeRef.new(shape: CustomModelDeploymentUpdateStatus, required: true, location_name: "updateStatus"))
1623
+ CustomModelDeploymentUpdateDetails.struct_class = Types::CustomModelDeploymentUpdateDetails
1624
+
1595
1625
  CustomModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
1596
1626
  CustomModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
1597
1627
  CustomModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
@@ -1609,8 +1639,10 @@ module Aws::Bedrock
1609
1639
  CustomModelUnits.struct_class = Types::CustomModelUnits
1610
1640
 
1611
1641
  CustomizationConfig.add_member(:distillation_config, Shapes::ShapeRef.new(shape: DistillationConfig, location_name: "distillationConfig"))
1642
+ CustomizationConfig.add_member(:rft_config, Shapes::ShapeRef.new(shape: RFTConfig, location_name: "rftConfig"))
1612
1643
  CustomizationConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1613
1644
  CustomizationConfig.add_member_subclass(:distillation_config, Types::CustomizationConfig::DistillationConfig)
1645
+ CustomizationConfig.add_member_subclass(:rft_config, Types::CustomizationConfig::RftConfig)
1614
1646
  CustomizationConfig.add_member_subclass(:unknown, Types::CustomizationConfig::Unknown)
1615
1647
  CustomizationConfig.struct_class = Types::CustomizationConfig
1616
1648
 
@@ -1988,6 +2020,7 @@ module Aws::Bedrock
1988
2020
  GetCustomModelDeploymentResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1989
2021
  GetCustomModelDeploymentResponse.add_member(:status, Shapes::ShapeRef.new(shape: CustomModelDeploymentStatus, required: true, location_name: "status"))
1990
2022
  GetCustomModelDeploymentResponse.add_member(:description, Shapes::ShapeRef.new(shape: CustomModelDeploymentDescription, location_name: "description"))
2023
+ GetCustomModelDeploymentResponse.add_member(:update_details, Shapes::ShapeRef.new(shape: CustomModelDeploymentUpdateDetails, location_name: "updateDetails"))
1991
2024
  GetCustomModelDeploymentResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
1992
2025
  GetCustomModelDeploymentResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
1993
2026
  GetCustomModelDeploymentResponse.struct_class = Types::GetCustomModelDeploymentResponse
@@ -2235,6 +2268,12 @@ module Aws::Bedrock
2235
2268
  GetUseCaseForModelAccessResponse.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
2236
2269
  GetUseCaseForModelAccessResponse.struct_class = Types::GetUseCaseForModelAccessResponse
2237
2270
 
2271
+ GraderConfig.add_member(:lambda_grader, Shapes::ShapeRef.new(shape: LambdaGraderConfig, location_name: "lambdaGrader"))
2272
+ GraderConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2273
+ GraderConfig.add_member_subclass(:lambda_grader, Types::GraderConfig::LambdaGrader)
2274
+ GraderConfig.add_member_subclass(:unknown, Types::GraderConfig::Unknown)
2275
+ GraderConfig.struct_class = Types::GraderConfig
2276
+
2238
2277
  GuardrailAutomatedReasoningPolicy.add_member(:policies, Shapes::ShapeRef.new(shape: GuardrailAutomatedReasoningPolicyPoliciesList, required: true, location_name: "policies"))
2239
2278
  GuardrailAutomatedReasoningPolicy.add_member(:confidence_threshold, Shapes::ShapeRef.new(shape: AutomatedReasoningConfidenceFilterThreshold, location_name: "confidenceThreshold"))
2240
2279
  GuardrailAutomatedReasoningPolicy.struct_class = Types::GuardrailAutomatedReasoningPolicy
@@ -2572,6 +2611,9 @@ module Aws::Bedrock
2572
2611
  KnowledgeBaseVectorSearchConfiguration.add_member(:reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchRerankingConfiguration, location_name: "rerankingConfiguration"))
2573
2612
  KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
2574
2613
 
2614
+ LambdaGraderConfig.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: LambdaArn, required: true, location_name: "lambdaArn"))
2615
+ LambdaGraderConfig.struct_class = Types::LambdaGraderConfig
2616
+
2575
2617
  LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
2576
2618
  LegalTerm.struct_class = Types::LegalTerm
2577
2619
 
@@ -3037,6 +3079,20 @@ module Aws::Bedrock
3037
3079
 
3038
3080
  RAGStopSequences.member = Shapes::ShapeRef.new(shape: RAGStopSequencesMemberString)
3039
3081
 
3082
+ RFTConfig.add_member(:grader_config, Shapes::ShapeRef.new(shape: GraderConfig, location_name: "graderConfig"))
3083
+ RFTConfig.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: RFTHyperParameters, location_name: "hyperParameters"))
3084
+ RFTConfig.struct_class = Types::RFTConfig
3085
+
3086
+ RFTHyperParameters.add_member(:epoch_count, Shapes::ShapeRef.new(shape: EpochCount, location_name: "epochCount"))
3087
+ RFTHyperParameters.add_member(:batch_size, Shapes::ShapeRef.new(shape: RFTBatchSize, location_name: "batchSize"))
3088
+ RFTHyperParameters.add_member(:learning_rate, Shapes::ShapeRef.new(shape: RFTLearningRate, location_name: "learningRate"))
3089
+ RFTHyperParameters.add_member(:max_prompt_length, Shapes::ShapeRef.new(shape: RFTMaxPromptLength, location_name: "maxPromptLength"))
3090
+ RFTHyperParameters.add_member(:training_sample_per_prompt, Shapes::ShapeRef.new(shape: RFTTrainingSamplePerPrompt, location_name: "trainingSamplePerPrompt"))
3091
+ RFTHyperParameters.add_member(:inference_max_tokens, Shapes::ShapeRef.new(shape: RFTInferenceMaxTokens, location_name: "inferenceMaxTokens"))
3092
+ RFTHyperParameters.add_member(:reasoning_effort, Shapes::ShapeRef.new(shape: ReasoningEffort, location_name: "reasoningEffort"))
3093
+ RFTHyperParameters.add_member(:eval_interval, Shapes::ShapeRef.new(shape: RFTEvalInterval, location_name: "evalInterval"))
3094
+ RFTHyperParameters.struct_class = Types::RFTHyperParameters
3095
+
3040
3096
  RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
3041
3097
 
3042
3098
  RateCard.member = Shapes::ShapeRef.new(shape: DimensionalPriceRate)
@@ -3305,6 +3361,13 @@ module Aws::Bedrock
3305
3361
  UpdateAutomatedReasoningPolicyTestCaseResponse.add_member(:test_case_id, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyTestCaseId, required: true, location_name: "testCaseId"))
3306
3362
  UpdateAutomatedReasoningPolicyTestCaseResponse.struct_class = Types::UpdateAutomatedReasoningPolicyTestCaseResponse
3307
3363
 
3364
+ UpdateCustomModelDeploymentRequest.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
3365
+ UpdateCustomModelDeploymentRequest.add_member(:custom_model_deployment_identifier, Shapes::ShapeRef.new(shape: CustomModelDeploymentIdentifier, required: true, location: "uri", location_name: "customModelDeploymentIdentifier"))
3366
+ UpdateCustomModelDeploymentRequest.struct_class = Types::UpdateCustomModelDeploymentRequest
3367
+
3368
+ UpdateCustomModelDeploymentResponse.add_member(:custom_model_deployment_arn, Shapes::ShapeRef.new(shape: CustomModelDeploymentArn, required: true, location_name: "customModelDeploymentArn"))
3369
+ UpdateCustomModelDeploymentResponse.struct_class = Types::UpdateCustomModelDeploymentResponse
3370
+
3308
3371
  UpdateGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
3309
3372
  UpdateGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailName, required: true, location_name: "name"))
3310
3373
  UpdateGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailDescription, location_name: "description"))
@@ -4781,6 +4844,19 @@ module Aws::Bedrock
4781
4844
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4782
4845
  end)
4783
4846
 
4847
+ api.add_operation(:update_custom_model_deployment, Seahorse::Model::Operation.new.tap do |o|
4848
+ o.name = "UpdateCustomModelDeployment"
4849
+ o.http_method = "PATCH"
4850
+ o.http_request_uri = "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}"
4851
+ o.input = Shapes::ShapeRef.new(shape: UpdateCustomModelDeploymentRequest)
4852
+ o.output = Shapes::ShapeRef.new(shape: UpdateCustomModelDeploymentResponse)
4853
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4854
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4855
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4856
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4857
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4858
+ end)
4859
+
4784
4860
  api.add_operation(:update_guardrail, Seahorse::Model::Operation.new.tap do |o|
4785
4861
  o.name = "UpdateGuardrail"
4786
4862
  o.http_method = "PUT"
@@ -940,6 +940,12 @@ module Aws::Bedrock
940
940
  # providing validation capabilities for automated reasoning policies.
941
941
  # @return [Types::AutomatedReasoningPolicyGeneratedTestCases]
942
942
  #
943
+ # @!attribute [rw] policy_scenarios
944
+ # An entity encompassing all the policy scenarios generated by the
945
+ # build workflow, which can be used to validate an Automated Reasoning
946
+ # policy.
947
+ # @return [Types::AutomatedReasoningPolicyScenarios]
948
+ #
943
949
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyBuildResultAssets AWS API Documentation
944
950
  #
945
951
  class AutomatedReasoningPolicyBuildResultAssets < Struct.new(
@@ -947,6 +953,7 @@ module Aws::Bedrock
947
953
  :quality_report,
948
954
  :build_log,
949
955
  :generated_test_cases,
956
+ :policy_scenarios,
950
957
  :unknown)
951
958
  SENSITIVE = []
952
959
  include Aws::Structure
@@ -956,6 +963,7 @@ module Aws::Bedrock
956
963
  class QualityReport < AutomatedReasoningPolicyBuildResultAssets; end
957
964
  class BuildLog < AutomatedReasoningPolicyBuildResultAssets; end
958
965
  class GeneratedTestCases < AutomatedReasoningPolicyBuildResultAssets; end
966
+ class PolicyScenarios < AutomatedReasoningPolicyBuildResultAssets; end
959
967
  class Unknown < AutomatedReasoningPolicyBuildResultAssets; end
960
968
  end
961
969
 
@@ -1715,27 +1723,43 @@ module Aws::Bedrock
1715
1723
  # validation and comparison purposes.
1716
1724
  # @return [String]
1717
1725
  #
1718
- # @!attribute [rw] rule_ids
1719
- # The list of rule identifiers that are expected to be triggered or
1720
- # evaluated by this test scenario.
1721
- # @return [Array<String>]
1722
- #
1723
1726
  # @!attribute [rw] expected_result
1724
1727
  # The expected outcome when this scenario is evaluated against the
1725
1728
  # policy (e.g., PASS, FAIL, VIOLATION).
1726
1729
  # @return [String]
1727
1730
  #
1731
+ # @!attribute [rw] rule_ids
1732
+ # The list of rule identifiers that are expected to be triggered or
1733
+ # evaluated by this test scenario.
1734
+ # @return [Array<String>]
1735
+ #
1728
1736
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyScenario AWS API Documentation
1729
1737
  #
1730
1738
  class AutomatedReasoningPolicyScenario < Struct.new(
1731
1739
  :expression,
1732
1740
  :alternate_expression,
1733
- :rule_ids,
1734
- :expected_result)
1741
+ :expected_result,
1742
+ :rule_ids)
1735
1743
  SENSITIVE = [:expression, :alternate_expression]
1736
1744
  include Aws::Structure
1737
1745
  end
1738
1746
 
1747
+ # Contains a comprehensive entity encompassing all the scenarios
1748
+ # generated by the build workflow, which can be used to validate an
1749
+ # Automated Reasoning policy.
1750
+ #
1751
+ # @!attribute [rw] policy_scenarios
1752
+ # Represents a collection of generated policy scenarios.
1753
+ # @return [Array<Types::AutomatedReasoningPolicyScenario>]
1754
+ #
1755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyScenarios AWS API Documentation
1756
+ #
1757
+ class AutomatedReasoningPolicyScenarios < Struct.new(
1758
+ :policy_scenarios)
1759
+ SENSITIVE = []
1760
+ include Aws::Structure
1761
+ end
1762
+
1739
1763
  # Contains summary information about an Automated Reasoning policy,
1740
1764
  # including metadata and timestamps.
1741
1765
  #
@@ -3847,6 +3871,26 @@ module Aws::Bedrock
3847
3871
  include Aws::Structure
3848
3872
  end
3849
3873
 
3874
+ # Details about an update to a custom model deployment, including the
3875
+ # new custom model resource ARN and current update status.
3876
+ #
3877
+ # @!attribute [rw] model_arn
3878
+ # ARN of the new custom model being deployed as part of the update.
3879
+ # @return [String]
3880
+ #
3881
+ # @!attribute [rw] update_status
3882
+ # Current status of the deployment update.
3883
+ # @return [String]
3884
+ #
3885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomModelDeploymentUpdateDetails AWS API Documentation
3886
+ #
3887
+ class CustomModelDeploymentUpdateDetails < Struct.new(
3888
+ :model_arn,
3889
+ :update_status)
3890
+ SENSITIVE = []
3891
+ include Aws::Structure
3892
+ end
3893
+
3850
3894
  # Summary information for a custom model.
3851
3895
  #
3852
3896
  # @!attribute [rw] model_arn
@@ -3948,16 +3992,23 @@ module Aws::Bedrock
3948
3992
  # The Distillation configuration for the custom model.
3949
3993
  # @return [Types::DistillationConfig]
3950
3994
  #
3995
+ # @!attribute [rw] rft_config
3996
+ # Configuration settings for reinforcement fine-tuning (RFT) model
3997
+ # customization, including grader configuration and hyperparameters.
3998
+ # @return [Types::RFTConfig]
3999
+ #
3951
4000
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomizationConfig AWS API Documentation
3952
4001
  #
3953
4002
  class CustomizationConfig < Struct.new(
3954
4003
  :distillation_config,
4004
+ :rft_config,
3955
4005
  :unknown)
3956
4006
  SENSITIVE = []
3957
4007
  include Aws::Structure
3958
4008
  include Aws::Structure::Union
3959
4009
 
3960
4010
  class DistillationConfig < CustomizationConfig; end
4011
+ class RftConfig < CustomizationConfig; end
3961
4012
  class Unknown < CustomizationConfig; end
3962
4013
  end
3963
4014
 
@@ -5594,6 +5645,11 @@ module Aws::Bedrock
5594
5645
  # The description of the custom model deployment.
5595
5646
  # @return [String]
5596
5647
  #
5648
+ # @!attribute [rw] update_details
5649
+ # Details about any pending or completed updates to the custom model
5650
+ # deployment, including the new model ARN and update status.
5651
+ # @return [Types::CustomModelDeploymentUpdateDetails]
5652
+ #
5597
5653
  # @!attribute [rw] failure_message
5598
5654
  # If the deployment status is `FAILED`, this field contains a message
5599
5655
  # describing the failure reason.
@@ -5612,6 +5668,7 @@ module Aws::Bedrock
5612
5668
  :created_at,
5613
5669
  :status,
5614
5670
  :description,
5671
+ :update_details,
5615
5672
  :failure_message,
5616
5673
  :last_updated_at)
5617
5674
  SENSITIVE = []
@@ -6887,6 +6944,32 @@ module Aws::Bedrock
6887
6944
  include Aws::Structure
6888
6945
  end
6889
6946
 
6947
+ # Configuration for the grader used in reinforcement fine-tuning to
6948
+ # evaluate model responses and provide reward signals.
6949
+ #
6950
+ # @note GraderConfig is a union - when making an API calls you must set exactly one of the members.
6951
+ #
6952
+ # @note GraderConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of GraderConfig corresponding to the set member.
6953
+ #
6954
+ # @!attribute [rw] lambda_grader
6955
+ # Configuration for using an AWS Lambda function as the grader for
6956
+ # evaluating model responses and provide reward signals in
6957
+ # reinforcement fine-tuning.
6958
+ # @return [Types::LambdaGraderConfig]
6959
+ #
6960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GraderConfig AWS API Documentation
6961
+ #
6962
+ class GraderConfig < Struct.new(
6963
+ :lambda_grader,
6964
+ :unknown)
6965
+ SENSITIVE = []
6966
+ include Aws::Structure
6967
+ include Aws::Structure::Union
6968
+
6969
+ class LambdaGrader < GraderConfig; end
6970
+ class Unknown < GraderConfig; end
6971
+ end
6972
+
6890
6973
  # Represents the configuration of Automated Reasoning policies within a
6891
6974
  # Amazon Bedrock Guardrail, including the policies to apply and
6892
6975
  # confidence thresholds.
@@ -9002,6 +9085,22 @@ module Aws::Bedrock
9002
9085
  include Aws::Structure
9003
9086
  end
9004
9087
 
9088
+ # Configuration for using an AWS Lambda function to grade model
9089
+ # responses during reinforcement fine-tuning training.
9090
+ #
9091
+ # @!attribute [rw] lambda_arn
9092
+ # ARN of the AWS Lambda function that will evaluate model responses
9093
+ # and return reward scores for RFT training.
9094
+ # @return [String]
9095
+ #
9096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/LambdaGraderConfig AWS API Documentation
9097
+ #
9098
+ class LambdaGraderConfig < Struct.new(
9099
+ :lambda_arn)
9100
+ SENSITIVE = []
9101
+ include Aws::Structure
9102
+ end
9103
+
9005
9104
  # The legal term of the agreement.
9006
9105
  #
9007
9106
  # @!attribute [rw] url
@@ -11354,6 +11453,88 @@ module Aws::Bedrock
11354
11453
  class Unknown < RAGConfig; end
11355
11454
  end
11356
11455
 
11456
+ # Configuration settings for reinforcement fine-tuning (RFT), including
11457
+ # grader configuration and training hyperparameters.
11458
+ #
11459
+ # @!attribute [rw] grader_config
11460
+ # Configuration for the grader that evaluates model responses and
11461
+ # provides reward signals during RFT training.
11462
+ # @return [Types::GraderConfig]
11463
+ #
11464
+ # @!attribute [rw] hyper_parameters
11465
+ # Hyperparameters that control the reinforcement fine-tuning training
11466
+ # process, including learning rate, batch size, and epoch count.
11467
+ # @return [Types::RFTHyperParameters]
11468
+ #
11469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RFTConfig AWS API Documentation
11470
+ #
11471
+ class RFTConfig < Struct.new(
11472
+ :grader_config,
11473
+ :hyper_parameters)
11474
+ SENSITIVE = []
11475
+ include Aws::Structure
11476
+ end
11477
+
11478
+ # Hyperparameters for controlling the reinforcement fine-tuning training
11479
+ # process, including learning settings and evaluation intervals.
11480
+ #
11481
+ # @!attribute [rw] epoch_count
11482
+ # Number of training epochs to run during reinforcement fine-tuning.
11483
+ # Higher values may improve performance but increase training time.
11484
+ # @return [Integer]
11485
+ #
11486
+ # @!attribute [rw] batch_size
11487
+ # Number of training samples processed in each batch during
11488
+ # reinforcement fine-tuning (RFT) training. Larger batches may improve
11489
+ # training stability.
11490
+ # @return [Integer]
11491
+ #
11492
+ # @!attribute [rw] learning_rate
11493
+ # Learning rate for the reinforcement fine-tuning. Controls how
11494
+ # quickly the model adapts to reward signals.
11495
+ # @return [Float]
11496
+ #
11497
+ # @!attribute [rw] max_prompt_length
11498
+ # Maximum length of input prompts during RFT training, measured in
11499
+ # tokens. Longer prompts allow more context but increase memory usage
11500
+ # and training-time.
11501
+ # @return [Integer]
11502
+ #
11503
+ # @!attribute [rw] training_sample_per_prompt
11504
+ # Number of response samples generated per prompt during RFT training.
11505
+ # More samples provide better reward signal estimation.
11506
+ # @return [Integer]
11507
+ #
11508
+ # @!attribute [rw] inference_max_tokens
11509
+ # Maximum number of tokens the model can generate in response to each
11510
+ # prompt during RFT training.
11511
+ # @return [Integer]
11512
+ #
11513
+ # @!attribute [rw] reasoning_effort
11514
+ # Level of reasoning effort applied during RFT training. Higher values
11515
+ # may improve response quality but increase training time.
11516
+ # @return [String]
11517
+ #
11518
+ # @!attribute [rw] eval_interval
11519
+ # Interval between evaluation runs during RFT training, measured in
11520
+ # training steps. More frequent evaluation provides better monitoring.
11521
+ # @return [Integer]
11522
+ #
11523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RFTHyperParameters AWS API Documentation
11524
+ #
11525
+ class RFTHyperParameters < Struct.new(
11526
+ :epoch_count,
11527
+ :batch_size,
11528
+ :learning_rate,
11529
+ :max_prompt_length,
11530
+ :training_sample_per_prompt,
11531
+ :inference_max_tokens,
11532
+ :reasoning_effort,
11533
+ :eval_interval)
11534
+ SENSITIVE = []
11535
+ include Aws::Structure
11536
+ end
11537
+
11357
11538
  # Defines the value and corresponding definition for one rating in a
11358
11539
  # custom metric rating scale.
11359
11540
  #
@@ -12562,6 +12743,37 @@ module Aws::Bedrock
12562
12743
  include Aws::Structure
12563
12744
  end
12564
12745
 
12746
+ # @!attribute [rw] model_arn
12747
+ # ARN of the new custom model to deploy. This replaces the currently
12748
+ # deployed model.
12749
+ # @return [String]
12750
+ #
12751
+ # @!attribute [rw] custom_model_deployment_identifier
12752
+ # Identifier of the custom model deployment to update with the new
12753
+ # custom model.
12754
+ # @return [String]
12755
+ #
12756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateCustomModelDeploymentRequest AWS API Documentation
12757
+ #
12758
+ class UpdateCustomModelDeploymentRequest < Struct.new(
12759
+ :model_arn,
12760
+ :custom_model_deployment_identifier)
12761
+ SENSITIVE = []
12762
+ include Aws::Structure
12763
+ end
12764
+
12765
+ # @!attribute [rw] custom_model_deployment_arn
12766
+ # ARN of the custom model deployment being updated.
12767
+ # @return [String]
12768
+ #
12769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateCustomModelDeploymentResponse AWS API Documentation
12770
+ #
12771
+ class UpdateCustomModelDeploymentResponse < Struct.new(
12772
+ :custom_model_deployment_arn)
12773
+ SENSITIVE = []
12774
+ include Aws::Structure
12775
+ end
12776
+
12565
12777
  # @!attribute [rw] guardrail_identifier
12566
12778
  # The unique identifier of the guardrail. This can be an ID or the
12567
12779
  # ARN.
@@ -55,7 +55,7 @@ module Aws::Bedrock
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
57
57
 
58
- GEM_VERSION = '1.68.0'
58
+ GEM_VERSION = '1.70.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -869,7 +869,7 @@ module Aws
869
869
  role_arn: ::String,
870
870
  ?client_request_token: ::String,
871
871
  base_model_identifier: ::String,
872
- ?customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED"),
872
+ ?customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED"),
873
873
  ?custom_model_kms_key_id: ::String,
874
874
  ?job_tags: Array[
875
875
  {
@@ -929,6 +929,23 @@ module Aws
929
929
  teacher_model_identifier: ::String,
930
930
  max_response_length_for_inference: ::Integer?
931
931
  }
932
+ }?,
933
+ rft_config: {
934
+ grader_config: {
935
+ lambda_grader: {
936
+ lambda_arn: ::String
937
+ }?
938
+ }?,
939
+ hyper_parameters: {
940
+ epoch_count: ::Integer?,
941
+ batch_size: ::Integer?,
942
+ learning_rate: ::Float?,
943
+ max_prompt_length: ::Integer?,
944
+ training_sample_per_prompt: ::Integer?,
945
+ inference_max_tokens: ::Integer?,
946
+ reasoning_effort: ("low" | "medium" | "high")?,
947
+ eval_interval: ::Integer?
948
+ }?
932
949
  }?
933
950
  }
934
951
  ) -> _CreateModelCustomizationJobResponseSuccess
@@ -1269,7 +1286,7 @@ module Aws
1269
1286
  def get_automated_reasoning_policy_build_workflow_result_assets: (
1270
1287
  policy_arn: ::String,
1271
1288
  build_workflow_id: ::String,
1272
- asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION" | "GENERATED_TEST_CASES")
1289
+ asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION" | "GENERATED_TEST_CASES" | "POLICY_SCENARIOS")
1273
1290
  ) -> _GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseSuccess
1274
1291
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseSuccess
1275
1292
 
@@ -1316,7 +1333,7 @@ module Aws
1316
1333
  def job_name: () -> ::String
1317
1334
  def job_arn: () -> ::String
1318
1335
  def base_model_arn: () -> ::String
1319
- def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
1336
+ def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
1320
1337
  def model_kms_key_arn: () -> ::String
1321
1338
  def hyper_parameters: () -> ::Hash[::String, ::String]
1322
1339
  def training_data_config: () -> Types::TrainingDataConfig
@@ -1343,6 +1360,7 @@ module Aws
1343
1360
  def created_at: () -> ::Time
1344
1361
  def status: () -> ("Creating" | "Active" | "Failed")
1345
1362
  def description: () -> ::String
1363
+ def update_details: () -> Types::CustomModelDeploymentUpdateDetails
1346
1364
  def failure_message: () -> ::String
1347
1365
  def last_updated_at: () -> ::Time
1348
1366
  end
@@ -1515,7 +1533,7 @@ module Aws
1515
1533
  def training_data_config: () -> Types::TrainingDataConfig
1516
1534
  def validation_data_config: () -> Types::ValidationDataConfig
1517
1535
  def output_data_config: () -> Types::OutputDataConfig
1518
- def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
1536
+ def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
1519
1537
  def output_model_kms_key_arn: () -> ::String
1520
1538
  def training_metrics: () -> Types::TrainingMetrics
1521
1539
  def validation_metrics: () -> ::Array[Types::ValidatorMetric]
@@ -2367,6 +2385,17 @@ module Aws
2367
2385
  ) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
2368
2386
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
2369
2387
 
2388
+ interface _UpdateCustomModelDeploymentResponseSuccess
2389
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomModelDeploymentResponse]
2390
+ def custom_model_deployment_arn: () -> ::String
2391
+ end
2392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#update_custom_model_deployment-instance_method
2393
+ def update_custom_model_deployment: (
2394
+ model_arn: ::String,
2395
+ custom_model_deployment_identifier: ::String
2396
+ ) -> _UpdateCustomModelDeploymentResponseSuccess
2397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCustomModelDeploymentResponseSuccess
2398
+
2370
2399
  interface _UpdateGuardrailResponseSuccess
2371
2400
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGuardrailResponse]
2372
2401
  def guardrail_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -287,6 +287,7 @@ module Aws::Bedrock
287
287
  attr_accessor quality_report: Types::AutomatedReasoningPolicyDefinitionQualityReport
288
288
  attr_accessor build_log: Types::AutomatedReasoningPolicyBuildLog
289
289
  attr_accessor generated_test_cases: Types::AutomatedReasoningPolicyGeneratedTestCases
290
+ attr_accessor policy_scenarios: Types::AutomatedReasoningPolicyScenarios
290
291
  attr_accessor unknown: untyped
291
292
  SENSITIVE: []
292
293
 
@@ -298,6 +299,8 @@ module Aws::Bedrock
298
299
  end
299
300
  class GeneratedTestCases < AutomatedReasoningPolicyBuildResultAssets
300
301
  end
302
+ class PolicyScenarios < AutomatedReasoningPolicyBuildResultAssets
303
+ end
301
304
  class Unknown < AutomatedReasoningPolicyBuildResultAssets
302
305
  end
303
306
  end
@@ -527,11 +530,16 @@ module Aws::Bedrock
527
530
  class AutomatedReasoningPolicyScenario
528
531
  attr_accessor expression: ::String
529
532
  attr_accessor alternate_expression: ::String
530
- attr_accessor rule_ids: ::Array[::String]
531
533
  attr_accessor expected_result: ("VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION")
534
+ attr_accessor rule_ids: ::Array[::String]
532
535
  SENSITIVE: [:expression, :alternate_expression]
533
536
  end
534
537
 
538
+ class AutomatedReasoningPolicyScenarios
539
+ attr_accessor policy_scenarios: ::Array[Types::AutomatedReasoningPolicyScenario]
540
+ SENSITIVE: []
541
+ end
542
+
535
543
  class AutomatedReasoningPolicySummary
536
544
  attr_accessor policy_arn: ::String
537
545
  attr_accessor name: ::String
@@ -912,7 +920,7 @@ module Aws::Bedrock
912
920
  attr_accessor role_arn: ::String
913
921
  attr_accessor client_request_token: ::String
914
922
  attr_accessor base_model_identifier: ::String
915
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
923
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
916
924
  attr_accessor custom_model_kms_key_id: ::String
917
925
  attr_accessor job_tags: ::Array[Types::Tag]
918
926
  attr_accessor custom_model_tags: ::Array[Types::Tag]
@@ -1025,13 +1033,19 @@ module Aws::Bedrock
1025
1033
  SENSITIVE: []
1026
1034
  end
1027
1035
 
1036
+ class CustomModelDeploymentUpdateDetails
1037
+ attr_accessor model_arn: ::String
1038
+ attr_accessor update_status: ("Updating" | "UpdateCompleted" | "UpdateFailed")
1039
+ SENSITIVE: []
1040
+ end
1041
+
1028
1042
  class CustomModelSummary
1029
1043
  attr_accessor model_arn: ::String
1030
1044
  attr_accessor model_name: ::String
1031
1045
  attr_accessor creation_time: ::Time
1032
1046
  attr_accessor base_model_arn: ::String
1033
1047
  attr_accessor base_model_name: ::String
1034
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
1048
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
1035
1049
  attr_accessor owner_account_id: ::String
1036
1050
  attr_accessor model_status: ("Active" | "Creating" | "Failed")
1037
1051
  SENSITIVE: []
@@ -1045,11 +1059,14 @@ module Aws::Bedrock
1045
1059
 
1046
1060
  class CustomizationConfig
1047
1061
  attr_accessor distillation_config: Types::DistillationConfig
1062
+ attr_accessor rft_config: Types::RFTConfig
1048
1063
  attr_accessor unknown: untyped
1049
1064
  SENSITIVE: []
1050
1065
 
1051
1066
  class DistillationConfig < CustomizationConfig
1052
1067
  end
1068
+ class RftConfig < CustomizationConfig
1069
+ end
1053
1070
  class Unknown < CustomizationConfig
1054
1071
  end
1055
1072
  end
@@ -1483,7 +1500,7 @@ module Aws::Bedrock
1483
1500
  class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest
1484
1501
  attr_accessor policy_arn: ::String
1485
1502
  attr_accessor build_workflow_id: ::String
1486
- attr_accessor asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION" | "GENERATED_TEST_CASES")
1503
+ attr_accessor asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION" | "GENERATED_TEST_CASES" | "POLICY_SCENARIOS")
1487
1504
  SENSITIVE: []
1488
1505
  end
1489
1506
 
@@ -1560,6 +1577,7 @@ module Aws::Bedrock
1560
1577
  attr_accessor created_at: ::Time
1561
1578
  attr_accessor status: ("Creating" | "Active" | "Failed")
1562
1579
  attr_accessor description: ::String
1580
+ attr_accessor update_details: Types::CustomModelDeploymentUpdateDetails
1563
1581
  attr_accessor failure_message: ::String
1564
1582
  attr_accessor last_updated_at: ::Time
1565
1583
  SENSITIVE: []
@@ -1576,7 +1594,7 @@ module Aws::Bedrock
1576
1594
  attr_accessor job_name: ::String
1577
1595
  attr_accessor job_arn: ::String
1578
1596
  attr_accessor base_model_arn: ::String
1579
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
1597
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
1580
1598
  attr_accessor model_kms_key_arn: ::String
1581
1599
  attr_accessor hyper_parameters: ::Hash[::String, ::String]
1582
1600
  attr_accessor training_data_config: Types::TrainingDataConfig
@@ -1758,7 +1776,7 @@ module Aws::Bedrock
1758
1776
  attr_accessor training_data_config: Types::TrainingDataConfig
1759
1777
  attr_accessor validation_data_config: Types::ValidationDataConfig
1760
1778
  attr_accessor output_data_config: Types::OutputDataConfig
1761
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
1779
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
1762
1780
  attr_accessor output_model_kms_key_arn: ::String
1763
1781
  attr_accessor training_metrics: Types::TrainingMetrics
1764
1782
  attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
@@ -1870,6 +1888,17 @@ module Aws::Bedrock
1870
1888
  SENSITIVE: []
1871
1889
  end
1872
1890
 
1891
+ class GraderConfig
1892
+ attr_accessor lambda_grader: Types::LambdaGraderConfig
1893
+ attr_accessor unknown: untyped
1894
+ SENSITIVE: []
1895
+
1896
+ class LambdaGrader < GraderConfig
1897
+ end
1898
+ class Unknown < GraderConfig
1899
+ end
1900
+ end
1901
+
1873
1902
  class GuardrailAutomatedReasoningPolicy
1874
1903
  attr_accessor policies: ::Array[::String]
1875
1904
  attr_accessor confidence_threshold: ::Float
@@ -2265,6 +2294,11 @@ module Aws::Bedrock
2265
2294
  SENSITIVE: [:filter]
2266
2295
  end
2267
2296
 
2297
+ class LambdaGraderConfig
2298
+ attr_accessor lambda_arn: ::String
2299
+ SENSITIVE: []
2300
+ end
2301
+
2268
2302
  class LegalTerm
2269
2303
  attr_accessor url: ::String
2270
2304
  SENSITIVE: []
@@ -2663,7 +2697,7 @@ module Aws::Bedrock
2663
2697
  attr_accessor end_time: ::Time
2664
2698
  attr_accessor custom_model_arn: ::String
2665
2699
  attr_accessor custom_model_name: ::String
2666
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
2700
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
2667
2701
  SENSITIVE: []
2668
2702
  end
2669
2703
 
@@ -2860,6 +2894,24 @@ module Aws::Bedrock
2860
2894
  end
2861
2895
  end
2862
2896
 
2897
+ class RFTConfig
2898
+ attr_accessor grader_config: Types::GraderConfig
2899
+ attr_accessor hyper_parameters: Types::RFTHyperParameters
2900
+ SENSITIVE: []
2901
+ end
2902
+
2903
+ class RFTHyperParameters
2904
+ attr_accessor epoch_count: ::Integer
2905
+ attr_accessor batch_size: ::Integer
2906
+ attr_accessor learning_rate: ::Float
2907
+ attr_accessor max_prompt_length: ::Integer
2908
+ attr_accessor training_sample_per_prompt: ::Integer
2909
+ attr_accessor inference_max_tokens: ::Integer
2910
+ attr_accessor reasoning_effort: ("low" | "medium" | "high")
2911
+ attr_accessor eval_interval: ::Integer
2912
+ SENSITIVE: []
2913
+ end
2914
+
2863
2915
  class RatingScaleItem
2864
2916
  attr_accessor definition: ::String
2865
2917
  attr_accessor value: Types::RatingScaleItemValue
@@ -3229,6 +3281,17 @@ module Aws::Bedrock
3229
3281
  SENSITIVE: []
3230
3282
  end
3231
3283
 
3284
+ class UpdateCustomModelDeploymentRequest
3285
+ attr_accessor model_arn: ::String
3286
+ attr_accessor custom_model_deployment_identifier: ::String
3287
+ SENSITIVE: []
3288
+ end
3289
+
3290
+ class UpdateCustomModelDeploymentResponse
3291
+ attr_accessor custom_model_deployment_arn: ::String
3292
+ SENSITIVE: []
3293
+ end
3294
+
3232
3295
  class UpdateGuardrailRequest
3233
3296
  attr_accessor guardrail_identifier: ::String
3234
3297
  attr_accessor name: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.68.0
4
+ version: 1.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services