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.
@@ -14,12 +14,14 @@ module Aws::Bedrock
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AcceptEula = Shapes::BooleanShape.new(name: 'AcceptEula')
17
18
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
19
  AccountId = Shapes::StringShape.new(name: 'AccountId')
19
20
  AdditionalModelRequestFields = Shapes::MapShape.new(name: 'AdditionalModelRequestFields')
20
21
  AdditionalModelRequestFieldsKey = Shapes::StringShape.new(name: 'AdditionalModelRequestFieldsKey')
21
22
  AdditionalModelRequestFieldsValue = Shapes::DocumentShape.new(name: 'AdditionalModelRequestFieldsValue', document: true)
22
23
  ApplicationType = Shapes::StringShape.new(name: 'ApplicationType')
24
+ Arn = Shapes::StringShape.new(name: 'Arn')
23
25
  AutomatedEvaluationConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationConfig')
24
26
  BaseModelIdentifier = Shapes::StringShape.new(name: 'BaseModelIdentifier')
25
27
  BatchDeleteEvaluationJobError = Shapes::StructureShape.new(name: 'BatchDeleteEvaluationJobError')
@@ -49,6 +51,8 @@ module Aws::Bedrock
49
51
  CreateGuardrailVersionResponse = Shapes::StructureShape.new(name: 'CreateGuardrailVersionResponse')
50
52
  CreateInferenceProfileRequest = Shapes::StructureShape.new(name: 'CreateInferenceProfileRequest')
51
53
  CreateInferenceProfileResponse = Shapes::StructureShape.new(name: 'CreateInferenceProfileResponse')
54
+ CreateMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'CreateMarketplaceModelEndpointRequest')
55
+ CreateMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'CreateMarketplaceModelEndpointResponse')
52
56
  CreateModelCopyJobRequest = Shapes::StructureShape.new(name: 'CreateModelCopyJobRequest')
53
57
  CreateModelCopyJobResponse = Shapes::StructureShape.new(name: 'CreateModelCopyJobResponse')
54
58
  CreateModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'CreateModelCustomizationJobRequest')
@@ -73,11 +77,17 @@ module Aws::Bedrock
73
77
  DeleteImportedModelResponse = Shapes::StructureShape.new(name: 'DeleteImportedModelResponse')
74
78
  DeleteInferenceProfileRequest = Shapes::StructureShape.new(name: 'DeleteInferenceProfileRequest')
75
79
  DeleteInferenceProfileResponse = Shapes::StructureShape.new(name: 'DeleteInferenceProfileResponse')
80
+ DeleteMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'DeleteMarketplaceModelEndpointRequest')
81
+ DeleteMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'DeleteMarketplaceModelEndpointResponse')
76
82
  DeleteModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationRequest')
77
83
  DeleteModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationResponse')
78
84
  DeleteProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputRequest')
79
85
  DeleteProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputResponse')
86
+ DeregisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointRequest')
87
+ DeregisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointResponse')
80
88
  DistillationConfig = Shapes::StructureShape.new(name: 'DistillationConfig')
89
+ EndpointConfig = Shapes::UnionShape.new(name: 'EndpointConfig')
90
+ EndpointName = Shapes::StringShape.new(name: 'EndpointName')
81
91
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
82
92
  ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
83
93
  EvaluationBedrockModel = Shapes::StructureShape.new(name: 'EvaluationBedrockModel')
@@ -140,6 +150,8 @@ module Aws::Bedrock
140
150
  GetImportedModelResponse = Shapes::StructureShape.new(name: 'GetImportedModelResponse')
141
151
  GetInferenceProfileRequest = Shapes::StructureShape.new(name: 'GetInferenceProfileRequest')
142
152
  GetInferenceProfileResponse = Shapes::StructureShape.new(name: 'GetInferenceProfileResponse')
153
+ GetMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'GetMarketplaceModelEndpointRequest')
154
+ GetMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'GetMarketplaceModelEndpointResponse')
143
155
  GetModelCopyJobRequest = Shapes::StructureShape.new(name: 'GetModelCopyJobRequest')
144
156
  GetModelCopyJobResponse = Shapes::StructureShape.new(name: 'GetModelCopyJobResponse')
145
157
  GetModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'GetModelCustomizationJobRequest')
@@ -150,6 +162,8 @@ module Aws::Bedrock
150
162
  GetModelInvocationJobResponse = Shapes::StructureShape.new(name: 'GetModelInvocationJobResponse')
151
163
  GetModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationRequest')
152
164
  GetModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationResponse')
165
+ GetPromptRouterRequest = Shapes::StructureShape.new(name: 'GetPromptRouterRequest')
166
+ GetPromptRouterResponse = Shapes::StructureShape.new(name: 'GetPromptRouterResponse')
153
167
  GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
154
168
  GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
155
169
  GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
@@ -185,6 +199,8 @@ module Aws::Bedrock
185
199
  GuardrailManagedWords = Shapes::StructureShape.new(name: 'GuardrailManagedWords')
186
200
  GuardrailManagedWordsConfig = Shapes::StructureShape.new(name: 'GuardrailManagedWordsConfig')
187
201
  GuardrailManagedWordsType = Shapes::StringShape.new(name: 'GuardrailManagedWordsType')
