aws-sdk-bedrock 1.30.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs CHANGED
@@ -158,7 +158,7 @@ module Aws::Bedrock
158
158
  attr_accessor role_arn: ::String
159
159
  attr_accessor client_request_token: ::String
160
160
  attr_accessor base_model_identifier: ::String
161
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
161
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
162
162
  attr_accessor custom_model_kms_key_id: ::String
163
163
  attr_accessor job_tags: ::Array[Types::Tag]
164
164
  attr_accessor custom_model_tags: ::Array[Types::Tag]
@@ -167,6 +167,7 @@ module Aws::Bedrock
167
167
  attr_accessor output_data_config: Types::OutputDataConfig
168
168
  attr_accessor hyper_parameters: ::Hash[::String, ::String]
169
169
  attr_accessor vpc_config: Types::VpcConfig
170
+ attr_accessor customization_config: Types::CustomizationConfig
170
171
  SENSITIVE: []
171
172
  end
172
173
 
@@ -232,11 +233,22 @@ module Aws::Bedrock
232
233
  attr_accessor creation_time: ::Time
233
234
  attr_accessor base_model_arn: ::String
234
235
  attr_accessor base_model_name: ::String
235
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
236
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
236
237
  attr_accessor owner_account_id: ::String
237
238
  SENSITIVE: []
238
239
  end
239
240
 
241
+ class CustomizationConfig
242
+ attr_accessor distillation_config: Types::DistillationConfig
243
+ attr_accessor unknown: untyped
244
+ SENSITIVE: []
245
+
246
+ class DistillationConfig < CustomizationConfig
247
+ end
248
+ class Unknown < CustomizationConfig
249
+ end
250
+ end
251
+
240
252
  class DeleteCustomModelRequest
241
253
  attr_accessor model_identifier: ::String
242
254
  SENSITIVE: []
@@ -284,6 +296,11 @@ module Aws::Bedrock
284
296
  class DeleteProvisionedModelThroughputResponse < Aws::EmptyStructure
285
297
  end
286
298
 
299
+ class DistillationConfig
300
+ attr_accessor teacher_model_config: Types::TeacherModelConfig
301
+ SENSITIVE: []
302
+ end
303
+
287
304
  class EvaluationBedrockModel
288
305
  attr_accessor model_identifier: ::String
289
306
  attr_accessor inference_params: ::String
@@ -419,7 +436,7 @@ module Aws::Bedrock
419
436
  attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE" | "EMBEDDING")]
420
437
  attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE" | "EMBEDDING")]
421
438
  attr_accessor response_streaming_supported: bool
422
- attr_accessor customizations_supported: ::Array[("FINE_TUNING" | "CONTINUED_PRE_TRAINING")]
439
+ attr_accessor customizations_supported: ::Array[("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")]
423
440
  attr_accessor inference_types_supported: ::Array[("ON_DEMAND" | "PROVISIONED")]
424
441
  attr_accessor model_lifecycle: Types::FoundationModelLifecycle
425
442
  SENSITIVE: []
@@ -438,7 +455,7 @@ module Aws::Bedrock
438
455
  attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE" | "EMBEDDING")]
439
456
  attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE" | "EMBEDDING")]
440
457
  attr_accessor response_streaming_supported: bool
441
- attr_accessor customizations_supported: ::Array[("FINE_TUNING" | "CONTINUED_PRE_TRAINING")]
458
+ attr_accessor customizations_supported: ::Array[("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")]
442
459
  attr_accessor inference_types_supported: ::Array[("ON_DEMAND" | "PROVISIONED")]
443
460
  attr_accessor model_lifecycle: Types::FoundationModelLifecycle
444
461
  SENSITIVE: []
@@ -463,7 +480,7 @@ module Aws::Bedrock
463
480
  attr_accessor job_name: ::String
464
481
  attr_accessor job_arn: ::String
465
482
  attr_accessor base_model_arn: ::String
466
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
483
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
467
484
  attr_accessor model_kms_key_arn: ::String
468
485
  attr_accessor hyper_parameters: ::Hash[::String, ::String]
469
486
  attr_accessor training_data_config: Types::TrainingDataConfig
@@ -472,6 +489,7 @@ module Aws::Bedrock
472
489
  attr_accessor training_metrics: Types::TrainingMetrics
473
490
  attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
474
491
  attr_accessor creation_time: ::Time
492
+ attr_accessor customization_config: Types::CustomizationConfig
475
493
  SENSITIVE: []
476
494
  end
477
495
 
@@ -614,11 +632,12 @@ module Aws::Bedrock
614
632
  attr_accessor training_data_config: Types::TrainingDataConfig
615
633
  attr_accessor validation_data_config: Types::ValidationDataConfig
616
634
  attr_accessor output_data_config: Types::OutputDataConfig
617
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
635
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
618
636
  attr_accessor output_model_kms_key_arn: ::String
619
637
  attr_accessor training_metrics: Types::TrainingMetrics
