aws-sdk-bedrock 1.46.0 → 1.52.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,15 @@ 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
+ AuthorizationStatus = Shapes::StringShape.new(name: 'AuthorizationStatus')
25
29
  AutomatedEvaluationConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationConfig')
26
30
  AutomatedEvaluationCustomMetricConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationCustomMetricConfig')
27
31
  AutomatedEvaluationCustomMetricSource = Shapes::UnionShape.new(name: 'AutomatedEvaluationCustomMetricSource')
@@ -46,8 +50,12 @@ module Aws::Bedrock
46
50
  CommitmentDuration = Shapes::StringShape.new(name: 'CommitmentDuration')
47
51
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
48
52
  ContentType = Shapes::StringShape.new(name: 'ContentType')
53
+ CreateCustomModelRequest = Shapes::StructureShape.new(name: 'CreateCustomModelRequest')
54
+ CreateCustomModelResponse = Shapes::StructureShape.new(name: 'CreateCustomModelResponse')
49
55
  CreateEvaluationJobRequest = Shapes::StructureShape.new(name: 'CreateEvaluationJobRequest')
50
56
  CreateEvaluationJobResponse = Shapes::StructureShape.new(name: 'CreateEvaluationJobResponse')
57
+ CreateFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementRequest')
58
+ CreateFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementResponse')
51
59
  CreateGuardrailRequest = Shapes::StructureShape.new(name: 'CreateGuardrailRequest')
52
60
  CreateGuardrailResponse = Shapes::StructureShape.new(name: 'CreateGuardrailResponse')
53
61
  CreateGuardrailVersionRequest = Shapes::StructureShape.new(name: 'CreateGuardrailVersionRequest')
@@ -84,6 +92,8 @@ module Aws::Bedrock
84
92
  DataProcessingDetails = Shapes::StructureShape.new(name: 'DataProcessingDetails')
85
93
  DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
86
94
  DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
95
+ DeleteFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementRequest')
96
+ DeleteFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementResponse')
87
97
  DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
88
98
  DeleteGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteGuardrailResponse')
89
99
  DeleteImportedModelRequest = Shapes::StructureShape.new(name: 'DeleteImportedModelRequest')
@@ -100,9 +110,11 @@ module Aws::Bedrock
100
110
  DeleteProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputResponse')
101
111
  DeregisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointRequest')
102
112
  DeregisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointResponse')
113
+ DimensionalPriceRate = Shapes::StructureShape.new(name: 'DimensionalPriceRate')
103
114
  DistillationConfig = Shapes::StructureShape.new(name: 'DistillationConfig')
104
115
  EndpointConfig = Shapes::UnionShape.new(name: 'EndpointConfig')
105
116
  EndpointName = Shapes::StringShape.new(name: 'EndpointName')
117
+ EntitlementAvailability = Shapes::StringShape.new(name: 'EntitlementAvailability')
106
118
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
107
119
  ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
108
120
  EvaluationBedrockKnowledgeBaseIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockKnowledgeBaseIdentifiers')
@@ -170,6 +182,8 @@ module Aws::Bedrock
170
182
  GetCustomModelResponse = Shapes::StructureShape.new(name: 'GetCustomModelResponse')
171
183
  GetEvaluationJobRequest = Shapes::StructureShape.new(name: 'GetEvaluationJobRequest')
172
184
  GetEvaluationJobResponse = Shapes::StructureShape.new(name: 'GetEvaluationJobResponse')
185
+ GetFoundationModelAvailabilityRequest = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityRequest')
186
+ GetFoundationModelAvailabilityResponse = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityResponse')
173
187
  GetFoundationModelRequest = Shapes::StructureShape.new(name: 'GetFoundationModelRequest')
174
188
  GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
175
189
  GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
@@ -194,6 +208,8 @@ module Aws::Bedrock
194
208
  GetPromptRouterResponse = Shapes::StructureShape.new(name: 'GetPromptRouterResponse')
195
209
  GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
196
210
  GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
211
+ GetUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessRequest')
212
+ GetUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessResponse')
197
213
  GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
198
214
  GuardrailBlockedMessaging = Shapes::StringShape.new(name: 'GuardrailBlockedMessaging')
199
215
  GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
@@ -205,6 +221,9 @@ module Aws::Bedrock
205
221
  GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
206
222
  GuardrailContentFilters = Shapes::ListShape.new(name: 'GuardrailContentFilters')
207
223
  GuardrailContentFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContentFiltersConfig')