202
+ GuardrailModalities = Shapes::ListShape.new(name: 'GuardrailModalities')
203
+ GuardrailModality = Shapes::StringShape.new(name: 'GuardrailModality')
188
204
  GuardrailName = Shapes::StringShape.new(name: 'GuardrailName')
189
205
  GuardrailNumericalVersion = Shapes::StringShape.new(name: 'GuardrailNumericalVersion')
190
206
  GuardrailPiiEntities = Shapes::ListShape.new(name: 'GuardrailPiiEntities')
@@ -257,6 +273,8 @@ module Aws::Bedrock
257
273
  InferenceProfileType = Shapes::StringShape.new(name: 'InferenceProfileType')
258
274
  InferenceType = Shapes::StringShape.new(name: 'InferenceType')
259
275
  InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
276
+ InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
277
+ InstanceType = Shapes::StringShape.new(name: 'InstanceType')
260
278
  InstructSupported = Shapes::BooleanShape.new(name: 'InstructSupported')
261
279
  Integer = Shapes::IntegerShape.new(name: 'Integer')
262
280
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -285,6 +303,8 @@ module Aws::Bedrock
285
303
  ListImportedModelsResponse = Shapes::StructureShape.new(name: 'ListImportedModelsResponse')
286
304
  ListInferenceProfilesRequest = Shapes::StructureShape.new(name: 'ListInferenceProfilesRequest')
287
305
  ListInferenceProfilesResponse = Shapes::StructureShape.new(name: 'ListInferenceProfilesResponse')
306
+ ListMarketplaceModelEndpointsRequest = Shapes::StructureShape.new(name: 'ListMarketplaceModelEndpointsRequest')
307
+ ListMarketplaceModelEndpointsResponse = Shapes::StructureShape.new(name: 'ListMarketplaceModelEndpointsResponse')
288
308
  ListModelCopyJobsRequest = Shapes::StructureShape.new(name: 'ListModelCopyJobsRequest')
289
309
  ListModelCopyJobsResponse = Shapes::StructureShape.new(name: 'ListModelCopyJobsResponse')
290
310
  ListModelCustomizationJobsRequest = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsRequest')
@@ -293,12 +313,17 @@ module Aws::Bedrock
293
313
  ListModelImportJobsResponse = Shapes::StructureShape.new(name: 'ListModelImportJobsResponse')
294
314
  ListModelInvocationJobsRequest = Shapes::StructureShape.new(name: 'ListModelInvocationJobsRequest')
295
315
  ListModelInvocationJobsResponse = Shapes::StructureShape.new(name: 'ListModelInvocationJobsResponse')
316
+ ListPromptRoutersRequest = Shapes::StructureShape.new(name: 'ListPromptRoutersRequest')
317
+ ListPromptRoutersResponse = Shapes::StructureShape.new(name: 'ListPromptRoutersResponse')
296
318
  ListProvisionedModelThroughputsRequest = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsRequest')
297
319
  ListProvisionedModelThroughputsResponse = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsResponse')
298
320
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
299
321
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
300
322
  LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
301
323
  LoggingConfig = Shapes::StructureShape.new(name: 'LoggingConfig')
324
+ MarketplaceModelEndpoint = Shapes::StructureShape.new(name: 'MarketplaceModelEndpoint')
325
+ MarketplaceModelEndpointSummaries = Shapes::ListShape.new(name: 'MarketplaceModelEndpointSummaries')
326
+ MarketplaceModelEndpointSummary = Shapes::StructureShape.new(name: 'MarketplaceModelEndpointSummary')
302
327
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
303
328
  MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
304
329
  Message = Shapes::StringShape.new(name: 'Message')
@@ -340,11 +365,22 @@ module Aws::Bedrock
340
365
  ModelModality = Shapes::StringShape.new(name: 'ModelModality')
341
366
  ModelModalityList = Shapes::ListShape.new(name: 'ModelModalityList')
342
367
  ModelName = Shapes::StringShape.new(name: 'ModelName')
368
+ ModelSourceIdentifier = Shapes::StringShape.new(name: 'ModelSourceIdentifier')
343
369
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
344
370
  OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
345
371
  OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
346
372
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
347
373
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
374
+ PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
375
+ PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
376
+ PromptRouterName = Shapes::StringShape.new(name: 'PromptRouterName')
377
+ PromptRouterStatus = Shapes::StringShape.new(name: 'PromptRouterStatus')
378
+ PromptRouterSummaries = Shapes::ListShape.new(name: 'PromptRouterSummaries')
379
+ PromptRouterSummary = Shapes::StructureShape.new(name: 'PromptRouterSummary')
380
+ PromptRouterTargetModel = Shapes::StructureShape.new(name: 'PromptRouterTargetModel')
381
+ PromptRouterTargetModelArn = Shapes::StringShape.new(name: 'PromptRouterTargetModelArn')
382
+ PromptRouterTargetModels = Shapes::ListShape.new(name: 'PromptRouterTargetModels')
383
+ PromptRouterType = Shapes::StringShape.new(name: 'PromptRouterType')
348
384
  PromptTemplate = Shapes::StructureShape.new(name: 'PromptTemplate')
349
385
  Provider = Shapes::StringShape.new(name: 'Provider')
350
386
  ProvisionedModelArn = Shapes::StringShape.new(name: 'ProvisionedModelArn')
@@ -362,6 +398,8 @@ module Aws::Bedrock
362
398
  RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
363
399
  RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
