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.
@@ -529,6 +529,68 @@ module Aws::Bedrock
529
529
  include Aws::Structure
530
530
  end
531
531
 
532
+ # @!attribute [rw] model_source_identifier
533
+ # The ARN of the model from Amazon Bedrock Marketplace that you want
534
+ # to deploy to the endpoint.
535
+ # @return [String]
536
+ #
537
+ # @!attribute [rw] endpoint_config
538
+ # The configuration for the endpoint, including the number and type of
539
+ # instances to use.
540
+ # @return [Types::EndpointConfig]
541
+ #
542
+ # @!attribute [rw] accept_eula
543
+ # Indicates whether you accept the end-user license agreement (EULA)
544
+ # for the model. Set to `true` to accept the EULA.
545
+ # @return [Boolean]
546
+ #
547
+ # @!attribute [rw] endpoint_name
548
+ # The name of the endpoint. This name must be unique within your
549
+ # Amazon Web Services account and region.
550
+ # @return [String]
551
+ #
552
+ # @!attribute [rw] client_request_token
553
+ # A unique, case-sensitive identifier that you provide to ensure the
554
+ # idempotency of the request. This token is listed as not required
555
+ # because Amazon Web Services SDKs automatically generate it for you
556
+ # and set this parameter. If you're not using the Amazon Web Services
557
+ # SDK or the CLI, you must provide this token or the action will fail.
558
+ #
559
+ # **A suitable default value is auto-generated.** You should normally
560
+ # not need to pass this option.
561
+ # @return [String]
562
+ #
563
+ # @!attribute [rw] tags
564
+ # An array of key-value pairs to apply to the underlying Amazon
565
+ # SageMaker endpoint. You can use these tags to organize and identify
566
+ # your Amazon Web Services resources.
567
+ # @return [Array<Types::Tag>]
568
+ #
569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateMarketplaceModelEndpointRequest AWS API Documentation
570
+ #
571
+ class CreateMarketplaceModelEndpointRequest < Struct.new(
572
+ :model_source_identifier,
573
+ :endpoint_config,
574
+ :accept_eula,
575
+ :endpoint_name,
576
+ :client_request_token,
577
+ :tags)
578
+ SENSITIVE = []
579
+ include Aws::Structure
580
+ end
581
+
582
+ # @!attribute [rw] marketplace_model_endpoint
583
+ # Details about the created endpoint.
584
+ # @return [Types::MarketplaceModelEndpoint]
585
+ #
586
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateMarketplaceModelEndpointResponse AWS API Documentation
587
+ #
588
+ class CreateMarketplaceModelEndpointResponse < Struct.new(
589
+ :marketplace_model_endpoint)
590
+ SENSITIVE = []
591
+ include Aws::Structure
592
+ end
593
+
532
594
  # @!attribute [rw] source_model_arn
533
595
  # The Amazon Resource Name (ARN) of the model to be copied.
534
596
  # @return [String]
@@ -1117,6 +1179,22 @@ module Aws::Bedrock
1117
1179
  #
1118
1180
  class DeleteInferenceProfileResponse < Aws::EmptyStructure; end
1119
1181
 
1182
+ # @!attribute [rw] endpoint_arn
1183
+ # The Amazon Resource Name (ARN) of the endpoint you want to delete.
1184
+ # @return [String]
1185
+ #
1186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteMarketplaceModelEndpointRequest AWS API Documentation
1187
+ #
1188
+ class DeleteMarketplaceModelEndpointRequest < Struct.new(
1189
+ :endpoint_arn)
1190
+ SENSITIVE = []
1191
+ include Aws::Structure
1192
+ end
1193
+
1194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteMarketplaceModelEndpointResponse AWS API Documentation
1195
+ #
1196
+ class DeleteMarketplaceModelEndpointResponse < Aws::EmptyStructure; end
1197
+
1120
1198
  # @api private
1121
1199
  #
1122
1200
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteModelInvocationLoggingConfigurationRequest AWS API Documentation
@@ -1144,6 +1222,23 @@ module Aws::Bedrock
1144
1222
  #
