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.
@@ -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,24 @@ 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')
373
+ PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
374
+ PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
347
375
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
376
+ PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
377
+ PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
378
+ PromptRouterName = Shapes::StringShape.new(name: 'PromptRouterName')
379
+ PromptRouterStatus = Shapes::StringShape.new(name: 'PromptRouterStatus')
380
+ PromptRouterSummaries = Shapes::ListShape.new(name: 'PromptRouterSummaries')
381
+ PromptRouterSummary = Shapes::StructureShape.new(name: 'PromptRouterSummary')
382
+ PromptRouterTargetModel = Shapes::StructureShape.new(name: 'PromptRouterTargetModel')
383
+ PromptRouterTargetModelArn = Shapes::StringShape.new(name: 'PromptRouterTargetModelArn')
384
+ PromptRouterTargetModels = Shapes::ListShape.new(name: 'PromptRouterTargetModels')
385
+ PromptRouterType = Shapes::StringShape.new(name: 'PromptRouterType')
348
386
  PromptTemplate = Shapes::StructureShape.new(name: 'PromptTemplate')
349
387
  Provider = Shapes::StringShape.new(name: 'Provider')
350
388
  ProvisionedModelArn = Shapes::StringShape.new(name: 'ProvisionedModelArn')
@@ -362,6 +400,8 @@ module Aws::Bedrock
362
400
  RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
363
401
  RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
364
402
  RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
403
+ RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
404
+ RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
365
405
  RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
366
406
  RequestMetadataFilters = Shapes::UnionShape.new(name: 'RequestMetadataFilters')
367
407
  RequestMetadataFiltersList = Shapes::ListShape.new(name: 'RequestMetadataFiltersList')
@@ -375,20 +415,25 @@ module Aws::Bedrock
375
415
  RetrieveAndGenerateType = Shapes::StringShape.new(name: 'RetrieveAndGenerateType')
376
416
  RetrieveConfig = Shapes::StructureShape.new(name: 'RetrieveConfig')
377
417
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
418
+ RoutingCriteria = Shapes::StructureShape.new(name: 'RoutingCriteria')
419
+ RoutingCriteriaResponseQualityDifferenceDouble = Shapes::FloatShape.new(name: 'RoutingCriteriaResponseQualityDifferenceDouble')
378
420
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
379
421
  S3DataSource = Shapes::StructureShape.new(name: 'S3DataSource')
380
422
  S3InputFormat = Shapes::StringShape.new(name: 'S3InputFormat')
381
423
  S3ObjectDoc = Shapes::StructureShape.new(name: 'S3ObjectDoc')
382
424
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
425
+ SageMakerEndpoint = Shapes::StructureShape.new(name: 'SageMakerEndpoint')
383
426
  SageMakerFlowDefinitionArn = Shapes::StringShape.new(name: 'SageMakerFlowDefinitionArn')
384
427
  SearchType = Shapes::StringShape.new(name: 'SearchType')
385
428
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
386
429
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
387
430
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
431
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
388
432
  SortByProvisionedModels = Shapes::StringShape.new(name: 'SortByProvisionedModels')
389
433
  SortJobsBy = Shapes::StringShape.new(name: 'SortJobsBy')
390
434
  SortModelsBy = Shapes::StringShape.new(name: 'SortModelsBy')
391
435
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
436
+ Status = Shapes::StringShape.new(name: 'Status')
392
437
  StopEvaluationJobRequest = Shapes::StructureShape.new(name: 'StopEvaluationJobRequest')
393
438
  StopEvaluationJobResponse = Shapes::StructureShape.new(name: 'StopEvaluationJobResponse')
394
439
  StopModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'StopModelCustomizationJobRequest')
@@ -421,6 +466,8 @@ module Aws::Bedrock
421
466
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
422
467
  UpdateGuardrailRequest = Shapes::StructureShape.new(name: 'UpdateGuardrailRequest')
423
468
  UpdateGuardrailResponse = Shapes::StructureShape.new(name: 'UpdateGuardrailResponse')
469
+ UpdateMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'UpdateMarketplaceModelEndpointRequest')
470
+ UpdateMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'UpdateMarketplaceModelEndpointResponse')
424
471
  UpdateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputRequest')
425
472
  UpdateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputResponse')
426
473
  UsePromptResponse = Shapes::BooleanShape.new(name: 'UsePromptResponse')
