aws-sdk-bedrock 1.31.0 → 1.33.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
@@ -1185,11 +1303,16 @@ module Aws::Bedrock
1185
1303
  # change how the model behaves during inference.
1186
1304
  # @return [String]
1187
1305
  #
1306
+ # @!attribute [rw] performance_config
1307
+ # Specifies performance settings for the model or inference profile.
1308
+ # @return [Types::PerformanceConfiguration]
1309
+ #
1188
1310
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationBedrockModel AWS API Documentation
1189
1311
  #
1190
1312
  class EvaluationBedrockModel < Struct.new(
1191
1313
  :model_identifier,
1192
- :inference_params)
1314
+ :inference_params,
1315
+ :performance_config)
1193
1316
  SENSITIVE = [:inference_params]
1194
1317
  include Aws::Structure
1195
1318
  end
@@ -2260,6 +2383,31 @@ module Aws::Bedrock
2260
2383
  include Aws::Structure
2261
2384
  end
2262
2385
 
2386
+ # @!attribute [rw] endpoint_arn
2387
+ # The Amazon Resource Name (ARN) of the endpoint you want to get
2388
+ # information about.
2389
+ # @return [String]
2390
+ #
2391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetMarketplaceModelEndpointRequest AWS API Documentation
2392
+ #
2393
+ class GetMarketplaceModelEndpointRequest < Struct.new(
2394
+ :endpoint_arn)
2395
+ SENSITIVE = []
2396
+ include Aws::Structure
2397
+ end
2398
+
2399
+ # @!attribute [rw] marketplace_model_endpoint
2400
+ # Details about the requested endpoint.
2401
+ # @return [Types::MarketplaceModelEndpoint]
2402
+ #
2403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetMarketplaceModelEndpointResponse AWS API Documentation
2404
+ #
2405
+ class GetMarketplaceModelEndpointResponse < Struct.new(
2406
+ :marketplace_model_endpoint)
2407
+ SENSITIVE = []
2408
+ include Aws::Structure
2409
+ end
2410
+
2263
2411
  # @!attribute [rw] job_arn
2264
2412
  # The Amazon Resource Name (ARN) of the model copy job.
2265
2413
  # @return [String]
@@ -2748,6 +2896,75 @@ module Aws::Bedrock
2748
2896
  include Aws::Structure
2749
2897
  end
2750
2898
 
2899
+ # @!attribute [rw] prompt_router_arn
2900
+ # The prompt router's ARN
2901
+ # @return [String]
2902
+ #
2903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetPromptRouterRequest AWS API Documentation
2904
+ #
2905
+ class GetPromptRouterRequest < Struct.new(
2906
+ :prompt_router_arn)
2907
+ SENSITIVE = []
2908
+ include Aws::Structure
2909
+ end
2910
+
2911
+ # @!attribute [rw] prompt_router_name
2912
+ # The router's name.
2913
+ # @return [String]
2914
+ #
2915
+ # @!attribute [rw] routing_criteria
2916
+ # The router's routing criteria.
2917
+ # @return [Types::RoutingCriteria]
2918
+ #
2919
+ # @!attribute [rw] description
2920
+ # The router's description.
2921
+ # @return [String]
2922
+ #
2923
+ # @!attribute [rw] created_at
2924
+ # When the router was created.
2925
+ # @return [Time]
2926
+ #
2927
+ # @!attribute [rw] updated_at
2928
+ # When the router was updated.
2929
+ # @return [Time]
2930
+ #
2931
+ # @!attribute [rw] prompt_router_arn
2932
+ # The prompt router's ARN
2933
+ # @return [String]
2934
+ #
2935
+ # @!attribute [rw] models
2936
+ # The router's models.
2937
+ # @return [Array<Types::PromptRouterTargetModel>]
2938
+ #
2939
+ # @!attribute [rw] fallback_model
2940
+ # The router's fallback model.
2941
+ # @return [Types::PromptRouterTargetModel]
2942
+ #
2943
+ # @!attribute [rw] status
2944
+ # The router's status.
2945
+ # @return [String]
2946
+ #
2947
+ # @!attribute [rw] type
2948
+ # The router's type.
2949
+ # @return [String]
2950
+ #
2951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetPromptRouterResponse AWS API Documentation
2952
+ #
2953
+ class GetPromptRouterResponse < Struct.new(
2954
+ :prompt_router_name,
2955
+ :routing_criteria,
2956
+ :description,
2957
+ :created_at,
2958
+ :updated_at,
2959
+ :prompt_router_arn,
2960
+ :models,
2961
+ :fallback_model,
2962
+ :status,
2963
+ :type)
2964
+ SENSITIVE = [:description]
2965
+ include Aws::Structure
2966
+ end
2967
+
2751
2968
  # @!attribute [rw] provisioned_model_id
