aws-sdk-bedrock 1.46.0 → 1.56.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 +52 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +786 -18
- data/lib/aws-sdk-bedrock/client_api.rb +438 -7
- data/lib/aws-sdk-bedrock/plugins/bearer_authorization.rb +27 -0
- data/lib/aws-sdk-bedrock/types.rb +1119 -22
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +249 -9
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +288 -7
- metadata +5 -4
data/sig/types.rbs
CHANGED
@@ -13,6 +13,12 @@ module Aws::Bedrock
|
|
13
13
|
SENSITIVE: []
|
14
14
|
end
|
15
15
|
|
16
|
+
class AgreementAvailability
|
17
|
+
attr_accessor status: ("AVAILABLE" | "PENDING" | "NOT_AVAILABLE" | "ERROR")
|
18
|
+
attr_accessor error_message: ::String
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
16
22
|
class AutomatedEvaluationConfig
|
17
23
|
attr_accessor dataset_metric_configs: ::Array[Types::EvaluationDatasetMetricConfig]
|
18
24
|
attr_accessor evaluator_model_config: Types::EvaluatorModelConfig
|
@@ -85,6 +91,35 @@ module Aws::Bedrock
|
|
85
91
|
SENSITIVE: []
|
86
92
|
end
|
87
93
|
|
94
|
+
class CreateCustomModelDeploymentRequest
|
95
|
+
attr_accessor model_deployment_name: ::String
|
96
|
+
attr_accessor model_arn: ::String
|
97
|
+
attr_accessor description: ::String
|
98
|
+
attr_accessor tags: ::Array[Types::Tag]
|
99
|
+
attr_accessor client_request_token: ::String
|
100
|
+
SENSITIVE: []
|
101
|
+
end
|
102
|
+
|
103
|
+
class CreateCustomModelDeploymentResponse
|
104
|
+
attr_accessor custom_model_deployment_arn: ::String
|
105
|
+
SENSITIVE: []
|
106
|
+
end
|
107
|
+
|
108
|
+
class CreateCustomModelRequest
|
109
|
+
attr_accessor model_name: ::String
|
110
|
+
attr_accessor model_source_config: Types::ModelDataSource
|
111
|
+
attr_accessor model_kms_key_arn: ::String
|
112
|
+
attr_accessor role_arn: ::String
|
113
|
+
attr_accessor model_tags: ::Array[Types::Tag]
|
114
|
+
attr_accessor client_request_token: ::String
|
115
|
+
SENSITIVE: []
|
116
|
+
end
|
117
|
+
|
118
|
+
class CreateCustomModelResponse
|
119
|
+
attr_accessor model_arn: ::String
|
120
|
+
SENSITIVE: []
|
121
|
+
end
|
122
|
+
|
88
123
|
class CreateEvaluationJobRequest
|
89
124
|
attr_accessor job_name: ::String
|
90
125
|
attr_accessor job_description: ::String
|
@@ -104,6 +139,17 @@ module Aws::Bedrock
|
|
104
139
|
SENSITIVE: []
|
105
140
|
end
|
106
141
|
|
142
|
+
class CreateFoundationModelAgreementRequest
|
143
|
+
attr_accessor offer_token: ::String
|
144
|
+
attr_accessor model_id: ::String
|
145
|
+
SENSITIVE: []
|
146
|
+
end
|
147
|
+
|
148
|
+
class CreateFoundationModelAgreementResponse
|
149
|
+
attr_accessor model_id: ::String
|
150
|
+
SENSITIVE: []
|
151
|
+
end
|
152
|
+
|
107
153
|
class CreateGuardrailRequest
|
108
154
|
attr_accessor name: ::String
|
109
155
|
attr_accessor description: ::String
|
@@ -192,7 +238,7 @@ module Aws::Bedrock
|
|
192
238
|
attr_accessor role_arn: ::String
|
193
239
|
attr_accessor client_request_token: ::String
|
194
240
|
attr_accessor base_model_identifier: ::String
|
195
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
|
241
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
196
242
|
attr_accessor custom_model_kms_key_id: ::String
|
197
243
|
attr_accessor job_tags: ::Array[Types::Tag]
|
198
244
|
attr_accessor custom_model_tags: ::Array[Types::Tag]
|
@@ -294,14 +340,26 @@ module Aws::Bedrock
|
|
294
340
|
SENSITIVE: []
|
295
341
|
end
|
296
342
|
|
343
|
+
class CustomModelDeploymentSummary
|
344
|
+
attr_accessor custom_model_deployment_arn: ::String
|
345
|
+
attr_accessor custom_model_deployment_name: ::String
|
346
|
+
attr_accessor model_arn: ::String
|
347
|
+
attr_accessor created_at: ::Time
|
348
|
+
attr_accessor status: ("Creating" | "Active" | "Failed")
|
349
|
+
attr_accessor last_updated_at: ::Time
|
350
|
+
attr_accessor failure_message: ::String
|
351
|
+
SENSITIVE: []
|
352
|
+
end
|
353
|
+
|
297
354
|
class CustomModelSummary
|
298
355
|
attr_accessor model_arn: ::String
|
299
356
|
attr_accessor model_name: ::String
|
300
357
|
attr_accessor creation_time: ::Time
|
301
358
|
attr_accessor base_model_arn: ::String
|
302
359
|
attr_accessor base_model_name: ::String
|
303
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
|
360
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
304
361
|
attr_accessor owner_account_id: ::String
|
362
|
+
attr_accessor model_status: ("Active" | "Creating" | "Failed")
|
305
363
|
SENSITIVE: []
|
306
364
|
end
|
307
365
|
|
@@ -329,6 +387,14 @@ module Aws::Bedrock
|
|
329
387
|
SENSITIVE: []
|
330
388
|
end
|
331
389
|
|
390
|
+
class DeleteCustomModelDeploymentRequest
|
391
|
+
attr_accessor custom_model_deployment_identifier: ::String
|
392
|
+
SENSITIVE: []
|
393
|
+
end
|
394
|
+
|
395
|
+
class DeleteCustomModelDeploymentResponse < Aws::EmptyStructure
|
396
|
+
end
|
397
|
+
|
332
398
|
class DeleteCustomModelRequest
|
333
399
|
attr_accessor model_identifier: ::String
|
334
400
|
SENSITIVE: []
|
@@ -337,6 +403,14 @@ module Aws::Bedrock
|
|
337
403
|
class DeleteCustomModelResponse < Aws::EmptyStructure
|
338
404
|
end
|
339
405
|
|
406
|
+
class DeleteFoundationModelAgreementRequest
|
407
|
+
attr_accessor model_id: ::String
|
408
|
+
SENSITIVE: []
|
409
|
+
end
|
410
|
+
|
411
|
+
class DeleteFoundationModelAgreementResponse < Aws::EmptyStructure
|
412
|
+
end
|
413
|
+
|
340
414
|
class DeleteGuardrailRequest
|
341
415
|
attr_accessor guardrail_identifier: ::String
|
342
416
|
attr_accessor guardrail_version: ::String
|
@@ -400,6 +474,14 @@ module Aws::Bedrock
|
|
400
474
|
class DeregisterMarketplaceModelEndpointResponse < Aws::EmptyStructure
|
401
475
|
end
|
402
476
|
|
477
|
+
class DimensionalPriceRate
|
478
|
+
attr_accessor dimension: ::String
|
479
|
+
attr_accessor price: ::String
|
480
|
+
attr_accessor description: ::String
|
481
|
+
attr_accessor unit: ::String
|
482
|
+
SENSITIVE: []
|
483
|
+
end
|
484
|
+
|
403
485
|
class DistillationConfig
|
404
486
|
attr_accessor teacher_model_config: Types::TeacherModelConfig
|
405
487
|
SENSITIVE: []
|
@@ -590,6 +672,11 @@ module Aws::Bedrock
|
|
590
672
|
SENSITIVE: []
|
591
673
|
end
|
592
674
|
|
675
|
+
class FieldForReranking
|
676
|
+
attr_accessor field_name: ::String
|
677
|
+
SENSITIVE: []
|
678
|
+
end
|
679
|
+
|
593
680
|
class FilterAttribute
|
594
681
|
attr_accessor key: ::String
|
595
682
|
attr_accessor value: untyped
|
@@ -637,6 +724,23 @@ module Aws::Bedrock
|
|
637
724
|
SENSITIVE: []
|
638
725
|
end
|
639
726
|
|
727
|
+
class GetCustomModelDeploymentRequest
|
728
|
+
attr_accessor custom_model_deployment_identifier: ::String
|
729
|
+
SENSITIVE: []
|
730
|
+
end
|
731
|
+
|
732
|
+
class GetCustomModelDeploymentResponse
|
733
|
+
attr_accessor custom_model_deployment_arn: ::String
|
734
|
+
attr_accessor model_deployment_name: ::String
|
735
|
+
attr_accessor model_arn: ::String
|
736
|
+
attr_accessor created_at: ::Time
|
737
|
+
attr_accessor status: ("Creating" | "Active" | "Failed")
|
738
|
+
attr_accessor description: ::String
|
739
|
+
attr_accessor failure_message: ::String
|
740
|
+
attr_accessor last_updated_at: ::Time
|
741
|
+
SENSITIVE: []
|
742
|
+
end
|
743
|
+
|
640
744
|
class GetCustomModelRequest
|
641
745
|
attr_accessor model_identifier: ::String
|
642
746
|
SENSITIVE: []
|
@@ -648,7 +752,7 @@ module Aws::Bedrock
|
|
648
752
|
attr_accessor job_name: ::String
|
649
753
|
attr_accessor job_arn: ::String
|
650
754
|
attr_accessor base_model_arn: ::String
|
651
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
|
755
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
652
756
|
attr_accessor model_kms_key_arn: ::String
|
653
757
|
attr_accessor hyper_parameters: ::Hash[::String, ::String]
|
654
758
|
attr_accessor training_data_config: Types::TrainingDataConfig
|
@@ -658,6 +762,8 @@ module Aws::Bedrock
|
|
658
762
|
attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
|
659
763
|
attr_accessor creation_time: ::Time
|
660
764
|
attr_accessor customization_config: Types::CustomizationConfig
|
765
|
+
attr_accessor model_status: ("Active" | "Creating" | "Failed")
|
766
|
+
attr_accessor failure_message: ::String
|
661
767
|
SENSITIVE: []
|
662
768
|
end
|
663
769
|
|
@@ -684,6 +790,20 @@ module Aws::Bedrock
|
|
684
790
|
SENSITIVE: [:job_description]
|
685
791
|
end
|
686
792
|
|
793
|
+
class GetFoundationModelAvailabilityRequest
|
794
|
+
attr_accessor model_id: ::String
|
795
|
+
SENSITIVE: []
|
796
|
+
end
|
797
|
+
|
798
|
+
class GetFoundationModelAvailabilityResponse
|
799
|
+
attr_accessor model_id: ::String
|
800
|
+
attr_accessor agreement_availability: Types::AgreementAvailability
|
801
|
+
attr_accessor authorization_status: ("AUTHORIZED" | "NOT_AUTHORIZED")
|
802
|
+
attr_accessor entitlement_availability: ("AVAILABLE" | "NOT_AVAILABLE")
|
803
|
+
attr_accessor region_availability: ("AVAILABLE" | "NOT_AVAILABLE")
|
804
|
+
SENSITIVE: []
|
805
|
+
end
|
806
|
+
|
687
807
|
class GetFoundationModelRequest
|
688
808
|
attr_accessor model_identifier: ::String
|
689
809
|
SENSITIVE: []
|
@@ -803,8 +923,8 @@ module Aws::Bedrock
|
|
803
923
|
attr_accessor client_request_token: ::String
|
804
924
|
attr_accessor role_arn: ::String
|
805
925
|
attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
806
|
-
attr_accessor failure_message: ::String
|
807
926
|
attr_accessor status_details: Types::StatusDetails
|
927
|
+
attr_accessor failure_message: ::String
|
808
928
|
attr_accessor creation_time: ::Time
|
809
929
|
attr_accessor last_modified_time: ::Time
|
810
930
|
attr_accessor end_time: ::Time
|
@@ -813,7 +933,7 @@ module Aws::Bedrock
|
|
813
933
|
attr_accessor training_data_config: Types::TrainingDataConfig
|
814
934
|
attr_accessor validation_data_config: Types::ValidationDataConfig
|
815
935
|
attr_accessor output_data_config: Types::OutputDataConfig
|
816
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
|
936
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
817
937
|
attr_accessor output_model_kms_key_arn: ::String
|
818
938
|
attr_accessor training_metrics: Types::TrainingMetrics
|
819
939
|
attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
|
@@ -917,6 +1037,14 @@ module Aws::Bedrock
|
|
917
1037
|
SENSITIVE: []
|
918
1038
|
end
|
919
1039
|
|
1040
|
+
class GetUseCaseForModelAccessRequest < Aws::EmptyStructure
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
class GetUseCaseForModelAccessResponse
|
1044
|
+
attr_accessor form_data: ::String
|
1045
|
+
SENSITIVE: []
|
1046
|
+
end
|
1047
|
+
|
920
1048
|
class GuardrailConfiguration
|
921
1049
|
attr_accessor guardrail_id: ::String
|
922
1050
|
attr_accessor guardrail_version: ::String
|
@@ -949,13 +1077,25 @@ module Aws::Bedrock
|
|
949
1077
|
SENSITIVE: [:input_action, :output_action]
|
950
1078
|
end
|
951
1079
|
|
1080
|
+
class GuardrailContentFiltersTier
|
1081
|
+
attr_accessor tier_name: ("CLASSIC" | "STANDARD")
|
1082
|
+
SENSITIVE: [:tier_name]
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
class GuardrailContentFiltersTierConfig
|
1086
|
+
attr_accessor tier_name: ("CLASSIC" | "STANDARD")
|
1087
|
+
SENSITIVE: [:tier_name]
|
1088
|
+
end
|
1089
|
+
|
952
1090
|
class GuardrailContentPolicy
|
953
1091
|
attr_accessor filters: ::Array[Types::GuardrailContentFilter]
|
1092
|
+
attr_accessor tier: Types::GuardrailContentFiltersTier
|
954
1093
|
SENSITIVE: []
|
955
1094
|
end
|
956
1095
|
|
957
1096
|
class GuardrailContentPolicyConfig
|
958
1097
|
attr_accessor filters_config: ::Array[Types::GuardrailContentFilterConfig]
|
1098
|
+
attr_accessor tier_config: Types::GuardrailContentFiltersTierConfig
|
959
1099
|
SENSITIVE: []
|
960
1100
|
end
|
961
1101
|
|
@@ -1109,14 +1249,26 @@ module Aws::Bedrock
|
|
1109
1249
|
|
1110
1250
|
class GuardrailTopicPolicy
|
1111
1251
|
attr_accessor topics: ::Array[Types::GuardrailTopic]
|
1252
|
+
attr_accessor tier: Types::GuardrailTopicsTier
|
1112
1253
|
SENSITIVE: []
|
1113
1254
|
end
|
1114
1255
|
|
1115
1256
|
class GuardrailTopicPolicyConfig
|
1116
1257
|
attr_accessor topics_config: ::Array[Types::GuardrailTopicConfig]
|
1258
|
+
attr_accessor tier_config: Types::GuardrailTopicsTierConfig
|
1117
1259
|
SENSITIVE: []
|
1118
1260
|
end
|
1119
1261
|
|
1262
|
+
class GuardrailTopicsTier
|
1263
|
+
attr_accessor tier_name: ("CLASSIC" | "STANDARD")
|
1264
|
+
SENSITIVE: [:tier_name]
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
class GuardrailTopicsTierConfig
|
1268
|
+
attr_accessor tier_name: ("CLASSIC" | "STANDARD")
|
1269
|
+
SENSITIVE: [:tier_name]
|
1270
|
+
end
|
1271
|
+
|
1120
1272
|
class GuardrailWord
|
1121
1273
|
attr_accessor text: ::String
|
1122
1274
|
attr_accessor input_action: ("BLOCK" | "NONE")
|
@@ -1167,6 +1319,12 @@ module Aws::Bedrock
|
|
1167
1319
|
SENSITIVE: [:instructions]
|
1168
1320
|
end
|
1169
1321
|
|
1322
|
+
class ImplicitFilterConfiguration
|
1323
|
+
attr_accessor metadata_attributes: ::Array[Types::MetadataAttributeSchema]
|
1324
|
+
attr_accessor model_arn: ::String
|
1325
|
+
SENSITIVE: []
|
1326
|
+
end
|
1327
|
+
|
1170
1328
|
class ImportedModelSummary
|
1171
1329
|
attr_accessor model_arn: ::String
|
1172
1330
|
attr_accessor model_name: ::String
|
@@ -1265,9 +1423,35 @@ module Aws::Bedrock
|
|
1265
1423
|
attr_accessor number_of_results: ::Integer
|
1266
1424
|
attr_accessor override_search_type: ("HYBRID" | "SEMANTIC")
|
1267
1425
|
attr_accessor filter: Types::RetrievalFilter
|
1426
|
+
attr_accessor implicit_filter_configuration: Types::ImplicitFilterConfiguration
|
1427
|
+
attr_accessor reranking_configuration: Types::VectorSearchRerankingConfiguration
|
1268
1428
|
SENSITIVE: [:filter]
|
1269
1429
|
end
|
1270
1430
|
|
1431
|
+
class LegalTerm
|
1432
|
+
attr_accessor url: ::String
|
1433
|
+
SENSITIVE: []
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
class ListCustomModelDeploymentsRequest
|
1437
|
+
attr_accessor created_before: ::Time
|
1438
|
+
attr_accessor created_after: ::Time
|
1439
|
+
attr_accessor name_contains: ::String
|
1440
|
+
attr_accessor max_results: ::Integer
|
1441
|
+
attr_accessor next_token: ::String
|
1442
|
+
attr_accessor sort_by: ("CreationTime")
|
1443
|
+
attr_accessor sort_order: ("Ascending" | "Descending")
|
1444
|
+
attr_accessor status_equals: ("Creating" | "Active" | "Failed")
|
1445
|
+
attr_accessor model_arn_equals: ::String
|
1446
|
+
SENSITIVE: []
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
class ListCustomModelDeploymentsResponse
|
1450
|
+
attr_accessor next_token: ::String
|
1451
|
+
attr_accessor model_deployment_summaries: ::Array[Types::CustomModelDeploymentSummary]
|
1452
|
+
SENSITIVE: []
|
1453
|
+
end
|
1454
|
+
|
1271
1455
|
class ListCustomModelsRequest
|
1272
1456
|
attr_accessor creation_time_before: ::Time
|
1273
1457
|
attr_accessor creation_time_after: ::Time
|
@@ -1279,6 +1463,7 @@ module Aws::Bedrock
|
|
1279
1463
|
attr_accessor sort_by: ("CreationTime")
|
1280
1464
|
attr_accessor sort_order: ("Ascending" | "Descending")
|
1281
1465
|
attr_accessor is_owned: bool
|
1466
|
+
attr_accessor model_status: ("Active" | "Creating" | "Failed")
|
1282
1467
|
SENSITIVE: []
|
1283
1468
|
end
|
1284
1469
|
|
@@ -1307,6 +1492,18 @@ module Aws::Bedrock
|
|
1307
1492
|
SENSITIVE: []
|
1308
1493
|
end
|
1309
1494
|
|
1495
|
+
class ListFoundationModelAgreementOffersRequest
|
1496
|
+
attr_accessor model_id: ::String
|
1497
|
+
attr_accessor offer_type: ("ALL" | "PUBLIC")
|
1498
|
+
SENSITIVE: []
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
class ListFoundationModelAgreementOffersResponse
|
1502
|
+
attr_accessor model_id: ::String
|
1503
|
+
attr_accessor offers: ::Array[Types::Offer]
|
1504
|
+
SENSITIVE: []
|
1505
|
+
end
|
1506
|
+
|
1310
1507
|
class ListFoundationModelsRequest
|
1311
1508
|
attr_accessor by_provider: ::String
|
1312
1509
|
attr_accessor by_customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
|
@@ -1525,6 +1722,19 @@ module Aws::Bedrock
|
|
1525
1722
|
SENSITIVE: []
|
1526
1723
|
end
|
1527
1724
|
|
1725
|
+
class MetadataAttributeSchema
|
1726
|
+
attr_accessor key: ::String
|
1727
|
+
attr_accessor type: ("STRING" | "NUMBER" | "BOOLEAN" | "STRING_LIST")
|
1728
|
+
attr_accessor description: ::String
|
1729
|
+
SENSITIVE: []
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
class MetadataConfigurationForReranking
|
1733
|
+
attr_accessor selection_mode: ("SELECTIVE" | "ALL")
|
1734
|
+
attr_accessor selective_mode_configuration: Types::RerankingMetadataSelectiveModeConfiguration
|
1735
|
+
SENSITIVE: []
|
1736
|
+
end
|
1737
|
+
|
1528
1738
|
class ModelCopyJobSummary
|
1529
1739
|
attr_accessor job_arn: ::String
|
1530
1740
|
attr_accessor status: ("InProgress" | "Completed" | "Failed")
|
@@ -1545,13 +1755,13 @@ module Aws::Bedrock
|
|
1545
1755
|
attr_accessor base_model_arn: ::String
|
1546
1756
|
attr_accessor job_name: ::String
|
1547
1757
|
attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
1548
|
-
attr_accessor last_modified_time: ::Time
|
1549
1758
|
attr_accessor status_details: Types::StatusDetails
|
1759
|
+
attr_accessor last_modified_time: ::Time
|
1550
1760
|
attr_accessor creation_time: ::Time
|
1551
1761
|
attr_accessor end_time: ::Time
|
1552
1762
|
attr_accessor custom_model_arn: ::String
|
1553
1763
|
attr_accessor custom_model_name: ::String
|
1554
|
-
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
|
1764
|
+
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
|
1555
1765
|
SENSITIVE: []
|
1556
1766
|
end
|
1557
1767
|
|
@@ -1633,6 +1843,13 @@ module Aws::Bedrock
|
|
1633
1843
|
SENSITIVE: [:message]
|
1634
1844
|
end
|
1635
1845
|
|
1846
|
+
class Offer
|
1847
|
+
attr_accessor offer_id: ::String
|
1848
|
+
attr_accessor offer_token: ::String
|
1849
|
+
attr_accessor term_details: Types::TermDetails
|
1850
|
+
SENSITIVE: []
|
1851
|
+
end
|
1852
|
+
|
1636
1853
|
class OrchestrationConfiguration
|
1637
1854
|
attr_accessor query_transformation_configuration: Types::QueryTransformationConfiguration
|
1638
1855
|
SENSITIVE: []
|
@@ -1648,6 +1865,11 @@ module Aws::Bedrock
|
|
1648
1865
|
SENSITIVE: []
|
1649
1866
|
end
|
1650
1867
|
|
1868
|
+
class PricingTerm
|
1869
|
+
attr_accessor rate_card: ::Array[Types::DimensionalPriceRate]
|
1870
|
+
SENSITIVE: []
|
1871
|
+
end
|
1872
|
+
|
1651
1873
|
class PromptRouterSummary
|
1652
1874
|
attr_accessor prompt_router_name: ::String
|
1653
1875
|
attr_accessor routing_criteria: Types::RoutingCriteria
|
@@ -1696,6 +1918,14 @@ module Aws::Bedrock
|
|
1696
1918
|
class PutModelInvocationLoggingConfigurationResponse < Aws::EmptyStructure
|
1697
1919
|
end
|
1698
1920
|
|
1921
|
+
class PutUseCaseForModelAccessRequest
|
1922
|
+
attr_accessor form_data: ::String
|
1923
|
+
SENSITIVE: []
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
class PutUseCaseForModelAccessResponse < Aws::EmptyStructure
|
1927
|
+
end
|
1928
|
+
|
1699
1929
|
class QueryTransformationConfiguration
|
1700
1930
|
attr_accessor type: ("QUERY_DECOMPOSITION")
|
1701
1931
|
SENSITIVE: []
|
@@ -1772,6 +2002,20 @@ module Aws::Bedrock
|
|
1772
2002
|
end
|
1773
2003
|
end
|
1774
2004
|
|
2005
|
+
class RerankingMetadataSelectiveModeConfiguration
|
2006
|
+
attr_accessor fields_to_include: ::Array[Types::FieldForReranking]
|
2007
|
+
attr_accessor fields_to_exclude: ::Array[Types::FieldForReranking]
|
2008
|
+
attr_accessor unknown: untyped
|
2009
|
+
SENSITIVE: [:fields_to_include, :fields_to_exclude]
|
2010
|
+
|
2011
|
+
class FieldsToInclude < RerankingMetadataSelectiveModeConfiguration
|
2012
|
+
end
|
2013
|
+
class FieldsToExclude < RerankingMetadataSelectiveModeConfiguration
|
2014
|
+
end
|
2015
|
+
class Unknown < RerankingMetadataSelectiveModeConfiguration
|
2016
|
+
end
|
2017
|
+
end
|
2018
|
+
|
1775
2019
|
class ResourceNotFoundException
|
1776
2020
|
attr_accessor message: ::String
|
1777
2021
|
SENSITIVE: []
|
@@ -1908,6 +2152,11 @@ module Aws::Bedrock
|
|
1908
2152
|
class StopModelInvocationJobResponse < Aws::EmptyStructure
|
1909
2153
|
end
|
1910
2154
|
|
2155
|
+
class SupportTerm
|
2156
|
+
attr_accessor refund_policy_description: ::String
|
2157
|
+
SENSITIVE: []
|
2158
|
+
end
|
2159
|
+
|
1911
2160
|
class Tag
|
1912
2161
|
attr_accessor key: ::String
|
1913
2162
|
attr_accessor value: ::String
|
@@ -1929,6 +2178,14 @@ module Aws::Bedrock
|
|
1929
2178
|
SENSITIVE: []
|
1930
2179
|
end
|
1931
2180
|
|
2181
|
+
class TermDetails
|
2182
|
+
attr_accessor usage_based_pricing_term: Types::PricingTerm
|
2183
|
+
attr_accessor legal_term: Types::LegalTerm
|
2184
|
+
attr_accessor support_term: Types::SupportTerm
|
2185
|
+
attr_accessor validity_term: Types::ValidityTerm
|
2186
|
+
SENSITIVE: []
|
2187
|
+
end
|
2188
|
+
|
1932
2189
|
class TextInferenceConfig
|
1933
2190
|
attr_accessor temperature: ::Float
|
1934
2191
|
attr_accessor top_p: ::Float
|
@@ -2048,6 +2305,30 @@ module Aws::Bedrock
|
|
2048
2305
|
SENSITIVE: []
|
2049
2306
|
end
|
2050
2307
|
|
2308
|
+
class ValidityTerm
|
2309
|
+
attr_accessor agreement_duration: ::String
|
2310
|
+
SENSITIVE: []
|
2311
|
+
end
|
2312
|
+
|
2313
|
+
class VectorSearchBedrockRerankingConfiguration
|
2314
|
+
attr_accessor model_configuration: Types::VectorSearchBedrockRerankingModelConfiguration
|
2315
|
+
attr_accessor number_of_reranked_results: ::Integer
|
2316
|
+
attr_accessor metadata_configuration: Types::MetadataConfigurationForReranking
|
2317
|
+
SENSITIVE: []
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
class VectorSearchBedrockRerankingModelConfiguration
|
2321
|
+
attr_accessor model_arn: ::String
|
2322
|
+
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
2323
|
+
SENSITIVE: []
|
2324
|
+
end
|
2325
|
+
|
2326
|
+
class VectorSearchRerankingConfiguration
|
2327
|
+
attr_accessor type: ("BEDROCK_RERANKING_MODEL")
|
2328
|
+
attr_accessor bedrock_reranking_configuration: Types::VectorSearchBedrockRerankingConfiguration
|
2329
|
+
SENSITIVE: []
|
2330
|
+
end
|
2331
|
+
|
2051
2332
|
class VpcConfig
|
2052
2333
|
attr_accessor subnet_ids: ::Array[::String]
|
2053
2334
|
attr_accessor security_group_ids: ::Array[::String]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.56.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.228.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.228.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- lib/aws-sdk-bedrock/endpoint_provider.rb
|
63
63
|
- lib/aws-sdk-bedrock/endpoints.rb
|
64
64
|
- lib/aws-sdk-bedrock/errors.rb
|
65
|
+
- lib/aws-sdk-bedrock/plugins/bearer_authorization.rb
|
65
66
|
- lib/aws-sdk-bedrock/plugins/endpoints.rb
|
66
67
|
- lib/aws-sdk-bedrock/resource.rb
|
67
68
|
- lib/aws-sdk-bedrock/types.rb
|
@@ -84,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
85
|
requirements:
|
85
86
|
- - ">="
|
86
87
|
- !ruby/object:Gem::Version
|
87
|
-
version: '2.
|
88
|
+
version: '2.7'
|
88
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
90
|
requirements:
|
90
91
|
- - ">="
|