224
+ GuardrailContentFiltersTier = Shapes::StructureShape.new(name: 'GuardrailContentFiltersTier')
225
+ GuardrailContentFiltersTierConfig = Shapes::StructureShape.new(name: 'GuardrailContentFiltersTierConfig')
226
+ GuardrailContentFiltersTierName = Shapes::StringShape.new(name: 'GuardrailContentFiltersTierName')
208
227
  GuardrailContentPolicy = Shapes::StructureShape.new(name: 'GuardrailContentPolicy')
209
228
  GuardrailContentPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailContentPolicyConfig')
210
229
  GuardrailContextualGroundingAction = Shapes::StringShape.new(name: 'GuardrailContextualGroundingAction')
@@ -273,6 +292,9 @@ module Aws::Bedrock
273
292
  GuardrailTopicType = Shapes::StringShape.new(name: 'GuardrailTopicType')
274
293
  GuardrailTopics = Shapes::ListShape.new(name: 'GuardrailTopics')
275
294
  GuardrailTopicsConfig = Shapes::ListShape.new(name: 'GuardrailTopicsConfig')
295
+ GuardrailTopicsTier = Shapes::StructureShape.new(name: 'GuardrailTopicsTier')
296
+ GuardrailTopicsTierConfig = Shapes::StructureShape.new(name: 'GuardrailTopicsTierConfig')
297
+ GuardrailTopicsTierName = Shapes::StringShape.new(name: 'GuardrailTopicsTierName')
276
298
  GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
277
299
  GuardrailWord = Shapes::StructureShape.new(name: 'GuardrailWord')
278
300
  GuardrailWordAction = Shapes::StringShape.new(name: 'GuardrailWordAction')
@@ -329,10 +351,13 @@ module Aws::Bedrock
329
351
  KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
330
352
  KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
331
353
  KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
354
+ LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
332
355
  ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
333
356
  ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
334
357
  ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
335
358
  ListEvaluationJobsResponse = Shapes::StructureShape.new(name: 'ListEvaluationJobsResponse')
359
+ ListFoundationModelAgreementOffersRequest = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersRequest')
360
+ ListFoundationModelAgreementOffersResponse = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersResponse')
336
361
  ListFoundationModelsRequest = Shapes::StructureShape.new(name: 'ListFoundationModelsRequest')
337
362
  ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
338
363
  ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
@@ -405,13 +430,20 @@ module Aws::Bedrock
405
430
  ModelModalityList = Shapes::ListShape.new(name: 'ModelModalityList')
406
431
  ModelName = Shapes::StringShape.new(name: 'ModelName')
407
432
  ModelSourceIdentifier = Shapes::StringShape.new(name: 'ModelSourceIdentifier')
433
+ ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
408
434
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
435
+ Offer = Shapes::StructureShape.new(name: 'Offer')
436
+ OfferId = Shapes::StringShape.new(name: 'OfferId')
437
+ OfferToken = Shapes::StringShape.new(name: 'OfferToken')
438
+ OfferType = Shapes::StringShape.new(name: 'OfferType')
439
+ Offers = Shapes::ListShape.new(name: 'Offers')
409
440
  OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
410
441
  OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
411
442
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
412
443
  PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
413
444
  PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
414
445
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
446
+ PricingTerm = Shapes::StructureShape.new(name: 'PricingTerm')
415
447
  PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
416
448
  PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
417
449
  PromptRouterName = Shapes::StringShape.new(name: 'PromptRouterName')
@@ -432,17 +464,21 @@ module Aws::Bedrock
432
464
  ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
433
465
  PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
434
466
  PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
467
+ PutUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessRequest')
468
+ PutUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessResponse')
435
469
  QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
436
470
  QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
437
471
  RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
438
472
  RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
439
473
  RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
440
474
  RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
475
+ RateCard = Shapes::ListShape.new(name: 'RateCard')
441
476
  RatingScale = Shapes::ListShape.new(name: 'RatingScale')
442
477
  RatingScaleItem = Shapes::StructureShape.new(name: 'RatingScaleItem')
443
478
  RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
444
479
  RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
445
480
  RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
481
+ RegionAvailability = Shapes::StringShape.new(name: 'RegionAvailability')
446
482
  RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
447
483
  RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
448
484
  RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
@@ -487,6 +523,7 @@ module Aws::Bedrock
487
523
  String = Shapes::StringShape.new(name: 'String')
488
524
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
489
525
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
526
+ SupportTerm = Shapes::StructureShape.new(name: 'SupportTerm')
490
527
  Tag = Shapes::StructureShape.new(name: 'Tag')
491
528
  TagKey = Shapes::StringShape.new(name: 'TagKey')
492
529
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -498,6 +535,7 @@ module Aws::Bedrock
498
535
  TeacherModelConfig = Shapes::StructureShape.new(name: 'TeacherModelConfig')
