aws-sdk-bedrock 1.46.0 → 1.52.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.
@@ -55,7 +55,7 @@ module Aws::Bedrock
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
57
57
 
58
- GEM_VERSION = '1.46.0'
58
+ GEM_VERSION = '1.52.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -88,6 +88,30 @@ module Aws
88
88
  ) -> _BatchDeleteEvaluationJobResponseSuccess
89
89
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteEvaluationJobResponseSuccess
90
90
 
91
+ interface _CreateCustomModelResponseSuccess
92
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomModelResponse]
93
+ def model_arn: () -> ::String
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_custom_model-instance_method
96
+ def create_custom_model: (
97
+ model_name: ::String,
98
+ model_source_config: {
99
+ s3_data_source: {
100
+ s3_uri: ::String
101
+ }?
102
+ },
103
+ ?model_kms_key_arn: ::String,
104
+ ?role_arn: ::String,
105
+ ?model_tags: Array[
106
+ {
107
+ key: ::String,
108
+ value: ::String
109
+ },
110
+ ],
111
+ ?client_request_token: ::String
112
+ ) -> _CreateCustomModelResponseSuccess
113
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomModelResponseSuccess
114
+
91
115
  interface _CreateEvaluationJobResponseSuccess
92
116
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateEvaluationJobResponse]
93
117
  def job_arn: () -> ::String
@@ -423,6 +447,17 @@ module Aws
423
447
  ) -> _CreateEvaluationJobResponseSuccess
424
448
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEvaluationJobResponseSuccess
425
449
 
450
+ interface _CreateFoundationModelAgreementResponseSuccess
451
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFoundationModelAgreementResponse]
452
+ def model_id: () -> ::String
453
+ end
454
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_foundation_model_agreement-instance_method
455
+ def create_foundation_model_agreement: (
456
+ offer_token: ::String,
457
+ model_id: ::String
458
+ ) -> _CreateFoundationModelAgreementResponseSuccess
459
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFoundationModelAgreementResponseSuccess
460
+
426
461
  interface _CreateGuardrailResponseSuccess
427
462
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGuardrailResponse]
428
463
  def guardrail_id: () -> ::String
@@ -446,7 +481,10 @@ module Aws
446
481
  input_enabled: bool?,
447
482
  output_enabled: bool?
448
483
  },
449
- ]
484
+ ],
485
+ tier_config: {
486
+ tier_name: ("CLASSIC" | "STANDARD")
487
+ }?
450
488
  },
451
489
  ?content_policy_config: {
452
490
  filters_config: Array[
@@ -461,7 +499,10 @@ module Aws
461
499
  input_enabled: bool?,
462
500
  output_enabled: bool?
463
501
  },
464
- ]
502
+ ],
503
+ tier_config: {
504
+ tier_name: ("CLASSIC" | "STANDARD")
505
+ }?
465
506
  },
