aws-sdk-bedrock 1.31.0 → 1.32.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.31.0'
58
+ GEM_VERSION = '1.32.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -407,7 +407,9 @@ module Aws
407
407
  {
408
408
  type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK"),
409
409
  input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
410
- output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
410
+ output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
411
+ input_modalities: Array[("TEXT" | "IMAGE")]?,
412
+ output_modalities: Array[("TEXT" | "IMAGE")]?
411
413
  },
412
414
  ]
413
415
  },
@@ -495,6 +497,37 @@ module Aws
495
497
  ) -> _CreateInferenceProfileResponseSuccess
496
498
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInferenceProfileResponseSuccess
497
499
 
500
+ interface _CreateMarketplaceModelEndpointResponseSuccess
501
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMarketplaceModelEndpointResponse]
502
+ def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
503
+ end
504
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_marketplace_model_endpoint-instance_method
505
+ def create_marketplace_model_endpoint: (
506
+ model_source_identifier: ::String,
507
+ endpoint_config: {
508
+ sage_maker: {
509
+ initial_instance_count: ::Integer,
510
+ instance_type: ::String,
511
+ execution_role: ::String,
512
+ kms_encryption_key: ::String?,
513
+ vpc: {
514
+ subnet_ids: Array[::String],
515
+ security_group_ids: Array[::String]
516
+ }?
517
+ }?
518
+ },
519
+ ?accept_eula: bool,
520
+ endpoint_name: ::String,
521
+ ?client_request_token: ::String,
522
+ ?tags: Array[
523
+ {
524
+ key: ::String,
525
+ value: ::String
526
+ },
527
+ ]
528
+ ) -> _CreateMarketplaceModelEndpointResponseSuccess
529
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMarketplaceModelEndpointResponseSuccess
530
+
498
531
  interface _CreateModelCopyJobResponseSuccess
499
532
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelCopyJobResponse]
500
533
  def job_arn: () -> ::String
@@ -720,6 +753,15 @@ module Aws
720
753
  ) -> _DeleteInferenceProfileResponseSuccess
721
754
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInferenceProfileResponseSuccess
722
755
 
756
+ interface _DeleteMarketplaceModelEndpointResponseSuccess
757
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMarketplaceModelEndpointResponse]
758
+ end
759
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_marketplace_model_endpoint-instance_method
760
+ def delete_marketplace_model_endpoint: (
761
+ endpoint_arn: ::String
762
+ ) -> _DeleteMarketplaceModelEndpointResponseSuccess
763
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMarketplaceModelEndpointResponseSuccess
764
+
723
765
  interface _DeleteModelInvocationLoggingConfigurationResponseSuccess
724
766
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteModelInvocationLoggingConfigurationResponse]
725
767
  end
@@ -737,6 +779,15 @@ module Aws
737
779
  ) -> _DeleteProvisionedModelThroughputResponseSuccess
738
780
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProvisionedModelThroughputResponseSuccess
739
781
 
782
+ interface _DeregisterMarketplaceModelEndpointResponseSuccess
783
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterMarketplaceModelEndpointResponse]
784
+ end
785
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#deregister_marketplace_model_endpoint-instance_method
786
+ def deregister_marketplace_model_endpoint: (
787
+ endpoint_arn: ::String
788
+ ) -> _DeregisterMarketplaceModelEndpointResponseSuccess
789
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterMarketplaceModelEndpointResponseSuccess
790
+
740
791
  interface _GetCustomModelResponseSuccess
741
792
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomModelResponse]
742
793
  def model_arn: () -> ::String
@@ -858,6 +909,16 @@ module Aws
858
909
  ) -> _GetInferenceProfileResponseSuccess
859
910
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInferenceProfileResponseSuccess
860
911
 
912
+ interface _GetMarketplaceModelEndpointResponseSuccess
913
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMarketplaceModelEndpointResponse]
914
+ def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
915
+ end
916
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_marketplace_model_endpoint-instance_method
917
+ def get_marketplace_model_endpoint: (
918
+ endpoint_arn: ::String
919
+ ) -> _GetMarketplaceModelEndpointResponseSuccess
920
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMarketplaceModelEndpointResponseSuccess
921
+
861
922
  interface _GetModelCopyJobResponseSuccess