364
400
  RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
401
+ RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
402
+ RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
365
403
  RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
366
404
  RequestMetadataFilters = Shapes::UnionShape.new(name: 'RequestMetadataFilters')
367
405
  RequestMetadataFiltersList = Shapes::ListShape.new(name: 'RequestMetadataFiltersList')
@@ -375,20 +413,25 @@ module Aws::Bedrock
375
413
  RetrieveAndGenerateType = Shapes::StringShape.new(name: 'RetrieveAndGenerateType')
376
414
  RetrieveConfig = Shapes::StructureShape.new(name: 'RetrieveConfig')
377
415
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
416
+ RoutingCriteria = Shapes::StructureShape.new(name: 'RoutingCriteria')
417
+ RoutingCriteriaResponseQualityDifferenceDouble = Shapes::FloatShape.new(name: 'RoutingCriteriaResponseQualityDifferenceDouble')
378
418
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
379
419
  S3DataSource = Shapes::StructureShape.new(name: 'S3DataSource')
380
420
  S3InputFormat = Shapes::StringShape.new(name: 'S3InputFormat')
381
421
  S3ObjectDoc = Shapes::StructureShape.new(name: 'S3ObjectDoc')
382
422
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
423
+ SageMakerEndpoint = Shapes::StructureShape.new(name: 'SageMakerEndpoint')
383
424
  SageMakerFlowDefinitionArn = Shapes::StringShape.new(name: 'SageMakerFlowDefinitionArn')
384
425
  SearchType = Shapes::StringShape.new(name: 'SearchType')
385
426
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
386
427
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
387
428
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
429
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
388
430
  SortByProvisionedModels = Shapes::StringShape.new(name: 'SortByProvisionedModels')
389
431
  SortJobsBy = Shapes::StringShape.new(name: 'SortJobsBy')
390
432
  SortModelsBy = Shapes::StringShape.new(name: 'SortModelsBy')
391
433
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
434
+ Status = Shapes::StringShape.new(name: 'Status')
392
435
  StopEvaluationJobRequest = Shapes::StructureShape.new(name: 'StopEvaluationJobRequest')
393
436
  StopEvaluationJobResponse = Shapes::StructureShape.new(name: 'StopEvaluationJobResponse')
394
437
  StopModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'StopModelCustomizationJobRequest')
@@ -421,6 +464,8 @@ module Aws::Bedrock
421
464
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
422
465
  UpdateGuardrailRequest = Shapes::StructureShape.new(name: 'UpdateGuardrailRequest')
423
466
  UpdateGuardrailResponse = Shapes::StructureShape.new(name: 'UpdateGuardrailResponse')
467
+ UpdateMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'UpdateMarketplaceModelEndpointRequest')
468
+ UpdateMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'UpdateMarketplaceModelEndpointResponse')
424
469
  UpdateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputRequest')
425
470
  UpdateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputResponse')
426
471
  UsePromptResponse = Shapes::BooleanShape.new(name: 'UsePromptResponse')
@@ -536,6 +581,17 @@ module Aws::Bedrock
536
581
  CreateInferenceProfileResponse.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, location_name: "status"))
537
582
  CreateInferenceProfileResponse.struct_class = Types::CreateInferenceProfileResponse
538
583
 
584
+ CreateMarketplaceModelEndpointRequest.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
585
+ CreateMarketplaceModelEndpointRequest.add_member(:endpoint_config, Shapes::ShapeRef.new(shape: EndpointConfig, required: true, location_name: "endpointConfig"))
586
+ CreateMarketplaceModelEndpointRequest.add_member(:accept_eula, Shapes::ShapeRef.new(shape: AcceptEula, location_name: "acceptEula"))
587
+ CreateMarketplaceModelEndpointRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "endpointName"))
588
+ CreateMarketplaceModelEndpointRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
589
+ CreateMarketplaceModelEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
590
+ CreateMarketplaceModelEndpointRequest.struct_class = Types::CreateMarketplaceModelEndpointRequest
591
+
592
+ CreateMarketplaceModelEndpointResponse.add_member(:marketplace_model_endpoint, Shapes::ShapeRef.new(shape: MarketplaceModelEndpoint, required: true, location_name: "marketplaceModelEndpoint"))
593
+ CreateMarketplaceModelEndpointResponse.struct_class = Types::CreateMarketplaceModelEndpointResponse
594
+
539
595
  CreateModelCopyJobRequest.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "sourceModelArn"))
540
596
  CreateModelCopyJobRequest.add_member(:target_model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "targetModelName"))
541
597
  CreateModelCopyJobRequest.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "modelKmsKeyId"))
@@ -643,6 +699,11 @@ module Aws::Bedrock
643
699
 
644
700
  DeleteInferenceProfileResponse.struct_class = Types::DeleteInferenceProfileResponse
645
701
 
702
+ DeleteMarketplaceModelEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointArn"))
703
+ DeleteMarketplaceModelEndpointRequest.struct_class = Types::DeleteMarketplaceModelEndpointRequest
704
+
705
+ DeleteMarketplaceModelEndpointResponse.struct_class = Types::DeleteMarketplaceModelEndpointResponse
706
+
646
707
  DeleteModelInvocationLoggingConfigurationRequest.struct_class = Types::DeleteModelInvocationLoggingConfigurationRequest
647
708
 