@@ -536,6 +583,17 @@ module Aws::Bedrock
536
583
  CreateInferenceProfileResponse.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, location_name: "status"))
537
584
  CreateInferenceProfileResponse.struct_class = Types::CreateInferenceProfileResponse
538
585
 
586
+ CreateMarketplaceModelEndpointRequest.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
587
+ CreateMarketplaceModelEndpointRequest.add_member(:endpoint_config, Shapes::ShapeRef.new(shape: EndpointConfig, required: true, location_name: "endpointConfig"))
588
+ CreateMarketplaceModelEndpointRequest.add_member(:accept_eula, Shapes::ShapeRef.new(shape: AcceptEula, location_name: "acceptEula"))
589
+ CreateMarketplaceModelEndpointRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "endpointName"))
590
+ CreateMarketplaceModelEndpointRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
591
+ CreateMarketplaceModelEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
592
+ CreateMarketplaceModelEndpointRequest.struct_class = Types::CreateMarketplaceModelEndpointRequest
593
+
594
+ CreateMarketplaceModelEndpointResponse.add_member(:marketplace_model_endpoint, Shapes::ShapeRef.new(shape: MarketplaceModelEndpoint, required: true, location_name: "marketplaceModelEndpoint"))
595
+ CreateMarketplaceModelEndpointResponse.struct_class = Types::CreateMarketplaceModelEndpointResponse
596
+
539
597
  CreateModelCopyJobRequest.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "sourceModelArn"))
540
598
  CreateModelCopyJobRequest.add_member(:target_model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "targetModelName"))
541
599
  CreateModelCopyJobRequest.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "modelKmsKeyId"))
@@ -643,6 +701,11 @@ module Aws::Bedrock
643
701
 
644
702
  DeleteInferenceProfileResponse.struct_class = Types::DeleteInferenceProfileResponse
645
703
 
704
+ DeleteMarketplaceModelEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointArn"))
705
+ DeleteMarketplaceModelEndpointRequest.struct_class = Types::DeleteMarketplaceModelEndpointRequest
706
+
707
+ DeleteMarketplaceModelEndpointResponse.struct_class = Types::DeleteMarketplaceModelEndpointResponse
708
+
646
709
  DeleteModelInvocationLoggingConfigurationRequest.struct_class = Types::DeleteModelInvocationLoggingConfigurationRequest
647
710
 
648
711
  DeleteModelInvocationLoggingConfigurationResponse.struct_class = Types::DeleteModelInvocationLoggingConfigurationResponse
@@ -652,13 +715,25 @@ module Aws::Bedrock
652
715
 
653
716
  DeleteProvisionedModelThroughputResponse.struct_class = Types::DeleteProvisionedModelThroughputResponse
654
717
 
718
+ DeregisterMarketplaceModelEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointArn"))
719
+ DeregisterMarketplaceModelEndpointRequest.struct_class = Types::DeregisterMarketplaceModelEndpointRequest
720
+
721
+ DeregisterMarketplaceModelEndpointResponse.struct_class = Types::DeregisterMarketplaceModelEndpointResponse
722
+
655
723
  DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
656
724
  DistillationConfig.struct_class = Types::DistillationConfig
657
725
 
726
+ EndpointConfig.add_member(:sage_maker, Shapes::ShapeRef.new(shape: SageMakerEndpoint, location_name: "sageMaker"))
727
+ EndpointConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
728
+ EndpointConfig.add_member_subclass(:sage_maker, Types::EndpointConfig::SageMaker)
729
+ EndpointConfig.add_member_subclass(:unknown, Types::EndpointConfig::Unknown)
730
+ EndpointConfig.struct_class = Types::EndpointConfig
731
+
658
732
  ErrorMessages.member = Shapes::ShapeRef.new(shape: ErrorMessage)
659
733
 
660
734
  EvaluationBedrockModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluationModelIdentifier, required: true, location_name: "modelIdentifier"))
661
735
  EvaluationBedrockModel.add_member(:inference_params, Shapes::ShapeRef.new(shape: EvaluationModelInferenceParams, location_name: "inferenceParams"))
736
+ EvaluationBedrockModel.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
662
737
  EvaluationBedrockModel.struct_class = Types::EvaluationBedrockModel
663
738
 