2752
2969
  # The Amazon Resource Name (ARN) or name of the Provisioned
2753
2970
  # Throughput.
@@ -2926,13 +3143,23 @@ module Aws::Bedrock
2926
3143
  # content in your application reduces.
2927
3144
  # @return [String]
2928
3145
  #
3146
+ # @!attribute [rw] input_modalities
3147
+ # The input modalities selected for the guardrail content filter.
3148
+ # @return [Array<String>]
3149
+ #
3150
+ # @!attribute [rw] output_modalities
3151
+ # The output modalities selected for the guardrail content filter.
3152
+ # @return [Array<String>]
3153
+ #
2929
3154
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentFilter AWS API Documentation
2930
3155
  #
2931
3156
  class GuardrailContentFilter < Struct.new(
2932
3157
  :type,
2933
3158
  :input_strength,
2934
- :output_strength)
2935
- SENSITIVE = []
3159
+ :output_strength,
3160
+ :input_modalities,
3161
+ :output_modalities)
3162
+ SENSITIVE = [:input_modalities, :output_modalities]
2936
3163
  include Aws::Structure
2937
3164
  end
2938
3165
 
@@ -2993,13 +3220,25 @@ module Aws::Bedrock
2993
3220
  # content in your application reduces.
2994
3221
  # @return [String]
2995
3222
  #
3223
+ # @!attribute [rw] input_modalities
3224
+ # The input modalities selected for the guardrail content filter
3225
+ # configuration.
3226
+ # @return [Array<String>]
3227
+ #
3228
+ # @!attribute [rw] output_modalities
3229
+ # The output modalities selected for the guardrail content filter
3230
+ # configuration.
3231
+ # @return [Array<String>]
3232
+ #
2996
3233
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentFilterConfig AWS API Documentation
2997
3234
  #
2998
3235
  class GuardrailContentFilterConfig < Struct.new(
2999
3236
  :type,
3000
3237
  :input_strength,
3001
- :output_strength)
3002
- SENSITIVE = []
3238
+ :output_strength,
3239
+ :input_modalities,
3240
+ :output_modalities)
3241
+ SENSITIVE = [:input_modalities, :output_modalities]
3003
3242
  include Aws::Structure
3004
3243
  end
3005
3244
 
@@ -3148,7 +3387,7 @@ module Aws::Bedrock
3148
3387
  # The PII entity configured for the guardrail.
3149
3388
  #
3150
3389
  # @!attribute [rw] type
3151
- # The type of PII entity. For exampvle, Social Security Number.
3390
+ # The type of PII entity. For example, Social Security Number.
3152
3391
  # @return [String]
3153
3392
  #
3154
3393
  # @!attribute [rw] action
@@ -3183,7 +3422,7 @@ module Aws::Bedrock
3183
3422
  # * **AGE**
3184
3423
  #
3185
3424
  # An individual's age, including the quantity and unit of time.