1145
1223
  class DeleteProvisionedModelThroughputResponse < Aws::EmptyStructure; end
1146
1224
 
1225
+ # @!attribute [rw] endpoint_arn
1226
+ # The Amazon Resource Name (ARN) of the endpoint you want to
1227
+ # deregister.
1228
+ # @return [String]
1229
+ #
1230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeregisterMarketplaceModelEndpointRequest AWS API Documentation
1231
+ #
1232
+ class DeregisterMarketplaceModelEndpointRequest < Struct.new(
1233
+ :endpoint_arn)
1234
+ SENSITIVE = []
1235
+ include Aws::Structure
1236
+ end
1237
+
1238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeregisterMarketplaceModelEndpointResponse AWS API Documentation
1239
+ #
1240
+ class DeregisterMarketplaceModelEndpointResponse < Aws::EmptyStructure; end
1241
+
1147
1242
  # Settings for distilling a foundation model into a smaller and more
1148
1243
  # efficient model.
1149
1244
  #
@@ -1159,6 +1254,29 @@ module Aws::Bedrock
1159
1254
  include Aws::Structure
1160
1255
  end
1161
1256
 
1257
+ # Specifies the configuration for the endpoint.
1258
+ #
1259
+ # @note EndpointConfig is a union - when making an API calls you must set exactly one of the members.
1260
+ #
1261
+ # @note EndpointConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EndpointConfig corresponding to the set member.
1262
+ #
1263
+ # @!attribute [rw] sage_maker
1264
+ # The configuration specific to Amazon SageMaker for the endpoint.
1265
+ # @return [Types::SageMakerEndpoint]
1266
+ #
1267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EndpointConfig AWS API Documentation
1268
+ #
1269
+ class EndpointConfig < Struct.new(
1270
+ :sage_maker,
1271
+ :unknown)
1272
+ SENSITIVE = []
1273
+ include Aws::Structure
1274
+ include Aws::Structure::Union
1275
+
1276
+ class SageMaker < EndpointConfig; end
1277
+ class Unknown < EndpointConfig; end
1278
+ end
1279
+
1162
1280
  # Contains the ARN of the Amazon Bedrock model or [inference profile][1]
1163
1281
  # specified in your evaluation job. Each Amazon Bedrock model supports
1164
1282
  # different `inferenceParams`. To learn more about supported inference
@@ -2260,6 +2378,31 @@ module Aws::Bedrock
2260
2378
  include Aws::Structure
2261
2379
  end
2262
2380
 
2381
+ # @!attribute [rw] endpoint_arn
2382
+ # The Amazon Resource Name (ARN) of the endpoint you want to get
2383
+ # information about.
2384
+ # @return [String]
2385
+ #
2386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetMarketplaceModelEndpointRequest AWS API Documentation
2387
+ #
2388
+ class GetMarketplaceModelEndpointRequest < Struct.new(
2389
+ :endpoint_arn)
2390
+ SENSITIVE = []
2391
+ include Aws::Structure
2392
+ end
2393
+
2394
+ # @!attribute [rw] marketplace_model_endpoint
2395
+ # Details about the requested endpoint.
2396
+ # @return [Types::MarketplaceModelEndpoint]
2397
+ #
2398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetMarketplaceModelEndpointResponse AWS API Documentation
2399
+ #
2400
+ class GetMarketplaceModelEndpointResponse < Struct.new(
2401
+ :marketplace_model_endpoint)
2402
+ SENSITIVE = []
2403
+ include Aws::Structure
2404
+ end
2405
+
2263
2406
  # @!attribute [rw] job_arn
2264
2407
  # The Amazon Resource Name (ARN) of the model copy job.
2265
2408
  # @return [String]
@@ -2748,6 +2891,75 @@ module Aws::Bedrock
2748
2891
  include Aws::Structure
2749
2892
  end
2750
2893
 