862
923
  include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCopyJobResponse]
863
924
  def job_arn: () -> ::String
@@ -964,6 +1025,25 @@ module Aws
964
1025
  ) -> _GetModelInvocationLoggingConfigurationResponseSuccess
965
1026
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelInvocationLoggingConfigurationResponseSuccess
966
1027
 
1028
+ interface _GetPromptRouterResponseSuccess
1029
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPromptRouterResponse]
1030
+ def prompt_router_name: () -> ::String
1031
+ def routing_criteria: () -> Types::RoutingCriteria
1032
+ def description: () -> ::String
1033
+ def created_at: () -> ::Time
1034
+ def updated_at: () -> ::Time
1035
+ def prompt_router_arn: () -> ::String
1036
+ def models: () -> ::Array[Types::PromptRouterTargetModel]
1037
+ def fallback_model: () -> Types::PromptRouterTargetModel
1038
+ def status: () -> ("AVAILABLE")
1039
+ def type: () -> ("custom" | "default")
1040
+ end
1041
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_prompt_router-instance_method
1042
+ def get_prompt_router: (
1043
+ prompt_router_arn: ::String
1044
+ ) -> _GetPromptRouterResponseSuccess
1045
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPromptRouterResponseSuccess
1046
+
967
1047
  interface _GetProvisionedModelThroughputResponseSuccess
968
1048
  include ::Seahorse::Client::_ResponseSuccess[Types::GetProvisionedModelThroughputResponse]
969
1049
  def model_units: () -> ::Integer
@@ -1081,6 +1161,19 @@ module Aws
1081
1161
  ) -> _ListInferenceProfilesResponseSuccess
1082
1162
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceProfilesResponseSuccess
1083
1163
 
1164
+ interface _ListMarketplaceModelEndpointsResponseSuccess
1165
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMarketplaceModelEndpointsResponse]
1166
+ def marketplace_model_endpoints: () -> ::Array[Types::MarketplaceModelEndpointSummary]
1167
+ def next_token: () -> ::String
1168
+ end
1169
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_marketplace_model_endpoints-instance_method
1170
+ def list_marketplace_model_endpoints: (
1171
+ ?max_results: ::Integer,
1172
+ ?next_token: ::String,
1173
+ ?model_source_equals: ::String
1174
+ ) -> _ListMarketplaceModelEndpointsResponseSuccess
1175
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMarketplaceModelEndpointsResponseSuccess
1176
+
1084
1177
  interface _ListModelCopyJobsResponseSuccess
1085
1178
  include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCopyJobsResponse]
1086
1179
  def next_token: () -> ::String
@@ -1155,6 +1248,18 @@ module Aws
1155
1248
  ) -> _ListModelInvocationJobsResponseSuccess
1156
1249
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelInvocationJobsResponseSuccess
1157
1250
 
1251
+ interface _ListPromptRoutersResponseSuccess
1252
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPromptRoutersResponse]
1253
+ def prompt_router_summaries: () -> ::Array[Types::PromptRouterSummary]
1254
+ def next_token: () -> ::String
1255
+ end
1256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_prompt_routers-instance_method
1257
+ def list_prompt_routers: (
1258
+ ?max_results: ::Integer,
1259
+ ?next_token: ::String
1260
+ ) -> _ListPromptRoutersResponseSuccess
1261
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPromptRoutersResponseSuccess
1262
+
1158
1263
  interface _ListProvisionedModelThroughputsResponseSuccess
1159
1264
  include ::Seahorse::Client::_ResponseSuccess[Types::ListProvisionedModelThroughputsResponse]
1160
1265
  def next_token: () -> ::String
@@ -1210,6 +1315,17 @@ module Aws
1210
1315
  ) -> _PutModelInvocationLoggingConfigurationResponseSuccess