499
536
  TeacherModelIdentifier = Shapes::StringShape.new(name: 'TeacherModelIdentifier')
500
537
  Temperature = Shapes::FloatShape.new(name: 'Temperature')
538
+ TermDetails = Shapes::StructureShape.new(name: 'TermDetails')
501
539
  TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
502
540
  TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
503
541
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
@@ -523,6 +561,7 @@ module Aws::Bedrock
523
561
  Validator = Shapes::StructureShape.new(name: 'Validator')
524
562
  ValidatorMetric = Shapes::StructureShape.new(name: 'ValidatorMetric')
525
563
  Validators = Shapes::ListShape.new(name: 'Validators')
564
+ ValidityTerm = Shapes::StructureShape.new(name: 'ValidityTerm')
526
565
  VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
527
566
  kBS3Uri = Shapes::StringShape.new(name: 'kBS3Uri')
528
567
 
@@ -532,6 +571,10 @@ module Aws::Bedrock
532
571
  AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
533
572
  AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
534
573
 
574
+ AgreementAvailability.add_member(:status, Shapes::ShapeRef.new(shape: AgreementStatus, required: true, location_name: "status"))
575
+ AgreementAvailability.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
576
+ AgreementAvailability.struct_class = Types::AgreementAvailability
577
+
535
578
  AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
536
579
  AutomatedEvaluationConfig.add_member(:evaluator_model_config, Shapes::ShapeRef.new(shape: EvaluatorModelConfig, location_name: "evaluatorModelConfig"))
537
580
  AutomatedEvaluationConfig.add_member(:custom_metric_config, Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetricConfig, location_name: "customMetricConfig"))
@@ -587,6 +630,17 @@ module Aws::Bedrock
587
630
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
588
631
  ConflictException.struct_class = Types::ConflictException
589
632
 
633
+ CreateCustomModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
634
+ CreateCustomModelRequest.add_member(:model_source_config, Shapes::ShapeRef.new(shape: ModelDataSource, required: true, location_name: "modelSourceConfig"))
635
+ CreateCustomModelRequest.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
636
+ CreateCustomModelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
637
+ CreateCustomModelRequest.add_member(:model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "modelTags"))
638
+ CreateCustomModelRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
639
+ CreateCustomModelRequest.struct_class = Types::CreateCustomModelRequest
640
+
641
+ CreateCustomModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
642
+ CreateCustomModelResponse.struct_class = Types::CreateCustomModelResponse
643
+
590
644
  CreateEvaluationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: EvaluationJobName, required: true, location_name: "jobName"))
591
645
  CreateEvaluationJobRequest.add_member(:job_description, Shapes::ShapeRef.new(shape: EvaluationJobDescription, location_name: "jobDescription"))
592
646
  CreateEvaluationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
@@ -602,6 +656,13 @@ module Aws::Bedrock
602
656
  CreateEvaluationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: EvaluationJobArn, required: true, location_name: "jobArn"))
603
657
  CreateEvaluationJobResponse.struct_class = Types::CreateEvaluationJobResponse
604
658
 
659
+ CreateFoundationModelAgreementRequest.add_member(:offer_token, Shapes::ShapeRef.new(shape: OfferToken, required: true, location_name: "offerToken"))
660
+ CreateFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
661
+ CreateFoundationModelAgreementRequest.struct_class = Types::CreateFoundationModelAgreementRequest
662
+
663
+ CreateFoundationModelAgreementResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
664
+ CreateFoundationModelAgreementResponse.struct_class = Types::CreateFoundationModelAgreementResponse
665
+
605
666
  CreateGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailName, required: true, location_name: "name"))
606
667
  CreateGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailDescription, location_name: "description"))
607
668
  CreateGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
@@ -755,6 +816,7 @@ module Aws::Bedrock
755
816
  CustomModelSummary.add_member(:base_model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "baseModelName"))
756
817
  CustomModelSummary.add_member(:customization_type, Shapes::ShapeRef.new(shape: CustomizationType, location_name: "customizationType"))
757
818
  CustomModelSummary.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "ownerAccountId"))
819
+ CustomModelSummary.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "modelStatus"))
758
820
  CustomModelSummary.struct_class = Types::CustomModelSummary
759
821
 
760
822
  CustomModelSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelSummary)
@@ -779,6 +841,11 @@ module Aws::Bedrock
779
841
 
780
842
  DeleteCustomModelResponse.struct_class = Types::DeleteCustomModelResponse
781
843
 
844
+ DeleteFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
845
+ DeleteFoundationModelAgreementRequest.struct_class = Types::DeleteFoundationModelAgreementRequest
846
+
847
+ DeleteFoundationModelAgreementResponse.struct_class = Types::DeleteFoundationModelAgreementResponse
848
+
782
849
  DeleteGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