2894
+ # @!attribute [rw] prompt_router_arn
2895
+ # The prompt router's ARN
2896
+ # @return [String]
2897
+ #
2898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetPromptRouterRequest AWS API Documentation
2899
+ #
2900
+ class GetPromptRouterRequest < Struct.new(
2901
+ :prompt_router_arn)
2902
+ SENSITIVE = []
2903
+ include Aws::Structure
2904
+ end
2905
+
2906
+ # @!attribute [rw] prompt_router_name
2907
+ # The router's name.
2908
+ # @return [String]
2909
+ #
2910
+ # @!attribute [rw] routing_criteria
2911
+ # The router's routing criteria.
2912
+ # @return [Types::RoutingCriteria]
2913
+ #
2914
+ # @!attribute [rw] description
2915
+ # The router's description.
2916
+ # @return [String]
2917
+ #
2918
+ # @!attribute [rw] created_at
2919
+ # When the router was created.
2920
+ # @return [Time]
2921
+ #
2922
+ # @!attribute [rw] updated_at
2923
+ # When the router was updated.
2924
+ # @return [Time]
2925
+ #
2926
+ # @!attribute [rw] prompt_router_arn
2927
+ # The prompt router's ARN
2928
+ # @return [String]
2929
+ #
2930
+ # @!attribute [rw] models
2931
+ # The router's models.
2932
+ # @return [Array<Types::PromptRouterTargetModel>]
2933
+ #
2934
+ # @!attribute [rw] fallback_model
2935
+ # The router's fallback model.
2936
+ # @return [Types::PromptRouterTargetModel]
2937
+ #
2938
+ # @!attribute [rw] status
2939
+ # The router's status.
2940
+ # @return [String]
2941
+ #
2942
+ # @!attribute [rw] type
2943
+ # The router's type.
2944
+ # @return [String]
2945
+ #
2946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetPromptRouterResponse AWS API Documentation
2947
+ #
2948
+ class GetPromptRouterResponse < Struct.new(
2949
+ :prompt_router_name,
2950
+ :routing_criteria,
2951
+ :description,
2952
+ :created_at,
2953
+ :updated_at,
2954
+ :prompt_router_arn,
2955
+ :models,
2956
+ :fallback_model,
2957
+ :status,
2958
+ :type)
2959
+ SENSITIVE = [:description]
2960
+ include Aws::Structure
2961
+ end
2962
+
2751
2963
  # @!attribute [rw] provisioned_model_id
2752
2964
  # The Amazon Resource Name (ARN) or name of the Provisioned
2753
2965
  # Throughput.
@@ -2926,13 +3138,23 @@ module Aws::Bedrock
2926
3138
  # content in your application reduces.
2927
3139
  # @return [String]
2928
3140
  #
3141
+ # @!attribute [rw] input_modalities
3142
+ # The input modalities selected for the guardrail content filter.
3143
+ # @return [Array<String>]
3144
+ #
3145
+ # @!attribute [rw] output_modalities
3146
+ # The output modalities selected for the guardrail content filter.
3147
+ # @return [Array<String>]
3148
+ #
2929
3149
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentFilter AWS API Documentation
2930
3150
  #
2931
3151
  class GuardrailContentFilter < Struct.new(
2932
3152
  :type,
2933
3153
  :input_strength,
2934
- :output_strength)
2935
- SENSITIVE = []
3154
+ :output_strength,
3155
+ :input_modalities,
3156
+ :output_modalities)
3157
+ SENSITIVE = [:input_modalities, :output_modalities]
2936
3158
  include Aws::Structure
2937
3159
  end
2938
3160
 
@@ -2993,13 +3215,25 @@ module Aws::Bedrock
2993
3215
  # content in your application reduces.
2994
3216
  # @return [String]
2995
3217
  #
3218
+ # @!attribute [rw] input_modalities
3219
+ # The input modalities selected for the guardrail content filter
3220
+ # configuration.
3221
+ # @return [Array<String>]
3222
+ #
3223
+ # @!attribute [rw] output_modalities
3224
+ # The output modalities selected for the guardrail content filter
3225
+ # configuration.
3226
+ # @return [Array<String>]
3227
+ #
2996
3228
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentFilterConfig AWS API Documentation
2997
3229
  #