3186
- # For example, in the phrase "I am 40 years old," Guarrails
3425
+ # For example, in the phrase "I am 40 years old," Guardrails
3187
3426
  # recognizes "40 years" as an age.
3188
3427
  #
3189
3428
  # * **NAME**
@@ -3237,7 +3476,7 @@ module Aws::Bedrock
3237
3476
  # VINs.
3238
3477
  # * **Finance**
3239
3478
  #
3240
- # * **REDIT\_DEBIT\_CARD\_CVV**
3479
+ # * **CREDIT\_DEBIT\_CARD\_CVV**
3241
3480
  #
3242
3481
  # A three-digit card verification code (CVV) that is present on
3243
3482
  # VISA, MasterCard, and Discover credit and debit cards. For
@@ -4556,6 +4795,49 @@ module Aws::Bedrock
4556
4795
  include Aws::Structure
4557
4796
  end
4558
4797
 
4798
+ # @!attribute [rw] max_results
4799
+ # The maximum number of results to return in a single call. If more
4800
+ # results are available, the operation returns a `NextToken` value.
4801
+ # @return [Integer]
4802
+ #
4803
+ # @!attribute [rw] next_token
4804
+ # The token for the next set of results. You receive this token from a
4805
+ # previous `ListMarketplaceModelEndpoints` call.
4806
+ # @return [String]
4807
+ #
4808
+ # @!attribute [rw] model_source_equals
4809
+ # If specified, only endpoints for the given model source identifier
4810
+ # are returned.
4811
+ # @return [String]
4812
+ #
4813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListMarketplaceModelEndpointsRequest AWS API Documentation
4814
+ #
4815
+ class ListMarketplaceModelEndpointsRequest < Struct.new(
4816
+ :max_results,
4817
+ :next_token,
4818
+ :model_source_equals)
4819
+ SENSITIVE = []
4820
+ include Aws::Structure
4821
+ end
4822
+
4823
+ # @!attribute [rw] marketplace_model_endpoints
4824
+ # An array of endpoint summaries.
4825
+ # @return [Array<Types::MarketplaceModelEndpointSummary>]
4826
+ #
4827
+ # @!attribute [rw] next_token
4828
+ # The token for the next set of results. Use this token to get the
4829
+ # next set of results.
4830
+ # @return [String]
4831
+ #
4832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListMarketplaceModelEndpointsResponse AWS API Documentation
4833
+ #
4834
+ class ListMarketplaceModelEndpointsResponse < Struct.new(
4835
+ :marketplace_model_endpoints,
4836
+ :next_token)
4837
+ SENSITIVE = []
4838
+ include Aws::Structure
4839
+ end
4840
+
4559
4841
  # @!attribute [rw] creation_time_after
4560
4842
  # Filters for model copy jobs created after the specified time.
4561
4843
  # @return [Time]
@@ -4920,6 +5202,43 @@ module Aws::Bedrock
4920
5202
  include Aws::Structure
4921
5203
  end
4922
5204
 
5205
+ # @!attribute [rw] max_results
5206
+ # The maximum number of prompt routers to return in one page of
5207
+ # results.
5208
+ # @return [Integer]
5209
+ #
5210
+ # @!attribute [rw] next_token
5211
+ # Specify the pagination token from a previous request to retrieve the
5212
+ # next page of results.
5213
+ # @return [String]
5214
+ #
5215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListPromptRoutersRequest AWS API Documentation
5216
+ #
5217
+ class ListPromptRoutersRequest < Struct.new(
5218
+ :max_results,
5219
+ :next_token)
5220
+ SENSITIVE = []
5221
+ include Aws::Structure
5222
+ end
5223
+
5224
+ # @!attribute [rw] prompt_router_summaries
5225
+ # A list of prompt router summaries.
5226
+ # @return [Array<Types::PromptRouterSummary>]
5227
+ #
5228
+ # @!attribute [rw] next_token
5229
+ # Specify the pagination token from a previous request to retrieve the
5230
+ # next page of results.
5231
+ # @return [String]
5232
+ #
5233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListPromptRoutersResponse AWS API Documentation
5234
+ #
5235
+ class ListPromptRoutersResponse < Struct.new(
5236
+ :prompt_router_summaries,
5237
+ :next_token)
5238
+ SENSITIVE = []
5239
+ include Aws::Structure
5240
+ end
5241
+
4923
5242
  # @!attribute [rw] creation_time_after
