aws-sdk-bedrock 1.51.0 → 1.53.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.
@@ -17,11 +17,16 @@ module Aws::Bedrock
17
17
  AcceptEula = Shapes::BooleanShape.new(name: 'AcceptEula')
18
18
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
19
19
  AccountId = Shapes::StringShape.new(name: 'AccountId')
20
+ AcknowledgementFormDataBody = Shapes::BlobShape.new(name: 'AcknowledgementFormDataBody')
20
21
  AdditionalModelRequestFields = Shapes::MapShape.new(name: 'AdditionalModelRequestFields')
21
22
  AdditionalModelRequestFieldsKey = Shapes::StringShape.new(name: 'AdditionalModelRequestFieldsKey')
22
23
  AdditionalModelRequestFieldsValue = Shapes::DocumentShape.new(name: 'AdditionalModelRequestFieldsValue', document: true)
24
+ AgreementAvailability = Shapes::StructureShape.new(name: 'AgreementAvailability')
25
+ AgreementStatus = Shapes::StringShape.new(name: 'AgreementStatus')
23
26
  ApplicationType = Shapes::StringShape.new(name: 'ApplicationType')
24
27
  Arn = Shapes::StringShape.new(name: 'Arn')
28
+ AttributeType = Shapes::StringShape.new(name: 'AttributeType')
29
+ AuthorizationStatus = Shapes::StringShape.new(name: 'AuthorizationStatus')
25
30
  AutomatedEvaluationConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationConfig')
26
31
  AutomatedEvaluationCustomMetricConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationCustomMetricConfig')
27
32
  AutomatedEvaluationCustomMetricSource = Shapes::UnionShape.new(name: 'AutomatedEvaluationCustomMetricSource')
@@ -37,6 +42,7 @@ module Aws::Bedrock
37
42
  BedrockEvaluatorModels = Shapes::ListShape.new(name: 'BedrockEvaluatorModels')
38
43
  BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
39
44
  BedrockModelId = Shapes::StringShape.new(name: 'BedrockModelId')
45
+ BedrockRerankingModelArn = Shapes::StringShape.new(name: 'BedrockRerankingModelArn')
40
46
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
41
47
  BrandedName = Shapes::StringShape.new(name: 'BrandedName')
42
48
  BucketName = Shapes::StringShape.new(name: 'BucketName')
@@ -50,6 +56,8 @@ module Aws::Bedrock
50
56
  CreateCustomModelResponse = Shapes::StructureShape.new(name: 'CreateCustomModelResponse')
51
57
  CreateEvaluationJobRequest = Shapes::StructureShape.new(name: 'CreateEvaluationJobRequest')
52
58
  CreateEvaluationJobResponse = Shapes::StructureShape.new(name: 'CreateEvaluationJobResponse')
59
+ CreateFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementRequest')
60
+ CreateFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementResponse')
53
61
  CreateGuardrailRequest = Shapes::StructureShape.new(name: 'CreateGuardrailRequest')
54
62
  CreateGuardrailResponse = Shapes::StructureShape.new(name: 'CreateGuardrailResponse')
55
63
  CreateGuardrailVersionRequest = Shapes::StructureShape.new(name: 'CreateGuardrailVersionRequest')
@@ -86,6 +94,8 @@ module Aws::Bedrock
86
94
  DataProcessingDetails = Shapes::StructureShape.new(name: 'DataProcessingDetails')
87
95
  DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
88
96
  DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
97
+ DeleteFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementRequest')
98
+ DeleteFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementResponse')
89
99
  DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
90
100
  DeleteGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteGuardrailResponse')
91
101
  DeleteImportedModelRequest = Shapes::StructureShape.new(name: 'DeleteImportedModelRequest')
@@ -102,9 +112,11 @@ module Aws::Bedrock
102
112
  DeleteProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputResponse')
103
113
  DeregisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointRequest')
104
114
  DeregisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointResponse')
115
+ DimensionalPriceRate = Shapes::StructureShape.new(name: 'DimensionalPriceRate')
105
116
  DistillationConfig = Shapes::StructureShape.new(name: 'DistillationConfig')
106
117
  EndpointConfig = Shapes::UnionShape.new(name: 'EndpointConfig')
107
118
  EndpointName = Shapes::StringShape.new(name: 'EndpointName')
119
+ EntitlementAvailability = Shapes::StringShape.new(name: 'EntitlementAvailability')
108
120
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
109
121
  ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
110
122
  EvaluationBedrockKnowledgeBaseIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockKnowledgeBaseIdentifiers')
@@ -156,6 +168,9 @@ module Aws::Bedrock
156
168
  ExternalSources = Shapes::ListShape.new(name: 'ExternalSources')
157
169
  ExternalSourcesGenerationConfiguration = Shapes::StructureShape.new(name: 'ExternalSourcesGenerationConfiguration')
158
170
  ExternalSourcesRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'ExternalSourcesRetrieveAndGenerateConfiguration')