2998
3230
  class GuardrailContentFilterConfig < Struct.new(
2999
3231
  :type,
3000
3232
  :input_strength,
3001
- :output_strength)
3002
- SENSITIVE = []
3233
+ :output_strength,
3234
+ :input_modalities,
3235
+ :output_modalities)
3236
+ SENSITIVE = [:input_modalities, :output_modalities]
3003
3237
  include Aws::Structure
3004
3238
  end
3005
3239
 
@@ -3148,7 +3382,7 @@ module Aws::Bedrock
3148
3382
  # The PII entity configured for the guardrail.
3149
3383
  #
3150
3384
  # @!attribute [rw] type
3151
- # The type of PII entity. For exampvle, Social Security Number.
3385
+ # The type of PII entity. For example, Social Security Number.
3152
3386
  # @return [String]
3153
3387
  #
3154
3388
  # @!attribute [rw] action
@@ -3183,7 +3417,7 @@ module Aws::Bedrock
3183
3417
  # * **AGE**
3184
3418
  #
3185
3419
  # An individual's age, including the quantity and unit of time.
3186
- # For example, in the phrase "I am 40 years old," Guarrails
3420
+ # For example, in the phrase "I am 40 years old," Guardrails
3187
3421
  # recognizes "40 years" as an age.
3188
3422
  #
3189
3423
  # * **NAME**
@@ -3237,7 +3471,7 @@ module Aws::Bedrock
3237
3471
  # VINs.
3238
3472
  # * **Finance**
3239
3473
  #
3240
- # * **REDIT\_DEBIT\_CARD\_CVV**
3474
+ # * **CREDIT\_DEBIT\_CARD\_CVV**
3241
3475
  #
3242
3476
  # A three-digit card verification code (CVV) that is present on
3243
3477
  # VISA, MasterCard, and Discover credit and debit cards. For
@@ -4556,6 +4790,49 @@ module Aws::Bedrock
4556
4790
  include Aws::Structure
4557
4791
  end
4558
4792
 
4793
+ # @!attribute [rw] max_results
4794
+ # The maximum number of results to return in a single call. If more
4795
+ # results are available, the operation returns a `NextToken` value.
4796
+ # @return [Integer]
4797
+ #
4798
+ # @!attribute [rw] next_token
4799
+ # The token for the next set of results. You receive this token from a
4800
+ # previous `ListMarketplaceModelEndpoints` call.
4801
+ # @return [String]
4802
+ #
4803
+ # @!attribute [rw] model_source_equals
4804
+ # If specified, only endpoints for the given model source identifier
4805
+ # are returned.
4806
+ # @return [String]
4807
+ #
4808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListMarketplaceModelEndpointsRequest AWS API Documentation
4809
+ #
4810
+ class ListMarketplaceModelEndpointsRequest < Struct.new(
4811
+ :max_results,
4812
+ :next_token,
4813
+ :model_source_equals)
4814
+ SENSITIVE = []
4815
+ include Aws::Structure
4816
+ end
4817
+
4818
+ # @!attribute [rw] marketplace_model_endpoints
4819
+ # An array of endpoint summaries.
4820
+ # @return [Array<Types::MarketplaceModelEndpointSummary>]
4821
+ #
4822
+ # @!attribute [rw] next_token
4823
+ # The token for the next set of results. Use this token to get the
4824
+ # next set of results.
4825
+ # @return [String]
4826
+ #
4827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListMarketplaceModelEndpointsResponse AWS API Documentation
4828
+ #
4829
+ class ListMarketplaceModelEndpointsResponse < Struct.new(
4830
+ :marketplace_model_endpoints,
4831
+ :next_token)
4832
+ SENSITIVE = []
4833
+ include Aws::Structure
4834
+ end
4835
+
4559
4836
  # @!attribute [rw] creation_time_after
4560
4837
  # Filters for model copy jobs created after the specified time.
4561
4838
  # @return [Time]