466
507
  ?word_policy_config: {
467
508
  words_config: Array[
@@ -629,7 +670,7 @@ module Aws
629
670
  role_arn: ::String,
630
671
  ?client_request_token: ::String,
631
672
  base_model_identifier: ::String,
632
- ?customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION"),
673
+ ?customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED"),
633
674
  ?custom_model_kms_key_id: ::String,
634
675
  ?job_tags: Array[
635
676
  {
@@ -825,6 +866,15 @@ module Aws
825
866
  ) -> _DeleteCustomModelResponseSuccess
826
867
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomModelResponseSuccess
827
868
 
869
+ interface _DeleteFoundationModelAgreementResponseSuccess
870
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFoundationModelAgreementResponse]
871
+ end
872
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_foundation_model_agreement-instance_method
873
+ def delete_foundation_model_agreement: (
874
+ model_id: ::String
875
+ ) -> _DeleteFoundationModelAgreementResponseSuccess
876
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFoundationModelAgreementResponseSuccess
877
+
828
878
  interface _DeleteGuardrailResponseSuccess
829
879
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGuardrailResponse]
830
880
  end
@@ -904,7 +954,7 @@ module Aws
904
954
  def job_name: () -> ::String
905
955
  def job_arn: () -> ::String
906
956
  def base_model_arn: () -> ::String
907
- def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
957
+ def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
908
958
  def model_kms_key_arn: () -> ::String
909
959
  def hyper_parameters: () -> ::Hash[::String, ::String]
910
960
  def training_data_config: () -> Types::TrainingDataConfig
@@ -914,6 +964,8 @@ module Aws
914
964
  def validation_metrics: () -> ::Array[Types::ValidatorMetric]
915
965
  def creation_time: () -> ::Time
916
966
  def customization_config: () -> Types::CustomizationConfig
967
+ def model_status: () -> ("Active" | "Creating" | "Failed")
968
+ def failure_message: () -> ::String
917
969
  end
918
970
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_custom_model-instance_method
919
971
  def get_custom_model: (
@@ -954,6 +1006,20 @@ module Aws
954
1006
  ) -> _GetFoundationModelResponseSuccess
955
1007
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFoundationModelResponseSuccess
956
1008
 
1009
+ interface _GetFoundationModelAvailabilityResponseSuccess
1010
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFoundationModelAvailabilityResponse]
1011
+ def model_id: () -> ::String
1012
+ def agreement_availability: () -> Types::AgreementAvailability
1013
+ def authorization_status: () -> ("AUTHORIZED" | "NOT_AUTHORIZED")
1014
+ def entitlement_availability: () -> ("AVAILABLE" | "NOT_AVAILABLE")
1015
+ def region_availability: () -> ("AVAILABLE" | "NOT_AVAILABLE")
1016
+ end
1017
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_foundation_model_availability-instance_method
1018
+ def get_foundation_model_availability: (
1019
+ model_id: ::String
1020
+ ) -> _GetFoundationModelAvailabilityResponseSuccess
1021
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFoundationModelAvailabilityResponseSuccess
1022
+
957
1023
  interface _GetGuardrailResponseSuccess
958
1024
  include ::Seahorse::Client::_ResponseSuccess[Types::GetGuardrailResponse]
959
1025
  def name: () -> ::String
@@ -1059,8 +1125,8 @@ module Aws
1059
1125
  def client_request_token: () -> ::String
1060
1126
  def role_arn: () -> ::String
1061
1127
  def status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
1062
- def failure_message: () -> ::String
1063
1128
  def status_details: () -> Types::StatusDetails
1129
+ def failure_message: () -> ::String
1064
1130
  def creation_time: () -> ::Time
1065
1131
  def last_modified_time: () -> ::Time
1066
1132
  def end_time: () -> ::Time
@@ -1069,7 +1135,7 @@ module Aws
1069
1135
  def training_data_config: () -> Types::TrainingDataConfig
1070
1136
  def validation_data_config: () -> Types::ValidationDataConfig
1071
1137
  def output_data_config: () -> Types::OutputDataConfig
1072
- def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
1138
+ def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
1073
1139
  def output_model_kms_key_arn: () -> ::String
1074
1140
  def training_metrics: () -> Types::TrainingMetrics
1075
1141
  def validation_metrics: () -> ::Array[Types::ValidatorMetric]
@@ -1178,6 +1244,15 @@ module Aws
1178
1244
  ) -> _GetProvisionedModelThroughputResponseSuccess
1179
1245
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProvisionedModelThroughputResponseSuccess
1180
1246
 
1247
+ interface _GetUseCaseForModelAccessResponseSuccess
1248
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUseCaseForModelAccessResponse]
1249
+ def form_data: () -> ::String
1250
+ end
1251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_use_case_for_model_access-instance_method
1252
+ def get_use_case_for_model_access: (
1253
+ ) -> _GetUseCaseForModelAccessResponseSuccess
1254
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUseCaseForModelAccessResponseSuccess
1255
+
1181
1256
  interface _ListCustomModelsResponseSuccess