783
850
  DeleteGuardrailRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, location: "querystring", location_name: "guardrailVersion"))
784
851
  DeleteGuardrailRequest.struct_class = Types::DeleteGuardrailRequest
@@ -819,6 +886,12 @@ module Aws::Bedrock
819
886
 
820
887
  DeregisterMarketplaceModelEndpointResponse.struct_class = Types::DeregisterMarketplaceModelEndpointResponse
821
888
 
889
+ DimensionalPriceRate.add_member(:dimension, Shapes::ShapeRef.new(shape: String, location_name: "dimension"))
890
+ DimensionalPriceRate.add_member(:price, Shapes::ShapeRef.new(shape: String, location_name: "price"))
891
+ DimensionalPriceRate.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
892
+ DimensionalPriceRate.add_member(:unit, Shapes::ShapeRef.new(shape: String, location_name: "unit"))
893
+ DimensionalPriceRate.struct_class = Types::DimensionalPriceRate
894
+
822
895
  DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
823
896
  DistillationConfig.struct_class = Types::DistillationConfig
824
897
 
@@ -1011,18 +1084,20 @@ module Aws::Bedrock
1011
1084
  GetCustomModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
1012
1085
  GetCustomModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
1013
1086
  GetCustomModelResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
1014
- GetCustomModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
1015
- GetCustomModelResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
1087
+ GetCustomModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, location_name: "jobArn"))
1088
+ GetCustomModelResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "baseModelArn"))
1016
1089
  GetCustomModelResponse.add_member(:customization_type, Shapes::ShapeRef.new(shape: CustomizationType, location_name: "customizationType"))
1017
1090
  GetCustomModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
1018
1091
  GetCustomModelResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, location_name: "hyperParameters"))
1019
- GetCustomModelResponse.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, required: true, location_name: "trainingDataConfig"))
1092
+ GetCustomModelResponse.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, location_name: "trainingDataConfig"))
1020
1093
  GetCustomModelResponse.add_member(:validation_data_config, Shapes::ShapeRef.new(shape: ValidationDataConfig, location_name: "validationDataConfig"))
1021
- GetCustomModelResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "outputDataConfig"))
1094
+ GetCustomModelResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "outputDataConfig"))
1022
1095
  GetCustomModelResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
1023
1096
  GetCustomModelResponse.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: ValidationMetrics, location_name: "validationMetrics"))
1024
1097
  GetCustomModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
1025
1098
  GetCustomModelResponse.add_member(:customization_config, Shapes::ShapeRef.new(shape: CustomizationConfig, location_name: "customizationConfig"))
1099
+ GetCustomModelResponse.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "modelStatus"))
1100
+ GetCustomModelResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
1026
1101
  GetCustomModelResponse.struct_class = Types::GetCustomModelResponse
1027
1102
 
1028
1103
  GetEvaluationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
@@ -1044,6 +1119,16 @@ module Aws::Bedrock
1044
1119
  GetEvaluationJobResponse.add_member(:failure_messages, Shapes::ShapeRef.new(shape: ErrorMessages, location_name: "failureMessages"))
1045
1120
  GetEvaluationJobResponse.struct_class = Types::GetEvaluationJobResponse
1046
1121
 
1122
+ GetFoundationModelAvailabilityRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location: "uri", location_name: "modelId"))
1123
+ GetFoundationModelAvailabilityRequest.struct_class = Types::GetFoundationModelAvailabilityRequest
1124
+
1125
+ GetFoundationModelAvailabilityResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
1126
+ GetFoundationModelAvailabilityResponse.add_member(:agreement_availability, Shapes::ShapeRef.new(shape: AgreementAvailability, required: true, location_name: "agreementAvailability"))
1127
+ GetFoundationModelAvailabilityResponse.add_member(:authorization_status, Shapes::ShapeRef.new(shape: AuthorizationStatus, required: true, location_name: "authorizationStatus"))
1128
+ GetFoundationModelAvailabilityResponse.add_member(:entitlement_availability, Shapes::ShapeRef.new(shape: EntitlementAvailability, required: true, location_name: "entitlementAvailability"))
1129
+ GetFoundationModelAvailabilityResponse.add_member(:region_availability, Shapes::ShapeRef.new(shape: RegionAvailability, required: true, location_name: "regionAvailability"))
1130
+ GetFoundationModelAvailabilityResponse.struct_class = Types::GetFoundationModelAvailabilityResponse
1131
+
1047
1132
  GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
1048
1133
  GetFoundationModelRequest.struct_class = Types::GetFoundationModelRequest
1049
1134
 