648
709
  DeleteModelInvocationLoggingConfigurationResponse.struct_class = Types::DeleteModelInvocationLoggingConfigurationResponse
@@ -652,9 +713,20 @@ module Aws::Bedrock
652
713
 
653
714
  DeleteProvisionedModelThroughputResponse.struct_class = Types::DeleteProvisionedModelThroughputResponse
654
715
 
716
+ DeregisterMarketplaceModelEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointArn"))
717
+ DeregisterMarketplaceModelEndpointRequest.struct_class = Types::DeregisterMarketplaceModelEndpointRequest
718
+
719
+ DeregisterMarketplaceModelEndpointResponse.struct_class = Types::DeregisterMarketplaceModelEndpointResponse
720
+
655
721
  DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
656
722
  DistillationConfig.struct_class = Types::DistillationConfig
657
723
 
724
+ EndpointConfig.add_member(:sage_maker, Shapes::ShapeRef.new(shape: SageMakerEndpoint, location_name: "sageMaker"))
725
+ EndpointConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
726
+ EndpointConfig.add_member_subclass(:sage_maker, Types::EndpointConfig::SageMaker)
727
+ EndpointConfig.add_member_subclass(:unknown, Types::EndpointConfig::Unknown)
728
+ EndpointConfig.struct_class = Types::EndpointConfig
729
+
658
730
  ErrorMessages.member = Shapes::ShapeRef.new(shape: ErrorMessage)
659
731
 
660
732
  EvaluationBedrockModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluationModelIdentifier, required: true, location_name: "modelIdentifier"))
@@ -889,6 +961,12 @@ module Aws::Bedrock
889
961
  GetInferenceProfileResponse.add_member(:type, Shapes::ShapeRef.new(shape: InferenceProfileType, required: true, location_name: "type"))
890
962
  GetInferenceProfileResponse.struct_class = Types::GetInferenceProfileResponse
891
963
 
964
+ GetMarketplaceModelEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointArn"))
965
+ GetMarketplaceModelEndpointRequest.struct_class = Types::GetMarketplaceModelEndpointRequest
966
+
967
+ GetMarketplaceModelEndpointResponse.add_member(:marketplace_model_endpoint, Shapes::ShapeRef.new(shape: MarketplaceModelEndpoint, location_name: "marketplaceModelEndpoint"))
968
+ GetMarketplaceModelEndpointResponse.struct_class = Types::GetMarketplaceModelEndpointResponse
969
+
892
970
  GetModelCopyJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location: "uri", location_name: "jobArn"))
893
971
  GetModelCopyJobRequest.struct_class = Types::GetModelCopyJobRequest
894
972
 
@@ -975,6 +1053,21 @@ module Aws::Bedrock
975
1053
  GetModelInvocationLoggingConfigurationResponse.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "loggingConfig"))
976
1054
  GetModelInvocationLoggingConfigurationResponse.struct_class = Types::GetModelInvocationLoggingConfigurationResponse
977
1055
 
1056
+ GetPromptRouterRequest.add_member(:prompt_router_arn, Shapes::ShapeRef.new(shape: PromptRouterArn, required: true, location: "uri", location_name: "promptRouterArn"))
1057
+ GetPromptRouterRequest.struct_class = Types::GetPromptRouterRequest
1058
+
1059
+ GetPromptRouterResponse.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
1060
+ GetPromptRouterResponse.add_member(:routing_criteria, Shapes::ShapeRef.new(shape: RoutingCriteria, required: true, location_name: "routingCriteria"))
1061
+ GetPromptRouterResponse.add_member(:description, Shapes::ShapeRef.new(shape: PromptRouterDescription, location_name: "description"))
1062
+ GetPromptRouterResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1063
+ GetPromptRouterResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
1064
+ GetPromptRouterResponse.add_member(:prompt_router_arn, Shapes::ShapeRef.new(shape: PromptRouterArn, required: true, location_name: "promptRouterArn"))
1065
+ GetPromptRouterResponse.add_member(:models, Shapes::ShapeRef.new(shape: PromptRouterTargetModels, required: true, location_name: "models"))
1066
+ GetPromptRouterResponse.add_member(:fallback_model, Shapes::ShapeRef.new(shape: PromptRouterTargetModel, required: true, location_name: "fallbackModel"))
1067
+ GetPromptRouterResponse.add_member(:status, Shapes::ShapeRef.new(shape: PromptRouterStatus, required: true, location_name: "status"))
1068
+ GetPromptRouterResponse.add_member(:type, Shapes::ShapeRef.new(shape: PromptRouterType, required: true, location_name: "type"))
1069
+ GetPromptRouterResponse.struct_class = Types::GetPromptRouterResponse
1070
+
978
1071
  GetProvisionedModelThroughputRequest.add_member(:provisioned_model_id, Shapes::ShapeRef.new(shape: ProvisionedModelId, required: true, location: "uri", location_name: "provisionedModelId"))
979
1072
  GetProvisionedModelThroughputRequest.struct_class = Types::GetProvisionedModelThroughputRequest
980
1073
 
@@ -1000,11 +1093,15 @@ module Aws::Bedrock
1000
1093
  GuardrailContentFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, required: true, location_name: "type"))
1001
1094
  GuardrailContentFilter.add_member(:input_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "inputStrength"))
1002
1095
  GuardrailContentFilter.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