1182
1257
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomModelsResponse]
1183
1258
  def next_token: () -> ::String
@@ -1194,7 +1269,8 @@ module Aws
1194
1269
  ?next_token: ::String,
1195
1270
  ?sort_by: ("CreationTime"),
1196
1271
  ?sort_order: ("Ascending" | "Descending"),
1197
- ?is_owned: bool
1272
+ ?is_owned: bool,
1273
+ ?model_status: ("Active" | "Creating" | "Failed")
1198
1274
  ) -> _ListCustomModelsResponseSuccess
1199
1275
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomModelsResponseSuccess
1200
1276
 
@@ -1217,6 +1293,18 @@ module Aws
1217
1293
  ) -> _ListEvaluationJobsResponseSuccess
1218
1294
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEvaluationJobsResponseSuccess
1219
1295
 
1296
+ interface _ListFoundationModelAgreementOffersResponseSuccess
1297
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFoundationModelAgreementOffersResponse]
1298
+ def model_id: () -> ::String
1299
+ def offers: () -> ::Array[Types::Offer]
1300
+ end
1301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_foundation_model_agreement_offers-instance_method
1302
+ def list_foundation_model_agreement_offers: (
1303
+ model_id: ::String,
1304
+ ?offer_type: ("ALL" | "PUBLIC")
1305
+ ) -> _ListFoundationModelAgreementOffersResponseSuccess
1306
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFoundationModelAgreementOffersResponseSuccess
1307
+
1220
1308
  interface _ListFoundationModelsResponseSuccess
1221
1309
  include ::Seahorse::Client::_ResponseSuccess[Types::ListFoundationModelsResponse]
1222
1310
  def model_summaries: () -> ::Array[Types::FoundationModelSummary]
@@ -1428,6 +1516,15 @@ module Aws
1428
1516
  ) -> _PutModelInvocationLoggingConfigurationResponseSuccess
1429
1517
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutModelInvocationLoggingConfigurationResponseSuccess
1430
1518
 
1519
+ interface _PutUseCaseForModelAccessResponseSuccess
1520
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutUseCaseForModelAccessResponse]
1521
+ end
1522
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#put_use_case_for_model_access-instance_method
1523
+ def put_use_case_for_model_access: (
1524
+ form_data: ::String
1525
+ ) -> _PutUseCaseForModelAccessResponseSuccess
1526
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutUseCaseForModelAccessResponseSuccess
1527
+
1431
1528
  interface _RegisterMarketplaceModelEndpointResponseSuccess
1432
1529
  include ::Seahorse::Client::_ResponseSuccess[Types::RegisterMarketplaceModelEndpointResponse]
1433
1530
  def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
@@ -1515,7 +1612,10 @@ module Aws
1515
1612
  input_enabled: bool?,
1516
1613
  output_enabled: bool?
1517
1614
  },
1518
- ]
1615
+ ],
1616
+ tier_config: {
1617
+ tier_name: ("CLASSIC" | "STANDARD")
1618
+ }?
1519
1619
  },
1520
1620
  ?content_policy_config: {
1521
1621
  filters_config: Array[
@@ -1530,7 +1630,10 @@ module Aws
1530
1630
  input_enabled: bool?,
1531
1631
  output_enabled: bool?
1532
1632
  },
1533
- ]
1633
+ ],
1634
+ tier_config: {
1635
+ tier_name: ("CLASSIC" | "STANDARD")
1636
+ }?
1534
1637
  },