4924
5243
  # A filter that returns Provisioned Throughputs created after the
4925
5244
  # specified time.
@@ -5068,6 +5387,106 @@ module Aws::Bedrock
5068
5387
  include Aws::Structure
5069
5388
  end
5070
5389
 
5390
+ # Contains details about an endpoint for a model from Amazon Bedrock
5391
+ # Marketplace.
5392
+ #
5393
+ # @!attribute [rw] endpoint_arn
5394
+ # The Amazon Resource Name (ARN) of the endpoint.
5395
+ # @return [String]
5396
+ #
5397
+ # @!attribute [rw] model_source_identifier
5398
+ # The ARN of the model from Amazon Bedrock Marketplace that is
5399
+ # deployed on this endpoint.
5400
+ # @return [String]
5401
+ #
5402
+ # @!attribute [rw] status
5403
+ # The overall status of the endpoint in Amazon Bedrock Marketplace
5404
+ # (e.g., ACTIVE, INACTIVE).
5405
+ # @return [String]
5406
+ #
5407
+ # @!attribute [rw] status_message
5408
+ # Additional information about the overall status, if available.
5409
+ # @return [String]
5410
+ #
5411
+ # @!attribute [rw] created_at
5412
+ # The timestamp when the endpoint was registered.
5413
+ # @return [Time]
5414
+ #
5415
+ # @!attribute [rw] updated_at
5416
+ # The timestamp when the endpoint was last updated.
5417
+ # @return [Time]
5418
+ #
5419
+ # @!attribute [rw] endpoint_config
5420
+ # The configuration of the endpoint, including the number and type of
5421
+ # instances used.
5422
+ # @return [Types::EndpointConfig]
5423
+ #
5424
+ # @!attribute [rw] endpoint_status
5425
+ # The current status of the endpoint (e.g., Creating, InService,
5426
+ # Updating, Failed).
5427
+ # @return [String]
5428
+ #
5429
+ # @!attribute [rw] endpoint_status_message
5430
+ # Additional information about the endpoint status, if available.
5431
+ # @return [String]
5432
+ #
5433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/MarketplaceModelEndpoint AWS API Documentation
5434
+ #
5435
+ class MarketplaceModelEndpoint < Struct.new(
5436
+ :endpoint_arn,
5437
+ :model_source_identifier,
5438
+ :status,
5439
+ :status_message,
5440
+ :created_at,
5441
+ :updated_at,
5442
+ :endpoint_config,
5443
+ :endpoint_status,
5444
+ :endpoint_status_message)
5445
+ SENSITIVE = []
5446
+ include Aws::Structure
5447
+ end
5448
+
5449
+ # Provides a summary of an endpoint for a model from Amazon Bedrock
5450
+ # Marketplace.
5451
+ #
5452
+ # @!attribute [rw] endpoint_arn
5453
+ # The Amazon Resource Name (ARN) of the endpoint.
5454
+ # @return [String]
5455
+ #
5456
+ # @!attribute [rw] model_source_identifier
5457
+ # The ARN of the model from Amazon Bedrock Marketplace that is
5458
+ # deployed on this endpoint.
5459
+ # @return [String]
5460
+ #
5461
+ # @!attribute [rw] status
5462
+ # The overall status of the endpoint in Amazon Bedrock Marketplace.
5463
+ # @return [String]
5464
+ #
5465
+ # @!attribute [rw] status_message
5466
+ # Additional information about the overall status, if available.
5467
+ # @return [String]
5468
+ #
5469
+ # @!attribute [rw] created_at
5470
+ # The timestamp when the endpoint was created.
5471
+ # @return [Time]
5472
+ #
5473
+ # @!attribute [rw] updated_at
5474
+ # The timestamp when the endpoint was last updated.
5475
+ # @return [Time]
5476
+ #
5477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/MarketplaceModelEndpointSummary AWS API Documentation
5478
+ #
5479
+ class MarketplaceModelEndpointSummary < Struct.new(
5480
+ :endpoint_arn,
5481
+ :model_source_identifier,
5482
+ :status,
5483
+ :status_message,
5484
+ :created_at,
5485
+ :updated_at)
5486
+ SENSITIVE = []
5487
+ include Aws::Structure
5488
+ end
5489
+
5071
5490
  # Contains details about each model copy job.