1211
1316
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutModelInvocationLoggingConfigurationResponseSuccess
1212
1317
 
1318
+ interface _RegisterMarketplaceModelEndpointResponseSuccess
1319
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterMarketplaceModelEndpointResponse]
1320
+ def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
1321
+ end
1322
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#register_marketplace_model_endpoint-instance_method
1323
+ def register_marketplace_model_endpoint: (
1324
+ endpoint_identifier: ::String,
1325
+ model_source_identifier: ::String
1326
+ ) -> _RegisterMarketplaceModelEndpointResponseSuccess
1327
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterMarketplaceModelEndpointResponseSuccess
1328
+
1213
1329
  interface _StopEvaluationJobResponseSuccess
1214
1330
  include ::Seahorse::Client::_ResponseSuccess[Types::StopEvaluationJobResponse]
1215
1331
  end
@@ -1289,7 +1405,9 @@ module Aws
1289
1405
  {
1290
1406
  type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK"),
1291
1407
  input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
1292
- output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
1408
+ output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
1409
+ input_modalities: Array[("TEXT" | "IMAGE")]?,
1410
+ output_modalities: Array[("TEXT" | "IMAGE")]?
1293
1411
  },
1294
1412
  ]
1295
1413
  },
@@ -1335,6 +1453,29 @@ module Aws
1335
1453
  ) -> _UpdateGuardrailResponseSuccess
1336
1454
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGuardrailResponseSuccess
1337
1455
 
1456
+ interface _UpdateMarketplaceModelEndpointResponseSuccess
1457
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMarketplaceModelEndpointResponse]
1458
+ def marketplace_model_endpoint: () -> Types::MarketplaceModelEndpoint
1459
+ end
1460
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#update_marketplace_model_endpoint-instance_method
1461
+ def update_marketplace_model_endpoint: (
1462
+ endpoint_arn: ::String,
1463
+ endpoint_config: {
1464
+ sage_maker: {
1465
+ initial_instance_count: ::Integer,
1466
+ instance_type: ::String,
1467
+ execution_role: ::String,
1468
+ kms_encryption_key: ::String?,
1469
+ vpc: {
1470
+ subnet_ids: Array[::String],
1471
+ security_group_ids: Array[::String]
1472
+ }?
1473
+ }?
1474
+ },
1475
+ ?client_request_token: ::String
1476
+ ) -> _UpdateMarketplaceModelEndpointResponseSuccess
1477
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMarketplaceModelEndpointResponseSuccess
1478
+
1338
1479
  interface _UpdateProvisionedModelThroughputResponseSuccess
1339
1480
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProvisionedModelThroughputResponse]
1340
1481
  end
data/sig/errors.rbs CHANGED
@@ -26,6 +26,9 @@ module Aws
26
26
  class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
27
27
  def message: () -> ::String
28
28
  end
29
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
29
32
  class ThrottlingException < ::Aws::Errors::ServiceError
30
33
  def message: () -> ::String
31
34
  end
data/sig/types.rbs CHANGED
@@ -138,6 +138,21 @@ module Aws::Bedrock
138
138
  SENSITIVE: []
139
139
  end
140
140
 
141
+ class CreateMarketplaceModelEndpointRequest
142
+ attr_accessor model_source_identifier: ::String
143
+ attr_accessor endpoint_config: Types::EndpointConfig
144
+ attr_accessor accept_eula: bool
145
+ attr_accessor endpoint_name: ::String
146
+ attr_accessor client_request_token: ::String
147
+ attr_accessor tags: ::Array[Types::Tag]
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class CreateMarketplaceModelEndpointResponse
152
+ attr_accessor marketplace_model_endpoint: Types::MarketplaceModelEndpoint
153
+ SENSITIVE: []
154
+ end
155
+
141
156
  class CreateModelCopyJobRequest
142
157
  attr_accessor source_model_arn: ::String
143
158
  attr_accessor target_model_name: ::String