1535
1638
  ?word_policy_config: {
1536
1639
  words_config: Array[
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,21 @@ module Aws::Bedrock
85
91
  SENSITIVE: []
86
92
  end
87
93
 
94
+ class CreateCustomModelRequest
95
+ attr_accessor model_name: ::String
96
+ attr_accessor model_source_config: Types::ModelDataSource
97
+ attr_accessor model_kms_key_arn: ::String
98
+ attr_accessor role_arn: ::String
99
+ attr_accessor model_tags: ::Array[Types::Tag]
100
+ attr_accessor client_request_token: ::String
101
+ SENSITIVE: []
102
+ end
103
+
104
+ class CreateCustomModelResponse
105
+ attr_accessor model_arn: ::String
106
+ SENSITIVE: []
107
+ end
108
+
88
109
  class CreateEvaluationJobRequest
89
110
  attr_accessor job_name: ::String
90
111
  attr_accessor job_description: ::String
@@ -104,6 +125,17 @@ module Aws::Bedrock
104
125
  SENSITIVE: []
105
126
  end
106
127
 
128
+ class CreateFoundationModelAgreementRequest
129
+ attr_accessor offer_token: ::String
130
+ attr_accessor model_id: ::String
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class CreateFoundationModelAgreementResponse
135
+ attr_accessor model_id: ::String
136
+ SENSITIVE: []
137
+ end
138
+
107
139
  class CreateGuardrailRequest
108
140
  attr_accessor name: ::String
109
141
  attr_accessor description: ::String
@@ -192,7 +224,7 @@ module Aws::Bedrock
192
224
  attr_accessor role_arn: ::String
193
225
  attr_accessor client_request_token: ::String
194
226
  attr_accessor base_model_identifier: ::String
195
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
227
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
196
228
  attr_accessor custom_model_kms_key_id: ::String
197
229
  attr_accessor job_tags: ::Array[Types::Tag]
198
230
  attr_accessor custom_model_tags: ::Array[Types::Tag]
@@ -300,8 +332,9 @@ module Aws::Bedrock
300
332
  attr_accessor creation_time: ::Time
301
333
  attr_accessor base_model_arn: ::String
302
334
  attr_accessor base_model_name: ::String
303
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
335
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
304
336
  attr_accessor owner_account_id: ::String
337
+ attr_accessor model_status: ("Active" | "Creating" | "Failed")
305
338
  SENSITIVE: []
306
339
  end
307
340
 
@@ -337,6 +370,14 @@ module Aws::Bedrock
337
370
  class DeleteCustomModelResponse < Aws::EmptyStructure
338
371
  end
339
372
 
373
+ class DeleteFoundationModelAgreementRequest
374
+ attr_accessor model_id: ::String
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class DeleteFoundationModelAgreementResponse < Aws::EmptyStructure
379
+ end
380
+
340
381
  class DeleteGuardrailRequest
341
382
  attr_accessor guardrail_identifier: ::String
342
383
  attr_accessor guardrail_version: ::String
@@ -400,6 +441,14 @@ module Aws::Bedrock
400
441
  class DeregisterMarketplaceModelEndpointResponse < Aws::EmptyStructure
401
442
  end
402
443
 
444
+ class DimensionalPriceRate
445
+ attr_accessor dimension: ::String
446
+ attr_accessor price: ::String
447
+ attr_accessor description: ::String
448
+ attr_accessor unit: ::String
449
+ SENSITIVE: []
450
+ end
451
+
403
452
  class DistillationConfig
404
453
  attr_accessor teacher_model_config: Types::TeacherModelConfig
405
454
  SENSITIVE: []
@@ -648,7 +697,7 @@ module Aws::Bedrock
648
697
  attr_accessor job_name: ::String
649
698
  attr_accessor job_arn: ::String
650
699
  attr_accessor base_model_arn: ::String
651
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
700
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
652
701
  attr_accessor model_kms_key_arn: ::String
653
702
  attr_accessor hyper_parameters: ::Hash[::String, ::String]
654
703
  attr_accessor training_data_config: Types::TrainingDataConfig
@@ -658,6 +707,8 @@ module Aws::Bedrock
658
707
  attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
659
708
  attr_accessor creation_time: ::Time
660
709
  attr_accessor customization_config: Types::CustomizationConfig
710
+ attr_accessor model_status: ("Active" | "Creating" | "Failed")
711
+ attr_accessor failure_message: ::String
661
712
  SENSITIVE: []
662
713
  end
663
714
 
@@ -684,6 +735,20 @@ module Aws::Bedrock
684
735
  SENSITIVE: [:job_description]
685
736
  end
686
737
 
738
+ class GetFoundationModelAvailabilityRequest
739
+ attr_accessor model_id: ::String
740
+ SENSITIVE: []
741
+ end
742
+
743
+ class GetFoundationModelAvailabilityResponse
744
+ attr_accessor model_id: ::String
745
+ attr_accessor agreement_availability: Types::AgreementAvailability
746
+ attr_accessor authorization_status: ("AUTHORIZED" | "NOT_AUTHORIZED")
747
+ attr_accessor entitlement_availability: ("AVAILABLE" | "NOT_AVAILABLE")
748
+ attr_accessor region_availability: ("AVAILABLE" | "NOT_AVAILABLE")
749
+ SENSITIVE: []
750
+ end
751
+
687
752
  class GetFoundationModelRequest
688
753
  attr_accessor model_identifier: ::String
689
754
  SENSITIVE: []
@@ -803,8 +868,8 @@ module Aws::Bedrock
803
868
  attr_accessor client_request_token: ::String
804
869
  attr_accessor role_arn: ::String
805
870
  attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
806
- attr_accessor failure_message: ::String
807
871
  attr_accessor status_details: Types::StatusDetails
872
+ attr_accessor failure_message: ::String
808
873
  attr_accessor creation_time: ::Time
809
874
  attr_accessor last_modified_time: ::Time
810
875
  attr_accessor end_time: ::Time
@@ -813,7 +878,7 @@ module Aws::Bedrock
813
878
  attr_accessor training_data_config: Types::TrainingDataConfig
814
879
  attr_accessor validation_data_config: Types::ValidationDataConfig
815
880
  attr_accessor output_data_config: Types::OutputDataConfig
816
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
881
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
817
882
  attr_accessor output_model_kms_key_arn: ::String
818
883
  attr_accessor training_metrics: Types::TrainingMetrics
819
884
  attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
@@ -917,6 +982,14 @@ module Aws::Bedrock
917
982
  SENSITIVE: []
918
983
  end
919
984
 
985
+ class GetUseCaseForModelAccessRequest < Aws::EmptyStructure
986
+ end
987
+
988
+ class GetUseCaseForModelAccessResponse
989
+ attr_accessor form_data: ::String
990
+ SENSITIVE: []
991
+ end
992
+
920
993
  class GuardrailConfiguration
921
994
  attr_accessor guardrail_id: ::String
922
995
  attr_accessor guardrail_version: ::String
@@ -949,13 +1022,25 @@ module Aws::Bedrock
949
1022
  SENSITIVE: [:input_action, :output_action]
950
1023
  end
951
1024
 
1025
+ class GuardrailContentFiltersTier
1026
+ attr_accessor tier_name: ("CLASSIC" | "STANDARD")
1027
+ SENSITIVE: [:tier_name]
1028
+ end
1029
+
1030
+ class GuardrailContentFiltersTierConfig
1031
+ attr_accessor tier_name: ("CLASSIC" | "STANDARD")
1032
+ SENSITIVE: [:tier_name]
1033
+ end
1034
+
952
1035
  class GuardrailContentPolicy
953
1036
  attr_accessor filters: ::Array[Types::GuardrailContentFilter]
1037
+ attr_accessor tier: Types::GuardrailContentFiltersTier
954
1038
  SENSITIVE: []
955
1039
  end
956
1040
 
957
1041
  class GuardrailContentPolicyConfig
958
1042
  attr_accessor filters_config: ::Array[Types::GuardrailContentFilterConfig]
1043
+ attr_accessor tier_config: Types::GuardrailContentFiltersTierConfig
959
1044
  SENSITIVE: []
960
1045
  end
961
1046
 
@@ -1109,14 +1194,26 @@ module Aws::Bedrock
1109
1194
 
1110
1195
  class GuardrailTopicPolicy
1111
1196
  attr_accessor topics: ::Array[Types::GuardrailTopic]
1197
+ attr_accessor tier: Types::GuardrailTopicsTier
1112
1198
  SENSITIVE: []
1113
1199
  end
1114
1200
 
1115
1201
  class GuardrailTopicPolicyConfig
1116
1202
  attr_accessor topics_config: ::Array[Types::GuardrailTopicConfig]
1203
+ attr_accessor tier_config: Types::GuardrailTopicsTierConfig
1117
1204
  SENSITIVE: []
1118
1205
  end
1119
1206
 
1207
+ class GuardrailTopicsTier
1208
+ attr_accessor tier_name: ("CLASSIC" | "STANDARD")
1209
+ SENSITIVE: [:tier_name]
1210
+ end
1211
+
1212
+ class GuardrailTopicsTierConfig
1213
+ attr_accessor tier_name: ("CLASSIC" | "STANDARD")
1214
+ SENSITIVE: [:tier_name]
1215
+ end
1216
+
1120
1217
  class GuardrailWord
1121
1218
  attr_accessor text: ::String
1122
1219
  attr_accessor input_action: ("BLOCK" | "NONE")
@@ -1268,6 +1365,11 @@ module Aws::Bedrock
1268
1365
  SENSITIVE: [:filter]
1269
1366
  end
1270
1367
 
1368
+ class LegalTerm
1369
+ attr_accessor url: ::String
1370
+ SENSITIVE: []
1371
+ end
1372
+
1271
1373
  class ListCustomModelsRequest
1272
1374
  attr_accessor creation_time_before: ::Time
1273
1375
  attr_accessor creation_time_after: ::Time
@@ -1279,6 +1381,7 @@ module Aws::Bedrock
1279
1381
  attr_accessor sort_by: ("CreationTime")
1280
1382
  attr_accessor sort_order: ("Ascending" | "Descending")
1281
1383
  attr_accessor is_owned: bool
1384
+ attr_accessor model_status: ("Active" | "Creating" | "Failed")
1282
1385
  SENSITIVE: []
1283
1386
  end
1284
1387
 
@@ -1307,6 +1410,18 @@ module Aws::Bedrock
1307
1410
  SENSITIVE: []
1308
1411
  end
1309
1412
 
1413
+ class ListFoundationModelAgreementOffersRequest
1414
+ attr_accessor model_id: ::String
1415
+ attr_accessor offer_type: ("ALL" | "PUBLIC")
1416
+ SENSITIVE: []
1417
+ end
1418
+
1419
+ class ListFoundationModelAgreementOffersResponse
1420
+ attr_accessor model_id: ::String
1421
+ attr_accessor offers: ::Array[Types::Offer]
1422
+ SENSITIVE: []
1423
+ end
1424
+
1310
1425
  class ListFoundationModelsRequest
1311
1426
  attr_accessor by_provider: ::String
1312
1427
  attr_accessor by_customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
@@ -1545,13 +1660,13 @@ module Aws::Bedrock
1545
1660
  attr_accessor base_model_arn: ::String
1546
1661
  attr_accessor job_name: ::String
1547
1662
  attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
1548
- attr_accessor last_modified_time: ::Time
1549
1663
  attr_accessor status_details: Types::StatusDetails
1664
+ attr_accessor last_modified_time: ::Time
1550
1665
  attr_accessor creation_time: ::Time
1551
1666
  attr_accessor end_time: ::Time
1552
1667
  attr_accessor custom_model_arn: ::String
1553
1668
  attr_accessor custom_model_name: ::String
1554
- attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION")
1669
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED")
1555
1670
  SENSITIVE: []
1556
1671
  end
1557
1672
 
@@ -1633,6 +1748,13 @@ module Aws::Bedrock
1633
1748
  SENSITIVE: [:message]
1634
1749
  end
1635
1750
 
1751
+ class Offer
1752
+ attr_accessor offer_id: ::String
1753
+ attr_accessor offer_token: ::String
1754
+ attr_accessor term_details: Types::TermDetails
1755
+ SENSITIVE: []
1756
+ end
1757
+
1636
1758
  class OrchestrationConfiguration
1637
1759
  attr_accessor query_transformation_configuration: Types::QueryTransformationConfiguration
1638
1760
  SENSITIVE: []
@@ -1648,6 +1770,11 @@ module Aws::Bedrock
1648
1770
  SENSITIVE: []
1649
1771
  end
1650
1772
 
1773
+ class PricingTerm
1774
+ attr_accessor rate_card: ::Array[Types::DimensionalPriceRate]
1775
+ SENSITIVE: []
1776
+ end
1777
+
1651
1778
  class PromptRouterSummary
1652
1779
  attr_accessor prompt_router_name: ::String
1653
1780
  attr_accessor routing_criteria: Types::RoutingCriteria
@@ -1696,6 +1823,14 @@ module Aws::Bedrock
1696
1823
  class PutModelInvocationLoggingConfigurationResponse < Aws::EmptyStructure
1697
1824
  end
1698
1825
 
1826
+ class PutUseCaseForModelAccessRequest
1827
+ attr_accessor form_data: ::String
1828
+ SENSITIVE: []
1829
+ end
1830
+
1831
+ class PutUseCaseForModelAccessResponse < Aws::EmptyStructure
1832
+ end
1833
+
1699
1834
  class QueryTransformationConfiguration
1700
1835
  attr_accessor type: ("QUERY_DECOMPOSITION")
1701
1836
  SENSITIVE: []
@@ -1908,6 +2043,11 @@ module Aws::Bedrock
1908
2043
  class StopModelInvocationJobResponse < Aws::EmptyStructure
1909
2044
  end
1910
2045
 
2046
+ class SupportTerm
2047
+ attr_accessor refund_policy_description: ::String
2048
+ SENSITIVE: []
2049
+ end
2050
+
1911
2051
  class Tag
1912
2052
  attr_accessor key: ::String
1913
2053
  attr_accessor value: ::String
@@ -1929,6 +2069,14 @@ module Aws::Bedrock
1929
2069
  SENSITIVE: []
1930
2070
  end
1931
2071
 
2072
+ class TermDetails
2073
+ attr_accessor usage_based_pricing_term: Types::PricingTerm
2074
+ attr_accessor legal_term: Types::LegalTerm
2075
+ attr_accessor support_term: Types::SupportTerm
2076
+ attr_accessor validity_term: Types::ValidityTerm
2077
+ SENSITIVE: []
2078
+ end
2079
+
1932
2080
  class TextInferenceConfig
1933
2081
  attr_accessor temperature: ::Float
1934
2082
  attr_accessor top_p: ::Float
@@ -2048,6 +2196,11 @@ module Aws::Bedrock
2048
2196
  SENSITIVE: []
2049
2197
  end
2050
2198
 
2199
+ class ValidityTerm
2200
+ attr_accessor agreement_duration: ::String
2201
+ SENSITIVE: []
2202
+ end
2203
+
2051
2204
  class VpcConfig
2052
2205
  attr_accessor subnet_ids: ::Array[::String]
2053
2206
  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.46.0
4
+ version: 1.52.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.216.0
21
+ version: 3.225.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.216.0
31
+ version: 3.225.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '2.5'
87
+ version: '2.7'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - ">="