664
739
  EvaluationConfig.add_member(:automated, Shapes::ShapeRef.new(shape: AutomatedEvaluationConfig, location_name: "automated"))
@@ -889,6 +964,12 @@ module Aws::Bedrock
889
964
  GetInferenceProfileResponse.add_member(:type, Shapes::ShapeRef.new(shape: InferenceProfileType, required: true, location_name: "type"))
890
965
  GetInferenceProfileResponse.struct_class = Types::GetInferenceProfileResponse
891
966
 
967
+ GetMarketplaceModelEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointArn"))
968
+ GetMarketplaceModelEndpointRequest.struct_class = Types::GetMarketplaceModelEndpointRequest
969
+
970
+ GetMarketplaceModelEndpointResponse.add_member(:marketplace_model_endpoint, Shapes::ShapeRef.new(shape: MarketplaceModelEndpoint, location_name: "marketplaceModelEndpoint"))
971
+ GetMarketplaceModelEndpointResponse.struct_class = Types::GetMarketplaceModelEndpointResponse
972
+
892
973
  GetModelCopyJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location: "uri", location_name: "jobArn"))
893
974
  GetModelCopyJobRequest.struct_class = Types::GetModelCopyJobRequest
894
975
 
@@ -975,6 +1056,21 @@ module Aws::Bedrock
975
1056
  GetModelInvocationLoggingConfigurationResponse.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "loggingConfig"))
976
1057
  GetModelInvocationLoggingConfigurationResponse.struct_class = Types::GetModelInvocationLoggingConfigurationResponse
977
1058
 
1059
+ GetPromptRouterRequest.add_member(:prompt_router_arn, Shapes::ShapeRef.new(shape: PromptRouterArn, required: true, location: "uri", location_name: "promptRouterArn"))
1060
+ GetPromptRouterRequest.struct_class = Types::GetPromptRouterRequest
1061
+
1062
+ GetPromptRouterResponse.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
1063
+ GetPromptRouterResponse.add_member(:routing_criteria, Shapes::ShapeRef.new(shape: RoutingCriteria, required: true, location_name: "routingCriteria"))
1064
+ GetPromptRouterResponse.add_member(:description, Shapes::ShapeRef.new(shape: PromptRouterDescription, location_name: "description"))
1065
+ GetPromptRouterResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1066
+ GetPromptRouterResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
1067
+ GetPromptRouterResponse.add_member(:prompt_router_arn, Shapes::ShapeRef.new(shape: PromptRouterArn, required: true, location_name: "promptRouterArn"))
1068
+ GetPromptRouterResponse.add_member(:models, Shapes::ShapeRef.new(shape: PromptRouterTargetModels, required: true, location_name: "models"))
1069
+ GetPromptRouterResponse.add_member(:fallback_model, Shapes::ShapeRef.new(shape: PromptRouterTargetModel, required: true, location_name: "fallbackModel"))
1070
+ GetPromptRouterResponse.add_member(:status, Shapes::ShapeRef.new(shape: PromptRouterStatus, required: true, location_name: "status"))
1071
+ GetPromptRouterResponse.add_member(:type, Shapes::ShapeRef.new(shape: PromptRouterType, required: true, location_name: "type"))
1072
+ GetPromptRouterResponse.struct_class = Types::GetPromptRouterResponse
1073
+
978
1074
  GetProvisionedModelThroughputRequest.add_member(:provisioned_model_id, Shapes::ShapeRef.new(shape: ProvisionedModelId, required: true, location: "uri", location_name: "provisionedModelId"))
979
1075
  GetProvisionedModelThroughputRequest.struct_class = Types::GetProvisionedModelThroughputRequest
980
1076
 
@@ -1000,11 +1096,15 @@ module Aws::Bedrock
1000
1096
  GuardrailContentFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, required: true, location_name: "type"))
1001
1097
  GuardrailContentFilter.add_member(:input_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "inputStrength"))
1002
1098
  GuardrailContentFilter.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
1099
+ GuardrailContentFilter.add_member(:input_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "inputModalities"))
1100
+ GuardrailContentFilter.add_member(:output_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "outputModalities"))
1003
1101
  GuardrailContentFilter.struct_class = Types::GuardrailContentFilter
1004
1102
 
1005
1103
  GuardrailContentFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, required: true, location_name: "type"))