@@ -4920,6 +5197,43 @@ module Aws::Bedrock
4920
5197
  include Aws::Structure
4921
5198
  end
4922
5199
 
5200
+ # @!attribute [rw] max_results
5201
+ # The maximum number of prompt routers to return in one page of
5202
+ # results.
5203
+ # @return [Integer]
5204
+ #
5205
+ # @!attribute [rw] next_token
5206
+ # Specify the pagination token from a previous request to retrieve the
5207
+ # next page of results.
5208
+ # @return [String]
5209
+ #
5210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListPromptRoutersRequest AWS API Documentation
5211
+ #
5212
+ class ListPromptRoutersRequest < Struct.new(
5213
+ :max_results,
5214
+ :next_token)
5215
+ SENSITIVE = []
5216
+ include Aws::Structure
5217
+ end
5218
+
5219
+ # @!attribute [rw] prompt_router_summaries
5220
+ # A list of prompt router summaries.
5221
+ # @return [Array<Types::PromptRouterSummary>]
5222
+ #
5223
+ # @!attribute [rw] next_token
5224
+ # Specify the pagination token from a previous request to retrieve the
5225
+ # next page of results.
5226
+ # @return [String]
5227
+ #
5228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListPromptRoutersResponse AWS API Documentation
5229
+ #
5230
+ class ListPromptRoutersResponse < Struct.new(
5231
+ :prompt_router_summaries,
5232
+ :next_token)
5233
+ SENSITIVE = []
5234
+ include Aws::Structure
5235
+ end
5236
+
4923
5237
  # @!attribute [rw] creation_time_after
4924
5238
  # A filter that returns Provisioned Throughputs created after the
4925
5239
  # specified time.
@@ -5068,6 +5382,106 @@ module Aws::Bedrock
5068
5382
  include Aws::Structure
5069
5383
  end
5070
5384
 
5385
+ # Contains details about an endpoint for a model from Amazon Bedrock
5386
+ # Marketplace.
5387
+ #
5388
+ # @!attribute [rw] endpoint_arn
5389
+ # The Amazon Resource Name (ARN) of the endpoint.
5390
+ # @return [String]
5391
+ #
5392
+ # @!attribute [rw] model_source_identifier
5393
+ # The ARN of the model from Amazon Bedrock Marketplace that is
5394
+ # deployed on this endpoint.
5395
+ # @return [String]
5396
+ #
5397
+ # @!attribute [rw] status
5398
+ # The overall status of the endpoint in Amazon Bedrock Marketplace
5399
+ # (e.g., ACTIVE, INACTIVE).
5400
+ # @return [String]
5401
+ #
5402
+ # @!attribute [rw] status_message
5403
+ # Additional information about the overall status, if available.
5404
+ # @return [String]
5405
+ #
5406
+ # @!attribute [rw] created_at
5407
+ # The timestamp when the endpoint was registered.
5408
+ # @return [Time]
5409
+ #
5410
+ # @!attribute [rw] updated_at
5411
+ # The timestamp when the endpoint was last updated.
5412
+ # @return [Time]
5413
+ #
5414
+ # @!attribute [rw] endpoint_config
5415
+ # The configuration of the endpoint, including the number and type of
5416
+ # instances used.
5417
+ # @return [Types::EndpointConfig]
5418
+ #
5419
+ # @!attribute [rw] endpoint_status
5420
+ # The current status of the endpoint (e.g., Creating, InService,
5421
+ # Updating, Failed).
5422
+ # @return [String]
5423
+ #
5424
+ # @!attribute [rw] endpoint_status_message
5425
+ # Additional information about the endpoint status, if available.
5426
+ # @return [String]
5427
+ #
5428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/MarketplaceModelEndpoint AWS API Documentation
5429
+ #
5430
+ class MarketplaceModelEndpoint < Struct.new(
5431
+ :endpoint_arn,
5432
+ :model_source_identifier,
5433
+ :status,
5434
+ :status_message,
5435
+ :created_at,
5436
+ :updated_at,
5437
+ :endpoint_config,
5438
+ :endpoint_status,
5439
+ :endpoint_status_message)
5440
+ SENSITIVE = []
5441
+ include Aws::Structure
5442
+ end
5443
+
5444
+ # Provides a summary of an endpoint for a model from Amazon Bedrock
5445
+ # Marketplace.
5446
+ #
5447
+ # @!attribute [rw] endpoint_arn
5448
+ # The Amazon Resource Name (ARN) of the endpoint.
5449
+ # @return [String]
5450
+ #
5451
+ # @!attribute [rw] model_source_identifier
5452
+ # The ARN of the model from Amazon Bedrock Marketplace that is
5453
+ # deployed on this endpoint.
5454
+ # @return [String]
5455
+ #
5456
+ # @!attribute [rw] status
5457
+ # The overall status of the endpoint in Amazon Bedrock Marketplace.
5458
+ # @return [String]
5459
+ #
5460
+ # @!attribute [rw] status_message
5461
+ # Additional information about the overall status, if available.
5462
+ # @return [String]
5463
+ #
5464
+ # @!attribute [rw] created_at
5465
+ # The timestamp when the endpoint was created.
5466
+ # @return [Time]
5467
+ #
5468
+ # @!attribute [rw] updated_at
5469
+ # The timestamp when the endpoint was last updated.
5470
+ # @return [Time]
5471
+ #
5472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/MarketplaceModelEndpointSummary AWS API Documentation
5473
+ #
5474
+ class MarketplaceModelEndpointSummary < Struct.new(
5475
+ :endpoint_arn,
5476
+ :model_source_identifier,
5477
+ :status,
5478
+ :status_message,
5479
+ :created_at,
5480
+ :updated_at)
5481
+ SENSITIVE = []
5482
+ include Aws::Structure
5483
+ end
5484
+
5071
5485
  # Contains details about each model copy job.