@@ -1136,8 +1221,8 @@ module Aws::Bedrock
1136
1221
  GetModelCustomizationJobResponse.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken"))
1137
1222
  GetModelCustomizationJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
1138
1223
  GetModelCustomizationJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelCustomizationJobStatus, location_name: "status"))
1139
- GetModelCustomizationJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
1140
1224
  GetModelCustomizationJobResponse.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
1225
+ GetModelCustomizationJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
1141
1226
  GetModelCustomizationJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
1142
1227
  GetModelCustomizationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
1143
1228
  GetModelCustomizationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
@@ -1230,6 +1315,11 @@ module Aws::Bedrock
1230
1315
  GetProvisionedModelThroughputResponse.add_member(:commitment_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "commitmentExpirationTime"))
1231
1316
  GetProvisionedModelThroughputResponse.struct_class = Types::GetProvisionedModelThroughputResponse
1232
1317
 
1318
+ GetUseCaseForModelAccessRequest.struct_class = Types::GetUseCaseForModelAccessRequest
1319
+
1320
+ GetUseCaseForModelAccessResponse.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
1321
+ GetUseCaseForModelAccessResponse.struct_class = Types::GetUseCaseForModelAccessResponse
1322
+
1233
1323
  GuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
1234
1324
  GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
1235
1325
  GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
@@ -1260,10 +1350,18 @@ module Aws::Bedrock
1260
1350
 
1261
1351
  GuardrailContentFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContentFilterConfig)
1262
1352
 
1353
+ GuardrailContentFiltersTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierName, required: true, location_name: "tierName"))
1354
+ GuardrailContentFiltersTier.struct_class = Types::GuardrailContentFiltersTier
1355
+
1356
+ GuardrailContentFiltersTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierName, required: true, location_name: "tierName"))
1357
+ GuardrailContentFiltersTierConfig.struct_class = Types::GuardrailContentFiltersTierConfig
1358
+
1263
1359
  GuardrailContentPolicy.add_member(:filters, Shapes::ShapeRef.new(shape: GuardrailContentFilters, location_name: "filters"))
1360
+ GuardrailContentPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTier, location_name: "tier"))
1264
1361
  GuardrailContentPolicy.struct_class = Types::GuardrailContentPolicy
1265
1362
 
1266
1363
  GuardrailContentPolicyConfig.add_member(:filters_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersConfig, required: true, location_name: "filtersConfig"))
1364
+ GuardrailContentPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierConfig, location_name: "tierConfig"))
1267
1365
  GuardrailContentPolicyConfig.struct_class = Types::GuardrailContentPolicyConfig
1268
1366
 
1269
1367
  GuardrailContextualGroundingFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
@@ -1407,15 +1505,23 @@ module Aws::Bedrock
1407
1505
  GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
1408
1506
 
1409
1507
  GuardrailTopicPolicy.add_member(:topics, Shapes::ShapeRef.new(shape: GuardrailTopics, required: true, location_name: "topics"))
1508
+ GuardrailTopicPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailTopicsTier, location_name: "tier"))
1410
1509
  GuardrailTopicPolicy.struct_class = Types::GuardrailTopicPolicy
1411
1510
 
1412
1511
  GuardrailTopicPolicyConfig.add_member(:topics_config, Shapes::ShapeRef.new(shape: GuardrailTopicsConfig, required: true, location_name: "topicsConfig"))
1512
+ GuardrailTopicPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailTopicsTierConfig, location_name: "tierConfig"))
1413
1513
  GuardrailTopicPolicyConfig.struct_class = Types::GuardrailTopicPolicyConfig
1414
1514
 
1415
1515
  GuardrailTopics.member = Shapes::ShapeRef.new(shape: GuardrailTopic)
1416
1516
 
1417
1517
  GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
1418
1518
 
1519
+ GuardrailTopicsTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailTopicsTierName, required: true, location_name: "tierName"))
1520
+ GuardrailTopicsTier.struct_class = Types::GuardrailTopicsTier
1521
+
1522
+ GuardrailTopicsTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailTopicsTierName, required: true, location_name: "tierName"))
1523
+ GuardrailTopicsTierConfig.struct_class = Types::GuardrailTopicsTierConfig
1524
+
1419
1525
  GuardrailWord.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordTextString, required: true, location_name: "text"))
1420
1526
  GuardrailWord.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
1421
1527
  GuardrailWord.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
@@ -1533,6 +1639,9 @@ module Aws::Bedrock
1533
1639
  KnowledgeBaseVectorSearchConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
1534
1640
  KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
1535
1641
 
1642
+ LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
1643
+ LegalTerm.struct_class = Types::LegalTerm
1644
+
1536
1645
  ListCustomModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1537