1006
1104
  GuardrailContentFilterConfig.add_member(:input_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "inputStrength"))
1007
1105
  GuardrailContentFilterConfig.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
1106
+ GuardrailContentFilterConfig.add_member(:input_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "inputModalities"))
1107
+ GuardrailContentFilterConfig.add_member(:output_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "outputModalities"))
1008
1108
  GuardrailContentFilterConfig.struct_class = Types::GuardrailContentFilterConfig
1009
1109
 
1010
1110
  GuardrailContentFilters.member = Shapes::ShapeRef.new(shape: GuardrailContentFilter)
@@ -1047,6 +1147,8 @@ module Aws::Bedrock
1047
1147
  GuardrailManagedWordsConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailManagedWordsType, required: true, location_name: "type"))
1048
1148
  GuardrailManagedWordsConfig.struct_class = Types::GuardrailManagedWordsConfig
1049
1149
 
1150
+ GuardrailModalities.member = Shapes::ShapeRef.new(shape: GuardrailModality)
1151
+
1050
1152
  GuardrailPiiEntities.member = Shapes::ShapeRef.new(shape: GuardrailPiiEntity)
1051
1153
 
1052
1154
  GuardrailPiiEntitiesConfig.member = Shapes::ShapeRef.new(shape: GuardrailPiiEntityConfig)
@@ -1301,6 +1403,15 @@ module Aws::Bedrock
1301
1403
  ListInferenceProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1302
1404
  ListInferenceProfilesResponse.struct_class = Types::ListInferenceProfilesResponse
1303
1405
 
1406
+ ListMarketplaceModelEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1407
+ ListMarketplaceModelEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1408
+ ListMarketplaceModelEndpointsRequest.add_member(:model_source_equals, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, location: "querystring", location_name: "modelSourceIdentifier"))
1409
+ ListMarketplaceModelEndpointsRequest.struct_class = Types::ListMarketplaceModelEndpointsRequest
1410
+
1411
+ ListMarketplaceModelEndpointsResponse.add_member(:marketplace_model_endpoints, Shapes::ShapeRef.new(shape: MarketplaceModelEndpointSummaries, location_name: "marketplaceModelEndpoints"))
1412
+ ListMarketplaceModelEndpointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1413
+ ListMarketplaceModelEndpointsResponse.struct_class = Types::ListMarketplaceModelEndpointsResponse
1414
+
1304
1415
  ListModelCopyJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1305
1416
  ListModelCopyJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1306
1417
  ListModelCopyJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, location: "querystring", location_name: "statusEquals"))
@@ -1359,6 +1470,14 @@ module Aws::Bedrock
1359
1470
  ListModelInvocationJobsResponse.add_member(:invocation_job_summaries, Shapes::ShapeRef.new(shape: ModelInvocationJobSummaries, location_name: "invocationJobSummaries"))
1360
1471
  ListModelInvocationJobsResponse.struct_class = Types::ListModelInvocationJobsResponse
1361
1472
 
1473
+ ListPromptRoutersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1474
+ ListPromptRoutersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1475
+ ListPromptRoutersRequest.struct_class = Types::ListPromptRoutersRequest
1476
+
1477
+ ListPromptRoutersResponse.add_member(:prompt_router_summaries, Shapes::ShapeRef.new(shape: PromptRouterSummaries, location_name: "promptRouterSummaries"))
1478
+ ListPromptRoutersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1479
+ ListPromptRoutersResponse.struct_class = Types::ListPromptRoutersResponse
1480
+
1362
1481
  ListProvisionedModelThroughputsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1363
1482
  ListProvisionedModelThroughputsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1364
1483
  ListProvisionedModelThroughputsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ProvisionedModelStatus, location: "querystring", location_name: "statusEquals"))
@@ -1388,6 +1507,27 @@ module Aws::Bedrock
1388
1507
  LoggingConfig.add_member(:video_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "videoDataDeliveryEnabled"))
1389
1508
  LoggingConfig.struct_class = Types::LoggingConfig
1390
1509
 