1096
+ GuardrailContentFilter.add_member(:input_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "inputModalities"))
1097
+ GuardrailContentFilter.add_member(:output_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "outputModalities"))
1003
1098
  GuardrailContentFilter.struct_class = Types::GuardrailContentFilter
1004
1099
 
1005
1100
  GuardrailContentFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, required: true, location_name: "type"))
1006
1101
  GuardrailContentFilterConfig.add_member(:input_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "inputStrength"))
1007
1102
  GuardrailContentFilterConfig.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
1103
+ GuardrailContentFilterConfig.add_member(:input_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "inputModalities"))
1104
+ GuardrailContentFilterConfig.add_member(:output_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "outputModalities"))
1008
1105
  GuardrailContentFilterConfig.struct_class = Types::GuardrailContentFilterConfig
1009
1106
 
1010
1107
  GuardrailContentFilters.member = Shapes::ShapeRef.new(shape: GuardrailContentFilter)
@@ -1047,6 +1144,8 @@ module Aws::Bedrock
1047
1144
  GuardrailManagedWordsConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailManagedWordsType, required: true, location_name: "type"))
1048
1145
  GuardrailManagedWordsConfig.struct_class = Types::GuardrailManagedWordsConfig
1049
1146
 
1147
+ GuardrailModalities.member = Shapes::ShapeRef.new(shape: GuardrailModality)
1148
+
1050
1149
  GuardrailPiiEntities.member = Shapes::ShapeRef.new(shape: GuardrailPiiEntity)
1051
1150
 
1052
1151
  GuardrailPiiEntitiesConfig.member = Shapes::ShapeRef.new(shape: GuardrailPiiEntityConfig)
@@ -1301,6 +1400,15 @@ module Aws::Bedrock
1301
1400
  ListInferenceProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1302
1401
  ListInferenceProfilesResponse.struct_class = Types::ListInferenceProfilesResponse
1303
1402
 
1403
+ ListMarketplaceModelEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1404
+ ListMarketplaceModelEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1405
+ ListMarketplaceModelEndpointsRequest.add_member(:model_source_equals, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, location: "querystring", location_name: "modelSourceIdentifier"))
1406
+ ListMarketplaceModelEndpointsRequest.struct_class = Types::ListMarketplaceModelEndpointsRequest
1407
+
1408
+ ListMarketplaceModelEndpointsResponse.add_member(:marketplace_model_endpoints, Shapes::ShapeRef.new(shape: MarketplaceModelEndpointSummaries, location_name: "marketplaceModelEndpoints"))
1409
+ ListMarketplaceModelEndpointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1410
+ ListMarketplaceModelEndpointsResponse.struct_class = Types::ListMarketplaceModelEndpointsResponse
1411
+
1304
1412
  ListModelCopyJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1305
1413
  ListModelCopyJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1306
1414
  ListModelCopyJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, location: "querystring", location_name: "statusEquals"))
@@ -1359,6 +1467,14 @@ module Aws::Bedrock
1359
1467
  ListModelInvocationJobsResponse.add_member(:invocation_job_summaries, Shapes::ShapeRef.new(shape: ModelInvocationJobSummaries, location_name: "invocationJobSummaries"))
1360
1468
  ListModelInvocationJobsResponse.struct_class = Types::ListModelInvocationJobsResponse
1361
1469
 
1470
+ ListPromptRoutersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1471
+ ListPromptRoutersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1472
+ ListPromptRoutersRequest.struct_class = Types::ListPromptRoutersRequest
1473
+
1474
+ ListPromptRoutersResponse.add_member(:prompt_router_summaries, Shapes::ShapeRef.new(shape: PromptRouterSummaries, location_name: "promptRouterSummaries"))
1475
+ ListPromptRoutersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1476
+ ListPromptRoutersResponse.struct_class = Types::ListPromptRoutersResponse
1477
+
1362
1478
  ListProvisionedModelThroughputsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1363
1479
  ListProvisionedModelThroughputsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1364
1480
  ListProvisionedModelThroughputsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ProvisionedModelStatus, location: "querystring", location_name: "statusEquals"))
@@ -1388,6 +1504,27 @@ module Aws::Bedrock
1388
1504
  LoggingConfig.add_member(:video_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "videoDataDeliveryEnabled"))
1389
1505
  LoggingConfig.struct_class = Types::LoggingConfig
1390
1506
 
1507
+ MarketplaceModelEndpoint.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "endpointArn"))
1508
+ MarketplaceModelEndpoint.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
1509
+ MarketplaceModelEndpoint.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1510
+ MarketplaceModelEndpoint.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
1511
+ MarketplaceModelEndpoint.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1512
+ MarketplaceModelEndpoint.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
1513
+ MarketplaceModelEndpoint.add_member(:endpoint_config, Shapes::ShapeRef.new(shape: EndpointConfig, required: true, location_name: "endpointConfig"))
1514
+ MarketplaceModelEndpoint.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointStatus"))
1515
+ MarketplaceModelEndpoint.add_member(:endpoint_status_message, Shapes::ShapeRef.new(shape: String, location_name: "endpointStatusMessage"))
1516
+ MarketplaceModelEndpoint.struct_class = Types::MarketplaceModelEndpoint
1517
+
1518
+ MarketplaceModelEndpointSummaries.member = Shapes::ShapeRef.new(shape: MarketplaceModelEndpointSummary)
1519
+
1520
+ MarketplaceModelEndpointSummary.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "endpointArn"))
1521
+ MarketplaceModelEndpointSummary.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
1522
+ MarketplaceModelEndpointSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1523
+ MarketplaceModelEndpointSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
1524
+ MarketplaceModelEndpointSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1525
+ MarketplaceModelEndpointSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
1526
+ MarketplaceModelEndpointSummary.struct_class = Types::MarketplaceModelEndpointSummary
1527
+
1391
1528
  ModelCopyJobSummaries.member = Shapes::ShapeRef.new(shape: ModelCopyJobSummary)