171
+ FieldForReranking = Shapes::StructureShape.new(name: 'FieldForReranking')
172
+ FieldForRerankingFieldNameString = Shapes::StringShape.new(name: 'FieldForRerankingFieldNameString')
173
+ FieldsForReranking = Shapes::ListShape.new(name: 'FieldsForReranking')
159
174
  FilterAttribute = Shapes::StructureShape.new(name: 'FilterAttribute')
160
175
  FilterKey = Shapes::StringShape.new(name: 'FilterKey')
161
176
  FilterValue = Shapes::DocumentShape.new(name: 'FilterValue', document: true)
@@ -172,6 +187,8 @@ module Aws::Bedrock
172
187
  GetCustomModelResponse = Shapes::StructureShape.new(name: 'GetCustomModelResponse')
173
188
  GetEvaluationJobRequest = Shapes::StructureShape.new(name: 'GetEvaluationJobRequest')
174
189
  GetEvaluationJobResponse = Shapes::StructureShape.new(name: 'GetEvaluationJobResponse')
190
+ GetFoundationModelAvailabilityRequest = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityRequest')
191
+ GetFoundationModelAvailabilityResponse = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityResponse')
175
192
  GetFoundationModelRequest = Shapes::StructureShape.new(name: 'GetFoundationModelRequest')
176
193
  GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
177
194
  GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
@@ -196,6 +213,8 @@ module Aws::Bedrock
196
213
  GetPromptRouterResponse = Shapes::StructureShape.new(name: 'GetPromptRouterResponse')
197
214
  GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
198
215
  GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
216
+ GetUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessRequest')
217
+ GetUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessResponse')
199
218
  GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
200
219
  GuardrailBlockedMessaging = Shapes::StringShape.new(name: 'GuardrailBlockedMessaging')
201
220
  GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
@@ -298,6 +317,7 @@ module Aws::Bedrock
298
317
  HumanWorkflowConfig = Shapes::StructureShape.new(name: 'HumanWorkflowConfig')
299
318
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
300
319
  Identifier = Shapes::StringShape.new(name: 'Identifier')
320
+ ImplicitFilterConfiguration = Shapes::StructureShape.new(name: 'ImplicitFilterConfiguration')
301
321
  ImportedModelArn = Shapes::StringShape.new(name: 'ImportedModelArn')
302
322
  ImportedModelIdentifier = Shapes::StringShape.new(name: 'ImportedModelIdentifier')
303
323
  ImportedModelName = Shapes::StringShape.new(name: 'ImportedModelName')
@@ -337,10 +357,13 @@ module Aws::Bedrock
337
357
  KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
338
358
  KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
339
359
  KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
360
+ LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
340
361
  ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
341
362
  ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
342
363
  ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
343
364
  ListEvaluationJobsResponse = Shapes::StructureShape.new(name: 'ListEvaluationJobsResponse')
365
+ ListFoundationModelAgreementOffersRequest = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersRequest')
366
+ ListFoundationModelAgreementOffersResponse = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersResponse')
344
367
  ListFoundationModelsRequest = Shapes::StructureShape.new(name: 'ListFoundationModelsRequest')
345
368
  ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
346
369
  ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
@@ -373,6 +396,11 @@ module Aws::Bedrock
373
396
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
374
397
  MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
375
398
  Message = Shapes::StringShape.new(name: 'Message')
399
+ MetadataAttributeSchema = Shapes::StructureShape.new(name: 'MetadataAttributeSchema')
400
+ MetadataAttributeSchemaDescriptionString = Shapes::StringShape.new(name: 'MetadataAttributeSchemaDescriptionString')
401
+ MetadataAttributeSchemaKeyString = Shapes::StringShape.new(name: 'MetadataAttributeSchemaKeyString')
402
+ MetadataAttributeSchemaList = Shapes::ListShape.new(name: 'MetadataAttributeSchemaList')
403
+ MetadataConfigurationForReranking = Shapes::StructureShape.new(name: 'MetadataConfigurationForReranking')
376
404
  MetricFloat = Shapes::FloatShape.new(name: 'MetricFloat')
377
405
  MetricName = Shapes::StringShape.new(name: 'MetricName')
378
406
  ModelArchitecture = Shapes::StringShape.new(name: 'ModelArchitecture')
@@ -415,12 +443,18 @@ module Aws::Bedrock
415
443
  ModelSourceIdentifier = Shapes::StringShape.new(name: 'ModelSourceIdentifier')
416
444
  ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
417
445
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
446
+ Offer = Shapes::StructureShape.new(name: 'Offer')
447
+ OfferId = Shapes::StringShape.new(name: 'OfferId')
448
+ OfferToken = Shapes::StringShape.new(name: 'OfferToken')
449
+ OfferType = Shapes::StringShape.new(name: 'OfferType')
450
+ Offers = Shapes::ListShape.new(name: 'Offers')
418
451
  OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
419
452
  OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