5072
5486
  #
5073
5487
  # This data type is used in the following API operations:
@@ -5564,6 +5978,79 @@ module Aws::Bedrock
5564
5978
  include Aws::Structure
5565
5979
  end
5566
5980
 
5981
+ # Details about a prompt router.
5982
+ #
5983
+ # @!attribute [rw] prompt_router_name
5984
+ # The router's name.
5985
+ # @return [String]
5986
+ #
5987
+ # @!attribute [rw] routing_criteria
5988
+ # The router's routing criteria.
5989
+ # @return [Types::RoutingCriteria]
5990
+ #
5991
+ # @!attribute [rw] description
5992
+ # The router's description.
5993
+ # @return [String]
5994
+ #
5995
+ # @!attribute [rw] created_at
5996
+ # When the router was created.
5997
+ # @return [Time]
5998
+ #
5999
+ # @!attribute [rw] updated_at
6000
+ # When the router was updated.
6001
+ # @return [Time]
6002
+ #
6003
+ # @!attribute [rw] prompt_router_arn
6004
+ # The router's ARN.
6005
+ # @return [String]
6006
+ #
6007
+ # @!attribute [rw] models
6008
+ # The router's models.
6009
+ # @return [Array<Types::PromptRouterTargetModel>]
6010
+ #
6011
+ # @!attribute [rw] fallback_model
6012
+ # The router's fallback model.
6013
+ # @return [Types::PromptRouterTargetModel]
6014
+ #
6015
+ # @!attribute [rw] status
6016
+ # The router's status.
6017
+ # @return [String]
6018
+ #
6019
+ # @!attribute [rw] type
6020
+ # The summary's type.
6021
+ # @return [String]
6022
+ #
6023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PromptRouterSummary AWS API Documentation
6024
+ #
6025
+ class PromptRouterSummary < Struct.new(
6026
+ :prompt_router_name,
6027
+ :routing_criteria,
6028
+ :description,
6029
+ :created_at,
6030
+ :updated_at,
6031
+ :prompt_router_arn,
6032
+ :models,
6033
+ :fallback_model,
6034
+ :status,
6035
+ :type)
6036
+ SENSITIVE = [:description]
6037
+ include Aws::Structure
6038
+ end
6039
+
6040
+ # The target model for a prompt router.
6041
+ #
6042
+ # @!attribute [rw] model_arn
6043
+ # The target model's ARN.
6044
+ # @return [String]
6045
+ #
6046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PromptRouterTargetModel AWS API Documentation
6047
+ #
6048
+ class PromptRouterTargetModel < Struct.new(
6049
+ :model_arn)
6050
+ SENSITIVE = []
6051
+ include Aws::Structure
6052
+ end
6053
+
5567
6054
  # The template for the prompt that's sent to the model for response