1392
1529
 
1393
1530
  ModelCopyJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location_name: "jobArn"))
@@ -1489,6 +1626,25 @@ module Aws::Bedrock
1489
1626
  OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
1490
1627
  OutputDataConfig.struct_class = Types::OutputDataConfig
1491
1628
 
1629
+ PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
1630
+
1631
+ PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
1632
+ PromptRouterSummary.add_member(:routing_criteria, Shapes::ShapeRef.new(shape: RoutingCriteria, required: true, location_name: "routingCriteria"))
1633
+ PromptRouterSummary.add_member(:description, Shapes::ShapeRef.new(shape: PromptRouterDescription, location_name: "description"))
1634
+ PromptRouterSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1635
+ PromptRouterSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
1636
+ PromptRouterSummary.add_member(:prompt_router_arn, Shapes::ShapeRef.new(shape: PromptRouterArn, required: true, location_name: "promptRouterArn"))
1637
+ PromptRouterSummary.add_member(:models, Shapes::ShapeRef.new(shape: PromptRouterTargetModels, required: true, location_name: "models"))
1638
+ PromptRouterSummary.add_member(:fallback_model, Shapes::ShapeRef.new(shape: PromptRouterTargetModel, required: true, location_name: "fallbackModel"))
1639
+ PromptRouterSummary.add_member(:status, Shapes::ShapeRef.new(shape: PromptRouterStatus, required: true, location_name: "status"))
1640
+ PromptRouterSummary.add_member(:type, Shapes::ShapeRef.new(shape: PromptRouterType, required: true, location_name: "type"))
1641
+ PromptRouterSummary.struct_class = Types::PromptRouterSummary
1642
+
1643
+ PromptRouterTargetModel.add_member(:model_arn, Shapes::ShapeRef.new(shape: PromptRouterTargetModelArn, location_name: "modelArn"))
1644
+ PromptRouterTargetModel.struct_class = Types::PromptRouterTargetModel
1645
+
1646
+ PromptRouterTargetModels.member = Shapes::ShapeRef.new(shape: PromptRouterTargetModel)
1647
+
1492
1648
  PromptTemplate.add_member(:text_prompt_template, Shapes::ShapeRef.new(shape: TextPromptTemplate, location_name: "textPromptTemplate"))
1493
1649
  PromptTemplate.struct_class = Types::PromptTemplate
1494
1650
 
@@ -1528,6 +1684,13 @@ module Aws::Bedrock
1528
1684
 
1529
1685
  RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
1530
1686
 
1687
+ RegisterMarketplaceModelEndpointRequest.add_member(:endpoint_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointIdentifier"))
1688
+ RegisterMarketplaceModelEndpointRequest.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
1689
+ RegisterMarketplaceModelEndpointRequest.struct_class = Types::RegisterMarketplaceModelEndpointRequest
1690
+
1691
+ RegisterMarketplaceModelEndpointResponse.add_member(:marketplace_model_endpoint, Shapes::ShapeRef.new(shape: MarketplaceModelEndpoint, required: true, location_name: "marketplaceModelEndpoint"))
1692
+ RegisterMarketplaceModelEndpointResponse.struct_class = Types::RegisterMarketplaceModelEndpointResponse
1693
+
1531
1694
  RequestMetadataBaseFilters.add_member(:equals, Shapes::ShapeRef.new(shape: RequestMetadataMap, location_name: "equals"))
1532
1695
  RequestMetadataBaseFilters.add_member(:not_equals, Shapes::ShapeRef.new(shape: RequestMetadataMap, location_name: "notEquals"))
1533
1696
  RequestMetadataBaseFilters.struct_class = Types::RequestMetadataBaseFilters
@@ -1593,6 +1756,9 @@ module Aws::Bedrock
1593
1756
  RetrieveConfig.add_member(:knowledge_base_retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, required: true, location_name: "knowledgeBaseRetrievalConfiguration"))
1594
1757
  RetrieveConfig.struct_class = Types::RetrieveConfig
1595
1758
 
1759
+ RoutingCriteria.add_member(:response_quality_difference, Shapes::ShapeRef.new(shape: RoutingCriteriaResponseQualityDifferenceDouble, required: true, location_name: "responseQualityDifference"))
1760
+ RoutingCriteria.struct_class = Types::RoutingCriteria
1761
+
1596
1762
  S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
1597
1763
  S3Config.add_member(:key_prefix, Shapes::ShapeRef.new(shape: KeyPrefix, location_name: "keyPrefix"))
1598
1764
  S3Config.struct_class = Types::S3Config
@@ -1603,11 +1769,21 @@ module Aws::Bedrock
1603
1769
  S3ObjectDoc.add_member(:uri, Shapes::ShapeRef.new(shape: kBS3Uri, required: true, location_name: "uri"))