420
453
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
421
454
  PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
422
455
  PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
423
456
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
457
+ PricingTerm = Shapes::StructureShape.new(name: 'PricingTerm')
424
458
  PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
425
459
  PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
426
460
  PromptRouterName = Shapes::StringShape.new(name: 'PromptRouterName')
@@ -441,17 +475,21 @@ module Aws::Bedrock
441
475
  ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
442
476
  PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
443
477
  PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
478
+ PutUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessRequest')
479
+ PutUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessResponse')
444
480
  QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
445
481
  QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
446
482
  RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
447
483
  RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
448
484
  RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
449
485
  RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
486
+ RateCard = Shapes::ListShape.new(name: 'RateCard')
450
487
  RatingScale = Shapes::ListShape.new(name: 'RatingScale')
451
488
  RatingScaleItem = Shapes::StructureShape.new(name: 'RatingScaleItem')
452
489
  RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
453
490
  RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
454
491
  RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
492
+ RegionAvailability = Shapes::StringShape.new(name: 'RegionAvailability')
455
493
  RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
456
494
  RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
457
495
  RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
@@ -460,6 +498,8 @@ module Aws::Bedrock
460
498
  RequestMetadataMap = Shapes::MapShape.new(name: 'RequestMetadataMap')
461
499
  RequestMetadataMapKeyString = Shapes::StringShape.new(name: 'RequestMetadataMapKeyString')
462
500
  RequestMetadataMapValueString = Shapes::StringShape.new(name: 'RequestMetadataMapValueString')
501
+ RerankingMetadataSelectionMode = Shapes::StringShape.new(name: 'RerankingMetadataSelectionMode')
502
+ RerankingMetadataSelectiveModeConfiguration = Shapes::UnionShape.new(name: 'RerankingMetadataSelectiveModeConfiguration')
463
503
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
464
504
  RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
465
505
  RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
@@ -496,6 +536,7 @@ module Aws::Bedrock
496
536
  String = Shapes::StringShape.new(name: 'String')
497
537
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
498
538
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
539
+ SupportTerm = Shapes::StructureShape.new(name: 'SupportTerm')
499
540
  Tag = Shapes::StructureShape.new(name: 'Tag')
500
541
  TagKey = Shapes::StringShape.new(name: 'TagKey')
501
542
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -507,6 +548,7 @@ module Aws::Bedrock
507
548
  TeacherModelConfig = Shapes::StructureShape.new(name: 'TeacherModelConfig')
508
549
  TeacherModelIdentifier = Shapes::StringShape.new(name: 'TeacherModelIdentifier')
509
550
  Temperature = Shapes::FloatShape.new(name: 'Temperature')
551
+ TermDetails = Shapes::StructureShape.new(name: 'TermDetails')
510
552
  TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
511
553
  TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
512
554
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
@@ -532,6 +574,12 @@ module Aws::Bedrock
532
574
  Validator = Shapes::StructureShape.new(name: 'Validator')
533
575
  ValidatorMetric = Shapes::StructureShape.new(name: 'ValidatorMetric')
534
576
  Validators = Shapes::ListShape.new(name: 'Validators')
577
+ ValidityTerm = Shapes::StructureShape.new(name: 'ValidityTerm')
578
+ VectorSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingConfiguration')
579
+ VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger = Shapes::IntegerShape.new(name: 'VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger')
580
+ VectorSearchBedrockRerankingModelConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingModelConfiguration')
581
+ VectorSearchRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchRerankingConfiguration')
582
+ VectorSearchRerankingConfigurationType = Shapes::StringShape.new(name: 'VectorSearchRerankingConfigurationType')
535
583
  VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
536
584
  kBS3Uri = Shapes::StringShape.new(name: 'kBS3Uri')
537
585
 
@@ -541,6 +589,10 @@ module Aws::Bedrock
541
589
  AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
542
590
  AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
543
591
 
592
+ AgreementAvailability.add_member(:status, Shapes::ShapeRef.new(shape: AgreementStatus, required: true, location_name: "status"))
593
+ AgreementAvailability.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
594
+ AgreementAvailability.struct_class = Types::AgreementAvailability
595
+
544
596
  AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
545
597
  AutomatedEvaluationConfig.add_member(:evaluator_model_config, Shapes::ShapeRef.new(shape: EvaluatorModelConfig, location_name: "evaluatorModelConfig"))
546
598
  AutomatedEvaluationConfig.add_member(:custom_metric_config, Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetricConfig, location_name: "customMetricConfig"))
@@ -622,6 +674,13 @@ module Aws::Bedrock
622
674
  CreateEvaluationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: EvaluationJobArn, required: true, location_name: "jobArn"))
623
675
  CreateEvaluationJobResponse.struct_class = Types::CreateEvaluationJobResponse
624
676
 