1510
+ MarketplaceModelEndpoint.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "endpointArn"))
1511
+ MarketplaceModelEndpoint.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
1512
+ MarketplaceModelEndpoint.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1513
+ MarketplaceModelEndpoint.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
1514
+ MarketplaceModelEndpoint.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1515
+ MarketplaceModelEndpoint.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
1516
+ MarketplaceModelEndpoint.add_member(:endpoint_config, Shapes::ShapeRef.new(shape: EndpointConfig, required: true, location_name: "endpointConfig"))
1517
+ MarketplaceModelEndpoint.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointStatus"))
1518
+ MarketplaceModelEndpoint.add_member(:endpoint_status_message, Shapes::ShapeRef.new(shape: String, location_name: "endpointStatusMessage"))
1519
+ MarketplaceModelEndpoint.struct_class = Types::MarketplaceModelEndpoint
1520
+
1521
+ MarketplaceModelEndpointSummaries.member = Shapes::ShapeRef.new(shape: MarketplaceModelEndpointSummary)
1522
+
1523
+ MarketplaceModelEndpointSummary.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "endpointArn"))
1524
+ MarketplaceModelEndpointSummary.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
1525
+ MarketplaceModelEndpointSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1526
+ MarketplaceModelEndpointSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
1527
+ MarketplaceModelEndpointSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1528
+ MarketplaceModelEndpointSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
1529
+ MarketplaceModelEndpointSummary.struct_class = Types::MarketplaceModelEndpointSummary
1530
+
1391
1531
  ModelCopyJobSummaries.member = Shapes::ShapeRef.new(shape: ModelCopyJobSummary)
1392
1532
 
1393
1533
  ModelCopyJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location_name: "jobArn"))
@@ -1489,6 +1629,28 @@ module Aws::Bedrock
1489
1629
  OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
1490
1630
  OutputDataConfig.struct_class = Types::OutputDataConfig
1491
1631
 
1632
+ PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
1633
+ PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
1634
+
1635
+ PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
1636
+
1637
+ PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
1638
+ PromptRouterSummary.add_member(:routing_criteria, Shapes::ShapeRef.new(shape: RoutingCriteria, required: true, location_name: "routingCriteria"))
1639
+ PromptRouterSummary.add_member(:description, Shapes::ShapeRef.new(shape: PromptRouterDescription, location_name: "description"))
1640
+ PromptRouterSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1641
+ PromptRouterSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
1642
+ PromptRouterSummary.add_member(:prompt_router_arn, Shapes::ShapeRef.new(shape: PromptRouterArn, required: true, location_name: "promptRouterArn"))
1643
+ PromptRouterSummary.add_member(:models, Shapes::ShapeRef.new(shape: PromptRouterTargetModels, required: true, location_name: "models"))
1644
+ PromptRouterSummary.add_member(:fallback_model, Shapes::ShapeRef.new(shape: PromptRouterTargetModel, required: true, location_name: "fallbackModel"))
1645
+ PromptRouterSummary.add_member(:status, Shapes::ShapeRef.new(shape: PromptRouterStatus, required: true, location_name: "status"))
1646
+ PromptRouterSummary.add_member(:type, Shapes::ShapeRef.new(shape: PromptRouterType, required: true, location_name: "type"))
1647
+ PromptRouterSummary.struct_class = Types::PromptRouterSummary
1648
+
1649
+ PromptRouterTargetModel.add_member(:model_arn, Shapes::ShapeRef.new(shape: PromptRouterTargetModelArn, location_name: "modelArn"))
1650
+ PromptRouterTargetModel.struct_class = Types::PromptRouterTargetModel
1651
+
1652
+ PromptRouterTargetModels.member = Shapes::ShapeRef.new(shape: PromptRouterTargetModel)
1653
+
1492
1654
  PromptTemplate.add_member(:text_prompt_template, Shapes::ShapeRef.new(shape: TextPromptTemplate, location_name: "textPromptTemplate"))
1493
1655
  PromptTemplate.struct_class = Types::PromptTemplate
1494
1656
 
@@ -1528,6 +1690,13 @@ module Aws::Bedrock
1528
1690
 
1529
1691
  RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
1530
1692
 
