aws-sdk-bedrock 1.51.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +177 -1
- data/lib/aws-sdk-bedrock/client_api.rb +185 -0
- data/lib/aws-sdk-bedrock/types.rb +314 -0
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +64 -0
- data/sig/types.rbs +110 -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')
|
@@ -337,10 +351,13 @@ module Aws::Bedrock
|
|
337
351
|
KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
|
338
352
|
KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
|
339
353
|
KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
|
354
|
+
LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
|
340
355
|
ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
|
341
356
|
ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
|
342
357
|
ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
|
343
358
|
ListEvaluationJobsResponse = Shapes::StructureShape.new(name: 'ListEvaluationJobsResponse')
|
359
|
+
ListFoundationModelAgreementOffersRequest = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersRequest')
|
360
|
+
ListFoundationModelAgreementOffersResponse = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersResponse')
|
344
361
|
ListFoundationModelsRequest = Shapes::StructureShape.new(name: 'ListFoundationModelsRequest')
|
345
362
|
ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
|
346
363
|
ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
|
@@ -415,12 +432,18 @@ module Aws::Bedrock
|
|
415
432
|
ModelSourceIdentifier = Shapes::StringShape.new(name: 'ModelSourceIdentifier')
|
416
433
|
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
417
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')
|
418
440
|
OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
|
419
441
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
420
442
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
421
443
|
PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
|
422
444
|
PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
|
423
445
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
446
|
+
PricingTerm = Shapes::StructureShape.new(name: 'PricingTerm')
|
424
447
|
PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
|
425
448
|
PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
|
426
449
|
PromptRouterName = Shapes::StringShape.new(name: 'PromptRouterName')
|
@@ -441,17 +464,21 @@ module Aws::Bedrock
|
|
441
464
|
ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
|
442
465
|
PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
|
443
466
|
PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
|
467
|
+
PutUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessRequest')
|
468
|
+
PutUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessResponse')
|
444
469
|
QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
|
445
470
|
QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
|
446
471
|
RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
|
447
472
|
RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
|
448
473
|
RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
|
449
474
|
RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
|
475
|
+
RateCard = Shapes::ListShape.new(name: 'RateCard')
|
450
476
|
RatingScale = Shapes::ListShape.new(name: 'RatingScale')
|
451
477
|
RatingScaleItem = Shapes::StructureShape.new(name: 'RatingScaleItem')
|
452
478
|
RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
|
453
479
|
RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
|
454
480
|
RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
|
481
|
+
RegionAvailability = Shapes::StringShape.new(name: 'RegionAvailability')
|
455
482
|
RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
|
456
483
|
RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
|
457
484
|
RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
|
@@ -496,6 +523,7 @@ module Aws::Bedrock
|
|
496
523
|
String = Shapes::StringShape.new(name: 'String')
|
497
524
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
498
525
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
526
|
+
SupportTerm = Shapes::StructureShape.new(name: 'SupportTerm')
|
499
527
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
500
528
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
501
529
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -507,6 +535,7 @@ module Aws::Bedrock
|
|
507
535
|
TeacherModelConfig = Shapes::StructureShape.new(name: 'TeacherModelConfig')
|
508
536
|
TeacherModelIdentifier = Shapes::StringShape.new(name: 'TeacherModelIdentifier')
|
509
537
|
Temperature = Shapes::FloatShape.new(name: 'Temperature')
|
538
|
+
TermDetails = Shapes::StructureShape.new(name: 'TermDetails')
|
510
539
|
TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
|
511
540
|
TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
|
512
541
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
@@ -532,6 +561,7 @@ module Aws::Bedrock
|
|
532
561
|
Validator = Shapes::StructureShape.new(name: 'Validator')
|
533
562
|
ValidatorMetric = Shapes::StructureShape.new(name: 'ValidatorMetric')
|
534
563
|
Validators = Shapes::ListShape.new(name: 'Validators')
|
564
|
+
ValidityTerm = Shapes::StructureShape.new(name: 'ValidityTerm')
|
535
565
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
536
566
|
kBS3Uri = Shapes::StringShape.new(name: 'kBS3Uri')
|
537
567
|
|
@@ -541,6 +571,10 @@ module Aws::Bedrock
|
|
541
571
|
AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
|
542
572
|
AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
|
543
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
|
+
|
544
578
|
AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
|
545
579
|
AutomatedEvaluationConfig.add_member(:evaluator_model_config, Shapes::ShapeRef.new(shape: EvaluatorModelConfig, location_name: "evaluatorModelConfig"))
|
546
580
|
AutomatedEvaluationConfig.add_member(:custom_metric_config, Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetricConfig, location_name: "customMetricConfig"))
|
@@ -622,6 +656,13 @@ module Aws::Bedrock
|
|
622
656
|
CreateEvaluationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: EvaluationJobArn, required: true, location_name: "jobArn"))
|
623
657
|
CreateEvaluationJobResponse.struct_class = Types::CreateEvaluationJobResponse
|
624
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
|
+
|
625
666
|
CreateGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailName, required: true, location_name: "name"))
|
626
667
|
CreateGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailDescription, location_name: "description"))
|
627
668
|
CreateGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
|
@@ -800,6 +841,11 @@ module Aws::Bedrock
|
|
800
841
|
|
801
842
|
DeleteCustomModelResponse.struct_class = Types::DeleteCustomModelResponse
|
802
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
|
+
|
803
849
|
DeleteGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
|
804
850
|
DeleteGuardrailRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, location: "querystring", location_name: "guardrailVersion"))
|
805
851
|
DeleteGuardrailRequest.struct_class = Types::DeleteGuardrailRequest
|
@@ -840,6 +886,12 @@ module Aws::Bedrock
|
|
840
886
|
|
841
887
|
DeregisterMarketplaceModelEndpointResponse.struct_class = Types::DeregisterMarketplaceModelEndpointResponse
|
842
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
|
+
|
843
895
|
DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
|
844
896
|
DistillationConfig.struct_class = Types::DistillationConfig
|
845
897
|
|
@@ -1067,6 +1119,16 @@ module Aws::Bedrock
|
|
1067
1119
|
GetEvaluationJobResponse.add_member(:failure_messages, Shapes::ShapeRef.new(shape: ErrorMessages, location_name: "failureMessages"))
|
1068
1120
|
GetEvaluationJobResponse.struct_class = Types::GetEvaluationJobResponse
|
1069
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
|
+
|
1070
1132
|
GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
1071
1133
|
GetFoundationModelRequest.struct_class = Types::GetFoundationModelRequest
|
1072
1134
|
|
@@ -1253,6 +1315,11 @@ module Aws::Bedrock
|
|
1253
1315
|
GetProvisionedModelThroughputResponse.add_member(:commitment_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "commitmentExpirationTime"))
|
1254
1316
|
GetProvisionedModelThroughputResponse.struct_class = Types::GetProvisionedModelThroughputResponse
|
1255
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
|
+
|
1256
1323
|
GuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
|
1257
1324
|
GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
|
1258
1325
|
GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
|
@@ -1572,6 +1639,9 @@ module Aws::Bedrock
|
|
1572
1639
|
KnowledgeBaseVectorSearchConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
|
1573
1640
|
KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
|
1574
1641
|
|
1642
|
+
LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
|
1643
|
+
LegalTerm.struct_class = Types::LegalTerm
|
1644
|
+
|
1575
1645
|
ListCustomModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1576
1646
|
ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1577
1647
|
ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
|
@@ -1604,6 +1674,14 @@ module Aws::Bedrock
|
|
1604
1674
|
ListEvaluationJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: EvaluationSummaries, location_name: "jobSummaries"))
|
1605
1675
|
ListEvaluationJobsResponse.struct_class = Types::ListEvaluationJobsResponse
|
1606
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
|
+
|
1607
1685
|
ListFoundationModelsRequest.add_member(:by_provider, Shapes::ShapeRef.new(shape: Provider, location: "querystring", location_name: "byProvider"))
|
1608
1686
|
ListFoundationModelsRequest.add_member(:by_customization_type, Shapes::ShapeRef.new(shape: ModelCustomization, location: "querystring", location_name: "byCustomizationType"))
|
1609
1687
|
ListFoundationModelsRequest.add_member(:by_output_modality, Shapes::ShapeRef.new(shape: ModelModality, location: "querystring", location_name: "byOutputModality"))
|
@@ -1866,6 +1944,13 @@ module Aws::Bedrock
|
|
1866
1944
|
|
1867
1945
|
ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
|
1868
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
|
+
|
1869
1954
|
OrchestrationConfiguration.add_member(:query_transformation_configuration, Shapes::ShapeRef.new(shape: QueryTransformationConfiguration, required: true, location_name: "queryTransformationConfiguration"))
|
1870
1955
|
OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
|
1871
1956
|
|
@@ -1875,6 +1960,9 @@ module Aws::Bedrock
|
|
1875
1960
|
PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
|
1876
1961
|
PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
|
1877
1962
|
|
1963
|
+
PricingTerm.add_member(:rate_card, Shapes::ShapeRef.new(shape: RateCard, required: true, location_name: "rateCard"))
|
1964
|
+
PricingTerm.struct_class = Types::PricingTerm
|
1965
|
+
|
1878
1966
|
PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
|
1879
1967
|
|
1880
1968
|
PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
|
@@ -1918,6 +2006,11 @@ module Aws::Bedrock
|
|
1918
2006
|
|
1919
2007
|
PutModelInvocationLoggingConfigurationResponse.struct_class = Types::PutModelInvocationLoggingConfigurationResponse
|
1920
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
|
+
|
1921
2014
|
QueryTransformationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: QueryTransformationType, required: true, location_name: "type"))
|
1922
2015
|
QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
|
1923
2016
|
|
@@ -1933,6 +2026,8 @@ module Aws::Bedrock
|
|
1933
2026
|
|
1934
2027
|
RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
|
1935
2028
|
|
2029
|
+
RateCard.member = Shapes::ShapeRef.new(shape: DimensionalPriceRate)
|
2030
|
+
|
1936
2031
|
RatingScale.member = Shapes::ShapeRef.new(shape: RatingScaleItem)
|
1937
2032
|
|
1938
2033
|
RatingScaleItem.add_member(:definition, Shapes::ShapeRef.new(shape: RatingScaleItemDefinition, required: true, location_name: "definition"))
|
@@ -2069,6 +2164,9 @@ module Aws::Bedrock
|
|
2069
2164
|
|
2070
2165
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
2071
2166
|
|
2167
|
+
SupportTerm.add_member(:refund_policy_description, Shapes::ShapeRef.new(shape: String, location_name: "refundPolicyDescription"))
|
2168
|
+
SupportTerm.struct_class = Types::SupportTerm
|
2169
|
+
|
2072
2170
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
2073
2171
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
2074
2172
|
Tag.struct_class = Types::Tag
|
@@ -2087,6 +2185,12 @@ module Aws::Bedrock
|
|
2087
2185
|
TeacherModelConfig.add_member(:max_response_length_for_inference, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResponseLengthForInference"))
|
2088
2186
|
TeacherModelConfig.struct_class = Types::TeacherModelConfig
|
2089
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
|
+
|
2090
2194
|
TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
2091
2195
|
TextInferenceConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
2092
2196
|
TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
@@ -2174,6 +2278,9 @@ module Aws::Bedrock
|
|
2174
2278
|
|
2175
2279
|
Validators.member = Shapes::ShapeRef.new(shape: Validator)
|
2176
2280
|
|
2281
|
+
ValidityTerm.add_member(:agreement_duration, Shapes::ShapeRef.new(shape: String, location_name: "agreementDuration"))
|
2282
|
+
ValidityTerm.struct_class = Types::ValidityTerm
|
2283
|
+
|
2177
2284
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
|
2178
2285
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "securityGroupIds"))
|
2179
2286
|
VpcConfig.struct_class = Types::VpcConfig
|
@@ -2242,6 +2349,20 @@ module Aws::Bedrock
|
|
2242
2349
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2243
2350
|
end)
|
2244
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
|
+
|
2245
2366
|
api.add_operation(:create_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2246
2367
|
o.name = "CreateGuardrail"
|
2247
2368
|
o.http_method = "POST"
|
@@ -2408,6 +2529,20 @@ module Aws::Bedrock
|
|
2408
2529
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2409
2530
|
end)
|
2410
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
|
+
|
2411
2546
|
api.add_operation(:delete_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2412
2547
|
o.name = "DeleteGuardrail"
|
2413
2548
|
o.http_method = "DELETE"
|
@@ -2554,6 +2689,19 @@ module Aws::Bedrock
|
|
2554
2689
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2555
2690
|
end)
|
2556
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
|
+
|
2557
2705
|
api.add_operation(:get_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2558
2706
|
o.name = "GetGuardrail"
|
2559
2707
|
o.http_method = "GET"
|
@@ -2695,6 +2843,18 @@ module Aws::Bedrock
|
|
2695
2843
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2696
2844
|
end)
|
2697
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
|
+
|
2698
2858
|
api.add_operation(:list_custom_models, Seahorse::Model::Operation.new.tap do |o|
|
2699
2859
|
o.name = "ListCustomModels"
|
2700
2860
|
o.http_method = "GET"
|
@@ -2731,6 +2891,19 @@ module Aws::Bedrock
|
|
2731
2891
|
)
|
2732
2892
|
end)
|
2733
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
|
+
|
2734
2907
|
api.add_operation(:list_foundation_models, Seahorse::Model::Operation.new.tap do |o|
|
2735
2908
|
o.name = "ListFoundationModels"
|
2736
2909
|
o.http_method = "GET"
|
@@ -2951,6 +3124,18 @@ module Aws::Bedrock
|
|
2951
3124
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2952
3125
|
end)
|
2953
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
|
+
|
2954
3139
|
api.add_operation(:register_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
2955
3140
|
o.name = "RegisterMarketplaceModelEndpoint"
|
2956
3141
|
o.http_method = "POST"
|