@@ -282,6 +297,14 @@ module Aws::Bedrock
282
297
  class DeleteInferenceProfileResponse < Aws::EmptyStructure
283
298
  end
284
299
 
300
+ class DeleteMarketplaceModelEndpointRequest
301
+ attr_accessor endpoint_arn: ::String
302
+ SENSITIVE: []
303
+ end
304
+
305
+ class DeleteMarketplaceModelEndpointResponse < Aws::EmptyStructure
306
+ end
307
+
285
308
  class DeleteModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
286
309
  end
287
310
 
@@ -296,11 +319,30 @@ module Aws::Bedrock
296
319
  class DeleteProvisionedModelThroughputResponse < Aws::EmptyStructure
297
320
  end
298
321
 
322
+ class DeregisterMarketplaceModelEndpointRequest
323
+ attr_accessor endpoint_arn: ::String
324
+ SENSITIVE: []
325
+ end
326
+
327
+ class DeregisterMarketplaceModelEndpointResponse < Aws::EmptyStructure
328
+ end
329
+
299
330
  class DistillationConfig
300
331
  attr_accessor teacher_model_config: Types::TeacherModelConfig
301
332
  SENSITIVE: []
302
333
  end
303
334
 
335
+ class EndpointConfig
336
+ attr_accessor sage_maker: Types::SageMakerEndpoint
337
+ attr_accessor unknown: untyped
338
+ SENSITIVE: []
339
+
340
+ class SageMaker < EndpointConfig
341
+ end
342
+ class Unknown < EndpointConfig
343
+ end
344
+ end
345
+
304
346
  class EvaluationBedrockModel
305
347
  attr_accessor model_identifier: ::String
306
348
  attr_accessor inference_params: ::String
@@ -590,6 +632,16 @@ module Aws::Bedrock
590
632
  SENSITIVE: [:description]
591
633
  end
592
634
 
635
+ class GetMarketplaceModelEndpointRequest
636
+ attr_accessor endpoint_arn: ::String
637
+ SENSITIVE: []
638
+ end
639
+
640
+ class GetMarketplaceModelEndpointResponse
641
+ attr_accessor marketplace_model_endpoint: Types::MarketplaceModelEndpoint
642
+ SENSITIVE: []
643
+ end
644
+
593
645
  class GetModelCopyJobRequest
594
646
  attr_accessor job_arn: ::String
595
647
  SENSITIVE: []
@@ -695,6 +747,25 @@ module Aws::Bedrock
695
747
  SENSITIVE: []
696
748
  end
697
749
 
750
+ class GetPromptRouterRequest
751
+ attr_accessor prompt_router_arn: ::String
752
+ SENSITIVE: []
753
+ end
754
+
755
+ class GetPromptRouterResponse
756
+ attr_accessor prompt_router_name: ::String
757
+ attr_accessor routing_criteria: Types::RoutingCriteria
758
+ attr_accessor description: ::String
759
+ attr_accessor created_at: ::Time
760
+ attr_accessor updated_at: ::Time
761
+ attr_accessor prompt_router_arn: ::String
762
+ attr_accessor models: ::Array[Types::PromptRouterTargetModel]
763
+ attr_accessor fallback_model: Types::PromptRouterTargetModel
764
+ attr_accessor status: ("AVAILABLE")
765
+ attr_accessor type: ("custom" | "default")
766
+ SENSITIVE: [:description]
767
+ end
768
+
698
769
  class GetProvisionedModelThroughputRequest
699
770
  attr_accessor provisioned_model_id: ::String
700
771
  SENSITIVE: []
@@ -727,6 +798,8 @@ module Aws::Bedrock
727
798
  attr_accessor type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK")
728
799
  attr_accessor input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
729
800
  attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
801
+ attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE")]
802
+ attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE")]
730
803
  SENSITIVE: []
731
804
  end
732
805
 
@@ -734,6 +807,8 @@ module Aws::Bedrock
734
807
  attr_accessor type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK")
735
808
  attr_accessor input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
736
809
  attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