1693
+ RegisterMarketplaceModelEndpointRequest.add_member(:endpoint_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointIdentifier"))
1694
+ RegisterMarketplaceModelEndpointRequest.add_member(:model_source_identifier, Shapes::ShapeRef.new(shape: ModelSourceIdentifier, required: true, location_name: "modelSourceIdentifier"))
1695
+ RegisterMarketplaceModelEndpointRequest.struct_class = Types::RegisterMarketplaceModelEndpointRequest
1696
+
1697
+ RegisterMarketplaceModelEndpointResponse.add_member(:marketplace_model_endpoint, Shapes::ShapeRef.new(shape: MarketplaceModelEndpoint, required: true, location_name: "marketplaceModelEndpoint"))
1698
+ RegisterMarketplaceModelEndpointResponse.struct_class = Types::RegisterMarketplaceModelEndpointResponse
1699
+
1531
1700
  RequestMetadataBaseFilters.add_member(:equals, Shapes::ShapeRef.new(shape: RequestMetadataMap, location_name: "equals"))
1532
1701
  RequestMetadataBaseFilters.add_member(:not_equals, Shapes::ShapeRef.new(shape: RequestMetadataMap, location_name: "notEquals"))
1533
1702
  RequestMetadataBaseFilters.struct_class = Types::RequestMetadataBaseFilters
@@ -1593,6 +1762,9 @@ module Aws::Bedrock
1593
1762
  RetrieveConfig.add_member(:knowledge_base_retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, required: true, location_name: "knowledgeBaseRetrievalConfiguration"))
1594
1763
  RetrieveConfig.struct_class = Types::RetrieveConfig
1595
1764
 
1765
+ RoutingCriteria.add_member(:response_quality_difference, Shapes::ShapeRef.new(shape: RoutingCriteriaResponseQualityDifferenceDouble, required: true, location_name: "responseQualityDifference"))
1766
+ RoutingCriteria.struct_class = Types::RoutingCriteria
1767
+
1596
1768
  S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
1597
1769
  S3Config.add_member(:key_prefix, Shapes::ShapeRef.new(shape: KeyPrefix, location_name: "keyPrefix"))
1598
1770
  S3Config.struct_class = Types::S3Config
@@ -1603,11 +1775,21 @@ module Aws::Bedrock
1603
1775
  S3ObjectDoc.add_member(:uri, Shapes::ShapeRef.new(shape: kBS3Uri, required: true, location_name: "uri"))
1604
1776
  S3ObjectDoc.struct_class = Types::S3ObjectDoc
1605
1777
 
1778
+ SageMakerEndpoint.add_member(:initial_instance_count, Shapes::ShapeRef.new(shape: InstanceCount, required: true, location_name: "initialInstanceCount"))
1779
+ SageMakerEndpoint.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
1780
+ SageMakerEndpoint.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "executionRole"))
1781
+ SageMakerEndpoint.add_member(:kms_encryption_key, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsEncryptionKey"))
1782
+ SageMakerEndpoint.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpc"))
1783
+ SageMakerEndpoint.struct_class = Types::SageMakerEndpoint
1784
+
1606
1785
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
1607
1786
 
1608
1787
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1609
1788
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1610
1789
 
1790
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1791
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1792
+
1611
1793
  StopEvaluationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
1612
1794
  StopEvaluationJobRequest.struct_class = Types::StopEvaluationJobRequest
1613
1795
 
@@ -1688,6 +1870,14 @@ module Aws::Bedrock
1688
1870
  UpdateGuardrailResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
1689
1871
  UpdateGuardrailResponse.struct_class = Types::UpdateGuardrailResponse
1690
1872
 
1873
+ UpdateMarketplaceModelEndpointRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "endpointArn"))
1874
+ UpdateMarketplaceModelEndpointRequest.add_member(:endpoint_config, Shapes::ShapeRef.new(shape: EndpointConfig, required: true, location_name: "endpointConfig"))
1875
+ UpdateMarketplaceModelEndpointRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
1876
+ UpdateMarketplaceModelEndpointRequest.struct_class = Types::UpdateMarketplaceModelEndpointRequest
1877
+
1878
+ UpdateMarketplaceModelEndpointResponse.add_member(:marketplace_model_endpoint, Shapes::ShapeRef.new(shape: MarketplaceModelEndpoint, required: true, location_name: "marketplaceModelEndpoint"))
1879
+ UpdateMarketplaceModelEndpointResponse.struct_class = Types::UpdateMarketplaceModelEndpointResponse
1880
+
1691
1881
  UpdateProvisionedModelThroughputRequest.add_member(:provisioned_model_id, Shapes::ShapeRef.new(shape: ProvisionedModelId, required: true, location: "uri", location_name: "provisionedModelId"))