5072
5491
  #
5073
5492
  # This data type is used in the following API operations:
@@ -5564,6 +5983,94 @@ module Aws::Bedrock
5564
5983
  include Aws::Structure
5565
5984
  end
5566
5985
 
5986
+ # Contains performance settings for a model.
5987
+ #
5988
+ # @!attribute [rw] latency
5989
+ # Specifies whether to use the latency-optimized or standard version
5990
+ # of a model or inference profile.
5991
+ # @return [String]
5992
+ #
5993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PerformanceConfiguration AWS API Documentation
5994
+ #
5995
+ class PerformanceConfiguration < Struct.new(
5996
+ :latency)
5997
+ SENSITIVE = []
5998
+ include Aws::Structure
5999
+ end
6000
+
6001
+ # Details about a prompt router.
6002
+ #
6003
+ # @!attribute [rw] prompt_router_name
6004
+ # The router's name.
6005
+ # @return [String]
6006
+ #
6007
+ # @!attribute [rw] routing_criteria
6008
+ # The router's routing criteria.
6009
+ # @return [Types::RoutingCriteria]
6010
+ #
6011
+ # @!attribute [rw] description
6012
+ # The router's description.
6013
+ # @return [String]
6014
+ #
6015
+ # @!attribute [rw] created_at
6016
+ # When the router was created.
6017
+ # @return [Time]
6018
+ #
6019
+ # @!attribute [rw] updated_at
6020
+ # When the router was updated.
6021
+ # @return [Time]
6022
+ #
6023
+ # @!attribute [rw] prompt_router_arn
6024
+ # The router's ARN.
6025
+ # @return [String]
6026
+ #
6027
+ # @!attribute [rw] models
6028
+ # The router's models.
6029
+ # @return [Array<Types::PromptRouterTargetModel>]
6030
+ #
6031
+ # @!attribute [rw] fallback_model
6032
+ # The router's fallback model.
6033
+ # @return [Types::PromptRouterTargetModel]
6034
+ #
6035
+ # @!attribute [rw] status
6036
+ # The router's status.
6037
+ # @return [String]
6038
+ #
6039
+ # @!attribute [rw] type
6040
+ # The summary's type.
6041
+ # @return [String]
6042
+ #
6043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PromptRouterSummary AWS API Documentation
6044
+ #
6045
+ class PromptRouterSummary < Struct.new(
6046
+ :prompt_router_name,
6047
+ :routing_criteria,
6048
+ :description,
6049
+ :created_at,
6050
+ :updated_at,
6051
+ :prompt_router_arn,
6052
+ :models,
6053
+ :fallback_model,
6054
+ :status,
6055
+ :type)
6056
+ SENSITIVE = [:description]
6057
+ include Aws::Structure
6058
+ end
6059
+
6060
+ # The target model for a prompt router.
6061
+ #
6062
+ # @!attribute [rw] model_arn
6063
+ # The target model's ARN.
6064
+ # @return [String]
6065
+ #
6066
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PromptRouterTargetModel AWS API Documentation
6067
+ #
6068
+ class PromptRouterTargetModel < Struct.new(
6069
+ :model_arn)
6070
+ SENSITIVE = []
6071
+ include Aws::Structure
6072
+ end
6073
+
5567
6074
  # The template for the prompt that's sent to the model for response