677
+ CreateFoundationModelAgreementRequest.add_member(:offer_token, Shapes::ShapeRef.new(shape: OfferToken, required: true, location_name: "offerToken"))
678
+ CreateFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
679
+ CreateFoundationModelAgreementRequest.struct_class = Types::CreateFoundationModelAgreementRequest
680
+
681
+ CreateFoundationModelAgreementResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
682
+ CreateFoundationModelAgreementResponse.struct_class = Types::CreateFoundationModelAgreementResponse
683
+
625
684
  CreateGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailName, required: true, location_name: "name"))
626
685
  CreateGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailDescription, location_name: "description"))
627
686
  CreateGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
@@ -800,6 +859,11 @@ module Aws::Bedrock
800
859
 
801
860
  DeleteCustomModelResponse.struct_class = Types::DeleteCustomModelResponse
802
861
 
862
+ DeleteFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
863
+ DeleteFoundationModelAgreementRequest.struct_class = Types::DeleteFoundationModelAgreementRequest
864
+
865
+ DeleteFoundationModelAgreementResponse.struct_class = Types::DeleteFoundationModelAgreementResponse
866
+
803
867
  DeleteGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
804
868
  DeleteGuardrailRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, location: "querystring", location_name: "guardrailVersion"))
805
869
  DeleteGuardrailRequest.struct_class = Types::DeleteGuardrailRequest
@@ -840,6 +904,12 @@ module Aws::Bedrock
840
904
 
841
905
  DeregisterMarketplaceModelEndpointResponse.struct_class = Types::DeregisterMarketplaceModelEndpointResponse
842
906
 
907
+ DimensionalPriceRate.add_member(:dimension, Shapes::ShapeRef.new(shape: String, location_name: "dimension"))
908
+ DimensionalPriceRate.add_member(:price, Shapes::ShapeRef.new(shape: String, location_name: "price"))
909
+ DimensionalPriceRate.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
910
+ DimensionalPriceRate.add_member(:unit, Shapes::ShapeRef.new(shape: String, location_name: "unit"))
911
+ DimensionalPriceRate.struct_class = Types::DimensionalPriceRate
912
+
843
913
  DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
844
914
  DistillationConfig.struct_class = Types::DistillationConfig
845
915
 
@@ -987,6 +1057,11 @@ module Aws::Bedrock
987
1057
  ExternalSourcesRetrieveAndGenerateConfiguration.add_member(:generation_configuration, Shapes::ShapeRef.new(shape: ExternalSourcesGenerationConfiguration, location_name: "generationConfiguration"))
988
1058
  ExternalSourcesRetrieveAndGenerateConfiguration.struct_class = Types::ExternalSourcesRetrieveAndGenerateConfiguration
989
1059
 
1060
+ FieldForReranking.add_member(:field_name, Shapes::ShapeRef.new(shape: FieldForRerankingFieldNameString, required: true, location_name: "fieldName"))
1061
+ FieldForReranking.struct_class = Types::FieldForReranking
1062
+
1063
+ FieldsForReranking.member = Shapes::ShapeRef.new(shape: FieldForReranking)
1064
+
990
1065
  FilterAttribute.add_member(:key, Shapes::ShapeRef.new(shape: FilterKey, required: true, location_name: "key"))
991
1066
  FilterAttribute.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, required: true, location_name: "value"))
992
1067
  FilterAttribute.struct_class = Types::FilterAttribute
@@ -1067,6 +1142,16 @@ module Aws::Bedrock
1067
1142
  GetEvaluationJobResponse.add_member(:failure_messages, Shapes::ShapeRef.new(shape: ErrorMessages, location_name: "failureMessages"))
1068
1143
  GetEvaluationJobResponse.struct_class = Types::GetEvaluationJobResponse
1069
1144
 
1145
+ GetFoundationModelAvailabilityRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location: "uri", location_name: "modelId"))
1146
+ GetFoundationModelAvailabilityRequest.struct_class = Types::GetFoundationModelAvailabilityRequest
1147
+
1148
+ GetFoundationModelAvailabilityResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
1149
+ GetFoundationModelAvailabilityResponse.add_member(:agreement_availability, Shapes::ShapeRef.new(shape: AgreementAvailability, required: true, location_name: "agreementAvailability"))
1150
+ GetFoundationModelAvailabilityResponse.add_member(:authorization_status, Shapes::ShapeRef.new(shape: AuthorizationStatus, required: true, location_name: "authorizationStatus"))
1151
+ GetFoundationModelAvailabilityResponse.add_member(:entitlement_availability, Shapes::ShapeRef.new(shape: EntitlementAvailability, required: true, location_name: "entitlementAvailability"))
1152
+ GetFoundationModelAvailabilityResponse.add_member(:region_availability, Shapes::ShapeRef.new(shape: RegionAvailability, required: true, location_name: "regionAvailability"))
1153
+ GetFoundationModelAvailabilityResponse.struct_class = Types::GetFoundationModelAvailabilityResponse
1154
+
1070
1155
  GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