1692
1882
  UpdateProvisionedModelThroughputRequest.add_member(:desired_provisioned_model_name, Shapes::ShapeRef.new(shape: ProvisionedModelName, location_name: "desiredProvisionedModelName"))
1693
1883
  UpdateProvisionedModelThroughputRequest.add_member(:desired_model_id, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "desiredModelId"))
@@ -1810,6 +2000,21 @@ module Aws::Bedrock
1810
2000
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1811
2001
  end)
1812
2002
 
2003
+ api.add_operation(:create_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2004
+ o.name = "CreateMarketplaceModelEndpoint"
2005
+ o.http_method = "POST"
2006
+ o.http_request_uri = "/marketplace-model/endpoints"
2007
+ o.input = Shapes::ShapeRef.new(shape: CreateMarketplaceModelEndpointRequest)
2008
+ o.output = Shapes::ShapeRef.new(shape: CreateMarketplaceModelEndpointResponse)
2009
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2010
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2011
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2012
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2013
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2014
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2015
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2016
+ end)
2017
+
1813
2018
  api.add_operation(:create_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
1814
2019
  o.name = "CreateModelCopyJob"
1815
2020
  o.http_method = "POST"
@@ -1940,6 +2145,19 @@ module Aws::Bedrock
1940
2145
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1941
2146
  end)
1942
2147
 
2148
+ api.add_operation(:delete_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2149
+ o.name = "DeleteMarketplaceModelEndpoint"
2150
+ o.http_method = "DELETE"
2151
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointArn}"
2152
+ o.input = Shapes::ShapeRef.new(shape: DeleteMarketplaceModelEndpointRequest)
2153
+ o.output = Shapes::ShapeRef.new(shape: DeleteMarketplaceModelEndpointResponse)
2154
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2155
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2156
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2157
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2158
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2159
+ end)
2160
+
1943
2161
  api.add_operation(:delete_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
1944
2162
  o.name = "DeleteModelInvocationLoggingConfiguration"
1945
2163
  o.http_method = "DELETE"
@@ -1965,6 +2183,20 @@ module Aws::Bedrock
1965
2183
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1966
2184
  end)
1967
2185
 
2186
+ api.add_operation(:deregister_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2187
+ o.name = "DeregisterMarketplaceModelEndpoint"
2188
+ o.http_method = "DELETE"
2189
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointArn}/registration"
2190
+ o.input = Shapes::ShapeRef.new(shape: DeregisterMarketplaceModelEndpointRequest)
2191
+ o.output = Shapes::ShapeRef.new(shape: DeregisterMarketplaceModelEndpointResponse)
2192
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2193
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2194
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2195
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2196
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2197
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2198
+ end)
2199
+
1968
2200
  api.add_operation(:get_custom_model, Seahorse::Model::Operation.new.tap do |o|
1969
2201
  o.name = "GetCustomModel"
1970
2202
  o.http_method = "GET"
@@ -2043,6 +2275,19 @@ module Aws::Bedrock
2043
2275
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2044
2276
  end)
2045
2277
 
2278
+ api.add_operation(:get_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2279
+ o.name = "GetMarketplaceModelEndpoint"
2280
+ o.http_method = "GET"
2281
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointArn}"
2282
+ o.input = Shapes::ShapeRef.new(shape: GetMarketplaceModelEndpointRequest)
2283
+ o.output = Shapes::ShapeRef.new(shape: GetMarketplaceModelEndpointResponse)
2284
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2285
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2286
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2287
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2288
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2289
+ end)
2290
+
2046
2291
  api.add_operation(:get_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
2047
2292
  o.name = "GetModelCopyJob"
2048
2293
  o.http_method = "GET"
@@ -2106,6 +2351,19 @@ module Aws::Bedrock
2106
2351
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2107
2352
  end)
2108
2353
 
2354
+ api.add_operation(:get_prompt_router, Seahorse::Model::Operation.new.tap do |o|
2355
+ o.name = "GetPromptRouter"
2356
+ o.http_method = "GET"
2357
+ o.http_request_uri = "/prompt-routers/{promptRouterArn}"
2358
+ o.input = Shapes::ShapeRef.new(shape: GetPromptRouterRequest)
2359
+ o.output = Shapes::ShapeRef.new(shape: GetPromptRouterResponse)
2360
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2361
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2362
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2363
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2364
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2365
+ end)
2366
+
2109
2367
  api.add_operation(:get_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
2110
2368
  o.name = "GetProvisionedModelThroughput"
2111
2369
  o.http_method = "GET"
@@ -2222,6 +2480,25 @@ module Aws::Bedrock
2222
2480
  )