810
+ attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE")]
811
+ attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE")]
737
812
  SENSITIVE: []
738
813
  end
739
814
 
@@ -1095,6 +1170,19 @@ module Aws::Bedrock
1095
1170
  SENSITIVE: []
1096
1171
  end
1097
1172
 
1173
+ class ListMarketplaceModelEndpointsRequest
1174
+ attr_accessor max_results: ::Integer
1175
+ attr_accessor next_token: ::String
1176
+ attr_accessor model_source_equals: ::String
1177
+ SENSITIVE: []
1178
+ end
1179
+
1180
+ class ListMarketplaceModelEndpointsResponse
1181
+ attr_accessor marketplace_model_endpoints: ::Array[Types::MarketplaceModelEndpointSummary]
1182
+ attr_accessor next_token: ::String
1183
+ SENSITIVE: []
1184
+ end
1185
+
1098
1186
  class ListModelCopyJobsRequest
1099
1187
  attr_accessor creation_time_after: ::Time
1100
1188
  attr_accessor creation_time_before: ::Time
@@ -1169,6 +1257,18 @@ module Aws::Bedrock
1169
1257
  SENSITIVE: []
1170
1258
  end
1171
1259
 
1260
+ class ListPromptRoutersRequest
1261
+ attr_accessor max_results: ::Integer
1262
+ attr_accessor next_token: ::String
1263
+ SENSITIVE: []
1264
+ end
1265
+
1266
+ class ListPromptRoutersResponse
1267
+ attr_accessor prompt_router_summaries: ::Array[Types::PromptRouterSummary]
1268
+ attr_accessor next_token: ::String
1269
+ SENSITIVE: []
1270
+ end
1271
+
1172
1272
  class ListProvisionedModelThroughputsRequest
1173
1273
  attr_accessor creation_time_after: ::Time
1174
1274
  attr_accessor creation_time_before: ::Time
@@ -1208,6 +1308,29 @@ module Aws::Bedrock
1208
1308
  SENSITIVE: []
1209
1309
  end
1210
1310
 
1311
+ class MarketplaceModelEndpoint
1312
+ attr_accessor endpoint_arn: ::String
1313
+ attr_accessor model_source_identifier: ::String
1314
+ attr_accessor status: ("REGISTERED" | "INCOMPATIBLE_ENDPOINT")
1315
+ attr_accessor status_message: ::String
1316
+ attr_accessor created_at: ::Time
1317
+ attr_accessor updated_at: ::Time
1318
+ attr_accessor endpoint_config: Types::EndpointConfig
1319
+ attr_accessor endpoint_status: ::String
1320
+ attr_accessor endpoint_status_message: ::String
1321
+ SENSITIVE: []
1322
+ end
1323
+
1324
+ class MarketplaceModelEndpointSummary
1325
+ attr_accessor endpoint_arn: ::String
1326
+ attr_accessor model_source_identifier: ::String
1327
+ attr_accessor status: ("REGISTERED" | "INCOMPATIBLE_ENDPOINT")
1328
+ attr_accessor status_message: ::String
1329
+ attr_accessor created_at: ::Time
1330
+ attr_accessor updated_at: ::Time
1331
+ SENSITIVE: []
1332
+ end
1333
+
1211
1334
  class ModelCopyJobSummary
1212
1335
  attr_accessor job_arn: ::String
1213
1336
  attr_accessor status: ("InProgress" | "Completed" | "Failed")
@@ -1325,6 +1448,25 @@ module Aws::Bedrock
1325
1448
  SENSITIVE: []
1326
1449
  end
1327
1450
 