5568
6075
  # generation.
5569
6076
  #
@@ -5733,6 +6240,37 @@ module Aws::Bedrock
5733
6240
  class Unknown < RAGConfig; end
5734
6241
  end
5735
6242
 
6243
+ # @!attribute [rw] endpoint_identifier
6244
+ # The ARN of the Amazon SageMaker endpoint you want to register with
6245
+ # Amazon Bedrock Marketplace.
6246
+ # @return [String]
6247
+ #
6248
+ # @!attribute [rw] model_source_identifier
6249
+ # The ARN of the model from Amazon Bedrock Marketplace that is
6250
+ # deployed on the endpoint.
6251
+ # @return [String]
6252
+ #
6253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RegisterMarketplaceModelEndpointRequest AWS API Documentation
6254
+ #
6255
+ class RegisterMarketplaceModelEndpointRequest < Struct.new(
6256
+ :endpoint_identifier,
6257
+ :model_source_identifier)
6258
+ SENSITIVE = []
6259
+ include Aws::Structure
6260
+ end
6261
+
6262
+ # @!attribute [rw] marketplace_model_endpoint
6263
+ # Details about the registered endpoint.
6264
+ # @return [Types::MarketplaceModelEndpoint]
6265
+ #
6266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RegisterMarketplaceModelEndpointResponse AWS API Documentation
6267
+ #
6268
+ class RegisterMarketplaceModelEndpointResponse < Struct.new(
6269
+ :marketplace_model_endpoint)
6270
+ SENSITIVE = []
6271
+ include Aws::Structure
6272
+ end
6273
+
5736
6274
  # A mapping of a metadata key to a value that it should or should not
5737
6275
  # equal.
5738
6276
  #
@@ -6036,6 +6574,20 @@ module Aws::Bedrock
6036
6574
  include Aws::Structure
6037
6575
  end
6038
6576
 
6577
+ # Routing criteria for a prompt router.
6578
+ #
6579
+ # @!attribute [rw] response_quality_difference
6580
+ # The criteria's response quality difference.
6581
+ # @return [Float]
6582
+ #
6583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RoutingCriteria AWS API Documentation
6584
+ #
6585
+ class RoutingCriteria < Struct.new(
6586
+ :response_quality_difference)
6587
+ SENSITIVE = []
6588
+ include Aws::Structure
6589
+ end
6590
+
6039
6591
  # S3 configuration for storing log data.
6040
6592
  #
6041
6593
  # @!attribute [rw] bucket_name
@@ -6083,6 +6635,46 @@ module Aws::Bedrock
6083
6635
  include Aws::Structure
6084
6636
  end
6085
6637
 
6638
+ # Specifies the configuration for a Amazon SageMaker endpoint.
6639
+ #
6640
+ # @!attribute [rw] initial_instance_count
6641
+ # The number of Amazon EC2 compute instances to deploy for initial
6642
+ # endpoint creation.
6643
+ # @return [Integer]
6644
+ #
6645
+ # @!attribute [rw] instance_type
6646
+ # The Amazon EC2 compute instance type to deploy for hosting the
6647
+ # model.
6648
+ # @return [String]
6649
+ #
6650
+ # @!attribute [rw] execution_role
6651
+ # The ARN of the IAM role that Amazon SageMaker can assume to access
6652
+ # model artifacts and docker image for deployment on Amazon EC2
6653
+ # compute instances or for batch transform jobs.
6654
+ # @return [String]
6655
+ #
6656
+ # @!attribute [rw] kms_encryption_key
6657
+ # The Amazon Web Services KMS key that Amazon SageMaker uses to
6658
+ # encrypt data on the storage volume attached to the Amazon EC2
6659
+ # compute instance that hosts the endpoint.
6660
+ # @return [String]
6661
+ #
6662
+ # @!attribute [rw] vpc
6663
+ # The VPC configuration for the endpoint.
6664
+ # @return [Types::VpcConfig]
6665
+ #
6666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/SageMakerEndpoint AWS API Documentation
6667
+ #
6668
+ class SageMakerEndpoint < Struct.new(
6669
+ :initial_instance_count,
6670
+ :instance_type,
6671
+ :execution_role,
6672
+ :kms_encryption_key,
6673
+ :vpc)
6674
+ SENSITIVE = []
6675
+ include Aws::Structure
6676
+ end
6677
+
6086
6678
  # The number of requests exceeds the service quota. Resubmit your