620
638
  attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
621
639
  attr_accessor vpc_config: Types::VpcConfig
640
+ attr_accessor customization_config: Types::CustomizationConfig
622
641
  SENSITIVE: []
623
642
  end
624
643
 
@@ -923,6 +942,24 @@ module Aws::Bedrock
923
942
  SENSITIVE: []
924
943
  end
925
944
 
945
+ class InvocationLogSource
946
+ attr_accessor s3_uri: ::String
947
+ attr_accessor unknown: untyped
948
+ SENSITIVE: []
949
+
950
+ class S3Uri < InvocationLogSource
951
+ end
952
+ class Unknown < InvocationLogSource
953
+ end
954
+ end
955
+
956
+ class InvocationLogsConfig
957
+ attr_accessor use_prompt_response: bool
958
+ attr_accessor invocation_log_source: Types::InvocationLogSource
959
+ attr_accessor request_metadata_filters: Types::RequestMetadataFilters
960
+ SENSITIVE: []
961
+ end
962
+
926
963
  class KbInferenceConfig
927
964
  attr_accessor text_inference_config: Types::TextInferenceConfig
928
965
  SENSITIVE: []
@@ -1004,7 +1041,7 @@ module Aws::Bedrock
1004
1041
 
1005
1042
  class ListFoundationModelsRequest
1006
1043
  attr_accessor by_provider: ::String
1007
- attr_accessor by_customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
1044
+ attr_accessor by_customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
1008
1045
  attr_accessor by_output_modality: ("TEXT" | "IMAGE" | "EMBEDDING")
1009
1046
  attr_accessor by_inference_type: ("ON_DEMAND" | "PROVISIONED")
1010
1047
  SENSITIVE: []
@@ -1167,6 +1204,7 @@ module Aws::Bedrock
1167
1204
  attr_accessor text_data_delivery_enabled: bool
1168
1205
  attr_accessor image_data_delivery_enabled: bool
1169
1206
  attr_accessor embedding_data_delivery_enabled: bool
1207
+ attr_accessor video_data_delivery_enabled: bool
1170
1208
  SENSITIVE: []
1171
1209
  end
1172
1210
 
@@ -1195,7 +1233,7 @@ module Aws::Bedrock
1195
1233
  attr_accessor end_time: ::Time
1196
1234
  attr_accessor custom_model_arn: ::String
1197
1235
  attr_accessor custom_model_name: ::String
1198
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
1236
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
1199
1237
  SENSITIVE: []
1200
1238
  end
1201
1239
 
@@ -1332,6 +1370,32 @@ module Aws::Bedrock
1332
1370
  end
1333
1371
  end
1334
1372
 
1373
+ class RequestMetadataBaseFilters
1374
+ attr_accessor equals: ::Hash[::String, ::String]
1375
+ attr_accessor not_equals: ::Hash[::String, ::String]
1376
+ SENSITIVE: [:equals, :not_equals]
1377
+ end
1378
+
1379
+ class RequestMetadataFilters
1380
+ attr_accessor equals: ::Hash[::String, ::String]
1381
+ attr_accessor not_equals: ::Hash[::String, ::String]
1382
+ attr_accessor and_all: ::Array[Types::RequestMetadataBaseFilters]
1383
+ attr_accessor or_all: ::Array[Types::RequestMetadataBaseFilters]
1384
+ attr_accessor unknown: untyped
1385
+ SENSITIVE: [:equals, :not_equals]
1386
+
1387
+ class Equals < RequestMetadataFilters
1388
+ end
1389
+ class NotEquals < RequestMetadataFilters
1390
+ end
1391
+ class AndAll < RequestMetadataFilters
1392
+ end
1393
+ class OrAll < RequestMetadataFilters
1394
+ end
1395
+ class Unknown < RequestMetadataFilters
1396
+ end
1397
+ end
1398
+
1335
1399
  class ResourceNotFoundException
1336
1400
  attr_accessor message: ::String
1337
1401
  SENSITIVE: []
@@ -1457,6 +1521,12 @@ module Aws::Bedrock
1457
1521
  class TagResourceResponse < Aws::EmptyStructure
1458
1522
  end
1459
1523
 
1524
+ class TeacherModelConfig
1525
+ attr_accessor teacher_model_identifier: ::String
1526
+ attr_accessor max_response_length_for_inference: ::Integer
1527
+ SENSITIVE: []
1528
+ end
1529
+
1460
1530
  class TextInferenceConfig
1461
1531
  attr_accessor temperature: ::Float
1462
1532
  attr_accessor top_p: ::Float
@@ -1478,6 +1548,7 @@ module Aws::Bedrock
1478
1548
 
1479
1549
  class TrainingDataConfig
1480
1550
  attr_accessor s3_uri: ::String
1551
+ attr_accessor invocation_logs_config: Types::InvocationLogsConfig
1481
1552
  SENSITIVE: []
1482
1553
  end
1483
1554
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-02 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core