5568
6055
  # generation.
5569
6056
  #
@@ -5733,6 +6220,37 @@ module Aws::Bedrock
5733
6220
  class Unknown < RAGConfig; end
5734
6221
  end
5735
6222
 
6223
+ # @!attribute [rw] endpoint_identifier
6224
+ # The ARN of the Amazon SageMaker endpoint you want to register with
6225
+ # Amazon Bedrock Marketplace.
6226
+ # @return [String]
6227
+ #
6228
+ # @!attribute [rw] model_source_identifier
6229
+ # The ARN of the model from Amazon Bedrock Marketplace that is
6230
+ # deployed on the endpoint.
6231
+ # @return [String]
6232
+ #
6233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RegisterMarketplaceModelEndpointRequest AWS API Documentation
6234
+ #
6235
+ class RegisterMarketplaceModelEndpointRequest < Struct.new(
6236
+ :endpoint_identifier,
6237
+ :model_source_identifier)
6238
+ SENSITIVE = []
6239
+ include Aws::Structure
6240
+ end
6241
+
6242
+ # @!attribute [rw] marketplace_model_endpoint
6243
+ # Details about the registered endpoint.
6244
+ # @return [Types::MarketplaceModelEndpoint]
6245
+ #
6246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RegisterMarketplaceModelEndpointResponse AWS API Documentation
6247
+ #
6248
+ class RegisterMarketplaceModelEndpointResponse < Struct.new(
6249
+ :marketplace_model_endpoint)
6250
+ SENSITIVE = []
6251
+ include Aws::Structure
6252
+ end
6253
+
5736
6254
  # A mapping of a metadata key to a value that it should or should not
5737
6255
  # equal.
5738
6256
  #
@@ -6036,6 +6554,20 @@ module Aws::Bedrock
6036
6554
  include Aws::Structure
6037
6555
  end
6038
6556
 
6557
+ # Routing criteria for a prompt router.
6558
+ #
6559
+ # @!attribute [rw] response_quality_difference
6560
+ # The criteria's response quality difference.
6561
+ # @return [Float]
6562
+ #
6563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RoutingCriteria AWS API Documentation
6564
+ #
6565
+ class RoutingCriteria < Struct.new(
6566
+ :response_quality_difference)
6567
+ SENSITIVE = []
6568
+ include Aws::Structure
6569
+ end
6570
+
6039
6571
  # S3 configuration for storing log data.
6040
6572
  #
6041
6573
  # @!attribute [rw] bucket_name
@@ -6083,6 +6615,46 @@ module Aws::Bedrock
6083
6615
  include Aws::Structure
6084
6616
  end
6085
6617
 