1604
1770
  S3ObjectDoc.struct_class = Types::S3ObjectDoc
1605
1771
 
1772
+ SageMakerEndpoint.add_member(:initial_instance_count, Shapes::ShapeRef.new(shape: InstanceCount, required: true, location_name: "initialInstanceCount"))
1773
+ SageMakerEndpoint.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
1774
+ SageMakerEndpoint.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "executionRole"))
1775
+ SageMakerEndpoint.add_member(:kms_encryption_key, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsEncryptionKey"))
1776
+ SageMakerEndpoint.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpc"))
1777
+ SageMakerEndpoint.struct_class = Types::SageMakerEndpoint
1778
+
1606
1779
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
1607
1780
 
1608
1781
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1609
1782
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1610
1783
 
1784
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1785
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1786
+
1611
1787
  StopEvaluationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
1612
1788
  StopEvaluationJobRequest.struct_class = Types::StopEvaluationJobRequest
1613
1789
 
@@ -1688,6 +1864,14 @@ module Aws::Bedrock
1688
1864
  UpdateGuardrailResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
1689
1865
  UpdateGuardrailResponse.struct_class = Types::UpdateGuardrailResponse
1690
1866
 
1867
+ UpdateMarketplaceModelEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointArn"))
1868
+ UpdateMarketplaceModelEndpointRequest.add_member(:endpoint_config, Shapes::ShapeRef.new(shape: EndpointConfig, required: true, location_name: "endpointConfig"))
1869
+ UpdateMarketplaceModelEndpointRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
1870
+ UpdateMarketplaceModelEndpointRequest.struct_class = Types::UpdateMarketplaceModelEndpointRequest
1871
+
1872
+ UpdateMarketplaceModelEndpointResponse.add_member(:marketplace_model_endpoint, Shapes::ShapeRef.new(shape: MarketplaceModelEndpoint, required: true, location_name: "marketplaceModelEndpoint"))
1873
+ UpdateMarketplaceModelEndpointResponse.struct_class = Types::UpdateMarketplaceModelEndpointResponse
1874
+
1691
1875
  UpdateProvisionedModelThroughputRequest.add_member(:provisioned_model_id, Shapes::ShapeRef.new(shape: ProvisionedModelId, required: true, location: "uri", location_name: "provisionedModelId"))
1692
1876
  UpdateProvisionedModelThroughputRequest.add_member(:desired_provisioned_model_name, Shapes::ShapeRef.new(shape: ProvisionedModelName, location_name: "desiredProvisionedModelName"))
1693
1877
  UpdateProvisionedModelThroughputRequest.add_member(:desired_model_id, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "desiredModelId"))
@@ -1810,6 +1994,21 @@ module Aws::Bedrock
1810
1994
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1811
1995
  end)
1812
1996
 
1997
+ api.add_operation(:create_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
1998
+ o.name = "CreateMarketplaceModelEndpoint"
1999
+ o.http_method = "POST"
2000
+ o.http_request_uri = "/marketplace-model/endpoints"
2001
+ o.input = Shapes::ShapeRef.new(shape: CreateMarketplaceModelEndpointRequest)
2002
+ o.output = Shapes::ShapeRef.new(shape: CreateMarketplaceModelEndpointResponse)
2003
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2004
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2005
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2006
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2007
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2008
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2009
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2010
+ end)
2011
+
1813
2012
  api.add_operation(:create_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
1814
2013
  o.name = "CreateModelCopyJob"
1815
2014
  o.http_method = "POST"
@@ -1940,6 +2139,19 @@ module Aws::Bedrock
1940
2139
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1941
2140
  end)
1942
2141
 
2142
+ api.add_operation(:delete_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2143
+ o.name = "DeleteMarketplaceModelEndpoint"
2144
+ o.http_method = "DELETE"
2145
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointArn}"
2146
+ o.input = Shapes::ShapeRef.new(shape: DeleteMarketplaceModelEndpointRequest)
2147
+ o.output = Shapes::ShapeRef.new(shape: DeleteMarketplaceModelEndpointResponse)
2148
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2149
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2150
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2151
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2152
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2153
+ end)
2154
+
1943
2155
  api.add_operation(:delete_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
1944
2156
  o.name = "DeleteModelInvocationLoggingConfiguration"
1945
2157
  o.http_method = "DELETE"
@@ -1965,6 +2177,20 @@ module Aws::Bedrock
1965
2177
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1966
2178
  end)
1967
2179
 
2180
+ api.add_operation(:deregister_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2181
+ o.name = "DeregisterMarketplaceModelEndpoint"
2182
+ o.http_method = "DELETE"
2183
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointArn}/registration"
2184
+ o.input = Shapes::ShapeRef.new(shape: DeregisterMarketplaceModelEndpointRequest)
2185
+ o.output = Shapes::ShapeRef.new(shape: DeregisterMarketplaceModelEndpointResponse)
2186
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2187
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2188
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2189
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2190
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2191
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2192
+ end)
2193
+
1968
2194
  api.add_operation(:get_custom_model, Seahorse::Model::Operation.new.tap do |o|
1969
2195
  o.name = "GetCustomModel"
1970
2196
  o.http_method = "GET"
@@ -2043,6 +2269,19 @@ module Aws::Bedrock
2043
2269
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2044
2270
  end)
2045
2271
 
