aws-sdk-bedrock 1.30.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +150 -18
- data/lib/aws-sdk-bedrock/client_api.rb +67 -3
- data/lib/aws-sdk-bedrock/types.rb +350 -8
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +40 -7
- data/sig/types.rbs +79 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 212710715f9e1a8632ffbef807febad685f9630d4568fbca8ccdb1924e8e25a1
|
4
|
+
data.tar.gz: d89c95d22347c4c5044bc1529d6102dc23fc01c844a5c8cb5ac533eec69e010f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18e37d241029eeabb4748f9d752e9b131016b020df0a9999e47515c5a039beabb2dc0606184df05a1f4c186e342e3bcf465a1f7c342613d44da2948e3da22f28
|
7
|
+
data.tar.gz: 107c7f0ec296b6de4a6e9b51e2a58e184e85e2f4b7f1a22b7104ae869f85b9468969b4644ad81a0c252c6e46a1d86a984aca39351aa82aa3d7cb93a7dd56bb91
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2024-12-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Tagging support for Async Invoke resources. Added support for Distillation in CreateModelCustomizationJob API. Support for videoDataDeliveryEnabled flag in invocation logging.
|
8
|
+
|
4
9
|
1.30.0 (2024-12-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -895,7 +895,7 @@ module Aws::Bedrock
|
|
895
895
|
# to be returned to the user if a user input or model response is in
|
896
896
|
# violation of the policies defined in the guardrail.
|
897
897
|
#
|
898
|
-
# For more information, see [
|
898
|
+
# For more information, see [Amazon Bedrock Guardrails][1] in the
|
899
899
|
# *Amazon Bedrock User Guide*.
|
900
900
|
#
|
901
901
|
#
|
@@ -1326,7 +1326,7 @@ module Aws::Bedrock
|
|
1326
1326
|
# @option params [required, Types::OutputDataConfig] :output_data_config
|
1327
1327
|
# S3 location for the output data.
|
1328
1328
|
#
|
1329
|
-
# @option params [
|
1329
|
+
# @option params [Hash<String,String>] :hyper_parameters
|
1330
1330
|
# Parameters related to tuning the model. For details on the format for
|
1331
1331
|
# different models, see [Custom model hyperparameters][1].
|
1332
1332
|
#
|
@@ -1343,6 +1343,9 @@ module Aws::Bedrock
|
|
1343
1343
|
#
|
1344
1344
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html
|
1345
1345
|
#
|
1346
|
+
# @option params [Types::CustomizationConfig] :customization_config
|
1347
|
+
# The customization configuration for the model customization job.
|
1348
|
+
#
|
1346
1349
|
# @return [Types::CreateModelCustomizationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1347
1350
|
#
|
1348
1351
|
# * {Types::CreateModelCustomizationJobResponse#job_arn #job_arn} => String
|
@@ -1355,7 +1358,7 @@ module Aws::Bedrock
|
|
1355
1358
|
# role_arn: "RoleArn", # required
|
1356
1359
|
# client_request_token: "IdempotencyToken",
|
1357
1360
|
# base_model_identifier: "BaseModelIdentifier", # required
|
1358
|
-
# customization_type: "FINE_TUNING", # accepts FINE_TUNING, CONTINUED_PRE_TRAINING
|
1361
|
+
# customization_type: "FINE_TUNING", # accepts FINE_TUNING, CONTINUED_PRE_TRAINING, DISTILLATION
|
1359
1362
|
# custom_model_kms_key_id: "KmsKeyId",
|
1360
1363
|
# job_tags: [
|
1361
1364
|
# {
|
@@ -1370,7 +1373,41 @@ module Aws::Bedrock
|
|
1370
1373
|
# },
|
1371
1374
|
# ],
|
1372
1375
|
# training_data_config: { # required
|
1373
|
-
# s3_uri: "S3Uri",
|
1376
|
+
# s3_uri: "S3Uri",
|
1377
|
+
# invocation_logs_config: {
|
1378
|
+
# use_prompt_response: false,
|
1379
|
+
# invocation_log_source: { # required
|
1380
|
+
# s3_uri: "S3Uri",
|
1381
|
+
# },
|
1382
|
+
# request_metadata_filters: {
|
1383
|
+
# equals: {
|
1384
|
+
# "RequestMetadataMapKeyString" => "RequestMetadataMapValueString",
|
1385
|
+
# },
|
1386
|
+
# not_equals: {
|
1387
|
+
# "RequestMetadataMapKeyString" => "RequestMetadataMapValueString",
|
1388
|
+
# },
|
1389
|
+
# and_all: [
|
1390
|
+
# {
|
1391
|
+
# equals: {
|
1392
|
+
# "RequestMetadataMapKeyString" => "RequestMetadataMapValueString",
|
1393
|
+
# },
|
1394
|
+
# not_equals: {
|
1395
|
+
# "RequestMetadataMapKeyString" => "RequestMetadataMapValueString",
|
1396
|
+
# },
|
1397
|
+
# },
|
1398
|
+
# ],
|
1399
|
+
# or_all: [
|
1400
|
+
# {
|
1401
|
+
# equals: {
|
1402
|
+
# "RequestMetadataMapKeyString" => "RequestMetadataMapValueString",
|
1403
|
+
# },
|
1404
|
+
# not_equals: {
|
1405
|
+
# "RequestMetadataMapKeyString" => "RequestMetadataMapValueString",
|
1406
|
+
# },
|
1407
|
+
# },
|
1408
|
+
# ],
|
1409
|
+
# },
|
1410
|
+
# },
|
1374
1411
|
# },
|
1375
1412
|
# validation_data_config: {
|
1376
1413
|
# validators: [ # required
|
@@ -1382,13 +1419,21 @@ module Aws::Bedrock
|
|
1382
1419
|
# output_data_config: { # required
|
1383
1420
|
# s3_uri: "S3Uri", # required
|
1384
1421
|
# },
|
1385
|
-
# hyper_parameters: {
|
1422
|
+
# hyper_parameters: {
|
1386
1423
|
# "String" => "String",
|
1387
1424
|
# },
|
1388
1425
|
# vpc_config: {
|
1389
1426
|
# subnet_ids: ["SubnetId"], # required
|
1390
1427
|
# security_group_ids: ["SecurityGroupId"], # required
|
1391
1428
|
# },
|
1429
|
+
# customization_config: {
|
1430
|
+
# distillation_config: {
|
1431
|
+
# teacher_model_config: { # required
|
1432
|
+
# teacher_model_identifier: "TeacherModelIdentifier", # required
|
1433
|
+
# max_response_length_for_inference: 1,
|
1434
|
+
# },
|
1435
|
+
# },
|
1436
|
+
# },
|
1392
1437
|
# })
|
1393
1438
|
#
|
1394
1439
|
# @example Response structure
|
@@ -1551,7 +1596,7 @@ module Aws::Bedrock
|
|
1551
1596
|
#
|
1552
1597
|
#
|
1553
1598
|
#
|
1554
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-
|
1599
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc
|
1555
1600
|
#
|
1556
1601
|
# @option params [Integer] :timeout_duration_in_hours
|
1557
1602
|
# The number of hours after which to force the batch inference job to
|
@@ -1917,6 +1962,7 @@ module Aws::Bedrock
|
|
1917
1962
|
# * {Types::GetCustomModelResponse#training_metrics #training_metrics} => Types::TrainingMetrics
|
1918
1963
|
# * {Types::GetCustomModelResponse#validation_metrics #validation_metrics} => Array<Types::ValidatorMetric>
|
1919
1964
|
# * {Types::GetCustomModelResponse#creation_time #creation_time} => Time
|
1965
|
+
# * {Types::GetCustomModelResponse#customization_config #customization_config} => Types::CustomizationConfig
|
1920
1966
|
#
|
1921
1967
|
# @example Request syntax with placeholder values
|
1922
1968
|
#
|
@@ -1931,11 +1977,27 @@ module Aws::Bedrock
|
|
1931
1977
|
# resp.job_name #=> String
|
1932
1978
|
# resp.job_arn #=> String
|
1933
1979
|
# resp.base_model_arn #=> String
|
1934
|
-
# resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING"
|
1980
|
+
# resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION"
|
1935
1981
|
# resp.model_kms_key_arn #=> String
|
1936
1982
|
# resp.hyper_parameters #=> Hash
|
1937
1983
|
# resp.hyper_parameters["String"] #=> String
|
1938
1984
|
# resp.training_data_config.s3_uri #=> String
|
1985
|
+
# resp.training_data_config.invocation_logs_config.use_prompt_response #=> Boolean
|
1986
|
+
# resp.training_data_config.invocation_logs_config.invocation_log_source.s3_uri #=> String
|
1987
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.equals #=> Hash
|
1988
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.equals["RequestMetadataMapKeyString"] #=> String
|
1989
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.not_equals #=> Hash
|
1990
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.not_equals["RequestMetadataMapKeyString"] #=> String
|
1991
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all #=> Array
|
1992
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all[0].equals #=> Hash
|
1993
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all[0].equals["RequestMetadataMapKeyString"] #=> String
|
1994
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all[0].not_equals #=> Hash
|
1995
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all[0].not_equals["RequestMetadataMapKeyString"] #=> String
|
1996
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all #=> Array
|
1997
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all[0].equals #=> Hash
|
1998
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all[0].equals["RequestMetadataMapKeyString"] #=> String
|
1999
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all[0].not_equals #=> Hash
|
2000
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all[0].not_equals["RequestMetadataMapKeyString"] #=> String
|
1939
2001
|
# resp.validation_data_config.validators #=> Array
|
1940
2002
|
# resp.validation_data_config.validators[0].s3_uri #=> String
|
1941
2003
|
# resp.output_data_config.s3_uri #=> String
|
@@ -1943,6 +2005,8 @@ module Aws::Bedrock
|
|
1943
2005
|
# resp.validation_metrics #=> Array
|
1944
2006
|
# resp.validation_metrics[0].validation_loss #=> Float
|
1945
2007
|
# resp.creation_time #=> Time
|
2008
|
+
# resp.customization_config.distillation_config.teacher_model_config.teacher_model_identifier #=> String
|
2009
|
+
# resp.customization_config.distillation_config.teacher_model_config.max_response_length_for_inference #=> Integer
|
1946
2010
|
#
|
1947
2011
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModel AWS API Documentation
|
1948
2012
|
#
|
@@ -2123,7 +2187,7 @@ module Aws::Bedrock
|
|
2123
2187
|
# resp.model_details.output_modalities[0] #=> String, one of "TEXT", "IMAGE", "EMBEDDING"
|
2124
2188
|
# resp.model_details.response_streaming_supported #=> Boolean
|
2125
2189
|
# resp.model_details.customizations_supported #=> Array
|
2126
|
-
# resp.model_details.customizations_supported[0] #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING"
|
2190
|
+
# resp.model_details.customizations_supported[0] #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION"
|
2127
2191
|
# resp.model_details.inference_types_supported #=> Array
|
2128
2192
|
# resp.model_details.inference_types_supported[0] #=> String, one of "ON_DEMAND", "PROVISIONED"
|
2129
2193
|
# resp.model_details.model_lifecycle.status #=> String, one of "ACTIVE", "LEGACY"
|
@@ -2416,6 +2480,7 @@ module Aws::Bedrock
|
|
2416
2480
|
# * {Types::GetModelCustomizationJobResponse#training_metrics #training_metrics} => Types::TrainingMetrics
|
2417
2481
|
# * {Types::GetModelCustomizationJobResponse#validation_metrics #validation_metrics} => Array<Types::ValidatorMetric>
|
2418
2482
|
# * {Types::GetModelCustomizationJobResponse#vpc_config #vpc_config} => Types::VpcConfig
|
2483
|
+
# * {Types::GetModelCustomizationJobResponse#customization_config #customization_config} => Types::CustomizationConfig
|
2419
2484
|
#
|
2420
2485
|
# @example Request syntax with placeholder values
|
2421
2486
|
#
|
@@ -2440,10 +2505,26 @@ module Aws::Bedrock
|
|
2440
2505
|
# resp.hyper_parameters #=> Hash
|
2441
2506
|
# resp.hyper_parameters["String"] #=> String
|
2442
2507
|
# resp.training_data_config.s3_uri #=> String
|
2508
|
+
# resp.training_data_config.invocation_logs_config.use_prompt_response #=> Boolean
|
2509
|
+
# resp.training_data_config.invocation_logs_config.invocation_log_source.s3_uri #=> String
|
2510
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.equals #=> Hash
|
2511
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.equals["RequestMetadataMapKeyString"] #=> String
|
2512
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.not_equals #=> Hash
|
2513
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.not_equals["RequestMetadataMapKeyString"] #=> String
|
2514
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all #=> Array
|
2515
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all[0].equals #=> Hash
|
2516
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all[0].equals["RequestMetadataMapKeyString"] #=> String
|
2517
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all[0].not_equals #=> Hash
|
2518
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.and_all[0].not_equals["RequestMetadataMapKeyString"] #=> String
|
2519
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all #=> Array
|
2520
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all[0].equals #=> Hash
|
2521
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all[0].equals["RequestMetadataMapKeyString"] #=> String
|
2522
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all[0].not_equals #=> Hash
|
2523
|
+
# resp.training_data_config.invocation_logs_config.request_metadata_filters.or_all[0].not_equals["RequestMetadataMapKeyString"] #=> String
|
2443
2524
|
# resp.validation_data_config.validators #=> Array
|
2444
2525
|
# resp.validation_data_config.validators[0].s3_uri #=> String
|
2445
2526
|
# resp.output_data_config.s3_uri #=> String
|
2446
|
-
# resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING"
|
2527
|
+
# resp.customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION"
|
2447
2528
|
# resp.output_model_kms_key_arn #=> String
|
2448
2529
|
# resp.training_metrics.training_loss #=> Float
|
2449
2530
|
# resp.validation_metrics #=> Array
|
@@ -2452,6 +2533,8 @@ module Aws::Bedrock
|
|
2452
2533
|
# resp.vpc_config.subnet_ids[0] #=> String
|
2453
2534
|
# resp.vpc_config.security_group_ids #=> Array
|
2454
2535
|
# resp.vpc_config.security_group_ids[0] #=> String
|
2536
|
+
# resp.customization_config.distillation_config.teacher_model_config.teacher_model_identifier #=> String
|
2537
|
+
# resp.customization_config.distillation_config.teacher_model_config.max_response_length_for_inference #=> Integer
|
2455
2538
|
#
|
2456
2539
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCustomizationJob AWS API Documentation
|
2457
2540
|
#
|
@@ -2525,11 +2608,11 @@ module Aws::Bedrock
|
|
2525
2608
|
end
|
2526
2609
|
|
2527
2610
|
# Gets details about a batch inference job. For more information, see
|
2528
|
-
# [
|
2611
|
+
# [Monitor batch inference jobs][1]
|
2529
2612
|
#
|
2530
2613
|
#
|
2531
2614
|
#
|
2532
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-
|
2615
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-monitor
|
2533
2616
|
#
|
2534
2617
|
# @option params [required, String] :job_identifier
|
2535
2618
|
# The Amazon Resource Name (ARN) of the batch inference job.
|
@@ -2609,6 +2692,7 @@ module Aws::Bedrock
|
|
2609
2692
|
# resp.logging_config.text_data_delivery_enabled #=> Boolean
|
2610
2693
|
# resp.logging_config.image_data_delivery_enabled #=> Boolean
|
2611
2694
|
# resp.logging_config.embedding_data_delivery_enabled #=> Boolean
|
2695
|
+
# resp.logging_config.video_data_delivery_enabled #=> Boolean
|
2612
2696
|
#
|
2613
2697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationLoggingConfiguration AWS API Documentation
|
2614
2698
|
#
|
@@ -2758,7 +2842,7 @@ module Aws::Bedrock
|
|
2758
2842
|
# resp.model_summaries[0].creation_time #=> Time
|
2759
2843
|
# resp.model_summaries[0].base_model_arn #=> String
|
2760
2844
|
# resp.model_summaries[0].base_model_name #=> String
|
2761
|
-
# resp.model_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING"
|
2845
|
+
# resp.model_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION"
|
2762
2846
|
# resp.model_summaries[0].owner_account_id #=> String
|
2763
2847
|
#
|
2764
2848
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModels AWS API Documentation
|
@@ -2896,7 +2980,7 @@ module Aws::Bedrock
|
|
2896
2980
|
#
|
2897
2981
|
# resp = client.list_foundation_models({
|
2898
2982
|
# by_provider: "Provider",
|
2899
|
-
# by_customization_type: "FINE_TUNING", # accepts FINE_TUNING, CONTINUED_PRE_TRAINING
|
2983
|
+
# by_customization_type: "FINE_TUNING", # accepts FINE_TUNING, CONTINUED_PRE_TRAINING, DISTILLATION
|
2900
2984
|
# by_output_modality: "TEXT", # accepts TEXT, IMAGE, EMBEDDING
|
2901
2985
|
# by_inference_type: "ON_DEMAND", # accepts ON_DEMAND, PROVISIONED
|
2902
2986
|
# })
|
@@ -2914,7 +2998,7 @@ module Aws::Bedrock
|
|
2914
2998
|
# resp.model_summaries[0].output_modalities[0] #=> String, one of "TEXT", "IMAGE", "EMBEDDING"
|
2915
2999
|
# resp.model_summaries[0].response_streaming_supported #=> Boolean
|
2916
3000
|
# resp.model_summaries[0].customizations_supported #=> Array
|
2917
|
-
# resp.model_summaries[0].customizations_supported[0] #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING"
|
3001
|
+
# resp.model_summaries[0].customizations_supported[0] #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION"
|
2918
3002
|
# resp.model_summaries[0].inference_types_supported #=> Array
|
2919
3003
|
# resp.model_summaries[0].inference_types_supported[0] #=> String, one of "ON_DEMAND", "PROVISIONED"
|
2920
3004
|
# resp.model_summaries[0].model_lifecycle.status #=> String, one of "ACTIVE", "LEGACY"
|
@@ -3308,7 +3392,7 @@ module Aws::Bedrock
|
|
3308
3392
|
# resp.model_customization_job_summaries[0].end_time #=> Time
|
3309
3393
|
# resp.model_customization_job_summaries[0].custom_model_arn #=> String
|
3310
3394
|
# resp.model_customization_job_summaries[0].custom_model_name #=> String
|
3311
|
-
# resp.model_customization_job_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING"
|
3395
|
+
# resp.model_customization_job_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING", "DISTILLATION"
|
3312
3396
|
#
|
3313
3397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCustomizationJobs AWS API Documentation
|
3314
3398
|
#
|
@@ -3407,7 +3491,7 @@ module Aws::Bedrock
|
|
3407
3491
|
#
|
3408
3492
|
#
|
3409
3493
|
#
|
3410
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-
|
3494
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-view.html
|
3411
3495
|
#
|
3412
3496
|
# @option params [Time,DateTime,Date,Integer,String] :submit_time_after
|
3413
3497
|
# Specify a time to filter for batch inference jobs that were submitted
|
@@ -3421,6 +3505,53 @@ module Aws::Bedrock
|
|
3421
3505
|
# Specify a status to filter for batch inference jobs whose statuses
|
3422
3506
|
# match the string you specify.
|
3423
3507
|
#
|
3508
|
+
# The following statuses are possible:
|
3509
|
+
#
|
3510
|
+
# * Submitted – This job has been submitted to a queue for validation.
|
3511
|
+
#
|
3512
|
+
# * Validating – This job is being validated for the requirements
|
3513
|
+
# described in [Format and upload your batch inference data][1]. The
|
3514
|
+
# criteria include the following:
|
3515
|
+
#
|
3516
|
+
# * Your IAM service role has access to the Amazon S3 buckets
|
3517
|
+
# containing your files.
|
3518
|
+
#
|
3519
|
+
# * Your files are .jsonl files and each individual record is a JSON
|
3520
|
+
# object in the correct format. Note that validation doesn't check
|
3521
|
+
# if the `modelInput` value matches the request body for the model.
|
3522
|
+
#
|
3523
|
+
# * Your files fulfill the requirements for file size and number of
|
3524
|
+
# records. For more information, see [Quotas for Amazon Bedrock][2].
|
3525
|
+
# * Scheduled – This job has been validated and is now in a queue. The
|
3526
|
+
# job will automatically start when it reaches its turn.
|
3527
|
+
#
|
3528
|
+
# * Expired – This job timed out because it was scheduled but didn't
|
3529
|
+
# begin before the set timeout duration. Submit a new job request.
|
3530
|
+
#
|
3531
|
+
# * InProgress – This job has begun. You can start viewing the results
|
3532
|
+
# in the output S3 location.
|
3533
|
+
#
|
3534
|
+
# * Completed – This job has successfully completed. View the output
|
3535
|
+
# files in the output S3 location.
|
3536
|
+
#
|
3537
|
+
# * PartiallyCompleted – This job has partially completed. Not all of
|
3538
|
+
# your records could be processed in time. View the output files in
|
3539
|
+
# the output S3 location.
|
3540
|
+
#
|
3541
|
+
# * Failed – This job has failed. Check the failure message for any
|
3542
|
+
# further details. For further assistance, reach out to the [Amazon
|
3543
|
+
# Web Services Support Center][3].
|
3544
|
+
#
|
3545
|
+
# * Stopped – This job was stopped by a user.
|
3546
|
+
#
|
3547
|
+
# * Stopping – This job is being stopped by a user.
|
3548
|
+
#
|
3549
|
+
#
|
3550
|
+
#
|
3551
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html
|
3552
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html
|
3553
|
+
# [3]: https://console.aws.amazon.com/support/home/
|
3554
|
+
#
|
3424
3555
|
# @option params [String] :name_contains
|
3425
3556
|
# Specify a string to filter for batch inference jobs whose names
|
3426
3557
|
# contain the string.
|
@@ -3657,6 +3788,7 @@ module Aws::Bedrock
|
|
3657
3788
|
# text_data_delivery_enabled: false,
|
3658
3789
|
# image_data_delivery_enabled: false,
|
3659
3790
|
# embedding_data_delivery_enabled: false,
|
3791
|
+
# video_data_delivery_enabled: false,
|
3660
3792
|
# },
|
3661
3793
|
# })
|
3662
3794
|
#
|
@@ -3725,7 +3857,7 @@ module Aws::Bedrock
|
|
3725
3857
|
#
|
3726
3858
|
#
|
3727
3859
|
#
|
3728
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-
|
3860
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-stop.html
|
3729
3861
|
#
|
3730
3862
|
# @option params [required, String] :job_identifier
|
3731
3863
|
# The Amazon Resource Name (ARN) of the batch inference job to stop.
|
@@ -4043,7 +4175,7 @@ module Aws::Bedrock
|
|
4043
4175
|
tracer: tracer
|
4044
4176
|
)
|
4045
4177
|
context[:gem_name] = 'aws-sdk-bedrock'
|
4046
|
-
context[:gem_version] = '1.
|
4178
|
+
context[:gem_version] = '1.31.0'
|
4047
4179
|
Seahorse::Client::Request.new(handlers, context)
|
4048
4180
|
end
|
4049
4181
|
|
@@ -63,6 +63,7 @@ module Aws::Bedrock
|
|
63
63
|
CustomModelName = Shapes::StringShape.new(name: 'CustomModelName')
|
64
64
|
CustomModelSummary = Shapes::StructureShape.new(name: 'CustomModelSummary')
|
65
65
|
CustomModelSummaryList = Shapes::ListShape.new(name: 'CustomModelSummaryList')
|
66
|
+
CustomizationConfig = Shapes::UnionShape.new(name: 'CustomizationConfig')
|
66
67
|
CustomizationType = Shapes::StringShape.new(name: 'CustomizationType')
|
67
68
|
DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
|
68
69
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
@@ -76,6 +77,7 @@ module Aws::Bedrock
|
|
76
77
|
DeleteModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationResponse')
|
77
78
|
DeleteProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputRequest')
|
78
79
|
DeleteProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputResponse')
|
80
|
+
DistillationConfig = Shapes::StructureShape.new(name: 'DistillationConfig')
|
79
81
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
80
82
|
ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
|
81
83
|
EvaluationBedrockModel = Shapes::StructureShape.new(name: 'EvaluationBedrockModel')
|
@@ -256,7 +258,10 @@ module Aws::Bedrock
|
|
256
258
|
InferenceType = Shapes::StringShape.new(name: 'InferenceType')
|
257
259
|
InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
|
258
260
|
InstructSupported = Shapes::BooleanShape.new(name: 'InstructSupported')
|
261
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
259
262
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
263
|
+
InvocationLogSource = Shapes::UnionShape.new(name: 'InvocationLogSource')
|
264
|
+
InvocationLogsConfig = Shapes::StructureShape.new(name: 'InvocationLogsConfig')
|
260
265
|
JobName = Shapes::StringShape.new(name: 'JobName')
|
261
266
|
KbInferenceConfig = Shapes::StructureShape.new(name: 'KbInferenceConfig')
|
262
267
|
KeyPrefix = Shapes::StringShape.new(name: 'KeyPrefix')
|
@@ -357,6 +362,12 @@ module Aws::Bedrock
|
|
357
362
|
RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
|
358
363
|
RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
|
359
364
|
RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
|
365
|
+
RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
|
366
|
+
RequestMetadataFilters = Shapes::UnionShape.new(name: 'RequestMetadataFilters')
|
367
|
+
RequestMetadataFiltersList = Shapes::ListShape.new(name: 'RequestMetadataFiltersList')
|
368
|
+
RequestMetadataMap = Shapes::MapShape.new(name: 'RequestMetadataMap')
|
369
|
+
RequestMetadataMapKeyString = Shapes::StringShape.new(name: 'RequestMetadataMapKeyString')
|
370
|
+
RequestMetadataMapValueString = Shapes::StringShape.new(name: 'RequestMetadataMapValueString')
|
360
371
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
361
372
|
RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
|
362
373
|
RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
|
@@ -395,6 +406,8 @@ module Aws::Bedrock
|
|
395
406
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
396
407
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
397
408
|
TaggableResourcesArn = Shapes::StringShape.new(name: 'TaggableResourcesArn')
|
409
|
+
TeacherModelConfig = Shapes::StructureShape.new(name: 'TeacherModelConfig')
|
410
|
+
TeacherModelIdentifier = Shapes::StringShape.new(name: 'TeacherModelIdentifier')
|
398
411
|
Temperature = Shapes::FloatShape.new(name: 'Temperature')
|
399
412
|
TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
|
400
413
|
TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
|
@@ -410,6 +423,7 @@ module Aws::Bedrock
|
|
410
423
|
UpdateGuardrailResponse = Shapes::StructureShape.new(name: 'UpdateGuardrailResponse')
|
411
424
|
UpdateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputRequest')
|
412
425
|
UpdateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputResponse')
|
426
|
+
UsePromptResponse = Shapes::BooleanShape.new(name: 'UsePromptResponse')
|
413
427
|
ValidationDataConfig = Shapes::StructureShape.new(name: 'ValidationDataConfig')
|
414
428
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
415
429
|
ValidationMetrics = Shapes::ListShape.new(name: 'ValidationMetrics')
|
@@ -544,8 +558,9 @@ module Aws::Bedrock
|
|
544
558
|
CreateModelCustomizationJobRequest.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, required: true, location_name: "trainingDataConfig"))
|
545
559
|
CreateModelCustomizationJobRequest.add_member(:validation_data_config, Shapes::ShapeRef.new(shape: ValidationDataConfig, location_name: "validationDataConfig"))
|
546
560
|
CreateModelCustomizationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "outputDataConfig"))
|
547
|
-
CreateModelCustomizationJobRequest.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters,
|
561
|
+
CreateModelCustomizationJobRequest.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, location_name: "hyperParameters"))
|
548
562
|
CreateModelCustomizationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
563
|
+
CreateModelCustomizationJobRequest.add_member(:customization_config, Shapes::ShapeRef.new(shape: CustomizationConfig, location_name: "customizationConfig"))
|
549
564
|
CreateModelCustomizationJobRequest.struct_class = Types::CreateModelCustomizationJobRequest
|
550
565
|
|
551
566
|
CreateModelCustomizationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
@@ -601,6 +616,12 @@ module Aws::Bedrock
|
|
601
616
|
|
602
617
|
CustomModelSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelSummary)
|
603
618
|
|
619
|
+
CustomizationConfig.add_member(:distillation_config, Shapes::ShapeRef.new(shape: DistillationConfig, location_name: "distillationConfig"))
|
620
|
+
CustomizationConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
621
|
+
CustomizationConfig.add_member_subclass(:distillation_config, Types::CustomizationConfig::DistillationConfig)
|
622
|
+
CustomizationConfig.add_member_subclass(:unknown, Types::CustomizationConfig::Unknown)
|
623
|
+
CustomizationConfig.struct_class = Types::CustomizationConfig
|
624
|
+
|
604
625
|
DeleteCustomModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
605
626
|
DeleteCustomModelRequest.struct_class = Types::DeleteCustomModelRequest
|
606
627
|
|
@@ -631,6 +652,9 @@ module Aws::Bedrock
|
|
631
652
|
|
632
653
|
DeleteProvisionedModelThroughputResponse.struct_class = Types::DeleteProvisionedModelThroughputResponse
|
633
654
|
|
655
|
+
DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
|
656
|
+
DistillationConfig.struct_class = Types::DistillationConfig
|
657
|
+
|
634
658
|
ErrorMessages.member = Shapes::ShapeRef.new(shape: ErrorMessage)
|
635
659
|
|
636
660
|
EvaluationBedrockModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluationModelIdentifier, required: true, location_name: "modelIdentifier"))
|
@@ -785,6 +809,7 @@ module Aws::Bedrock
|
|
785
809
|
GetCustomModelResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
|
786
810
|
GetCustomModelResponse.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: ValidationMetrics, location_name: "validationMetrics"))
|
787
811
|
GetCustomModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
812
|
+
GetCustomModelResponse.add_member(:customization_config, Shapes::ShapeRef.new(shape: CustomizationConfig, location_name: "customizationConfig"))
|
788
813
|
GetCustomModelResponse.struct_class = Types::GetCustomModelResponse
|
789
814
|
|
790
815
|
GetEvaluationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
@@ -895,7 +920,7 @@ module Aws::Bedrock
|
|
895
920
|
GetModelCustomizationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
896
921
|
GetModelCustomizationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
897
922
|
GetModelCustomizationJobResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, required: true, location_name: "baseModelArn"))
|
898
|
-
GetModelCustomizationJobResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters,
|
923
|
+
GetModelCustomizationJobResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, location_name: "hyperParameters"))
|
899
924
|
GetModelCustomizationJobResponse.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, required: true, location_name: "trainingDataConfig"))
|
900
925
|
GetModelCustomizationJobResponse.add_member(:validation_data_config, Shapes::ShapeRef.new(shape: ValidationDataConfig, required: true, location_name: "validationDataConfig"))
|
901
926
|
GetModelCustomizationJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "outputDataConfig"))
|
@@ -904,6 +929,7 @@ module Aws::Bedrock
|
|
904
929
|
GetModelCustomizationJobResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
|
905
930
|
GetModelCustomizationJobResponse.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: ValidationMetrics, location_name: "validationMetrics"))
|
906
931
|
GetModelCustomizationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
932
|
+
GetModelCustomizationJobResponse.add_member(:customization_config, Shapes::ShapeRef.new(shape: CustomizationConfig, location_name: "customizationConfig"))
|
907
933
|
GetModelCustomizationJobResponse.struct_class = Types::GetModelCustomizationJobResponse
|
908
934
|
|
909
935
|
GetModelImportJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelImportJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
@@ -1167,6 +1193,17 @@ module Aws::Bedrock
|
|
1167
1193
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
1168
1194
|
InternalServerException.struct_class = Types::InternalServerException
|
1169
1195
|
|
1196
|
+
InvocationLogSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "s3Uri"))
|
1197
|
+
InvocationLogSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1198
|
+
InvocationLogSource.add_member_subclass(:s3_uri, Types::InvocationLogSource::S3Uri)
|
1199
|
+
InvocationLogSource.add_member_subclass(:unknown, Types::InvocationLogSource::Unknown)
|
1200
|
+
InvocationLogSource.struct_class = Types::InvocationLogSource
|
1201
|
+
|
1202
|
+
InvocationLogsConfig.add_member(:use_prompt_response, Shapes::ShapeRef.new(shape: UsePromptResponse, location_name: "usePromptResponse"))
|
1203
|
+
InvocationLogsConfig.add_member(:invocation_log_source, Shapes::ShapeRef.new(shape: InvocationLogSource, required: true, location_name: "invocationLogSource"))
|
1204
|
+
InvocationLogsConfig.add_member(:request_metadata_filters, Shapes::ShapeRef.new(shape: RequestMetadataFilters, location_name: "requestMetadataFilters"))
|
1205
|
+
InvocationLogsConfig.struct_class = Types::InvocationLogsConfig
|
1206
|
+
|
1170
1207
|
KbInferenceConfig.add_member(:text_inference_config, Shapes::ShapeRef.new(shape: TextInferenceConfig, location_name: "textInferenceConfig"))
|
1171
1208
|
KbInferenceConfig.struct_class = Types::KbInferenceConfig
|
1172
1209
|
|
@@ -1348,6 +1385,7 @@ module Aws::Bedrock
|
|
1348
1385
|
LoggingConfig.add_member(:text_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "textDataDeliveryEnabled"))
|
1349
1386
|
LoggingConfig.add_member(:image_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "imageDataDeliveryEnabled"))
|
1350
1387
|
LoggingConfig.add_member(:embedding_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "embeddingDataDeliveryEnabled"))
|
1388
|
+
LoggingConfig.add_member(:video_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "videoDataDeliveryEnabled"))
|
1351
1389
|
LoggingConfig.struct_class = Types::LoggingConfig
|
1352
1390
|
|
1353
1391
|
ModelCopyJobSummaries.member = Shapes::ShapeRef.new(shape: ModelCopyJobSummary)
|
@@ -1490,6 +1528,27 @@ module Aws::Bedrock
|
|
1490
1528
|
|
1491
1529
|
RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
|
1492
1530
|
|
1531
|
+
RequestMetadataBaseFilters.add_member(:equals, Shapes::ShapeRef.new(shape: RequestMetadataMap, location_name: "equals"))
|
1532
|
+
RequestMetadataBaseFilters.add_member(:not_equals, Shapes::ShapeRef.new(shape: RequestMetadataMap, location_name: "notEquals"))
|
1533
|
+
RequestMetadataBaseFilters.struct_class = Types::RequestMetadataBaseFilters
|
1534
|
+
|
1535
|
+
RequestMetadataFilters.add_member(:equals, Shapes::ShapeRef.new(shape: RequestMetadataMap, location_name: "equals"))
|
1536
|
+
RequestMetadataFilters.add_member(:not_equals, Shapes::ShapeRef.new(shape: RequestMetadataMap, location_name: "notEquals"))
|
1537
|
+
RequestMetadataFilters.add_member(:and_all, Shapes::ShapeRef.new(shape: RequestMetadataFiltersList, location_name: "andAll"))
|
1538
|
+
RequestMetadataFilters.add_member(:or_all, Shapes::ShapeRef.new(shape: RequestMetadataFiltersList, location_name: "orAll"))
|
1539
|
+
RequestMetadataFilters.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1540
|
+
RequestMetadataFilters.add_member_subclass(:equals, Types::RequestMetadataFilters::Equals)
|
1541
|
+
RequestMetadataFilters.add_member_subclass(:not_equals, Types::RequestMetadataFilters::NotEquals)
|
1542
|
+
RequestMetadataFilters.add_member_subclass(:and_all, Types::RequestMetadataFilters::AndAll)
|
1543
|
+
RequestMetadataFilters.add_member_subclass(:or_all, Types::RequestMetadataFilters::OrAll)
|
1544
|
+
RequestMetadataFilters.add_member_subclass(:unknown, Types::RequestMetadataFilters::Unknown)
|
1545
|
+
RequestMetadataFilters.struct_class = Types::RequestMetadataFilters
|
1546
|
+
|
1547
|
+
RequestMetadataFiltersList.member = Shapes::ShapeRef.new(shape: RequestMetadataBaseFilters)
|
1548
|
+
|
1549
|
+
RequestMetadataMap.key = Shapes::ShapeRef.new(shape: RequestMetadataMapKeyString)
|
1550
|
+
RequestMetadataMap.value = Shapes::ShapeRef.new(shape: RequestMetadataMapValueString)
|
1551
|
+
|
1493
1552
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
1494
1553
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1495
1554
|
|
@@ -1580,6 +1639,10 @@ module Aws::Bedrock
|
|
1580
1639
|
|
1581
1640
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1582
1641
|
|
1642
|
+
TeacherModelConfig.add_member(:teacher_model_identifier, Shapes::ShapeRef.new(shape: TeacherModelIdentifier, required: true, location_name: "teacherModelIdentifier"))
|
1643
|
+
TeacherModelConfig.add_member(:max_response_length_for_inference, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResponseLengthForInference"))
|
1644
|
+
TeacherModelConfig.struct_class = Types::TeacherModelConfig
|
1645
|
+
|
1583
1646
|
TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
1584
1647
|
TextInferenceConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
1585
1648
|
TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
@@ -1593,7 +1656,8 @@ module Aws::Bedrock
|
|
1593
1656
|
TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: TaggableResourcesArn, location_name: "resourceName"))
|
1594
1657
|
TooManyTagsException.struct_class = Types::TooManyTagsException
|
1595
1658
|
|
1596
|
-
TrainingDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri,
|
1659
|
+
TrainingDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "s3Uri"))
|
1660
|
+
TrainingDataConfig.add_member(:invocation_logs_config, Shapes::ShapeRef.new(shape: InvocationLogsConfig, location_name: "invocationLogsConfig"))
|
1597
1661
|
TrainingDataConfig.struct_class = Types::TrainingDataConfig
|
1598
1662
|
|
1599
1663
|
TrainingMetrics.add_member(:training_loss, Shapes::ShapeRef.new(shape: MetricFloat, location_name: "trainingLoss"))
|