1646
  ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1538
1647
  ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
@@ -1543,6 +1652,7 @@ module Aws::Bedrock
1543
1652
  ListCustomModelsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
1544
1653
  ListCustomModelsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
1545
1654
  ListCustomModelsRequest.add_member(:is_owned, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "isOwned"))
1655
+ ListCustomModelsRequest.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location: "querystring", location_name: "modelStatus"))
1546
1656
  ListCustomModelsRequest.struct_class = Types::ListCustomModelsRequest
1547
1657
 
1548
1658
  ListCustomModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -1564,6 +1674,14 @@ module Aws::Bedrock
1564
1674
  ListEvaluationJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: EvaluationSummaries, location_name: "jobSummaries"))
1565
1675
  ListEvaluationJobsResponse.struct_class = Types::ListEvaluationJobsResponse
1566
1676
 
1677
+ ListFoundationModelAgreementOffersRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location: "uri", location_name: "modelId"))
1678
+ ListFoundationModelAgreementOffersRequest.add_member(:offer_type, Shapes::ShapeRef.new(shape: OfferType, location: "querystring", location_name: "offerType"))
1679
+ ListFoundationModelAgreementOffersRequest.struct_class = Types::ListFoundationModelAgreementOffersRequest
1680
+
1681
+ ListFoundationModelAgreementOffersResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
1682
+ ListFoundationModelAgreementOffersResponse.add_member(:offers, Shapes::ShapeRef.new(shape: Offers, required: true, location_name: "offers"))
1683
+ ListFoundationModelAgreementOffersResponse.struct_class = Types::ListFoundationModelAgreementOffersResponse
1684
+
1567
1685
  ListFoundationModelsRequest.add_member(:by_provider, Shapes::ShapeRef.new(shape: Provider, location: "querystring", location_name: "byProvider"))
1568
1686
  ListFoundationModelsRequest.add_member(:by_customization_type, Shapes::ShapeRef.new(shape: ModelCustomization, location: "querystring", location_name: "byCustomizationType"))
1569
1687
  ListFoundationModelsRequest.add_member(:by_output_modality, Shapes::ShapeRef.new(shape: ModelModality, location: "querystring", location_name: "byOutputModality"))
@@ -1754,8 +1872,8 @@ module Aws::Bedrock
1754
1872
  ModelCustomizationJobSummary.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
1755
1873
  ModelCustomizationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
1756
1874
  ModelCustomizationJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelCustomizationJobStatus, required: true, location_name: "status"))
1757
- ModelCustomizationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
1758
1875
  ModelCustomizationJobSummary.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
1876
+ ModelCustomizationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
1759
1877
  ModelCustomizationJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
1760
1878
  ModelCustomizationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1761
1879
  ModelCustomizationJobSummary.add_member(:custom_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, location_name: "customModelArn"))
@@ -1826,6 +1944,13 @@ module Aws::Bedrock
1826
1944
 
1827
1945
  ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
1828
1946
 
1947
+ Offer.add_member(:offer_id, Shapes::ShapeRef.new(shape: OfferId, location_name: "offerId"))
1948
+ Offer.add_member(:offer_token, Shapes::ShapeRef.new(shape: OfferToken, required: true, location_name: "offerToken"))
1949
+ Offer.add_member(:term_details, Shapes::ShapeRef.new(shape: TermDetails, required: true, location_name: "termDetails"))
1950
+ Offer.struct_class = Types::Offer
1951
+
1952
+ Offers.member = Shapes::ShapeRef.new(shape: Offer)
1953
+
1829
1954
  OrchestrationConfiguration.add_member(:query_transformation_configuration, Shapes::ShapeRef.new(shape: QueryTransformationConfiguration, required: true, location_name: "queryTransformationConfiguration"))
1830
1955
  OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
1831
1956
 
@@ -1835,6 +1960,9 @@ module Aws::Bedrock
1835
1960
  PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
1836
1961
  PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
1837
1962
 
1963
+ PricingTerm.add_member(:rate_card, Shapes::ShapeRef.new(shape: RateCard, required: true, location_name: "rateCard"))
1964
+ PricingTerm.struct_class = Types::PricingTerm
1965
+
1838
1966
  PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
1839
1967
 
1840
1968
  PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
@@ -1878,6 +2006,11 @@ module Aws::Bedrock
1878
2006
 
1879
2007
  PutModelInvocationLoggingConfigurationResponse.struct_class = Types::PutModelInvocationLoggingConfigurationResponse
1880
2008
 