1071
1156
  GetFoundationModelRequest.struct_class = Types::GetFoundationModelRequest
1072
1157
 
@@ -1253,6 +1338,11 @@ module Aws::Bedrock
1253
1338
  GetProvisionedModelThroughputResponse.add_member(:commitment_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "commitmentExpirationTime"))
1254
1339
  GetProvisionedModelThroughputResponse.struct_class = Types::GetProvisionedModelThroughputResponse
1255
1340
 
1341
+ GetUseCaseForModelAccessRequest.struct_class = Types::GetUseCaseForModelAccessRequest
1342
+
1343
+ GetUseCaseForModelAccessResponse.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
1344
+ GetUseCaseForModelAccessResponse.struct_class = Types::GetUseCaseForModelAccessResponse
1345
+
1256
1346
  GuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
1257
1347
  GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
1258
1348
  GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
@@ -1497,6 +1587,10 @@ module Aws::Bedrock
1497
1587
  HumanWorkflowConfig.add_member(:instructions, Shapes::ShapeRef.new(shape: HumanTaskInstructions, location_name: "instructions"))
1498
1588
  HumanWorkflowConfig.struct_class = Types::HumanWorkflowConfig
1499
1589
 
1590
+ ImplicitFilterConfiguration.add_member(:metadata_attributes, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaList, required: true, location_name: "metadataAttributes"))
1591
+ ImplicitFilterConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
1592
+ ImplicitFilterConfiguration.struct_class = Types::ImplicitFilterConfiguration
1593
+
1500
1594
  ImportedModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, required: true, location_name: "modelArn"))
1501
1595
  ImportedModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "modelName"))
1502
1596
  ImportedModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
@@ -1570,8 +1664,13 @@ module Aws::Bedrock
1570
1664
  KnowledgeBaseVectorSearchConfiguration.add_member(:number_of_results, Shapes::ShapeRef.new(shape: KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger, location_name: "numberOfResults"))
1571
1665
  KnowledgeBaseVectorSearchConfiguration.add_member(:override_search_type, Shapes::ShapeRef.new(shape: SearchType, location_name: "overrideSearchType"))
1572
1666
  KnowledgeBaseVectorSearchConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
1667
+ KnowledgeBaseVectorSearchConfiguration.add_member(:implicit_filter_configuration, Shapes::ShapeRef.new(shape: ImplicitFilterConfiguration, location_name: "implicitFilterConfiguration"))
1668
+ KnowledgeBaseVectorSearchConfiguration.add_member(:reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchRerankingConfiguration, location_name: "rerankingConfiguration"))
1573
1669
  KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
1574
1670
 
1671
+ LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
1672
+ LegalTerm.struct_class = Types::LegalTerm
1673
+
1575
1674
  ListCustomModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1576
1675
  ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1577
1676
  ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
@@ -1604,6 +1703,14 @@ module Aws::Bedrock
1604
1703
  ListEvaluationJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: EvaluationSummaries, location_name: "jobSummaries"))
1605
1704
  ListEvaluationJobsResponse.struct_class = Types::ListEvaluationJobsResponse
1606
1705
 
1706
+ ListFoundationModelAgreementOffersRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location: "uri", location_name: "modelId"))
1707
+ ListFoundationModelAgreementOffersRequest.add_member(:offer_type, Shapes::ShapeRef.new(shape: OfferType, location: "querystring", location_name: "offerType"))
1708
+ ListFoundationModelAgreementOffersRequest.struct_class = Types::ListFoundationModelAgreementOffersRequest
1709
+
1710
+ ListFoundationModelAgreementOffersResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
1711
+ ListFoundationModelAgreementOffersResponse.add_member(:offers, Shapes::ShapeRef.new(shape: Offers, required: true, location_name: "offers"))
1712
+ ListFoundationModelAgreementOffersResponse.struct_class = Types::ListFoundationModelAgreementOffersResponse
1713
+
1607
1714
  ListFoundationModelsRequest.add_member(:by_provider, Shapes::ShapeRef.new(shape: Provider, location: "querystring", location_name: "byProvider"))
1608
1715
  ListFoundationModelsRequest.add_member(:by_customization_type, Shapes::ShapeRef.new(shape: ModelCustomization, location: "querystring", location_name: "byCustomizationType"))
1609
1716
  ListFoundationModelsRequest.add_member(:by_output_modality, Shapes::ShapeRef.new(shape: ModelModality, location: "querystring", location_name: "byOutputModality"))
@@ -1770,6 +1877,17 @@ module Aws::Bedrock
1770
1877
  MarketplaceModelEndpointSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
1771
1878
  MarketplaceModelEndpointSummary.struct_class = Types::MarketplaceModelEndpointSummary
1772
1879
 