1451
+ class PromptRouterSummary
1452
+ attr_accessor prompt_router_name: ::String
1453
+ attr_accessor routing_criteria: Types::RoutingCriteria
1454
+ attr_accessor description: ::String
1455
+ attr_accessor created_at: ::Time
1456
+ attr_accessor updated_at: ::Time
1457
+ attr_accessor prompt_router_arn: ::String
1458
+ attr_accessor models: ::Array[Types::PromptRouterTargetModel]
1459
+ attr_accessor fallback_model: Types::PromptRouterTargetModel
1460
+ attr_accessor status: ("AVAILABLE")
1461
+ attr_accessor type: ("custom" | "default")
1462
+ SENSITIVE: [:description]
1463
+ end
1464
+
1465
+ class PromptRouterTargetModel
1466
+ attr_accessor model_arn: ::String
1467
+ SENSITIVE: []
1468
+ end
1469
+
1328
1470
  class PromptTemplate
1329
1471
  attr_accessor text_prompt_template: ::String
1330
1472
  SENSITIVE: [:text_prompt_template]
@@ -1370,6 +1512,17 @@ module Aws::Bedrock
1370
1512
  end
1371
1513
  end
1372
1514
 
1515
+ class RegisterMarketplaceModelEndpointRequest
1516
+ attr_accessor endpoint_identifier: ::String
1517
+ attr_accessor model_source_identifier: ::String
1518
+ SENSITIVE: []
1519
+ end
1520
+
1521
+ class RegisterMarketplaceModelEndpointResponse
1522
+ attr_accessor marketplace_model_endpoint: Types::MarketplaceModelEndpoint
1523
+ SENSITIVE: []
1524
+ end
1525
+
1373
1526
  class RequestMetadataBaseFilters
1374
1527
  attr_accessor equals: ::Hash[::String, ::String]
1375
1528
  attr_accessor not_equals: ::Hash[::String, ::String]
@@ -1461,6 +1614,11 @@ module Aws::Bedrock
1461
1614
  SENSITIVE: []
1462
1615
  end
1463
1616
 
1617
+ class RoutingCriteria
1618
+ attr_accessor response_quality_difference: ::Float
1619
+ SENSITIVE: []
1620
+ end
1621
+
1464
1622
  class S3Config
1465
1623
  attr_accessor bucket_name: ::String
1466
1624
  attr_accessor key_prefix: ::String
@@ -1477,11 +1635,25 @@ module Aws::Bedrock
1477
1635
  SENSITIVE: []
1478
1636
  end
1479
1637
 
1638
+ class SageMakerEndpoint
1639
+ attr_accessor initial_instance_count: ::Integer
1640
+ attr_accessor instance_type: ::String
1641
+ attr_accessor execution_role: ::String
1642
+ attr_accessor kms_encryption_key: ::String
1643
+ attr_accessor vpc: Types::VpcConfig
1644
+ SENSITIVE: []
1645
+ end
1646
+
1480
1647
  class ServiceQuotaExceededException
1481
1648
  attr_accessor message: ::String
1482
1649
  SENSITIVE: []
1483
1650
  end
1484
1651
 
1652
+ class ServiceUnavailableException
1653
+ attr_accessor message: ::String
1654
+ SENSITIVE: []
1655
+ end
1656
+
1485
1657
  class StopEvaluationJobRequest
1486
1658
  attr_accessor job_identifier: ::String
1487
1659
  SENSITIVE: [:job_identifier]
@@ -1589,6 +1761,18 @@ module Aws::Bedrock
1589
1761
  SENSITIVE: []
1590
1762
  end
1591
1763
 
1764
+ class UpdateMarketplaceModelEndpointRequest
1765
+ attr_accessor endpoint_arn: ::String
1766
+ attr_accessor endpoint_config: Types::EndpointConfig
1767
+ attr_accessor client_request_token: ::String
1768
+ SENSITIVE: []
1769
+ end
1770
+
1771
+ class UpdateMarketplaceModelEndpointResponse
1772
+ attr_accessor marketplace_model_endpoint: Types::MarketplaceModelEndpoint
1773
+ SENSITIVE: []
1774
+ end
1775
+
1592
1776
  class UpdateProvisionedModelThroughputRequest
1593
1777
  attr_accessor provisioned_model_id: ::String
1594
1778
  attr_accessor desired_provisioned_model_name: ::String
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.31.0
4
+ version: 1.32.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-03 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core