2009
+ PutUseCaseForModelAccessRequest.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
2010
+ PutUseCaseForModelAccessRequest.struct_class = Types::PutUseCaseForModelAccessRequest
2011
+
2012
+ PutUseCaseForModelAccessResponse.struct_class = Types::PutUseCaseForModelAccessResponse
2013
+
1881
2014
  QueryTransformationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: QueryTransformationType, required: true, location_name: "type"))
1882
2015
  QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
1883
2016
 
@@ -1893,6 +2026,8 @@ module Aws::Bedrock
1893
2026
 
1894
2027
  RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
1895
2028
 
2029
+ RateCard.member = Shapes::ShapeRef.new(shape: DimensionalPriceRate)
2030
+
1896
2031
  RatingScale.member = Shapes::ShapeRef.new(shape: RatingScaleItem)
1897
2032
 
1898
2033
  RatingScaleItem.add_member(:definition, Shapes::ShapeRef.new(shape: RatingScaleItemDefinition, required: true, location_name: "definition"))
@@ -2029,6 +2164,9 @@ module Aws::Bedrock
2029
2164
 
2030
2165
  SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
2031
2166
 
2167
+ SupportTerm.add_member(:refund_policy_description, Shapes::ShapeRef.new(shape: String, location_name: "refundPolicyDescription"))
2168
+ SupportTerm.struct_class = Types::SupportTerm
2169
+
2032
2170
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
2033
2171
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
2034
2172
  Tag.struct_class = Types::Tag
@@ -2047,6 +2185,12 @@ module Aws::Bedrock
2047
2185
  TeacherModelConfig.add_member(:max_response_length_for_inference, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResponseLengthForInference"))
2048
2186
  TeacherModelConfig.struct_class = Types::TeacherModelConfig
2049
2187
 
2188
+ TermDetails.add_member(:usage_based_pricing_term, Shapes::ShapeRef.new(shape: PricingTerm, required: true, location_name: "usageBasedPricingTerm"))
2189
+ TermDetails.add_member(:legal_term, Shapes::ShapeRef.new(shape: LegalTerm, required: true, location_name: "legalTerm"))
2190
+ TermDetails.add_member(:support_term, Shapes::ShapeRef.new(shape: SupportTerm, required: true, location_name: "supportTerm"))
2191
+ TermDetails.add_member(:validity_term, Shapes::ShapeRef.new(shape: ValidityTerm, location_name: "validityTerm"))
2192
+ TermDetails.struct_class = Types::TermDetails
2193
+
2050
2194
  TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
2051
2195
  TextInferenceConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
2052
2196
  TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
@@ -2134,6 +2278,9 @@ module Aws::Bedrock
2134
2278
 
2135
2279
  Validators.member = Shapes::ShapeRef.new(shape: Validator)
2136
2280
 
2281
+ ValidityTerm.add_member(:agreement_duration, Shapes::ShapeRef.new(shape: String, location_name: "agreementDuration"))
2282
+ ValidityTerm.struct_class = Types::ValidityTerm
2283
+
2137
2284
  VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
2138
2285
  VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "securityGroupIds"))
2139
2286
  VpcConfig.struct_class = Types::VpcConfig
@@ -2171,6 +2318,22 @@ module Aws::Bedrock
2171
2318
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2172
2319
  end)
2173
2320
 
2321
+ api.add_operation(:create_custom_model, Seahorse::Model::Operation.new.tap do |o|
2322
+ o.name = "CreateCustomModel"
2323
+ o.http_method = "POST"
2324
+ o.http_request_uri = "/custom-models/create-custom-model"
2325
+ o.input = Shapes::ShapeRef.new(shape: CreateCustomModelRequest)
2326
+ o.output = Shapes::ShapeRef.new(shape: CreateCustomModelResponse)
2327
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2328
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2329
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2330
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2331
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2332
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2333
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2334
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2335
+ end)
2336
+
2174
2337
  api.add_operation(:create_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
2175
2338
  o.name = "CreateEvaluationJob"
2176
2339
  o.http_method = "POST"
@@ -2186,6 +2349,20 @@ module Aws::Bedrock
2186
2349
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2187
2350
  end)
2188
2351
 
2352
+ api.add_operation(:create_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
2353
+ o.name = "CreateFoundationModelAgreement"
2354
+ o.http_method = "POST"
2355
+ o.http_request_uri = "/create-foundation-model-agreement"
2356
+ o.input = Shapes::ShapeRef.new(shape: CreateFoundationModelAgreementRequest)
2357
+ o.output = Shapes::ShapeRef.new(shape: CreateFoundationModelAgreementResponse)
2358
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2359
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2360
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2361
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2362
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2363
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2364
+ end)
2365
+
2189
2366
  api.add_operation(:create_guardrail, Seahorse::Model::Operation.new.tap do |o|
2190
2367
  o.name = "CreateGuardrail"
2191
2368
  o.http_method = "POST"
@@ -2352,6 +2529,20 @@ module Aws::Bedrock
2352
2529
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2353
2530
  end)