2272
+ api.add_operation(:get_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2273
+ o.name = "GetMarketplaceModelEndpoint"
2274
+ o.http_method = "GET"
2275
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointArn}"
2276
+ o.input = Shapes::ShapeRef.new(shape: GetMarketplaceModelEndpointRequest)
2277
+ o.output = Shapes::ShapeRef.new(shape: GetMarketplaceModelEndpointResponse)
2278
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2279
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2280
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2281
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2282
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2283
+ end)
2284
+
2046
2285
  api.add_operation(:get_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
2047
2286
  o.name = "GetModelCopyJob"
2048
2287
  o.http_method = "GET"
@@ -2106,6 +2345,19 @@ module Aws::Bedrock
2106
2345
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2107
2346
  end)
2108
2347
 
2348
+ api.add_operation(:get_prompt_router, Seahorse::Model::Operation.new.tap do |o|
2349
+ o.name = "GetPromptRouter"
2350
+ o.http_method = "GET"
2351
+ o.http_request_uri = "/prompt-routers/{promptRouterArn}"
2352
+ o.input = Shapes::ShapeRef.new(shape: GetPromptRouterRequest)
2353
+ o.output = Shapes::ShapeRef.new(shape: GetPromptRouterResponse)
2354
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2355
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2356
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2357
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2358
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2359
+ end)
2360
+
2109
2361
  api.add_operation(:get_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
2110
2362
  o.name = "GetProvisionedModelThroughput"
2111
2363
  o.http_method = "GET"
@@ -2222,6 +2474,25 @@ module Aws::Bedrock
2222
2474
  )
2223
2475
  end)
2224
2476
 
2477
+ api.add_operation(:list_marketplace_model_endpoints, Seahorse::Model::Operation.new.tap do |o|
2478
+ o.name = "ListMarketplaceModelEndpoints"
2479
+ o.http_method = "GET"
2480
+ o.http_request_uri = "/marketplace-model/endpoints"
2481
+ o.input = Shapes::ShapeRef.new(shape: ListMarketplaceModelEndpointsRequest)
2482
+ o.output = Shapes::ShapeRef.new(shape: ListMarketplaceModelEndpointsResponse)
2483
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2484
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2485
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2486
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2487
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2488
+ o[:pager] = Aws::Pager.new(
2489
+ limit_key: "max_results",
2490
+ tokens: {
2491
+ "next_token" => "next_token"
2492
+ }
2493
+ )
2494
+ end)
2495
+
2225
2496
  api.add_operation(:list_model_copy_jobs, Seahorse::Model::Operation.new.tap do |o|
2226
2497
  o.name = "ListModelCopyJobs"
2227
2498
  o.http_method = "GET"
@@ -2295,6 +2566,24 @@ module Aws::Bedrock
2295
2566
  )
2296
2567
  end)
2297
2568
 
2569
+ api.add_operation(:list_prompt_routers, Seahorse::Model::Operation.new.tap do |o|
2570
+ o.name = "ListPromptRouters"
2571
+ o.http_method = "GET"
2572
+ o.http_request_uri = "/prompt-routers"
2573
+ o.input = Shapes::ShapeRef.new(shape: ListPromptRoutersRequest)
2574
+ o.output = Shapes::ShapeRef.new(shape: ListPromptRoutersResponse)
2575
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2576
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2577
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2578
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2579
+ o[:pager] = Aws::Pager.new(
2580
+ limit_key: "max_results",
2581
+ tokens: {
2582
+ "next_token" => "next_token"
2583
+ }
2584
+ )
2585
+ end)
2586
+
2298
2587
  api.add_operation(:list_provisioned_model_throughputs, Seahorse::Model::Operation.new.tap do |o|
2299
2588
  o.name = "ListProvisionedModelThroughputs"
2300
2589
  o.http_method = "GET"
@@ -2338,6 +2627,20 @@ module Aws::Bedrock
2338
2627
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2339
2628
  end)
2340
2629
 
2630
+ api.add_operation(:register_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2631
+ o.name = "RegisterMarketplaceModelEndpoint"
2632
+ o.http_method = "POST"
2633
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointIdentifier}/registration"
2634
+ o.input = Shapes::ShapeRef.new(shape: RegisterMarketplaceModelEndpointRequest)
2635
+ o.output = Shapes::ShapeRef.new(shape: RegisterMarketplaceModelEndpointResponse)
2636
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2637
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2638
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2639
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2640
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2641
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2642
+ end)
2643
+
2341
2644
  api.add_operation(:stop_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
2342
2645
  o.name = "StopEvaluationJob"
2343
2646
  o.http_method = "POST"
@@ -2422,6 +2725,21 @@ module Aws::Bedrock
2422
2725
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2423
2726
  end)
2424
2727
 
2728
+ api.add_operation(:update_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2729
+ o.name = "UpdateMarketplaceModelEndpoint"
2730
+ o.http_method = "PATCH"
2731
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointArn}"
2732
+ o.input = Shapes::ShapeRef.new(shape: UpdateMarketplaceModelEndpointRequest)
2733
+ o.output = Shapes::ShapeRef.new(shape: UpdateMarketplaceModelEndpointResponse)
2734
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2735
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2736
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2737
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2738
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2739
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2741
+ end)
2742
+
2425
2743
  api.add_operation(:update_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
2426
2744
  o.name = "UpdateProvisionedModelThroughput"
2427
2745
  o.http_method = "PATCH"