1880
+ MetadataAttributeSchema.add_member(:key, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaKeyString, required: true, location_name: "key"))
1881
+ MetadataAttributeSchema.add_member(:type, Shapes::ShapeRef.new(shape: AttributeType, required: true, location_name: "type"))
1882
+ MetadataAttributeSchema.add_member(:description, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaDescriptionString, required: true, location_name: "description"))
1883
+ MetadataAttributeSchema.struct_class = Types::MetadataAttributeSchema
1884
+
1885
+ MetadataAttributeSchemaList.member = Shapes::ShapeRef.new(shape: MetadataAttributeSchema)
1886
+
1887
+ MetadataConfigurationForReranking.add_member(:selection_mode, Shapes::ShapeRef.new(shape: RerankingMetadataSelectionMode, required: true, location_name: "selectionMode"))
1888
+ MetadataConfigurationForReranking.add_member(:selective_mode_configuration, Shapes::ShapeRef.new(shape: RerankingMetadataSelectiveModeConfiguration, location_name: "selectiveModeConfiguration"))
1889
+ MetadataConfigurationForReranking.struct_class = Types::MetadataConfigurationForReranking
1890
+
1773
1891
  ModelCopyJobSummaries.member = Shapes::ShapeRef.new(shape: ModelCopyJobSummary)
1774
1892
 
1775
1893
  ModelCopyJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location_name: "jobArn"))
@@ -1866,6 +1984,13 @@ module Aws::Bedrock
1866
1984
 
1867
1985
  ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
1868
1986
 
1987
+ Offer.add_member(:offer_id, Shapes::ShapeRef.new(shape: OfferId, location_name: "offerId"))
1988
+ Offer.add_member(:offer_token, Shapes::ShapeRef.new(shape: OfferToken, required: true, location_name: "offerToken"))
1989
+ Offer.add_member(:term_details, Shapes::ShapeRef.new(shape: TermDetails, required: true, location_name: "termDetails"))
1990
+ Offer.struct_class = Types::Offer
1991
+
1992
+ Offers.member = Shapes::ShapeRef.new(shape: Offer)
1993
+
1869
1994
  OrchestrationConfiguration.add_member(:query_transformation_configuration, Shapes::ShapeRef.new(shape: QueryTransformationConfiguration, required: true, location_name: "queryTransformationConfiguration"))
1870
1995
  OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
1871
1996
 
@@ -1875,6 +2000,9 @@ module Aws::Bedrock
1875
2000
  PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
1876
2001
  PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
1877
2002
 
2003
+ PricingTerm.add_member(:rate_card, Shapes::ShapeRef.new(shape: RateCard, required: true, location_name: "rateCard"))
2004
+ PricingTerm.struct_class = Types::PricingTerm
2005
+
1878
2006
  PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
1879
2007
 
1880
2008
  PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
@@ -1918,6 +2046,11 @@ module Aws::Bedrock
1918
2046
 
1919
2047
  PutModelInvocationLoggingConfigurationResponse.struct_class = Types::PutModelInvocationLoggingConfigurationResponse
1920
2048
 
2049
+ PutUseCaseForModelAccessRequest.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
2050
+ PutUseCaseForModelAccessRequest.struct_class = Types::PutUseCaseForModelAccessRequest
2051
+
2052
+ PutUseCaseForModelAccessResponse.struct_class = Types::PutUseCaseForModelAccessResponse
2053
+
1921
2054
  QueryTransformationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: QueryTransformationType, required: true, location_name: "type"))
1922
2055
  QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
1923
2056
 
@@ -1933,6 +2066,8 @@ module Aws::Bedrock
1933
2066
 
1934
2067
  RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
1935
2068
 
2069
+ RateCard.member = Shapes::ShapeRef.new(shape: DimensionalPriceRate)
2070
+
1936
2071
  RatingScale.member = Shapes::ShapeRef.new(shape: RatingScaleItem)
1937
2072
 
1938
2073
  RatingScaleItem.add_member(:definition, Shapes::ShapeRef.new(shape: RatingScaleItemDefinition, required: true, location_name: "definition"))
@@ -1975,6 +2110,14 @@ module Aws::Bedrock
1975
2110
  RequestMetadataMap.key = Shapes::ShapeRef.new(shape: RequestMetadataMapKeyString)
1976
2111
  RequestMetadataMap.value = Shapes::ShapeRef.new(shape: RequestMetadataMapValueString)
1977
2112
 
2113
+ RerankingMetadataSelectiveModeConfiguration.add_member(:fields_to_include, Shapes::ShapeRef.new(shape: FieldsForReranking, location_name: "fieldsToInclude"))
2114
+ RerankingMetadataSelectiveModeConfiguration.add_member(:fields_to_exclude, Shapes::ShapeRef.new(shape: FieldsForReranking, location_name: "fieldsToExclude"))
2115
+ RerankingMetadataSelectiveModeConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2116
+ RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:fields_to_include, Types::RerankingMetadataSelectiveModeConfiguration::FieldsToInclude)
2117
+ RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:fields_to_exclude, Types::RerankingMetadataSelectiveModeConfiguration::FieldsToExclude)
2118
+ RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:unknown, Types::RerankingMetadataSelectiveModeConfiguration::Unknown)
2119
+ RerankingMetadataSelectiveModeConfiguration.struct_class = Types::RerankingMetadataSelectiveModeConfiguration
2120
+
1978
2121
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1979
2122
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1980
2123
 
