aws-sdk-bedrock 1.67.0 → 1.69.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 +82 -6
- data/lib/aws-sdk-bedrock/client_api.rb +68 -0
- data/lib/aws-sdk-bedrock/types.rb +194 -1
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +34 -4
- data/sig/types.rbs +61 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb3d0cccdc5b5e83be7d0d6b9da41bd6d539a08839bef36a7cbb33876e9a7a2e
|
|
4
|
+
data.tar.gz: fb5999c473d8066a5a641bc447a656ac0b6318d9613a41a6c6d76d3d1286e566
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17b1934814b5d4d2960ce43b788efb6f66ac06cfcd77bb8032b8eda8b53e18ce7ca15e05798da44d2813bd3c1503472d9952016fc725bad23337939fac151ef8
|
|
7
|
+
data.tar.gz: e2cca082db8a705790c7c378817bc00c52951fc037a7785eab49f288232ebf90ad459248e191ea4740238b976c078c245989e562fb03d660290809d93a7c2971
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.69.0 (2025-12-03)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adding support in Amazon Bedrock to customize models with reinforcement fine-tuning (RFT) and support for updating the existing Custom Model Deployments.
|
|
8
|
+
|
|
9
|
+
1.68.0 (2025-12-02)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds the audioDataDeliveryEnabled boolean field to the Model Invocation Logging Configuration.
|
|
13
|
+
|
|
4
14
|
1.67.0 (2025-11-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.69.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
|
#
|
|
@@ -3855,7 +3872,7 @@ module Aws::Bedrock
|
|
|
3855
3872
|
# resp.job_name #=> String
|
|
3856
3873
|
# resp.job_arn #=> String
|
|
3857
3874
|
# resp.base_model_arn #=> String
|
|
3858
|
-
# resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "IMPORTED"
|
|
3875
|
+
# resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "REINFORCEMENT_FINE_TUNING", "IMPORTED"
|
|
3859
3876
|
# resp.model_kms_key_arn #=> String
|
|
3860
3877
|
# resp.hyper_parameters #=> Hash
|
|
3861
3878
|
# resp.hyper_parameters["String"] #=> String
|
|
@@ -3885,6 +3902,15 @@ module Aws::Bedrock
|
|
|
3885
3902
|
# resp.creation_time #=> Time
|
|
3886
3903
|
# resp.customization_config.distillation_config.teacher_model_config.teacher_model_identifier #=> String
|
|
3887
3904
|
# resp.customization_config.distillation_config.teacher_model_config.max_response_length_for_inference #=> Integer
|
|
3905
|
+
# resp.customization_config.rft_config.grader_config.lambda_grader.lambda_arn #=> String
|
|
3906
|
+
# resp.customization_config.rft_config.hyper_parameters.epoch_count #=> Integer
|
|
3907
|
+
# resp.customization_config.rft_config.hyper_parameters.batch_size #=> Integer
|
|
3908
|
+
# resp.customization_config.rft_config.hyper_parameters.learning_rate #=> Float
|
|
3909
|
+
# resp.customization_config.rft_config.hyper_parameters.max_prompt_length #=> Integer
|
|
3910
|
+
# resp.customization_config.rft_config.hyper_parameters.training_sample_per_prompt #=> Integer
|
|
3911
|
+
# resp.customization_config.rft_config.hyper_parameters.inference_max_tokens #=> Integer
|
|
3912
|
+
# resp.customization_config.rft_config.hyper_parameters.reasoning_effort #=> String, one of "low", "medium", "high"
|
|
3913
|
+
# resp.customization_config.rft_config.hyper_parameters.eval_interval #=> Integer
|
|
3888
3914
|
# resp.model_status #=> String, one of "Active", "Creating", "Failed"
|
|
3889
3915
|
# resp.failure_message #=> String
|
|
3890
3916
|
#
|
|
@@ -3928,6 +3954,7 @@ module Aws::Bedrock
|
|
|
3928
3954
|
# * {Types::GetCustomModelDeploymentResponse#created_at #created_at} => Time
|
|
3929
3955
|
# * {Types::GetCustomModelDeploymentResponse#status #status} => String
|
|
3930
3956
|
# * {Types::GetCustomModelDeploymentResponse#description #description} => String
|
|
3957
|
+
# * {Types::GetCustomModelDeploymentResponse#update_details #update_details} => Types::CustomModelDeploymentUpdateDetails
|
|
3931
3958
|
# * {Types::GetCustomModelDeploymentResponse#failure_message #failure_message} => String
|
|
3932
3959
|
# * {Types::GetCustomModelDeploymentResponse#last_updated_at #last_updated_at} => Time
|
|
3933
3960
|
#
|
|
@@ -3945,6 +3972,8 @@ module Aws::Bedrock
|
|
|
3945
3972
|
# resp.created_at #=> Time
|
|
3946
3973
|
# resp.status #=> String, one of "Creating", "Active", "Failed"
|
|
3947
3974
|
# resp.description #=> String
|
|
3975
|
+
# resp.update_details.model_arn #=> String
|
|
3976
|
+
# resp.update_details.update_status #=> String, one of "Updating", "UpdateCompleted", "UpdateFailed"
|
|
3948
3977
|
# resp.failure_message #=> String
|
|
3949
3978
|
# resp.last_updated_at #=> Time
|
|
3950
3979
|
#
|
|
@@ -4639,7 +4668,7 @@ module Aws::Bedrock
|
|
|
4639
4668
|
# resp.validation_data_config.validators #=> Array
|
|
4640
4669
|
# resp.validation_data_config.validators[0].s3_uri #=> String
|
|
4641
4670
|
# resp.output_data_config.s3_uri #=> String
|
|
4642
|
-
# resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "IMPORTED"
|
|
4671
|
+
# resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "REINFORCEMENT_FINE_TUNING", "IMPORTED"
|
|
4643
4672
|
# resp.output_model_kms_key_arn #=> String
|
|
4644
4673
|
# resp.training_metrics.training_loss #=> Float
|
|
4645
4674
|
# resp.validation_metrics #=> Array
|
|
@@ -4650,6 +4679,15 @@ module Aws::Bedrock
|
|
|
4650
4679
|
# resp.vpc_config.security_group_ids[0] #=> String
|
|
4651
4680
|
# resp.customization_config.distillation_config.teacher_model_config.teacher_model_identifier #=> String
|
|
4652
4681
|
# resp.customization_config.distillation_config.teacher_model_config.max_response_length_for_inference #=> Integer
|
|
4682
|
+
# resp.customization_config.rft_config.grader_config.lambda_grader.lambda_arn #=> String
|
|
4683
|
+
# resp.customization_config.rft_config.hyper_parameters.epoch_count #=> Integer
|
|
4684
|
+
# resp.customization_config.rft_config.hyper_parameters.batch_size #=> Integer
|
|
4685
|
+
# resp.customization_config.rft_config.hyper_parameters.learning_rate #=> Float
|
|
4686
|
+
# resp.customization_config.rft_config.hyper_parameters.max_prompt_length #=> Integer
|
|
4687
|
+
# resp.customization_config.rft_config.hyper_parameters.training_sample_per_prompt #=> Integer
|
|
4688
|
+
# resp.customization_config.rft_config.hyper_parameters.inference_max_tokens #=> Integer
|
|
4689
|
+
# resp.customization_config.rft_config.hyper_parameters.reasoning_effort #=> String, one of "low", "medium", "high"
|
|
4690
|
+
# resp.customization_config.rft_config.hyper_parameters.eval_interval #=> Integer
|
|
4653
4691
|
#
|
|
4654
4692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCustomizationJob AWS API Documentation
|
|
4655
4693
|
#
|
|
@@ -4808,6 +4846,7 @@ module Aws::Bedrock
|
|
|
4808
4846
|
# resp.logging_config.image_data_delivery_enabled #=> Boolean
|
|
4809
4847
|
# resp.logging_config.embedding_data_delivery_enabled #=> Boolean
|
|
4810
4848
|
# resp.logging_config.video_data_delivery_enabled #=> Boolean
|
|
4849
|
+
# resp.logging_config.audio_data_delivery_enabled #=> Boolean
|
|
4811
4850
|
#
|
|
4812
4851
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationLoggingConfiguration AWS API Documentation
|
|
4813
4852
|
#
|
|
@@ -5456,7 +5495,7 @@ module Aws::Bedrock
|
|
|
5456
5495
|
# resp.model_summaries[0].creation_time #=> Time
|
|
5457
5496
|
# resp.model_summaries[0].base_model_arn #=> String
|
|
5458
5497
|
# resp.model_summaries[0].base_model_name #=> String
|
|
5459
|
-
# resp.model_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "IMPORTED"
|
|
5498
|
+
# resp.model_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "REINFORCEMENT_FINE_TUNING", "IMPORTED"
|
|
5460
5499
|
# resp.model_summaries[0].owner_account_id #=> String
|
|
5461
5500
|
# resp.model_summaries[0].model_status #=> String, one of "Active", "Creating", "Failed"
|
|
5462
5501
|
#
|
|
@@ -6164,7 +6203,7 @@ module Aws::Bedrock
|
|
|
6164
6203
|
# resp.model_customization_job_summaries[0].end_time #=> Time
|
|
6165
6204
|
# resp.model_customization_job_summaries[0].custom_model_arn #=> String
|
|
6166
6205
|
# resp.model_customization_job_summaries[0].custom_model_name #=> String
|
|
6167
|
-
# resp.model_customization_job_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "IMPORTED"
|
|
6206
|
+
# resp.model_customization_job_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION", "REINFORCEMENT_FINE_TUNING", "IMPORTED"
|
|
6168
6207
|
#
|
|
6169
6208
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCustomizationJobs AWS API Documentation
|
|
6170
6209
|
#
|
|
@@ -6654,6 +6693,7 @@ module Aws::Bedrock
|
|
|
6654
6693
|
# image_data_delivery_enabled: false,
|
|
6655
6694
|
# embedding_data_delivery_enabled: false,
|
|
6656
6695
|
# video_data_delivery_enabled: false,
|
|
6696
|
+
# audio_data_delivery_enabled: false,
|
|
6657
6697
|
# },
|
|
6658
6698
|
# })
|
|
6659
6699
|
#
|
|
@@ -7379,6 +7419,42 @@ module Aws::Bedrock
|
|
|
7379
7419
|
req.send_request(options)
|
|
7380
7420
|
end
|
|
7381
7421
|
|
|
7422
|
+
# Updates a custom model deployment with a new custom model. This allows
|
|
7423
|
+
# you to deploy updated models without creating new deployment
|
|
7424
|
+
# endpoints.
|
|
7425
|
+
#
|
|
7426
|
+
# @option params [required, String] :model_arn
|
|
7427
|
+
# ARN of the new custom model to deploy. This replaces the currently
|
|
7428
|
+
# deployed model.
|
|
7429
|
+
#
|
|
7430
|
+
# @option params [required, String] :custom_model_deployment_identifier
|
|
7431
|
+
# Identifier of the custom model deployment to update with the new
|
|
7432
|
+
# custom model.
|
|
7433
|
+
#
|
|
7434
|
+
# @return [Types::UpdateCustomModelDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7435
|
+
#
|
|
7436
|
+
# * {Types::UpdateCustomModelDeploymentResponse#custom_model_deployment_arn #custom_model_deployment_arn} => String
|
|
7437
|
+
#
|
|
7438
|
+
# @example Request syntax with placeholder values
|
|
7439
|
+
#
|
|
7440
|
+
# resp = client.update_custom_model_deployment({
|
|
7441
|
+
# model_arn: "CustomModelArn", # required
|
|
7442
|
+
# custom_model_deployment_identifier: "CustomModelDeploymentIdentifier", # required
|
|
7443
|
+
# })
|
|
7444
|
+
#
|
|
7445
|
+
# @example Response structure
|
|
7446
|
+
#
|
|
7447
|
+
# resp.custom_model_deployment_arn #=> String
|
|
7448
|
+
#
|
|
7449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateCustomModelDeployment AWS API Documentation
|
|
7450
|
+
#
|
|
7451
|
+
# @overload update_custom_model_deployment(params = {})
|
|
7452
|
+
# @param [Hash] params ({})
|
|
7453
|
+
def update_custom_model_deployment(params = {}, options = {})
|
|
7454
|
+
req = build_request(:update_custom_model_deployment, params)
|
|
7455
|
+
req.send_request(options)
|
|
7456
|
+
end
|
|
7457
|
+
|
|
7382
7458
|
# Updates a guardrail with the values you specify.
|
|
7383
7459
|
#
|
|
7384
7460
|
# * Specify a `name` and optional `description`.
|
|
@@ -7736,7 +7812,7 @@ module Aws::Bedrock
|
|
|
7736
7812
|
tracer: tracer
|
|
7737
7813
|
)
|
|
7738
7814
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
7739
|
-
context[:gem_version] = '1.
|
|
7815
|
+
context[:gem_version] = '1.69.0'
|
|
7740
7816
|
Seahorse::Client::Request.new(handlers, context)
|
|
7741
7817
|
end
|
|
7742
7818
|
|
|
@@ -247,6 +247,8 @@ module Aws::Bedrock
|
|
|
247
247
|
CustomModelDeploymentStatus = Shapes::StringShape.new(name: 'CustomModelDeploymentStatus')
|
|
248
248
|
CustomModelDeploymentSummary = Shapes::StructureShape.new(name: 'CustomModelDeploymentSummary')
|
|
249
249
|
CustomModelDeploymentSummaryList = Shapes::ListShape.new(name: 'CustomModelDeploymentSummaryList')
|
|
250
|
+
CustomModelDeploymentUpdateDetails = Shapes::StructureShape.new(name: 'CustomModelDeploymentUpdateDetails')
|
|
251
|
+
CustomModelDeploymentUpdateStatus = Shapes::StringShape.new(name: 'CustomModelDeploymentUpdateStatus')
|
|
250
252
|
CustomModelName = Shapes::StringShape.new(name: 'CustomModelName')
|
|
251
253
|
CustomModelSummary = Shapes::StructureShape.new(name: 'CustomModelSummary')
|
|
252
254
|
CustomModelSummaryList = Shapes::ListShape.new(name: 'CustomModelSummaryList')
|
|
@@ -290,6 +292,7 @@ module Aws::Bedrock
|
|
|
290
292
|
EndpointConfig = Shapes::UnionShape.new(name: 'EndpointConfig')
|
|
291
293
|
EndpointName = Shapes::StringShape.new(name: 'EndpointName')
|
|
292
294
|
EntitlementAvailability = Shapes::StringShape.new(name: 'EntitlementAvailability')
|
|
295
|
+
EpochCount = Shapes::IntegerShape.new(name: 'EpochCount')
|
|
293
296
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
|
294
297
|
ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
|
|
295
298
|
EvaluationBedrockKnowledgeBaseIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockKnowledgeBaseIdentifiers')
|
|
@@ -407,6 +410,7 @@ module Aws::Bedrock
|
|
|
407
410
|
GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
|
|
408
411
|
GetUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessRequest')
|
|
409
412
|
GetUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessResponse')
|
|
413
|
+
GraderConfig = Shapes::UnionShape.new(name: 'GraderConfig')
|
|
410
414
|
GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
|
|
411
415
|
GuardrailAutomatedReasoningPolicy = Shapes::StructureShape.new(name: 'GuardrailAutomatedReasoningPolicy')
|
|
412
416
|
GuardrailAutomatedReasoningPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailAutomatedReasoningPolicyConfig')
|
|
@@ -554,6 +558,8 @@ module Aws::Bedrock
|
|
|
554
558
|
KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
|
|
555
559
|
KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
|
|
556
560
|
KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
|
|
561
|
+
LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
|
|
562
|
+
LambdaGraderConfig = Shapes::StructureShape.new(name: 'LambdaGraderConfig')
|
|
557
563
|
LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
|
|
558
564
|
ListAutomatedReasoningPoliciesRequest = Shapes::StructureShape.new(name: 'ListAutomatedReasoningPoliciesRequest')
|
|
559
565
|
ListAutomatedReasoningPoliciesResponse = Shapes::StructureShape.new(name: 'ListAutomatedReasoningPoliciesResponse')
|
|
@@ -694,6 +700,14 @@ module Aws::Bedrock
|
|
|
694
700
|
RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
|
|
695
701
|
RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
|
|
696
702
|
RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
|
|
703
|
+
RFTBatchSize = Shapes::IntegerShape.new(name: 'RFTBatchSize')
|
|
704
|
+
RFTConfig = Shapes::StructureShape.new(name: 'RFTConfig')
|
|
705
|
+
RFTEvalInterval = Shapes::IntegerShape.new(name: 'RFTEvalInterval')
|
|
706
|
+
RFTHyperParameters = Shapes::StructureShape.new(name: 'RFTHyperParameters')
|
|
707
|
+
RFTInferenceMaxTokens = Shapes::IntegerShape.new(name: 'RFTInferenceMaxTokens')
|
|
708
|
+
RFTLearningRate = Shapes::FloatShape.new(name: 'RFTLearningRate')
|
|
709
|
+
RFTMaxPromptLength = Shapes::IntegerShape.new(name: 'RFTMaxPromptLength')
|
|
710
|
+
RFTTrainingSamplePerPrompt = Shapes::IntegerShape.new(name: 'RFTTrainingSamplePerPrompt')
|
|
697
711
|
RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
|
|
698
712
|
RateCard = Shapes::ListShape.new(name: 'RateCard')
|
|
699
713
|
RatingScale = Shapes::ListShape.new(name: 'RatingScale')
|
|
@@ -701,6 +715,7 @@ module Aws::Bedrock
|
|
|
701
715
|
RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
|
|
702
716
|
RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
|
|
703
717
|
RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
|
|
718
|
+
ReasoningEffort = Shapes::StringShape.new(name: 'ReasoningEffort')
|
|
704
719
|
RegionAvailability = Shapes::StringShape.new(name: 'RegionAvailability')
|
|
705
720
|
RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
|
|
706
721
|
RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
|
|
@@ -783,6 +798,8 @@ module Aws::Bedrock
|
|
|
783
798
|
UpdateAutomatedReasoningPolicyResponse = Shapes::StructureShape.new(name: 'UpdateAutomatedReasoningPolicyResponse')
|
|
784
799
|
UpdateAutomatedReasoningPolicyTestCaseRequest = Shapes::StructureShape.new(name: 'UpdateAutomatedReasoningPolicyTestCaseRequest')
|
|
785
800
|
UpdateAutomatedReasoningPolicyTestCaseResponse = Shapes::StructureShape.new(name: 'UpdateAutomatedReasoningPolicyTestCaseResponse')
|
|
801
|
+
UpdateCustomModelDeploymentRequest = Shapes::StructureShape.new(name: 'UpdateCustomModelDeploymentRequest')
|
|
802
|
+
UpdateCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'UpdateCustomModelDeploymentResponse')
|
|
786
803
|
UpdateGuardrailRequest = Shapes::StructureShape.new(name: 'UpdateGuardrailRequest')
|
|
787
804
|
UpdateGuardrailResponse = Shapes::StructureShape.new(name: 'UpdateGuardrailResponse')
|
|
788
805
|
UpdateMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'UpdateMarketplaceModelEndpointRequest')
|
|
@@ -1592,6 +1609,10 @@ module Aws::Bedrock
|
|
|
1592
1609
|
|
|
1593
1610
|
CustomModelDeploymentSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelDeploymentSummary)
|
|
1594
1611
|
|
|
1612
|
+
CustomModelDeploymentUpdateDetails.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
|
1613
|
+
CustomModelDeploymentUpdateDetails.add_member(:update_status, Shapes::ShapeRef.new(shape: CustomModelDeploymentUpdateStatus, required: true, location_name: "updateStatus"))
|
|
1614
|
+
CustomModelDeploymentUpdateDetails.struct_class = Types::CustomModelDeploymentUpdateDetails
|
|
1615
|
+
|
|
1595
1616
|
CustomModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
|
|
1596
1617
|
CustomModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
|
1597
1618
|
CustomModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
|
@@ -1609,8 +1630,10 @@ module Aws::Bedrock
|
|
|
1609
1630
|
CustomModelUnits.struct_class = Types::CustomModelUnits
|
|
1610
1631
|
|
|
1611
1632
|
CustomizationConfig.add_member(:distillation_config, Shapes::ShapeRef.new(shape: DistillationConfig, location_name: "distillationConfig"))
|
|
1633
|
+
CustomizationConfig.add_member(:rft_config, Shapes::ShapeRef.new(shape: RFTConfig, location_name: "rftConfig"))
|
|
1612
1634
|
CustomizationConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1613
1635
|
CustomizationConfig.add_member_subclass(:distillation_config, Types::CustomizationConfig::DistillationConfig)
|
|
1636
|
+
CustomizationConfig.add_member_subclass(:rft_config, Types::CustomizationConfig::RftConfig)
|
|
1614
1637
|
CustomizationConfig.add_member_subclass(:unknown, Types::CustomizationConfig::Unknown)
|
|
1615
1638
|
CustomizationConfig.struct_class = Types::CustomizationConfig
|
|
1616
1639
|
|
|
@@ -1988,6 +2011,7 @@ module Aws::Bedrock
|
|
|
1988
2011
|
GetCustomModelDeploymentResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
|
1989
2012
|
GetCustomModelDeploymentResponse.add_member(:status, Shapes::ShapeRef.new(shape: CustomModelDeploymentStatus, required: true, location_name: "status"))
|
|
1990
2013
|
GetCustomModelDeploymentResponse.add_member(:description, Shapes::ShapeRef.new(shape: CustomModelDeploymentDescription, location_name: "description"))
|
|
2014
|
+
GetCustomModelDeploymentResponse.add_member(:update_details, Shapes::ShapeRef.new(shape: CustomModelDeploymentUpdateDetails, location_name: "updateDetails"))
|
|
1991
2015
|
GetCustomModelDeploymentResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
|
1992
2016
|
GetCustomModelDeploymentResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
|
|
1993
2017
|
GetCustomModelDeploymentResponse.struct_class = Types::GetCustomModelDeploymentResponse
|
|
@@ -2235,6 +2259,12 @@ module Aws::Bedrock
|
|
|
2235
2259
|
GetUseCaseForModelAccessResponse.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
|
|
2236
2260
|
GetUseCaseForModelAccessResponse.struct_class = Types::GetUseCaseForModelAccessResponse
|
|
2237
2261
|
|
|
2262
|
+
GraderConfig.add_member(:lambda_grader, Shapes::ShapeRef.new(shape: LambdaGraderConfig, location_name: "lambdaGrader"))
|
|
2263
|
+
GraderConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2264
|
+
GraderConfig.add_member_subclass(:lambda_grader, Types::GraderConfig::LambdaGrader)
|
|
2265
|
+
GraderConfig.add_member_subclass(:unknown, Types::GraderConfig::Unknown)
|
|
2266
|
+
GraderConfig.struct_class = Types::GraderConfig
|
|
2267
|
+
|
|
2238
2268
|
GuardrailAutomatedReasoningPolicy.add_member(:policies, Shapes::ShapeRef.new(shape: GuardrailAutomatedReasoningPolicyPoliciesList, required: true, location_name: "policies"))
|
|
2239
2269
|
GuardrailAutomatedReasoningPolicy.add_member(:confidence_threshold, Shapes::ShapeRef.new(shape: AutomatedReasoningConfidenceFilterThreshold, location_name: "confidenceThreshold"))
|
|
2240
2270
|
GuardrailAutomatedReasoningPolicy.struct_class = Types::GuardrailAutomatedReasoningPolicy
|
|
@@ -2572,6 +2602,9 @@ module Aws::Bedrock
|
|
|
2572
2602
|
KnowledgeBaseVectorSearchConfiguration.add_member(:reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchRerankingConfiguration, location_name: "rerankingConfiguration"))
|
|
2573
2603
|
KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
|
|
2574
2604
|
|
|
2605
|
+
LambdaGraderConfig.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: LambdaArn, required: true, location_name: "lambdaArn"))
|
|
2606
|
+
LambdaGraderConfig.struct_class = Types::LambdaGraderConfig
|
|
2607
|
+
|
|
2575
2608
|
LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
|
|
2576
2609
|
LegalTerm.struct_class = Types::LegalTerm
|
|
2577
2610
|
|
|
@@ -2817,6 +2850,7 @@ module Aws::Bedrock
|
|
|
2817
2850
|
LoggingConfig.add_member(:image_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "imageDataDeliveryEnabled"))
|
|
2818
2851
|
LoggingConfig.add_member(:embedding_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "embeddingDataDeliveryEnabled"))
|
|
2819
2852
|
LoggingConfig.add_member(:video_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "videoDataDeliveryEnabled"))
|
|
2853
|
+
LoggingConfig.add_member(:audio_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "audioDataDeliveryEnabled"))
|
|
2820
2854
|
LoggingConfig.struct_class = Types::LoggingConfig
|
|
2821
2855
|
|
|
2822
2856
|
MarketplaceModelEndpoint.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "endpointArn"))
|
|
@@ -3036,6 +3070,20 @@ module Aws::Bedrock
|
|
|
3036
3070
|
|
|
3037
3071
|
RAGStopSequences.member = Shapes::ShapeRef.new(shape: RAGStopSequencesMemberString)
|
|
3038
3072
|
|
|
3073
|
+
RFTConfig.add_member(:grader_config, Shapes::ShapeRef.new(shape: GraderConfig, location_name: "graderConfig"))
|
|
3074
|
+
RFTConfig.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: RFTHyperParameters, location_name: "hyperParameters"))
|
|
3075
|
+
RFTConfig.struct_class = Types::RFTConfig
|
|
3076
|
+
|
|
3077
|
+
RFTHyperParameters.add_member(:epoch_count, Shapes::ShapeRef.new(shape: EpochCount, location_name: "epochCount"))
|
|
3078
|
+
RFTHyperParameters.add_member(:batch_size, Shapes::ShapeRef.new(shape: RFTBatchSize, location_name: "batchSize"))
|
|
3079
|
+
RFTHyperParameters.add_member(:learning_rate, Shapes::ShapeRef.new(shape: RFTLearningRate, location_name: "learningRate"))
|
|
3080
|
+
RFTHyperParameters.add_member(:max_prompt_length, Shapes::ShapeRef.new(shape: RFTMaxPromptLength, location_name: "maxPromptLength"))
|
|
3081
|
+
RFTHyperParameters.add_member(:training_sample_per_prompt, Shapes::ShapeRef.new(shape: RFTTrainingSamplePerPrompt, location_name: "trainingSamplePerPrompt"))
|
|
3082
|
+
RFTHyperParameters.add_member(:inference_max_tokens, Shapes::ShapeRef.new(shape: RFTInferenceMaxTokens, location_name: "inferenceMaxTokens"))
|
|
3083
|
+
RFTHyperParameters.add_member(:reasoning_effort, Shapes::ShapeRef.new(shape: ReasoningEffort, location_name: "reasoningEffort"))
|
|
3084
|
+
RFTHyperParameters.add_member(:eval_interval, Shapes::ShapeRef.new(shape: RFTEvalInterval, location_name: "evalInterval"))
|
|
3085
|
+
RFTHyperParameters.struct_class = Types::RFTHyperParameters
|
|
3086
|
+
|
|
3039
3087
|
RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
|
|
3040
3088
|
|
|
3041
3089
|
RateCard.member = Shapes::ShapeRef.new(shape: DimensionalPriceRate)
|
|
@@ -3304,6 +3352,13 @@ module Aws::Bedrock
|
|
|
3304
3352
|
UpdateAutomatedReasoningPolicyTestCaseResponse.add_member(:test_case_id, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyTestCaseId, required: true, location_name: "testCaseId"))
|
|
3305
3353
|
UpdateAutomatedReasoningPolicyTestCaseResponse.struct_class = Types::UpdateAutomatedReasoningPolicyTestCaseResponse
|
|
3306
3354
|
|
|
3355
|
+
UpdateCustomModelDeploymentRequest.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
|
|
3356
|
+
UpdateCustomModelDeploymentRequest.add_member(:custom_model_deployment_identifier, Shapes::ShapeRef.new(shape: CustomModelDeploymentIdentifier, required: true, location: "uri", location_name: "customModelDeploymentIdentifier"))
|
|
3357
|
+
UpdateCustomModelDeploymentRequest.struct_class = Types::UpdateCustomModelDeploymentRequest
|
|
3358
|
+
|
|
3359
|
+
UpdateCustomModelDeploymentResponse.add_member(:custom_model_deployment_arn, Shapes::ShapeRef.new(shape: CustomModelDeploymentArn, required: true, location_name: "customModelDeploymentArn"))
|
|
3360
|
+
UpdateCustomModelDeploymentResponse.struct_class = Types::UpdateCustomModelDeploymentResponse
|
|
3361
|
+
|
|
3307
3362
|
UpdateGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
|
|
3308
3363
|
UpdateGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailName, required: true, location_name: "name"))
|
|
3309
3364
|
UpdateGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailDescription, location_name: "description"))
|
|
@@ -4780,6 +4835,19 @@ module Aws::Bedrock
|
|
|
4780
4835
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4781
4836
|
end)
|
|
4782
4837
|
|
|
4838
|
+
api.add_operation(:update_custom_model_deployment, Seahorse::Model::Operation.new.tap do |o|
|
|
4839
|
+
o.name = "UpdateCustomModelDeployment"
|
|
4840
|
+
o.http_method = "PATCH"
|
|
4841
|
+
o.http_request_uri = "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}"
|
|
4842
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCustomModelDeploymentRequest)
|
|
4843
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateCustomModelDeploymentResponse)
|
|
4844
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4845
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4846
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4847
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4848
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4849
|
+
end)
|
|
4850
|
+
|
|
4783
4851
|
api.add_operation(:update_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
|
4784
4852
|
o.name = "UpdateGuardrail"
|
|
4785
4853
|
o.http_method = "PUT"
|
|
@@ -3847,6 +3847,26 @@ module Aws::Bedrock
|
|
|
3847
3847
|
include Aws::Structure
|
|
3848
3848
|
end
|
|
3849
3849
|
|
|
3850
|
+
# Details about an update to a custom model deployment, including the
|
|
3851
|
+
# new custom model resource ARN and current update status.
|
|
3852
|
+
#
|
|
3853
|
+
# @!attribute [rw] model_arn
|
|
3854
|
+
# ARN of the new custom model being deployed as part of the update.
|
|
3855
|
+
# @return [String]
|
|
3856
|
+
#
|
|
3857
|
+
# @!attribute [rw] update_status
|
|
3858
|
+
# Current status of the deployment update.
|
|
3859
|
+
# @return [String]
|
|
3860
|
+
#
|
|
3861
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomModelDeploymentUpdateDetails AWS API Documentation
|
|
3862
|
+
#
|
|
3863
|
+
class CustomModelDeploymentUpdateDetails < Struct.new(
|
|
3864
|
+
:model_arn,
|
|
3865
|
+
:update_status)
|
|
3866
|
+
SENSITIVE = []
|
|
3867
|
+
include Aws::Structure
|
|
3868
|
+
end
|
|
3869
|
+
|
|
3850
3870
|
# Summary information for a custom model.
|
|
3851
3871
|
#
|
|
3852
3872
|
# @!attribute [rw] model_arn
|
|
@@ -3948,16 +3968,23 @@ module Aws::Bedrock
|
|
|
3948
3968
|
# The Distillation configuration for the custom model.
|
|
3949
3969
|
# @return [Types::DistillationConfig]
|
|
3950
3970
|
#
|
|
3971
|
+
# @!attribute [rw] rft_config
|
|
3972
|
+
# Configuration settings for reinforcement fine-tuning (RFT) model
|
|
3973
|
+
# customization, including grader configuration and hyperparameters.
|
|
3974
|
+
# @return [Types::RFTConfig]
|
|
3975
|
+
#
|
|
3951
3976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomizationConfig AWS API Documentation
|
|
3952
3977
|
#
|
|
3953
3978
|
class CustomizationConfig < Struct.new(
|
|
3954
3979
|
:distillation_config,
|
|
3980
|
+
:rft_config,
|
|
3955
3981
|
:unknown)
|
|
3956
3982
|
SENSITIVE = []
|
|
3957
3983
|
include Aws::Structure
|
|
3958
3984
|
include Aws::Structure::Union
|
|
3959
3985
|
|
|
3960
3986
|
class DistillationConfig < CustomizationConfig; end
|
|
3987
|
+
class RftConfig < CustomizationConfig; end
|
|
3961
3988
|
class Unknown < CustomizationConfig; end
|
|
3962
3989
|
end
|
|
3963
3990
|
|
|
@@ -5594,6 +5621,11 @@ module Aws::Bedrock
|
|
|
5594
5621
|
# The description of the custom model deployment.
|
|
5595
5622
|
# @return [String]
|
|
5596
5623
|
#
|
|
5624
|
+
# @!attribute [rw] update_details
|
|
5625
|
+
# Details about any pending or completed updates to the custom model
|
|
5626
|
+
# deployment, including the new model ARN and update status.
|
|
5627
|
+
# @return [Types::CustomModelDeploymentUpdateDetails]
|
|
5628
|
+
#
|
|
5597
5629
|
# @!attribute [rw] failure_message
|
|
5598
5630
|
# If the deployment status is `FAILED`, this field contains a message
|
|
5599
5631
|
# describing the failure reason.
|
|
@@ -5612,6 +5644,7 @@ module Aws::Bedrock
|
|
|
5612
5644
|
:created_at,
|
|
5613
5645
|
:status,
|
|
5614
5646
|
:description,
|
|
5647
|
+
:update_details,
|
|
5615
5648
|
:failure_message,
|
|
5616
5649
|
:last_updated_at)
|
|
5617
5650
|
SENSITIVE = []
|
|
@@ -6887,6 +6920,32 @@ module Aws::Bedrock
|
|
|
6887
6920
|
include Aws::Structure
|
|
6888
6921
|
end
|
|
6889
6922
|
|
|
6923
|
+
# Configuration for the grader used in reinforcement fine-tuning to
|
|
6924
|
+
# evaluate model responses and provide reward signals.
|
|
6925
|
+
#
|
|
6926
|
+
# @note GraderConfig is a union - when making an API calls you must set exactly one of the members.
|
|
6927
|
+
#
|
|
6928
|
+
# @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.
|
|
6929
|
+
#
|
|
6930
|
+
# @!attribute [rw] lambda_grader
|
|
6931
|
+
# Configuration for using an AWS Lambda function as the grader for
|
|
6932
|
+
# evaluating model responses and provide reward signals in
|
|
6933
|
+
# reinforcement fine-tuning.
|
|
6934
|
+
# @return [Types::LambdaGraderConfig]
|
|
6935
|
+
#
|
|
6936
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GraderConfig AWS API Documentation
|
|
6937
|
+
#
|
|
6938
|
+
class GraderConfig < Struct.new(
|
|
6939
|
+
:lambda_grader,
|
|
6940
|
+
:unknown)
|
|
6941
|
+
SENSITIVE = []
|
|
6942
|
+
include Aws::Structure
|
|
6943
|
+
include Aws::Structure::Union
|
|
6944
|
+
|
|
6945
|
+
class LambdaGrader < GraderConfig; end
|
|
6946
|
+
class Unknown < GraderConfig; end
|
|
6947
|
+
end
|
|
6948
|
+
|
|
6890
6949
|
# Represents the configuration of Automated Reasoning policies within a
|
|
6891
6950
|
# Amazon Bedrock Guardrail, including the policies to apply and
|
|
6892
6951
|
# confidence thresholds.
|
|
@@ -9002,6 +9061,22 @@ module Aws::Bedrock
|
|
|
9002
9061
|
include Aws::Structure
|
|
9003
9062
|
end
|
|
9004
9063
|
|
|
9064
|
+
# Configuration for using an AWS Lambda function to grade model
|
|
9065
|
+
# responses during reinforcement fine-tuning training.
|
|
9066
|
+
#
|
|
9067
|
+
# @!attribute [rw] lambda_arn
|
|
9068
|
+
# ARN of the AWS Lambda function that will evaluate model responses
|
|
9069
|
+
# and return reward scores for RFT training.
|
|
9070
|
+
# @return [String]
|
|
9071
|
+
#
|
|
9072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/LambdaGraderConfig AWS API Documentation
|
|
9073
|
+
#
|
|
9074
|
+
class LambdaGraderConfig < Struct.new(
|
|
9075
|
+
:lambda_arn)
|
|
9076
|
+
SENSITIVE = []
|
|
9077
|
+
include Aws::Structure
|
|
9078
|
+
end
|
|
9079
|
+
|
|
9005
9080
|
# The legal term of the agreement.
|
|
9006
9081
|
#
|
|
9007
9082
|
# @!attribute [rw] url
|
|
@@ -10322,6 +10397,10 @@ module Aws::Bedrock
|
|
|
10322
10397
|
# Set to include video data in the log delivery.
|
|
10323
10398
|
# @return [Boolean]
|
|
10324
10399
|
#
|
|
10400
|
+
# @!attribute [rw] audio_data_delivery_enabled
|
|
10401
|
+
# Set to include audio data in the log delivery.
|
|
10402
|
+
# @return [Boolean]
|
|
10403
|
+
#
|
|
10325
10404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/LoggingConfig AWS API Documentation
|
|
10326
10405
|
#
|
|
10327
10406
|
class LoggingConfig < Struct.new(
|
|
@@ -10330,7 +10409,8 @@ module Aws::Bedrock
|
|
|
10330
10409
|
:text_data_delivery_enabled,
|
|
10331
10410
|
:image_data_delivery_enabled,
|
|
10332
10411
|
:embedding_data_delivery_enabled,
|
|
10333
|
-
:video_data_delivery_enabled
|
|
10412
|
+
:video_data_delivery_enabled,
|
|
10413
|
+
:audio_data_delivery_enabled)
|
|
10334
10414
|
SENSITIVE = []
|
|
10335
10415
|
include Aws::Structure
|
|
10336
10416
|
end
|
|
@@ -11349,6 +11429,88 @@ module Aws::Bedrock
|
|
|
11349
11429
|
class Unknown < RAGConfig; end
|
|
11350
11430
|
end
|
|
11351
11431
|
|
|
11432
|
+
# Configuration settings for reinforcement fine-tuning (RFT), including
|
|
11433
|
+
# grader configuration and training hyperparameters.
|
|
11434
|
+
#
|
|
11435
|
+
# @!attribute [rw] grader_config
|
|
11436
|
+
# Configuration for the grader that evaluates model responses and
|
|
11437
|
+
# provides reward signals during RFT training.
|
|
11438
|
+
# @return [Types::GraderConfig]
|
|
11439
|
+
#
|
|
11440
|
+
# @!attribute [rw] hyper_parameters
|
|
11441
|
+
# Hyperparameters that control the reinforcement fine-tuning training
|
|
11442
|
+
# process, including learning rate, batch size, and epoch count.
|
|
11443
|
+
# @return [Types::RFTHyperParameters]
|
|
11444
|
+
#
|
|
11445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RFTConfig AWS API Documentation
|
|
11446
|
+
#
|
|
11447
|
+
class RFTConfig < Struct.new(
|
|
11448
|
+
:grader_config,
|
|
11449
|
+
:hyper_parameters)
|
|
11450
|
+
SENSITIVE = []
|
|
11451
|
+
include Aws::Structure
|
|
11452
|
+
end
|
|
11453
|
+
|
|
11454
|
+
# Hyperparameters for controlling the reinforcement fine-tuning training
|
|
11455
|
+
# process, including learning settings and evaluation intervals.
|
|
11456
|
+
#
|
|
11457
|
+
# @!attribute [rw] epoch_count
|
|
11458
|
+
# Number of training epochs to run during reinforcement fine-tuning.
|
|
11459
|
+
# Higher values may improve performance but increase training time.
|
|
11460
|
+
# @return [Integer]
|
|
11461
|
+
#
|
|
11462
|
+
# @!attribute [rw] batch_size
|
|
11463
|
+
# Number of training samples processed in each batch during
|
|
11464
|
+
# reinforcement fine-tuning (RFT) training. Larger batches may improve
|
|
11465
|
+
# training stability.
|
|
11466
|
+
# @return [Integer]
|
|
11467
|
+
#
|
|
11468
|
+
# @!attribute [rw] learning_rate
|
|
11469
|
+
# Learning rate for the reinforcement fine-tuning. Controls how
|
|
11470
|
+
# quickly the model adapts to reward signals.
|
|
11471
|
+
# @return [Float]
|
|
11472
|
+
#
|
|
11473
|
+
# @!attribute [rw] max_prompt_length
|
|
11474
|
+
# Maximum length of input prompts during RFT training, measured in
|
|
11475
|
+
# tokens. Longer prompts allow more context but increase memory usage
|
|
11476
|
+
# and training-time.
|
|
11477
|
+
# @return [Integer]
|
|
11478
|
+
#
|
|
11479
|
+
# @!attribute [rw] training_sample_per_prompt
|
|
11480
|
+
# Number of response samples generated per prompt during RFT training.
|
|
11481
|
+
# More samples provide better reward signal estimation.
|
|
11482
|
+
# @return [Integer]
|
|
11483
|
+
#
|
|
11484
|
+
# @!attribute [rw] inference_max_tokens
|
|
11485
|
+
# Maximum number of tokens the model can generate in response to each
|
|
11486
|
+
# prompt during RFT training.
|
|
11487
|
+
# @return [Integer]
|
|
11488
|
+
#
|
|
11489
|
+
# @!attribute [rw] reasoning_effort
|
|
11490
|
+
# Level of reasoning effort applied during RFT training. Higher values
|
|
11491
|
+
# may improve response quality but increase training time.
|
|
11492
|
+
# @return [String]
|
|
11493
|
+
#
|
|
11494
|
+
# @!attribute [rw] eval_interval
|
|
11495
|
+
# Interval between evaluation runs during RFT training, measured in
|
|
11496
|
+
# training steps. More frequent evaluation provides better monitoring.
|
|
11497
|
+
# @return [Integer]
|
|
11498
|
+
#
|
|
11499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RFTHyperParameters AWS API Documentation
|
|
11500
|
+
#
|
|
11501
|
+
class RFTHyperParameters < Struct.new(
|
|
11502
|
+
:epoch_count,
|
|
11503
|
+
:batch_size,
|
|
11504
|
+
:learning_rate,
|
|
11505
|
+
:max_prompt_length,
|
|
11506
|
+
:training_sample_per_prompt,
|
|
11507
|
+
:inference_max_tokens,
|
|
11508
|
+
:reasoning_effort,
|
|
11509
|
+
:eval_interval)
|
|
11510
|
+
SENSITIVE = []
|
|
11511
|
+
include Aws::Structure
|
|
11512
|
+
end
|
|
11513
|
+
|
|
11352
11514
|
# Defines the value and corresponding definition for one rating in a
|
|
11353
11515
|
# custom metric rating scale.
|
|
11354
11516
|
#
|
|
@@ -12557,6 +12719,37 @@ module Aws::Bedrock
|
|
|
12557
12719
|
include Aws::Structure
|
|
12558
12720
|
end
|
|
12559
12721
|
|
|
12722
|
+
# @!attribute [rw] model_arn
|
|
12723
|
+
# ARN of the new custom model to deploy. This replaces the currently
|
|
12724
|
+
# deployed model.
|
|
12725
|
+
# @return [String]
|
|
12726
|
+
#
|
|
12727
|
+
# @!attribute [rw] custom_model_deployment_identifier
|
|
12728
|
+
# Identifier of the custom model deployment to update with the new
|
|
12729
|
+
# custom model.
|
|
12730
|
+
# @return [String]
|
|
12731
|
+
#
|
|
12732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateCustomModelDeploymentRequest AWS API Documentation
|
|
12733
|
+
#
|
|
12734
|
+
class UpdateCustomModelDeploymentRequest < Struct.new(
|
|
12735
|
+
:model_arn,
|
|
12736
|
+
:custom_model_deployment_identifier)
|
|
12737
|
+
SENSITIVE = []
|
|
12738
|
+
include Aws::Structure
|
|
12739
|
+
end
|
|
12740
|
+
|
|
12741
|
+
# @!attribute [rw] custom_model_deployment_arn
|
|
12742
|
+
# ARN of the custom model deployment being updated.
|
|
12743
|
+
# @return [String]
|
|
12744
|
+
#
|
|
12745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateCustomModelDeploymentResponse AWS API Documentation
|
|
12746
|
+
#
|
|
12747
|
+
class UpdateCustomModelDeploymentResponse < Struct.new(
|
|
12748
|
+
:custom_model_deployment_arn)
|
|
12749
|
+
SENSITIVE = []
|
|
12750
|
+
include Aws::Structure
|
|
12751
|
+
end
|
|
12752
|
+
|
|
12560
12753
|
# @!attribute [rw] guardrail_identifier
|
|
12561
12754
|
# The unique identifier of the guardrail. This can be an ID or the
|
|
12562
12755
|
# ARN.
|
data/lib/aws-sdk-bedrock.rb
CHANGED
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
|
|
@@ -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]
|
|
@@ -1991,7 +2009,8 @@ module Aws
|
|
|
1991
2009
|
text_data_delivery_enabled: bool?,
|
|
1992
2010
|
image_data_delivery_enabled: bool?,
|
|
1993
2011
|
embedding_data_delivery_enabled: bool?,
|
|
1994
|
-
video_data_delivery_enabled: bool
|
|
2012
|
+
video_data_delivery_enabled: bool?,
|
|
2013
|
+
audio_data_delivery_enabled: bool?
|
|
1995
2014
|
}
|
|
1996
2015
|
) -> _PutModelInvocationLoggingConfigurationResponseSuccess
|
|
1997
2016
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutModelInvocationLoggingConfigurationResponseSuccess
|
|
@@ -2366,6 +2385,17 @@ module Aws
|
|
|
2366
2385
|
) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
|
|
2367
2386
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
|
|
2368
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
|
+
|
|
2369
2399
|
interface _UpdateGuardrailResponseSuccess
|
|
2370
2400
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGuardrailResponse]
|
|
2371
2401
|
def guardrail_id: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -912,7 +912,7 @@ module Aws::Bedrock
|
|
|
912
912
|
attr_accessor role_arn: ::String
|
|
913
913
|
attr_accessor client_request_token: ::String
|
|
914
914
|
attr_accessor base_model_identifier: ::String
|
|
915
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
|
915
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
|
|
916
916
|
attr_accessor custom_model_kms_key_id: ::String
|
|
917
917
|
attr_accessor job_tags: ::Array[Types::Tag]
|
|
918
918
|
attr_accessor custom_model_tags: ::Array[Types::Tag]
|
|
@@ -1025,13 +1025,19 @@ module Aws::Bedrock
|
|
|
1025
1025
|
SENSITIVE: []
|
|
1026
1026
|
end
|
|
1027
1027
|
|
|
1028
|
+
class CustomModelDeploymentUpdateDetails
|
|
1029
|
+
attr_accessor model_arn: ::String
|
|
1030
|
+
attr_accessor update_status: ("Updating" | "UpdateCompleted" | "UpdateFailed")
|
|
1031
|
+
SENSITIVE: []
|
|
1032
|
+
end
|
|
1033
|
+
|
|
1028
1034
|
class CustomModelSummary
|
|
1029
1035
|
attr_accessor model_arn: ::String
|
|
1030
1036
|
attr_accessor model_name: ::String
|
|
1031
1037
|
attr_accessor creation_time: ::Time
|
|
1032
1038
|
attr_accessor base_model_arn: ::String
|
|
1033
1039
|
attr_accessor base_model_name: ::String
|
|
1034
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
|
1040
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
|
|
1035
1041
|
attr_accessor owner_account_id: ::String
|
|
1036
1042
|
attr_accessor model_status: ("Active" | "Creating" | "Failed")
|
|
1037
1043
|
SENSITIVE: []
|
|
@@ -1045,11 +1051,14 @@ module Aws::Bedrock
|
|
|
1045
1051
|
|
|
1046
1052
|
class CustomizationConfig
|
|
1047
1053
|
attr_accessor distillation_config: Types::DistillationConfig
|
|
1054
|
+
attr_accessor rft_config: Types::RFTConfig
|
|
1048
1055
|
attr_accessor unknown: untyped
|
|
1049
1056
|
SENSITIVE: []
|
|
1050
1057
|
|
|
1051
1058
|
class DistillationConfig < CustomizationConfig
|
|
1052
1059
|
end
|
|
1060
|
+
class RftConfig < CustomizationConfig
|
|
1061
|
+
end
|
|
1053
1062
|
class Unknown < CustomizationConfig
|
|
1054
1063
|
end
|
|
1055
1064
|
end
|
|
@@ -1560,6 +1569,7 @@ module Aws::Bedrock
|
|
|
1560
1569
|
attr_accessor created_at: ::Time
|
|
1561
1570
|
attr_accessor status: ("Creating" | "Active" | "Failed")
|
|
1562
1571
|
attr_accessor description: ::String
|
|
1572
|
+
attr_accessor update_details: Types::CustomModelDeploymentUpdateDetails
|
|
1563
1573
|
attr_accessor failure_message: ::String
|
|
1564
1574
|
attr_accessor last_updated_at: ::Time
|
|
1565
1575
|
SENSITIVE: []
|
|
@@ -1576,7 +1586,7 @@ module Aws::Bedrock
|
|
|
1576
1586
|
attr_accessor job_name: ::String
|
|
1577
1587
|
attr_accessor job_arn: ::String
|
|
1578
1588
|
attr_accessor base_model_arn: ::String
|
|
1579
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
|
1589
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
|
|
1580
1590
|
attr_accessor model_kms_key_arn: ::String
|
|
1581
1591
|
attr_accessor hyper_parameters: ::Hash[::String, ::String]
|
|
1582
1592
|
attr_accessor training_data_config: Types::TrainingDataConfig
|
|
@@ -1758,7 +1768,7 @@ module Aws::Bedrock
|
|
|
1758
1768
|
attr_accessor training_data_config: Types::TrainingDataConfig
|
|
1759
1769
|
attr_accessor validation_data_config: Types::ValidationDataConfig
|
|
1760
1770
|
attr_accessor output_data_config: Types::OutputDataConfig
|
|
1761
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
|
1771
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
|
|
1762
1772
|
attr_accessor output_model_kms_key_arn: ::String
|
|
1763
1773
|
attr_accessor training_metrics: Types::TrainingMetrics
|
|
1764
1774
|
attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
|
|
@@ -1870,6 +1880,17 @@ module Aws::Bedrock
|
|
|
1870
1880
|
SENSITIVE: []
|
|
1871
1881
|
end
|
|
1872
1882
|
|
|
1883
|
+
class GraderConfig
|
|
1884
|
+
attr_accessor lambda_grader: Types::LambdaGraderConfig
|
|
1885
|
+
attr_accessor unknown: untyped
|
|
1886
|
+
SENSITIVE: []
|
|
1887
|
+
|
|
1888
|
+
class LambdaGrader < GraderConfig
|
|
1889
|
+
end
|
|
1890
|
+
class Unknown < GraderConfig
|
|
1891
|
+
end
|
|
1892
|
+
end
|
|
1893
|
+
|
|
1873
1894
|
class GuardrailAutomatedReasoningPolicy
|
|
1874
1895
|
attr_accessor policies: ::Array[::String]
|
|
1875
1896
|
attr_accessor confidence_threshold: ::Float
|
|
@@ -2265,6 +2286,11 @@ module Aws::Bedrock
|
|
|
2265
2286
|
SENSITIVE: [:filter]
|
|
2266
2287
|
end
|
|
2267
2288
|
|
|
2289
|
+
class LambdaGraderConfig
|
|
2290
|
+
attr_accessor lambda_arn: ::String
|
|
2291
|
+
SENSITIVE: []
|
|
2292
|
+
end
|
|
2293
|
+
|
|
2268
2294
|
class LegalTerm
|
|
2269
2295
|
attr_accessor url: ::String
|
|
2270
2296
|
SENSITIVE: []
|
|
@@ -2597,6 +2623,7 @@ module Aws::Bedrock
|
|
|
2597
2623
|
attr_accessor image_data_delivery_enabled: bool
|
|
2598
2624
|
attr_accessor embedding_data_delivery_enabled: bool
|
|
2599
2625
|
attr_accessor video_data_delivery_enabled: bool
|
|
2626
|
+
attr_accessor audio_data_delivery_enabled: bool
|
|
2600
2627
|
SENSITIVE: []
|
|
2601
2628
|
end
|
|
2602
2629
|
|
|
@@ -2662,7 +2689,7 @@ module Aws::Bedrock
|
|
|
2662
2689
|
attr_accessor end_time: ::Time
|
|
2663
2690
|
attr_accessor custom_model_arn: ::String
|
|
2664
2691
|
attr_accessor custom_model_name: ::String
|
|
2665
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
|
2692
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "REINFORCEMENT_FINE_TUNING" | "IMPORTED")
|
|
2666
2693
|
SENSITIVE: []
|
|
2667
2694
|
end
|
|
2668
2695
|
|
|
@@ -2859,6 +2886,24 @@ module Aws::Bedrock
|
|
|
2859
2886
|
end
|
|
2860
2887
|
end
|
|
2861
2888
|
|
|
2889
|
+
class RFTConfig
|
|
2890
|
+
attr_accessor grader_config: Types::GraderConfig
|
|
2891
|
+
attr_accessor hyper_parameters: Types::RFTHyperParameters
|
|
2892
|
+
SENSITIVE: []
|
|
2893
|
+
end
|
|
2894
|
+
|
|
2895
|
+
class RFTHyperParameters
|
|
2896
|
+
attr_accessor epoch_count: ::Integer
|
|
2897
|
+
attr_accessor batch_size: ::Integer
|
|
2898
|
+
attr_accessor learning_rate: ::Float
|
|
2899
|
+
attr_accessor max_prompt_length: ::Integer
|
|
2900
|
+
attr_accessor training_sample_per_prompt: ::Integer
|
|
2901
|
+
attr_accessor inference_max_tokens: ::Integer
|
|
2902
|
+
attr_accessor reasoning_effort: ("low" | "medium" | "high")
|
|
2903
|
+
attr_accessor eval_interval: ::Integer
|
|
2904
|
+
SENSITIVE: []
|
|
2905
|
+
end
|
|
2906
|
+
|
|
2862
2907
|
class RatingScaleItem
|
|
2863
2908
|
attr_accessor definition: ::String
|
|
2864
2909
|
attr_accessor value: Types::RatingScaleItemValue
|
|
@@ -3228,6 +3273,17 @@ module Aws::Bedrock
|
|
|
3228
3273
|
SENSITIVE: []
|
|
3229
3274
|
end
|
|
3230
3275
|
|
|
3276
|
+
class UpdateCustomModelDeploymentRequest
|
|
3277
|
+
attr_accessor model_arn: ::String
|
|
3278
|
+
attr_accessor custom_model_deployment_identifier: ::String
|
|
3279
|
+
SENSITIVE: []
|
|
3280
|
+
end
|
|
3281
|
+
|
|
3282
|
+
class UpdateCustomModelDeploymentResponse
|
|
3283
|
+
attr_accessor custom_model_deployment_arn: ::String
|
|
3284
|
+
SENSITIVE: []
|
|
3285
|
+
end
|
|
3286
|
+
|
|
3231
3287
|
class UpdateGuardrailRequest
|
|
3232
3288
|
attr_accessor guardrail_identifier: ::String
|
|
3233
3289
|
attr_accessor name: ::String
|