2223
2481
  end)
2224
2482
 
2483
+ api.add_operation(:list_marketplace_model_endpoints, Seahorse::Model::Operation.new.tap do |o|
2484
+ o.name = "ListMarketplaceModelEndpoints"
2485
+ o.http_method = "GET"
2486
+ o.http_request_uri = "/marketplace-model/endpoints"
2487
+ o.input = Shapes::ShapeRef.new(shape: ListMarketplaceModelEndpointsRequest)
2488
+ o.output = Shapes::ShapeRef.new(shape: ListMarketplaceModelEndpointsResponse)
2489
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2490
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2491
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2492
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2493
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2494
+ o[:pager] = Aws::Pager.new(
2495
+ limit_key: "max_results",
2496
+ tokens: {
2497
+ "next_token" => "next_token"
2498
+ }
2499
+ )
2500
+ end)
2501
+
2225
2502
  api.add_operation(:list_model_copy_jobs, Seahorse::Model::Operation.new.tap do |o|
2226
2503
  o.name = "ListModelCopyJobs"
2227
2504
  o.http_method = "GET"
@@ -2295,6 +2572,24 @@ module Aws::Bedrock
2295
2572
  )
2296
2573
  end)
2297
2574
 
2575
+ api.add_operation(:list_prompt_routers, Seahorse::Model::Operation.new.tap do |o|
2576
+ o.name = "ListPromptRouters"
2577
+ o.http_method = "GET"
2578
+ o.http_request_uri = "/prompt-routers"
2579
+ o.input = Shapes::ShapeRef.new(shape: ListPromptRoutersRequest)
2580
+ o.output = Shapes::ShapeRef.new(shape: ListPromptRoutersResponse)
2581
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2582
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2583
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2584
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2585
+ o[:pager] = Aws::Pager.new(
2586
+ limit_key: "max_results",
2587
+ tokens: {
2588
+ "next_token" => "next_token"
2589
+ }
2590
+ )
2591
+ end)
2592
+
2298
2593
  api.add_operation(:list_provisioned_model_throughputs, Seahorse::Model::Operation.new.tap do |o|
2299
2594
  o.name = "ListProvisionedModelThroughputs"
2300
2595
  o.http_method = "GET"
@@ -2338,6 +2633,20 @@ module Aws::Bedrock
2338
2633
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2339
2634
  end)
2340
2635
 
2636
+ api.add_operation(:register_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2637
+ o.name = "RegisterMarketplaceModelEndpoint"
2638
+ o.http_method = "POST"
2639
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointIdentifier}/registration"
2640
+ o.input = Shapes::ShapeRef.new(shape: RegisterMarketplaceModelEndpointRequest)
2641
+ o.output = Shapes::ShapeRef.new(shape: RegisterMarketplaceModelEndpointResponse)
2642
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2643
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2644
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2645
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2646
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2647
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2648
+ end)
2649
+
2341
2650
  api.add_operation(:stop_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
2342
2651
  o.name = "StopEvaluationJob"
2343
2652
  o.http_method = "POST"
@@ -2422,6 +2731,21 @@ module Aws::Bedrock
2422
2731
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2423
2732
  end)
2424
2733
 
2734
+ api.add_operation(:update_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2735
+ o.name = "UpdateMarketplaceModelEndpoint"
2736
+ o.http_method = "PATCH"
2737
+ o.http_request_uri = "/marketplace-model/endpoints/{endpointArn}"
2738
+ o.input = Shapes::ShapeRef.new(shape: UpdateMarketplaceModelEndpointRequest)
2739
+ o.output = Shapes::ShapeRef.new(shape: UpdateMarketplaceModelEndpointResponse)
2740
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2741
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2742
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2743
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2744
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2745
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2746
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2747
+ end)
2748
+
2425
2749
  api.add_operation(:update_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
2426
2750
  o.name = "UpdateProvisionedModelThroughput"
2427
2751
  o.http_method = "PATCH"