6087
6679
  # request later.
6088
6680
  #
@@ -6097,6 +6689,19 @@ module Aws::Bedrock
6097
6689
  include Aws::Structure
6098
6690
  end
6099
6691
 
6692
+ # Returned if the service cannot complete the request.
6693
+ #
6694
+ # @!attribute [rw] message
6695
+ # @return [String]
6696
+ #
6697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ServiceUnavailableException AWS API Documentation
6698
+ #
6699
+ class ServiceUnavailableException < Struct.new(
6700
+ :message)
6701
+ SENSITIVE = []
6702
+ include Aws::Structure
6703
+ end
6704
+
6100
6705
  # @!attribute [rw] job_identifier
6101
6706
  # The Amazon Resource Name (ARN) of the evaluation job you want to
6102
6707
  # stop.
@@ -6429,6 +7034,48 @@ module Aws::Bedrock
6429
7034
  include Aws::Structure
6430
7035
  end
6431
7036
 
7037
+ # @!attribute [rw] endpoint_arn
7038
+ # The Amazon Resource Name (ARN) of the endpoint you want to update.
7039
+ # @return [String]
7040
+ #
7041
+ # @!attribute [rw] endpoint_config
7042
+ # The new configuration for the endpoint, including the number and
7043
+ # type of instances to use.
7044
+ # @return [Types::EndpointConfig]
7045
+ #
7046
+ # @!attribute [rw] client_request_token
7047
+ # A unique, case-sensitive identifier that you provide to ensure the
7048
+ # idempotency of the request. This token is listed as not required
7049
+ # because Amazon Web Services SDKs automatically generate it for you
7050
+ # and set this parameter. If you're not using the Amazon Web Services
7051
+ # SDK or the CLI, you must provide this token or the action will fail.
7052
+ #
7053
+ # **A suitable default value is auto-generated.** You should normally
7054
+ # not need to pass this option.
7055
+ # @return [String]
7056
+ #
7057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateMarketplaceModelEndpointRequest AWS API Documentation
7058
+ #
7059
+ class UpdateMarketplaceModelEndpointRequest < Struct.new(
7060
+ :endpoint_arn,
7061
+ :endpoint_config,
7062
+ :client_request_token)
7063
+ SENSITIVE = []
7064
+ include Aws::Structure
7065
+ end
7066
+
7067
+ # @!attribute [rw] marketplace_model_endpoint
7068
+ # Details about the updated endpoint.
7069
+ # @return [Types::MarketplaceModelEndpoint]
7070
+ #
7071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateMarketplaceModelEndpointResponse AWS API Documentation
7072
+ #
7073
+ class UpdateMarketplaceModelEndpointResponse < Struct.new(
7074
+ :marketplace_model_endpoint)
7075
+ SENSITIVE = []
7076
+ include Aws::Structure
7077
+ end
7078
+
6432
7079
  # @!attribute [rw] provisioned_model_id
6433
7080
  # The Amazon Resource Name (ARN) or name of the Provisioned Throughput
6434
7081
  # to update.