@@ -2069,6 +2212,9 @@ module Aws::Bedrock
2069
2212
 
2070
2213
  SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
2071
2214
 
2215
+ SupportTerm.add_member(:refund_policy_description, Shapes::ShapeRef.new(shape: String, location_name: "refundPolicyDescription"))
2216
+ SupportTerm.struct_class = Types::SupportTerm
2217
+
2072
2218
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
2073
2219
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
2074
2220
  Tag.struct_class = Types::Tag
@@ -2087,6 +2233,12 @@ module Aws::Bedrock
2087
2233
  TeacherModelConfig.add_member(:max_response_length_for_inference, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResponseLengthForInference"))
2088
2234
  TeacherModelConfig.struct_class = Types::TeacherModelConfig
2089
2235
 
2236
+ TermDetails.add_member(:usage_based_pricing_term, Shapes::ShapeRef.new(shape: PricingTerm, required: true, location_name: "usageBasedPricingTerm"))
2237
+ TermDetails.add_member(:legal_term, Shapes::ShapeRef.new(shape: LegalTerm, required: true, location_name: "legalTerm"))
2238
+ TermDetails.add_member(:support_term, Shapes::ShapeRef.new(shape: SupportTerm, required: true, location_name: "supportTerm"))
2239
+ TermDetails.add_member(:validity_term, Shapes::ShapeRef.new(shape: ValidityTerm, location_name: "validityTerm"))
2240
+ TermDetails.struct_class = Types::TermDetails
2241
+
2090
2242
  TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
2091
2243
  TextInferenceConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
2092
2244
  TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
@@ -2174,6 +2326,22 @@ module Aws::Bedrock
2174
2326
 
2175
2327
  Validators.member = Shapes::ShapeRef.new(shape: Validator)
2176
2328
 
2329
+ ValidityTerm.add_member(:agreement_duration, Shapes::ShapeRef.new(shape: String, location_name: "agreementDuration"))
2330
+ ValidityTerm.struct_class = Types::ValidityTerm
2331
+
2332
+ VectorSearchBedrockRerankingConfiguration.add_member(:model_configuration, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingModelConfiguration, required: true, location_name: "modelConfiguration"))
2333
+ VectorSearchBedrockRerankingConfiguration.add_member(:number_of_reranked_results, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger, location_name: "numberOfRerankedResults"))
2334
+ VectorSearchBedrockRerankingConfiguration.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfigurationForReranking, location_name: "metadataConfiguration"))
2335
+ VectorSearchBedrockRerankingConfiguration.struct_class = Types::VectorSearchBedrockRerankingConfiguration
2336
+
2337
+ VectorSearchBedrockRerankingModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockRerankingModelArn, required: true, location_name: "modelArn"))
2338
+ VectorSearchBedrockRerankingModelConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
2339
+ VectorSearchBedrockRerankingModelConfiguration.struct_class = Types::VectorSearchBedrockRerankingModelConfiguration
2340
+
2341
+ VectorSearchRerankingConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: VectorSearchRerankingConfigurationType, required: true, location_name: "type"))
2342
+ VectorSearchRerankingConfiguration.add_member(:bedrock_reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingConfiguration, location_name: "bedrockRerankingConfiguration"))
2343
+ VectorSearchRerankingConfiguration.struct_class = Types::VectorSearchRerankingConfiguration
2344
+
2177
2345
  VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
2178
2346
  VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "securityGroupIds"))
2179
2347
  VpcConfig.struct_class = Types::VpcConfig
@@ -2186,7 +2354,7 @@ module Aws::Bedrock
2186
2354
 
2187
2355
  api.metadata = {
2188
2356
  "apiVersion" => "2023-04-20",
2189
- "auth" => ["aws.auth#sigv4"],
2357
+ "auth" => ["aws.auth#sigv4", "smithy.api#httpBearerAuth"],
2190
2358
  "endpointPrefix" => "bedrock",
2191
2359
  "protocol" => "rest-json",
2192
2360
  "protocols" => ["rest-json"],
@@ -2242,6 +2410,20 @@ module Aws::Bedrock
2242
2410
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2243
2411
  end)
2244
2412
 
2413
+ api.add_operation(:create_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
2414
+ o.name = "CreateFoundationModelAgreement"
2415
+ o.http_method = "POST"
2416
+ o.http_request_uri = "/create-foundation-model-agreement"
2417
+ o.input = Shapes::ShapeRef.new(shape: CreateFoundationModelAgreementRequest)
2418
+ o.output = Shapes::ShapeRef.new(shape: CreateFoundationModelAgreementResponse)
2419
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2420
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2421
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2422
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2423
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2424
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2425
+ end)
2426
+
2245
2427
  api.add_operation(:create_guardrail, Seahorse::Model::Operation.new.tap do |o|
2246
2428
  o.name = "CreateGuardrail"
2247
2429
  o.http_method = "POST"
@@ -2408,6 +2590,20 @@ module Aws::Bedrock
2408
2590
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2409
2591
  end)