2354
2531
 
2532
+ api.add_operation(:delete_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
2533
+ o.name = "DeleteFoundationModelAgreement"
2534
+ o.http_method = "POST"
2535
+ o.http_request_uri = "/delete-foundation-model-agreement"
2536
+ o.input = Shapes::ShapeRef.new(shape: DeleteFoundationModelAgreementRequest)
2537
+ o.output = Shapes::ShapeRef.new(shape: DeleteFoundationModelAgreementResponse)
2538
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2539
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2540
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2541
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2542
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2543
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2544
+ end)
2545
+
2355
2546
  api.add_operation(:delete_guardrail, Seahorse::Model::Operation.new.tap do |o|
2356
2547
  o.name = "DeleteGuardrail"
2357
2548
  o.http_method = "DELETE"
@@ -2498,6 +2689,19 @@ module Aws::Bedrock
2498
2689
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2499
2690
  end)
2500
2691
 
2692
+ api.add_operation(:get_foundation_model_availability, Seahorse::Model::Operation.new.tap do |o|
2693
+ o.name = "GetFoundationModelAvailability"
2694
+ o.http_method = "GET"
2695
+ o.http_request_uri = "/foundation-model-availability/{modelId}"
2696
+ o.input = Shapes::ShapeRef.new(shape: GetFoundationModelAvailabilityRequest)
2697
+ o.output = Shapes::ShapeRef.new(shape: GetFoundationModelAvailabilityResponse)
2698
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2699
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2700
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2701
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2702
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2703
+ end)
2704
+
2501
2705
  api.add_operation(:get_guardrail, Seahorse::Model::Operation.new.tap do |o|
2502
2706
  o.name = "GetGuardrail"
2503
2707
  o.http_method = "GET"
@@ -2639,6 +2843,18 @@ module Aws::Bedrock
2639
2843
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2640
2844
  end)
2641
2845
 
2846
+ api.add_operation(:get_use_case_for_model_access, Seahorse::Model::Operation.new.tap do |o|
2847
+ o.name = "GetUseCaseForModelAccess"
2848
+ o.http_method = "GET"
2849
+ o.http_request_uri = "/use-case-for-model-access"
2850
+ o.input = Shapes::ShapeRef.new(shape: GetUseCaseForModelAccessRequest)
2851
+ o.output = Shapes::ShapeRef.new(shape: GetUseCaseForModelAccessResponse)
2852
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2853
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2854
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2855
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2856
+ end)
2857
+
2642
2858
  api.add_operation(:list_custom_models, Seahorse::Model::Operation.new.tap do |o|
2643
2859
  o.name = "ListCustomModels"
2644
2860
  o.http_method = "GET"
@@ -2675,6 +2891,19 @@ module Aws::Bedrock
2675
2891
  )
2676
2892
  end)
2677
2893
 
2894
+ api.add_operation(:list_foundation_model_agreement_offers, Seahorse::Model::Operation.new.tap do |o|
2895
+ o.name = "ListFoundationModelAgreementOffers"
2896
+ o.http_method = "GET"
2897
+ o.http_request_uri = "/list-foundation-model-agreement-offers/{modelId}"
2898
+ o.input = Shapes::ShapeRef.new(shape: ListFoundationModelAgreementOffersRequest)
2899
+ o.output = Shapes::ShapeRef.new(shape: ListFoundationModelAgreementOffersResponse)
2900
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2901
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2902
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2903
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2904
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2905
+ end)
2906
+
2678
2907
  api.add_operation(:list_foundation_models, Seahorse::Model::Operation.new.tap do |o|
2679
2908
  o.name = "ListFoundationModels"
2680
2909
  o.http_method = "GET"
@@ -2895,6 +3124,18 @@ module Aws::Bedrock
2895
3124
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2896
3125
  end)
2897
3126
 
3127
+ api.add_operation(:put_use_case_for_model_access, Seahorse::Model::Operation.new.tap do |o|
3128
+ o.name = "PutUseCaseForModelAccess"
3129
+ o.http_method = "POST"
3130
+ o.http_request_uri = "/use-case-for-model-access"
3131
+ o.input = Shapes::ShapeRef.new(shape: PutUseCaseForModelAccessRequest)
3132
+ o.output = Shapes::ShapeRef.new(shape: PutUseCaseForModelAccessResponse)
3133
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3134
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3135
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3136
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3137
+ end)
3138
+
2898
3139
  api.add_operation(:register_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
2899
3140
  o.name = "RegisterMarketplaceModelEndpoint"
2900
3141
  o.http_method = "POST"