aws-sdk-bedrock 1.50.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +191 -1
- data/lib/aws-sdk-bedrock/client_api.rb +207 -0
- data/lib/aws-sdk-bedrock/types.rb +446 -4
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +80 -4
- data/sig/types.rbs +134 -0
- metadata +1 -1
@@ -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')
|
@@ -50,6 +54,8 @@ module Aws::Bedrock
|
|
50
54
|
CreateCustomModelResponse = Shapes::StructureShape.new(name: 'CreateCustomModelResponse')
|
51
55
|
CreateEvaluationJobRequest = Shapes::StructureShape.new(name: 'CreateEvaluationJobRequest')
|
52
56
|
CreateEvaluationJobResponse = Shapes::StructureShape.new(name: 'CreateEvaluationJobResponse')
|
57
|
+
CreateFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementRequest')
|
58
|
+
CreateFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementResponse')
|
53
59
|
CreateGuardrailRequest = Shapes::StructureShape.new(name: 'CreateGuardrailRequest')
|
54
60
|
CreateGuardrailResponse = Shapes::StructureShape.new(name: 'CreateGuardrailResponse')
|
55
61
|
CreateGuardrailVersionRequest = Shapes::StructureShape.new(name: 'CreateGuardrailVersionRequest')
|
@@ -86,6 +92,8 @@ module Aws::Bedrock
|
|
86
92
|
DataProcessingDetails = Shapes::StructureShape.new(name: 'DataProcessingDetails')
|
87
93
|
DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
|
88
94
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
95
|
+
DeleteFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementRequest')
|
96
|
+
DeleteFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementResponse')
|
89
97
|
DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
|
90
98
|
DeleteGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteGuardrailResponse')
|
91
99
|
DeleteImportedModelRequest = Shapes::StructureShape.new(name: 'DeleteImportedModelRequest')
|
@@ -102,9 +110,11 @@ module Aws::Bedrock
|
|
102
110
|
DeleteProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputResponse')
|
103
111
|
DeregisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointRequest')
|
104
112
|
DeregisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointResponse')
|
113
|
+
DimensionalPriceRate = Shapes::StructureShape.new(name: 'DimensionalPriceRate')
|
105
114
|
DistillationConfig = Shapes::StructureShape.new(name: 'DistillationConfig')
|
106
115
|
EndpointConfig = Shapes::UnionShape.new(name: 'EndpointConfig')
|
107
116
|
EndpointName = Shapes::StringShape.new(name: 'EndpointName')
|
117
|
+
EntitlementAvailability = Shapes::StringShape.new(name: 'EntitlementAvailability')
|
108
118
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
109
119
|
ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
|
110
120
|
EvaluationBedrockKnowledgeBaseIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockKnowledgeBaseIdentifiers')
|
@@ -172,6 +182,8 @@ module Aws::Bedrock
|
|
172
182
|
GetCustomModelResponse = Shapes::StructureShape.new(name: 'GetCustomModelResponse')
|
173
183
|
GetEvaluationJobRequest = Shapes::StructureShape.new(name: 'GetEvaluationJobRequest')
|
174
184
|
GetEvaluationJobResponse = Shapes::StructureShape.new(name: 'GetEvaluationJobResponse')
|
185
|
+
GetFoundationModelAvailabilityRequest = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityRequest')
|
186
|
+
GetFoundationModelAvailabilityResponse = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityResponse')
|
175
187
|
GetFoundationModelRequest = Shapes::StructureShape.new(name: 'GetFoundationModelRequest')
|
176
188
|
GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
|
177
189
|
GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
|
@@ -196,6 +208,8 @@ module Aws::Bedrock
|
|
196
208
|
GetPromptRouterResponse = Shapes::StructureShape.new(name: 'GetPromptRouterResponse')
|
197
209
|
GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
|
198
210
|
GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
|
211
|
+
GetUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessRequest')
|
212
|
+
GetUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessResponse')
|
199
213
|
GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
|
200
214
|
GuardrailBlockedMessaging = Shapes::StringShape.new(name: 'GuardrailBlockedMessaging')
|
201
215
|
GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
|
@@ -207,6 +221,9 @@ module Aws::Bedrock
|
|
207
221
|
GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
|
208
222
|
GuardrailContentFilters = Shapes::ListShape.new(name: 'GuardrailContentFilters')
|
209
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')
|
210
227
|
GuardrailContentPolicy = Shapes::StructureShape.new(name: 'GuardrailContentPolicy')
|
211
228
|
GuardrailContentPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailContentPolicyConfig')
|
212
229
|
GuardrailContextualGroundingAction = Shapes::StringShape.new(name: 'GuardrailContextualGroundingAction')
|
@@ -275,6 +292,9 @@ module Aws::Bedrock
|
|
275
292
|
GuardrailTopicType = Shapes::StringShape.new(name: 'GuardrailTopicType')
|
276
293
|
GuardrailTopics = Shapes::ListShape.new(name: 'GuardrailTopics')
|
277
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')
|
278
298
|
GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
|
279
299
|
GuardrailWord = Shapes::StructureShape.new(name: 'GuardrailWord')
|
280
300
|
GuardrailWordAction = Shapes::StringShape.new(name: 'GuardrailWordAction')
|
@@ -331,10 +351,13 @@ module Aws::Bedrock
|
|
331
351
|
KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
|
332
352
|
KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
|
333
353
|
KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
|
354
|
+
LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
|
334
355
|
ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
|
335
356
|
ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
|
336
357
|
ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
|
337
358
|
ListEvaluationJobsResponse = Shapes::StructureShape.new(name: 'ListEvaluationJobsResponse')
|
359
|
+
ListFoundationModelAgreementOffersRequest = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersRequest')
|
360
|
+
ListFoundationModelAgreementOffersResponse = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersResponse')
|
338
361
|
ListFoundationModelsRequest = Shapes::StructureShape.new(name: 'ListFoundationModelsRequest')
|
339
362
|
ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
|
340
363
|
ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
|
@@ -409,12 +432,18 @@ module Aws::Bedrock
|
|
409
432
|
ModelSourceIdentifier = Shapes::StringShape.new(name: 'ModelSourceIdentifier')
|
410
433
|
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
411
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')
|
412
440
|
OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
|
413
441
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
414
442
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
415
443
|
PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
|
416
444
|
PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
|
417
445
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
446
|
+
PricingTerm = Shapes::StructureShape.new(name: 'PricingTerm')
|
418
447
|
PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
|
419
448
|
PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
|
420
449
|
PromptRouterName = Shapes::StringShape.new(name: 'PromptRouterName')
|
@@ -435,17 +464,21 @@ module Aws::Bedrock
|
|
435
464
|
ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
|
436
465
|
PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
|
437
466
|
PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
|
467
|
+
PutUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessRequest')
|
468
|
+
PutUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessResponse')
|
438
469
|
QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
|
439
470
|
QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
|
440
471
|
RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
|
441
472
|
RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
|
442
473
|
RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
|
443
474
|
RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
|
475
|
+
RateCard = Shapes::ListShape.new(name: 'RateCard')
|
444
476
|
RatingScale = Shapes::ListShape.new(name: 'RatingScale')
|
445
477
|
RatingScaleItem = Shapes::StructureShape.new(name: 'RatingScaleItem')
|
446
478
|
RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
|
447
479
|
RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
|
448
480
|
RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
|
481
|
+
RegionAvailability = Shapes::StringShape.new(name: 'RegionAvailability')
|
449
482
|
RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
|
450
483
|
RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
|
451
484
|
RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
|
@@ -490,6 +523,7 @@ module Aws::Bedrock
|
|
490
523
|
String = Shapes::StringShape.new(name: 'String')
|
491
524
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
492
525
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
526
|
+
SupportTerm = Shapes::StructureShape.new(name: 'SupportTerm')
|
493
527
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
494
528
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
495
529
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -501,6 +535,7 @@ module Aws::Bedrock
|
|
501
535
|
TeacherModelConfig = Shapes::StructureShape.new(name: 'TeacherModelConfig')
|
502
536
|
TeacherModelIdentifier = Shapes::StringShape.new(name: 'TeacherModelIdentifier')
|
503
537
|
Temperature = Shapes::FloatShape.new(name: 'Temperature')
|
538
|
+
TermDetails = Shapes::StructureShape.new(name: 'TermDetails')
|
504
539
|
TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
|
505
540
|
TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
|
506
541
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
@@ -526,6 +561,7 @@ module Aws::Bedrock
|
|
526
561
|
Validator = Shapes::StructureShape.new(name: 'Validator')
|
527
562
|
ValidatorMetric = Shapes::StructureShape.new(name: 'ValidatorMetric')
|
528
563
|
Validators = Shapes::ListShape.new(name: 'Validators')
|
564
|
+
ValidityTerm = Shapes::StructureShape.new(name: 'ValidityTerm')
|
529
565
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
530
566
|
kBS3Uri = Shapes::StringShape.new(name: 'kBS3Uri')
|
531
567
|
|
@@ -535,6 +571,10 @@ module Aws::Bedrock
|
|
535
571
|
AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
|
536
572
|
AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
|
537
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
|
+
|
538
578
|
AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
|
539
579
|
AutomatedEvaluationConfig.add_member(:evaluator_model_config, Shapes::ShapeRef.new(shape: EvaluatorModelConfig, location_name: "evaluatorModelConfig"))
|
540
580
|
AutomatedEvaluationConfig.add_member(:custom_metric_config, Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetricConfig, location_name: "customMetricConfig"))
|
@@ -616,6 +656,13 @@ module Aws::Bedrock
|
|
616
656
|
CreateEvaluationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: EvaluationJobArn, required: true, location_name: "jobArn"))
|
617
657
|
CreateEvaluationJobResponse.struct_class = Types::CreateEvaluationJobResponse
|
618
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
|
+
|
619
666
|
CreateGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailName, required: true, location_name: "name"))
|
620
667
|
CreateGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailDescription, location_name: "description"))
|
621
668
|
CreateGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
|
@@ -794,6 +841,11 @@ module Aws::Bedrock
|
|
794
841
|
|
795
842
|
DeleteCustomModelResponse.struct_class = Types::DeleteCustomModelResponse
|
796
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
|
+
|
797
849
|
DeleteGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
|
798
850
|
DeleteGuardrailRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, location: "querystring", location_name: "guardrailVersion"))
|
799
851
|
DeleteGuardrailRequest.struct_class = Types::DeleteGuardrailRequest
|
@@ -834,6 +886,12 @@ module Aws::Bedrock
|
|
834
886
|
|
835
887
|
DeregisterMarketplaceModelEndpointResponse.struct_class = Types::DeregisterMarketplaceModelEndpointResponse
|
836
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
|
+
|
837
895
|
DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
|
838
896
|
DistillationConfig.struct_class = Types::DistillationConfig
|
839
897
|
|
@@ -1061,6 +1119,16 @@ module Aws::Bedrock
|
|
1061
1119
|
GetEvaluationJobResponse.add_member(:failure_messages, Shapes::ShapeRef.new(shape: ErrorMessages, location_name: "failureMessages"))
|
1062
1120
|
GetEvaluationJobResponse.struct_class = Types::GetEvaluationJobResponse
|
1063
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
|
+
|
1064
1132
|
GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
1065
1133
|
GetFoundationModelRequest.struct_class = Types::GetFoundationModelRequest
|
1066
1134
|
|
@@ -1247,6 +1315,11 @@ module Aws::Bedrock
|
|
1247
1315
|
GetProvisionedModelThroughputResponse.add_member(:commitment_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "commitmentExpirationTime"))
|
1248
1316
|
GetProvisionedModelThroughputResponse.struct_class = Types::GetProvisionedModelThroughputResponse
|
1249
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
|
+
|
1250
1323
|
GuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
|
1251
1324
|
GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
|
1252
1325
|
GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
|
@@ -1277,10 +1350,18 @@ module Aws::Bedrock
|
|
1277
1350
|
|
1278
1351
|
GuardrailContentFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContentFilterConfig)
|
1279
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
|
+
|
1280
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"))
|
1281
1361
|
GuardrailContentPolicy.struct_class = Types::GuardrailContentPolicy
|
1282
1362
|
|
1283
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"))
|
1284
1365
|
GuardrailContentPolicyConfig.struct_class = Types::GuardrailContentPolicyConfig
|
1285
1366
|
|
1286
1367
|
GuardrailContextualGroundingFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
|
@@ -1424,15 +1505,23 @@ module Aws::Bedrock
|
|
1424
1505
|
GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
|
1425
1506
|
|
1426
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"))
|
1427
1509
|
GuardrailTopicPolicy.struct_class = Types::GuardrailTopicPolicy
|
1428
1510
|
|
1429
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"))
|
1430
1513
|
GuardrailTopicPolicyConfig.struct_class = Types::GuardrailTopicPolicyConfig
|
1431
1514
|
|
1432
1515
|
GuardrailTopics.member = Shapes::ShapeRef.new(shape: GuardrailTopic)
|
1433
1516
|
|
1434
1517
|
GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
|
1435
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
|
+
|
1436
1525
|
GuardrailWord.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordTextString, required: true, location_name: "text"))
|
1437
1526
|
GuardrailWord.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1438
1527
|
GuardrailWord.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
@@ -1550,6 +1639,9 @@ module Aws::Bedrock
|
|
1550
1639
|
KnowledgeBaseVectorSearchConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
|
1551
1640
|
KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
|
1552
1641
|
|
1642
|
+
LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
|
1643
|
+
LegalTerm.struct_class = Types::LegalTerm
|
1644
|
+
|
1553
1645
|
ListCustomModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1554
1646
|
ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1555
1647
|
ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
|
@@ -1582,6 +1674,14 @@ module Aws::Bedrock
|
|
1582
1674
|
ListEvaluationJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: EvaluationSummaries, location_name: "jobSummaries"))
|
1583
1675
|
ListEvaluationJobsResponse.struct_class = Types::ListEvaluationJobsResponse
|
1584
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
|
+
|
1585
1685
|
ListFoundationModelsRequest.add_member(:by_provider, Shapes::ShapeRef.new(shape: Provider, location: "querystring", location_name: "byProvider"))
|
1586
1686
|
ListFoundationModelsRequest.add_member(:by_customization_type, Shapes::ShapeRef.new(shape: ModelCustomization, location: "querystring", location_name: "byCustomizationType"))
|
1587
1687
|
ListFoundationModelsRequest.add_member(:by_output_modality, Shapes::ShapeRef.new(shape: ModelModality, location: "querystring", location_name: "byOutputModality"))
|
@@ -1844,6 +1944,13 @@ module Aws::Bedrock
|
|
1844
1944
|
|
1845
1945
|
ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
|
1846
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
|
+
|
1847
1954
|
OrchestrationConfiguration.add_member(:query_transformation_configuration, Shapes::ShapeRef.new(shape: QueryTransformationConfiguration, required: true, location_name: "queryTransformationConfiguration"))
|
1848
1955
|
OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
|
1849
1956
|
|
@@ -1853,6 +1960,9 @@ module Aws::Bedrock
|
|
1853
1960
|
PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
|
1854
1961
|
PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
|
1855
1962
|
|
1963
|
+
PricingTerm.add_member(:rate_card, Shapes::ShapeRef.new(shape: RateCard, required: true, location_name: "rateCard"))
|
1964
|
+
PricingTerm.struct_class = Types::PricingTerm
|
1965
|
+
|
1856
1966
|
PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
|
1857
1967
|
|
1858
1968
|
PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
|
@@ -1896,6 +2006,11 @@ module Aws::Bedrock
|
|
1896
2006
|
|
1897
2007
|
PutModelInvocationLoggingConfigurationResponse.struct_class = Types::PutModelInvocationLoggingConfigurationResponse
|
1898
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
|
+
|
1899
2014
|
QueryTransformationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: QueryTransformationType, required: true, location_name: "type"))
|
1900
2015
|
QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
|
1901
2016
|
|
@@ -1911,6 +2026,8 @@ module Aws::Bedrock
|
|
1911
2026
|
|
1912
2027
|
RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
|
1913
2028
|
|
2029
|
+
RateCard.member = Shapes::ShapeRef.new(shape: DimensionalPriceRate)
|
2030
|
+
|
1914
2031
|
RatingScale.member = Shapes::ShapeRef.new(shape: RatingScaleItem)
|
1915
2032
|
|
1916
2033
|
RatingScaleItem.add_member(:definition, Shapes::ShapeRef.new(shape: RatingScaleItemDefinition, required: true, location_name: "definition"))
|
@@ -2047,6 +2164,9 @@ module Aws::Bedrock
|
|
2047
2164
|
|
2048
2165
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
2049
2166
|
|
2167
|
+
SupportTerm.add_member(:refund_policy_description, Shapes::ShapeRef.new(shape: String, location_name: "refundPolicyDescription"))
|
2168
|
+
SupportTerm.struct_class = Types::SupportTerm
|
2169
|
+
|
2050
2170
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
2051
2171
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
2052
2172
|
Tag.struct_class = Types::Tag
|
@@ -2065,6 +2185,12 @@ module Aws::Bedrock
|
|
2065
2185
|
TeacherModelConfig.add_member(:max_response_length_for_inference, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResponseLengthForInference"))
|
2066
2186
|
TeacherModelConfig.struct_class = Types::TeacherModelConfig
|
2067
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
|
+
|
2068
2194
|
TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
2069
2195
|
TextInferenceConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
2070
2196
|
TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
@@ -2152,6 +2278,9 @@ module Aws::Bedrock
|
|
2152
2278
|
|
2153
2279
|
Validators.member = Shapes::ShapeRef.new(shape: Validator)
|
2154
2280
|
|
2281
|
+
ValidityTerm.add_member(:agreement_duration, Shapes::ShapeRef.new(shape: String, location_name: "agreementDuration"))
|
2282
|
+
ValidityTerm.struct_class = Types::ValidityTerm
|
2283
|
+
|
2155
2284
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
|
2156
2285
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "securityGroupIds"))
|
2157
2286
|
VpcConfig.struct_class = Types::VpcConfig
|
@@ -2220,6 +2349,20 @@ module Aws::Bedrock
|
|
2220
2349
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2221
2350
|
end)
|
2222
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
|
+
|
2223
2366
|
api.add_operation(:create_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2224
2367
|
o.name = "CreateGuardrail"
|
2225
2368
|
o.http_method = "POST"
|
@@ -2386,6 +2529,20 @@ module Aws::Bedrock
|
|
2386
2529
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2387
2530
|
end)
|
2388
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
|
+
|
2389
2546
|
api.add_operation(:delete_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2390
2547
|
o.name = "DeleteGuardrail"
|
2391
2548
|
o.http_method = "DELETE"
|
@@ -2532,6 +2689,19 @@ module Aws::Bedrock
|
|
2532
2689
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2533
2690
|
end)
|
2534
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
|
+
|
2535
2705
|
api.add_operation(:get_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2536
2706
|
o.name = "GetGuardrail"
|
2537
2707
|
o.http_method = "GET"
|
@@ -2673,6 +2843,18 @@ module Aws::Bedrock
|
|
2673
2843
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2674
2844
|
end)
|
2675
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
|
+
|
2676
2858
|
api.add_operation(:list_custom_models, Seahorse::Model::Operation.new.tap do |o|
|
2677
2859
|
o.name = "ListCustomModels"
|
2678
2860
|
o.http_method = "GET"
|
@@ -2709,6 +2891,19 @@ module Aws::Bedrock
|
|
2709
2891
|
)
|
2710
2892
|
end)
|
2711
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
|
+
|
2712
2907
|
api.add_operation(:list_foundation_models, Seahorse::Model::Operation.new.tap do |o|
|
2713
2908
|
o.name = "ListFoundationModels"
|
2714
2909
|
o.http_method = "GET"
|
@@ -2929,6 +3124,18 @@ module Aws::Bedrock
|
|
2929
3124
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2930
3125
|
end)
|
2931
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
|
+
|
2932
3139
|
api.add_operation(:register_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
2933
3140
|
o.name = "RegisterMarketplaceModelEndpoint"
|
2934
3141
|
o.http_method = "POST"
|