2410
2592
 
2593
+ api.add_operation(:delete_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
2594
+ o.name = "DeleteFoundationModelAgreement"
2595
+ o.http_method = "POST"
2596
+ o.http_request_uri = "/delete-foundation-model-agreement"
2597
+ o.input = Shapes::ShapeRef.new(shape: DeleteFoundationModelAgreementRequest)
2598
+ o.output = Shapes::ShapeRef.new(shape: DeleteFoundationModelAgreementResponse)
2599
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2600
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2601
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2602
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2603
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2604
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2605
+ end)
2606
+
2411
2607
  api.add_operation(:delete_guardrail, Seahorse::Model::Operation.new.tap do |o|
2412
2608
  o.name = "DeleteGuardrail"
2413
2609
  o.http_method = "DELETE"
@@ -2554,6 +2750,19 @@ module Aws::Bedrock
2554
2750
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2555
2751
  end)
2556
2752
 
2753
+ api.add_operation(:get_foundation_model_availability, Seahorse::Model::Operation.new.tap do |o|
2754
+ o.name = "GetFoundationModelAvailability"
2755
+ o.http_method = "GET"
2756
+ o.http_request_uri = "/foundation-model-availability/{modelId}"
2757
+ o.input = Shapes::ShapeRef.new(shape: GetFoundationModelAvailabilityRequest)
2758
+ o.output = Shapes::ShapeRef.new(shape: GetFoundationModelAvailabilityResponse)
2759
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2760
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2761
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2762
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2763
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2764
+ end)
2765
+
2557
2766
  api.add_operation(:get_guardrail, Seahorse::Model::Operation.new.tap do |o|
2558
2767
  o.name = "GetGuardrail"
2559
2768
  o.http_method = "GET"
@@ -2695,6 +2904,18 @@ module Aws::Bedrock
2695
2904
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2696
2905
  end)
2697
2906
 
2907
+ api.add_operation(:get_use_case_for_model_access, Seahorse::Model::Operation.new.tap do |o|
2908
+ o.name = "GetUseCaseForModelAccess"
2909
+ o.http_method = "GET"
2910
+ o.http_request_uri = "/use-case-for-model-access"
2911
+ o.input = Shapes::ShapeRef.new(shape: GetUseCaseForModelAccessRequest)
2912
+ o.output = Shapes::ShapeRef.new(shape: GetUseCaseForModelAccessResponse)
2913
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2914
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2915
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2916
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2917
+ end)
2918
+
2698
2919
  api.add_operation(:list_custom_models, Seahorse::Model::Operation.new.tap do |o|
2699
2920
  o.name = "ListCustomModels"
2700
2921
  o.http_method = "GET"
@@ -2731,6 +2952,19 @@ module Aws::Bedrock
2731
2952
  )
2732
2953
  end)
2733
2954
 
2955
+ api.add_operation(:list_foundation_model_agreement_offers, Seahorse::Model::Operation.new.tap do |o|
2956
+ o.name = "ListFoundationModelAgreementOffers"
2957
+ o.http_method = "GET"
2958
+ o.http_request_uri = "/list-foundation-model-agreement-offers/{modelId}"
2959
+ o.input = Shapes::ShapeRef.new(shape: ListFoundationModelAgreementOffersRequest)
2960
+ o.output = Shapes::ShapeRef.new(shape: ListFoundationModelAgreementOffersResponse)
2961
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2962
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2963
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2964
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2965
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2966
+ end)
2967
+
2734
2968
  api.add_operation(:list_foundation_models, Seahorse::Model::Operation.new.tap do |o|
2735
2969
  o.name = "ListFoundationModels"
2736
2970
  o.http_method = "GET"
@@ -2951,6 +3185,18 @@ module Aws::Bedrock
2951
3185
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2952
3186
  end)
2953
3187
 
3188
+ api.add_operation(:put_use_case_for_model_access, Seahorse::Model::Operation.new.tap do |o|
3189
+ o.name = "PutUseCaseForModelAccess"
3190
+ o.http_method = "POST"
3191
+ o.http_request_uri = "/use-case-for-model-access"
3192
+ o.input = Shapes::ShapeRef.new(shape: PutUseCaseForModelAccessRequest)
3193
+ o.output = Shapes::ShapeRef.new(shape: PutUseCaseForModelAccessResponse)
3194
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3195
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3196
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3197
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3198
+ end)
3199
+
2954
3200
  api.add_operation(:register_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2955
3201
  o.name = "RegisterMarketplaceModelEndpoint"
2956
3202
  o.http_method = "POST"