6618
+ # Specifies the configuration for a Amazon SageMaker endpoint.
6619
+ #
6620
+ # @!attribute [rw] initial_instance_count
6621
+ # The number of Amazon EC2 compute instances to deploy for initial
6622
+ # endpoint creation.
6623
+ # @return [Integer]
6624
+ #
6625
+ # @!attribute [rw] instance_type
6626
+ # The Amazon EC2 compute instance type to deploy for hosting the
6627
+ # model.
6628
+ # @return [String]
6629
+ #
6630
+ # @!attribute [rw] execution_role
6631
+ # The ARN of the IAM role that Amazon SageMaker can assume to access
6632
+ # model artifacts and docker image for deployment on Amazon EC2
6633
+ # compute instances or for batch transform jobs.
6634
+ # @return [String]
6635
+ #
6636
+ # @!attribute [rw] kms_encryption_key
6637
+ # The Amazon Web Services KMS key that Amazon SageMaker uses to
6638
+ # encrypt data on the storage volume attached to the Amazon EC2
6639
+ # compute instance that hosts the endpoint.
6640
+ # @return [String]
6641
+ #
6642
+ # @!attribute [rw] vpc
6643
+ # The VPC configuration for the endpoint.
6644
+ # @return [Types::VpcConfig]
6645
+ #
6646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/SageMakerEndpoint AWS API Documentation
6647
+ #
6648
+ class SageMakerEndpoint < Struct.new(
6649
+ :initial_instance_count,
6650
+ :instance_type,
6651
+ :execution_role,
6652
+ :kms_encryption_key,
6653
+ :vpc)
6654
+ SENSITIVE = []
6655
+ include Aws::Structure
6656
+ end
6657
+
6086
6658
  # The number of requests exceeds the service quota. Resubmit your
6087
6659
  # request later.
6088
6660
  #
@@ -6097,6 +6669,19 @@ module Aws::Bedrock
6097
6669
  include Aws::Structure
6098
6670
  end
6099
6671
 
6672
+ # Returned if the service cannot complete the request.
6673
+ #
6674
+ # @!attribute [rw] message
6675
+ # @return [String]
6676
+ #
6677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ServiceUnavailableException AWS API Documentation
6678
+ #
6679
+ class ServiceUnavailableException < Struct.new(
6680
+ :message)
6681
+ SENSITIVE = []
6682
+ include Aws::Structure
6683
+ end
6684
+
6100
6685
  # @!attribute [rw] job_identifier
6101
6686
  # The Amazon Resource Name (ARN) of the evaluation job you want to
6102
6687
  # stop.
@@ -6429,6 +7014,48 @@ module Aws::Bedrock
6429
7014
  include Aws::Structure
6430
7015
  end
6431
7016
 
7017
+ # @!attribute [rw] endpoint_arn
7018
+ # The Amazon Resource Name (ARN) of the endpoint you want to update.
7019
+ # @return [String]
7020
+ #
7021
+ # @!attribute [rw] endpoint_config
7022
+ # The new configuration for the endpoint, including the number and
7023
+ # type of instances to use.
7024
+ # @return [Types::EndpointConfig]
7025
+ #
7026
+ # @!attribute [rw] client_request_token
7027
+ # A unique, case-sensitive identifier that you provide to ensure the
7028
+ # idempotency of the request. This token is listed as not required
7029
+ # because Amazon Web Services SDKs automatically generate it for you
7030
+ # and set this parameter. If you're not using the Amazon Web Services
7031
+ # SDK or the CLI, you must provide this token or the action will fail.
7032
+ #
7033
+ # **A suitable default value is auto-generated.** You should normally
7034
+ # not need to pass this option.
7035
+ # @return [String]
7036
+ #
7037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateMarketplaceModelEndpointRequest AWS API Documentation
7038
+ #
7039
+ class UpdateMarketplaceModelEndpointRequest < Struct.new(
7040
+ :endpoint_arn,
7041
+ :endpoint_config,
7042
+ :client_request_token)
7043
+ SENSITIVE = []
7044
+ include Aws::Structure
7045
+ end
7046
+
7047
+ # @!attribute [rw] marketplace_model_endpoint
7048
+ # Details about the updated endpoint.
7049
+ # @return [Types::MarketplaceModelEndpoint]
7050
+ #
7051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateMarketplaceModelEndpointResponse AWS API Documentation
7052
+ #
7053
+ class UpdateMarketplaceModelEndpointResponse < Struct.new(
7054
+ :marketplace_model_endpoint)
7055
+ SENSITIVE = []
7056
+ include Aws::Structure
7057
+ end
7058
+
6432
7059
  # @!attribute [rw] provisioned_model_id
6433
7060
  # The Amazon Resource Name (ARN) or name of the Provisioned Throughput
6434
7061
  # to update.