aws-sdk-bedrock 1.46.0 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +484 -10
- data/lib/aws-sdk-bedrock/client_api.rb +309 -7
- data/lib/aws-sdk-bedrock/types.rb +846 -22
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +184 -9
- data/sig/types.rbs +219 -7
- metadata +4 -4
@@ -17,11 +17,16 @@ module Aws::Bedrock
|
|
17
17
|
AcceptEula = Shapes::BooleanShape.new(name: 'AcceptEula')
|
18
18
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
19
19
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
20
|
+
AcknowledgementFormDataBody = Shapes::BlobShape.new(name: 'AcknowledgementFormDataBody')
|
20
21
|
AdditionalModelRequestFields = Shapes::MapShape.new(name: 'AdditionalModelRequestFields')
|
21
22
|
AdditionalModelRequestFieldsKey = Shapes::StringShape.new(name: 'AdditionalModelRequestFieldsKey')
|
22
23
|
AdditionalModelRequestFieldsValue = Shapes::DocumentShape.new(name: 'AdditionalModelRequestFieldsValue', document: true)
|
24
|
+
AgreementAvailability = Shapes::StructureShape.new(name: 'AgreementAvailability')
|
25
|
+
AgreementStatus = Shapes::StringShape.new(name: 'AgreementStatus')
|
23
26
|
ApplicationType = Shapes::StringShape.new(name: 'ApplicationType')
|
24
27
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
28
|
+
AttributeType = Shapes::StringShape.new(name: 'AttributeType')
|
29
|
+
AuthorizationStatus = Shapes::StringShape.new(name: 'AuthorizationStatus')
|
25
30
|
AutomatedEvaluationConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationConfig')
|
26
31
|
AutomatedEvaluationCustomMetricConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationCustomMetricConfig')
|
27
32
|
AutomatedEvaluationCustomMetricSource = Shapes::UnionShape.new(name: 'AutomatedEvaluationCustomMetricSource')
|
@@ -37,6 +42,7 @@ module Aws::Bedrock
|
|
37
42
|
BedrockEvaluatorModels = Shapes::ListShape.new(name: 'BedrockEvaluatorModels')
|
38
43
|
BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
|
39
44
|
BedrockModelId = Shapes::StringShape.new(name: 'BedrockModelId')
|
45
|
+
BedrockRerankingModelArn = Shapes::StringShape.new(name: 'BedrockRerankingModelArn')
|
40
46
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
41
47
|
BrandedName = Shapes::StringShape.new(name: 'BrandedName')
|
42
48
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
@@ -46,8 +52,12 @@ module Aws::Bedrock
|
|
46
52
|
CommitmentDuration = Shapes::StringShape.new(name: 'CommitmentDuration')
|
47
53
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
48
54
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
55
|
+
CreateCustomModelRequest = Shapes::StructureShape.new(name: 'CreateCustomModelRequest')
|
56
|
+
CreateCustomModelResponse = Shapes::StructureShape.new(name: 'CreateCustomModelResponse')
|
49
57
|
CreateEvaluationJobRequest = Shapes::StructureShape.new(name: 'CreateEvaluationJobRequest')
|
50
58
|
CreateEvaluationJobResponse = Shapes::StructureShape.new(name: 'CreateEvaluationJobResponse')
|
59
|
+
CreateFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementRequest')
|
60
|
+
CreateFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementResponse')
|
51
61
|
CreateGuardrailRequest = Shapes::StructureShape.new(name: 'CreateGuardrailRequest')
|
52
62
|
CreateGuardrailResponse = Shapes::StructureShape.new(name: 'CreateGuardrailResponse')
|
53
63
|
CreateGuardrailVersionRequest = Shapes::StructureShape.new(name: 'CreateGuardrailVersionRequest')
|
@@ -84,6 +94,8 @@ module Aws::Bedrock
|
|
84
94
|
DataProcessingDetails = Shapes::StructureShape.new(name: 'DataProcessingDetails')
|
85
95
|
DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
|
86
96
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
97
|
+
DeleteFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementRequest')
|
98
|
+
DeleteFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementResponse')
|
87
99
|
DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
|
88
100
|
DeleteGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteGuardrailResponse')
|
89
101
|
DeleteImportedModelRequest = Shapes::StructureShape.new(name: 'DeleteImportedModelRequest')
|
@@ -100,9 +112,11 @@ module Aws::Bedrock
|
|
100
112
|
DeleteProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputResponse')
|
101
113
|
DeregisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointRequest')
|
102
114
|
DeregisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointResponse')
|
115
|
+
DimensionalPriceRate = Shapes::StructureShape.new(name: 'DimensionalPriceRate')
|
103
116
|
DistillationConfig = Shapes::StructureShape.new(name: 'DistillationConfig')
|
104
117
|
EndpointConfig = Shapes::UnionShape.new(name: 'EndpointConfig')
|
105
118
|
EndpointName = Shapes::StringShape.new(name: 'EndpointName')
|
119
|
+
EntitlementAvailability = Shapes::StringShape.new(name: 'EntitlementAvailability')
|
106
120
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
107
121
|
ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
|
108
122
|
EvaluationBedrockKnowledgeBaseIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockKnowledgeBaseIdentifiers')
|
@@ -154,6 +168,9 @@ module Aws::Bedrock
|
|
154
168
|
ExternalSources = Shapes::ListShape.new(name: 'ExternalSources')
|
155
169
|
ExternalSourcesGenerationConfiguration = Shapes::StructureShape.new(name: 'ExternalSourcesGenerationConfiguration')
|
156
170
|
ExternalSourcesRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'ExternalSourcesRetrieveAndGenerateConfiguration')
|
171
|
+
FieldForReranking = Shapes::StructureShape.new(name: 'FieldForReranking')
|
172
|
+
FieldForRerankingFieldNameString = Shapes::StringShape.new(name: 'FieldForRerankingFieldNameString')
|
173
|
+
FieldsForReranking = Shapes::ListShape.new(name: 'FieldsForReranking')
|
157
174
|
FilterAttribute = Shapes::StructureShape.new(name: 'FilterAttribute')
|
158
175
|
FilterKey = Shapes::StringShape.new(name: 'FilterKey')
|
159
176
|
FilterValue = Shapes::DocumentShape.new(name: 'FilterValue', document: true)
|
@@ -170,6 +187,8 @@ module Aws::Bedrock
|
|
170
187
|
GetCustomModelResponse = Shapes::StructureShape.new(name: 'GetCustomModelResponse')
|
171
188
|
GetEvaluationJobRequest = Shapes::StructureShape.new(name: 'GetEvaluationJobRequest')
|
172
189
|
GetEvaluationJobResponse = Shapes::StructureShape.new(name: 'GetEvaluationJobResponse')
|
190
|
+
GetFoundationModelAvailabilityRequest = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityRequest')
|
191
|
+
GetFoundationModelAvailabilityResponse = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityResponse')
|
173
192
|
GetFoundationModelRequest = Shapes::StructureShape.new(name: 'GetFoundationModelRequest')
|
174
193
|
GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
|
175
194
|
GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
|
@@ -194,6 +213,8 @@ module Aws::Bedrock
|
|
194
213
|
GetPromptRouterResponse = Shapes::StructureShape.new(name: 'GetPromptRouterResponse')
|
195
214
|
GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
|
196
215
|
GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
|
216
|
+
GetUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessRequest')
|
217
|
+
GetUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessResponse')
|
197
218
|
GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
|
198
219
|
GuardrailBlockedMessaging = Shapes::StringShape.new(name: 'GuardrailBlockedMessaging')
|
199
220
|
GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
|
@@ -205,6 +226,9 @@ module Aws::Bedrock
|
|
205
226
|
GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
|
206
227
|
GuardrailContentFilters = Shapes::ListShape.new(name: 'GuardrailContentFilters')
|
207
228
|
GuardrailContentFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContentFiltersConfig')
|
229
|
+
GuardrailContentFiltersTier = Shapes::StructureShape.new(name: 'GuardrailContentFiltersTier')
|
230
|
+
GuardrailContentFiltersTierConfig = Shapes::StructureShape.new(name: 'GuardrailContentFiltersTierConfig')
|
231
|
+
GuardrailContentFiltersTierName = Shapes::StringShape.new(name: 'GuardrailContentFiltersTierName')
|
208
232
|
GuardrailContentPolicy = Shapes::StructureShape.new(name: 'GuardrailContentPolicy')
|
209
233
|
GuardrailContentPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailContentPolicyConfig')
|
210
234
|
GuardrailContextualGroundingAction = Shapes::StringShape.new(name: 'GuardrailContextualGroundingAction')
|
@@ -273,6 +297,9 @@ module Aws::Bedrock
|
|
273
297
|
GuardrailTopicType = Shapes::StringShape.new(name: 'GuardrailTopicType')
|
274
298
|
GuardrailTopics = Shapes::ListShape.new(name: 'GuardrailTopics')
|
275
299
|
GuardrailTopicsConfig = Shapes::ListShape.new(name: 'GuardrailTopicsConfig')
|
300
|
+
GuardrailTopicsTier = Shapes::StructureShape.new(name: 'GuardrailTopicsTier')
|
301
|
+
GuardrailTopicsTierConfig = Shapes::StructureShape.new(name: 'GuardrailTopicsTierConfig')
|
302
|
+
GuardrailTopicsTierName = Shapes::StringShape.new(name: 'GuardrailTopicsTierName')
|
276
303
|
GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
|
277
304
|
GuardrailWord = Shapes::StructureShape.new(name: 'GuardrailWord')
|
278
305
|
GuardrailWordAction = Shapes::StringShape.new(name: 'GuardrailWordAction')
|
@@ -290,6 +317,7 @@ module Aws::Bedrock
|
|
290
317
|
HumanWorkflowConfig = Shapes::StructureShape.new(name: 'HumanWorkflowConfig')
|
291
318
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
292
319
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
320
|
+
ImplicitFilterConfiguration = Shapes::StructureShape.new(name: 'ImplicitFilterConfiguration')
|
293
321
|
ImportedModelArn = Shapes::StringShape.new(name: 'ImportedModelArn')
|
294
322
|
ImportedModelIdentifier = Shapes::StringShape.new(name: 'ImportedModelIdentifier')
|
295
323
|
ImportedModelName = Shapes::StringShape.new(name: 'ImportedModelName')
|
@@ -329,10 +357,13 @@ module Aws::Bedrock
|
|
329
357
|
KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
|
330
358
|
KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
|
331
359
|
KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
|
360
|
+
LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
|
332
361
|
ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
|
333
362
|
ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
|
334
363
|
ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
|
335
364
|
ListEvaluationJobsResponse = Shapes::StructureShape.new(name: 'ListEvaluationJobsResponse')
|
365
|
+
ListFoundationModelAgreementOffersRequest = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersRequest')
|
366
|
+
ListFoundationModelAgreementOffersResponse = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersResponse')
|
336
367
|
ListFoundationModelsRequest = Shapes::StructureShape.new(name: 'ListFoundationModelsRequest')
|
337
368
|
ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
|
338
369
|
ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
|
@@ -365,6 +396,11 @@ module Aws::Bedrock
|
|
365
396
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
366
397
|
MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
|
367
398
|
Message = Shapes::StringShape.new(name: 'Message')
|
399
|
+
MetadataAttributeSchema = Shapes::StructureShape.new(name: 'MetadataAttributeSchema')
|
400
|
+
MetadataAttributeSchemaDescriptionString = Shapes::StringShape.new(name: 'MetadataAttributeSchemaDescriptionString')
|
401
|
+
MetadataAttributeSchemaKeyString = Shapes::StringShape.new(name: 'MetadataAttributeSchemaKeyString')
|
402
|
+
MetadataAttributeSchemaList = Shapes::ListShape.new(name: 'MetadataAttributeSchemaList')
|
403
|
+
MetadataConfigurationForReranking = Shapes::StructureShape.new(name: 'MetadataConfigurationForReranking')
|
368
404
|
MetricFloat = Shapes::FloatShape.new(name: 'MetricFloat')
|
369
405
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
370
406
|
ModelArchitecture = Shapes::StringShape.new(name: 'ModelArchitecture')
|
@@ -405,13 +441,20 @@ module Aws::Bedrock
|
|
405
441
|
ModelModalityList = Shapes::ListShape.new(name: 'ModelModalityList')
|
406
442
|
ModelName = Shapes::StringShape.new(name: 'ModelName')
|
407
443
|
ModelSourceIdentifier = Shapes::StringShape.new(name: 'ModelSourceIdentifier')
|
444
|
+
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
408
445
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
446
|
+
Offer = Shapes::StructureShape.new(name: 'Offer')
|
447
|
+
OfferId = Shapes::StringShape.new(name: 'OfferId')
|
448
|
+
OfferToken = Shapes::StringShape.new(name: 'OfferToken')
|
449
|
+
OfferType = Shapes::StringShape.new(name: 'OfferType')
|
450
|
+
Offers = Shapes::ListShape.new(name: 'Offers')
|
409
451
|
OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
|
410
452
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
411
453
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
412
454
|
PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
|
413
455
|
PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
|
414
456
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
457
|
+
PricingTerm = Shapes::StructureShape.new(name: 'PricingTerm')
|
415
458
|
PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
|
416
459
|
PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
|
417
460
|
PromptRouterName = Shapes::StringShape.new(name: 'PromptRouterName')
|
@@ -432,17 +475,21 @@ module Aws::Bedrock
|
|
432
475
|
ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
|
433
476
|
PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
|
434
477
|
PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
|
478
|
+
PutUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessRequest')
|
479
|
+
PutUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessResponse')
|
435
480
|
QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
|
436
481
|
QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
|
437
482
|
RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
|
438
483
|
RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
|
439
484
|
RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
|
440
485
|
RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
|
486
|
+
RateCard = Shapes::ListShape.new(name: 'RateCard')
|
441
487
|
RatingScale = Shapes::ListShape.new(name: 'RatingScale')
|
442
488
|
RatingScaleItem = Shapes::StructureShape.new(name: 'RatingScaleItem')
|
443
489
|
RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
|
444
490
|
RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
|
445
491
|
RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
|
492
|
+
RegionAvailability = Shapes::StringShape.new(name: 'RegionAvailability')
|
446
493
|
RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
|
447
494
|
RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
|
448
495
|
RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
|
@@ -451,6 +498,8 @@ module Aws::Bedrock
|
|
451
498
|
RequestMetadataMap = Shapes::MapShape.new(name: 'RequestMetadataMap')
|
452
499
|
RequestMetadataMapKeyString = Shapes::StringShape.new(name: 'RequestMetadataMapKeyString')
|
453
500
|
RequestMetadataMapValueString = Shapes::StringShape.new(name: 'RequestMetadataMapValueString')
|
501
|
+
RerankingMetadataSelectionMode = Shapes::StringShape.new(name: 'RerankingMetadataSelectionMode')
|
502
|
+
RerankingMetadataSelectiveModeConfiguration = Shapes::UnionShape.new(name: 'RerankingMetadataSelectiveModeConfiguration')
|
454
503
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
455
504
|
RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
|
456
505
|
RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
|
@@ -487,6 +536,7 @@ module Aws::Bedrock
|
|
487
536
|
String = Shapes::StringShape.new(name: 'String')
|
488
537
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
489
538
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
539
|
+
SupportTerm = Shapes::StructureShape.new(name: 'SupportTerm')
|
490
540
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
491
541
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
492
542
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -498,6 +548,7 @@ module Aws::Bedrock
|
|
498
548
|
TeacherModelConfig = Shapes::StructureShape.new(name: 'TeacherModelConfig')
|
499
549
|
TeacherModelIdentifier = Shapes::StringShape.new(name: 'TeacherModelIdentifier')
|
500
550
|
Temperature = Shapes::FloatShape.new(name: 'Temperature')
|
551
|
+
TermDetails = Shapes::StructureShape.new(name: 'TermDetails')
|
501
552
|
TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
|
502
553
|
TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
|
503
554
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
@@ -523,6 +574,12 @@ module Aws::Bedrock
|
|
523
574
|
Validator = Shapes::StructureShape.new(name: 'Validator')
|
524
575
|
ValidatorMetric = Shapes::StructureShape.new(name: 'ValidatorMetric')
|
525
576
|
Validators = Shapes::ListShape.new(name: 'Validators')
|
577
|
+
ValidityTerm = Shapes::StructureShape.new(name: 'ValidityTerm')
|
578
|
+
VectorSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingConfiguration')
|
579
|
+
VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger = Shapes::IntegerShape.new(name: 'VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger')
|
580
|
+
VectorSearchBedrockRerankingModelConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingModelConfiguration')
|
581
|
+
VectorSearchRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchRerankingConfiguration')
|
582
|
+
VectorSearchRerankingConfigurationType = Shapes::StringShape.new(name: 'VectorSearchRerankingConfigurationType')
|
526
583
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
527
584
|
kBS3Uri = Shapes::StringShape.new(name: 'kBS3Uri')
|
528
585
|
|
@@ -532,6 +589,10 @@ module Aws::Bedrock
|
|
532
589
|
AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
|
533
590
|
AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
|
534
591
|
|
592
|
+
AgreementAvailability.add_member(:status, Shapes::ShapeRef.new(shape: AgreementStatus, required: true, location_name: "status"))
|
593
|
+
AgreementAvailability.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
|
594
|
+
AgreementAvailability.struct_class = Types::AgreementAvailability
|
595
|
+
|
535
596
|
AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
|
536
597
|
AutomatedEvaluationConfig.add_member(:evaluator_model_config, Shapes::ShapeRef.new(shape: EvaluatorModelConfig, location_name: "evaluatorModelConfig"))
|
537
598
|
AutomatedEvaluationConfig.add_member(:custom_metric_config, Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetricConfig, location_name: "customMetricConfig"))
|
@@ -587,6 +648,17 @@ module Aws::Bedrock
|
|
587
648
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
588
649
|
ConflictException.struct_class = Types::ConflictException
|
589
650
|
|
651
|
+
CreateCustomModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
652
|
+
CreateCustomModelRequest.add_member(:model_source_config, Shapes::ShapeRef.new(shape: ModelDataSource, required: true, location_name: "modelSourceConfig"))
|
653
|
+
CreateCustomModelRequest.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
654
|
+
CreateCustomModelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
655
|
+
CreateCustomModelRequest.add_member(:model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "modelTags"))
|
656
|
+
CreateCustomModelRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
657
|
+
CreateCustomModelRequest.struct_class = Types::CreateCustomModelRequest
|
658
|
+
|
659
|
+
CreateCustomModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
660
|
+
CreateCustomModelResponse.struct_class = Types::CreateCustomModelResponse
|
661
|
+
|
590
662
|
CreateEvaluationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: EvaluationJobName, required: true, location_name: "jobName"))
|
591
663
|
CreateEvaluationJobRequest.add_member(:job_description, Shapes::ShapeRef.new(shape: EvaluationJobDescription, location_name: "jobDescription"))
|
592
664
|
CreateEvaluationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
@@ -602,6 +674,13 @@ module Aws::Bedrock
|
|
602
674
|
CreateEvaluationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: EvaluationJobArn, required: true, location_name: "jobArn"))
|
603
675
|
CreateEvaluationJobResponse.struct_class = Types::CreateEvaluationJobResponse
|
604
676
|
|
677
|
+
CreateFoundationModelAgreementRequest.add_member(:offer_token, Shapes::ShapeRef.new(shape: OfferToken, required: true, location_name: "offerToken"))
|
678
|
+
CreateFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
679
|
+
CreateFoundationModelAgreementRequest.struct_class = Types::CreateFoundationModelAgreementRequest
|
680
|
+
|
681
|
+
CreateFoundationModelAgreementResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
682
|
+
CreateFoundationModelAgreementResponse.struct_class = Types::CreateFoundationModelAgreementResponse
|
683
|
+
|
605
684
|
CreateGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailName, required: true, location_name: "name"))
|
606
685
|
CreateGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailDescription, location_name: "description"))
|
607
686
|
CreateGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
|
@@ -755,6 +834,7 @@ module Aws::Bedrock
|
|
755
834
|
CustomModelSummary.add_member(:base_model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "baseModelName"))
|
756
835
|
CustomModelSummary.add_member(:customization_type, Shapes::ShapeRef.new(shape: CustomizationType, location_name: "customizationType"))
|
757
836
|
CustomModelSummary.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "ownerAccountId"))
|
837
|
+
CustomModelSummary.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "modelStatus"))
|
758
838
|
CustomModelSummary.struct_class = Types::CustomModelSummary
|
759
839
|
|
760
840
|
CustomModelSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelSummary)
|
@@ -779,6 +859,11 @@ module Aws::Bedrock
|
|
779
859
|
|
780
860
|
DeleteCustomModelResponse.struct_class = Types::DeleteCustomModelResponse
|
781
861
|
|
862
|
+
DeleteFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
863
|
+
DeleteFoundationModelAgreementRequest.struct_class = Types::DeleteFoundationModelAgreementRequest
|
864
|
+
|
865
|
+
DeleteFoundationModelAgreementResponse.struct_class = Types::DeleteFoundationModelAgreementResponse
|
866
|
+
|
782
867
|
DeleteGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
|
783
868
|
DeleteGuardrailRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, location: "querystring", location_name: "guardrailVersion"))
|
784
869
|
DeleteGuardrailRequest.struct_class = Types::DeleteGuardrailRequest
|
@@ -819,6 +904,12 @@ module Aws::Bedrock
|
|
819
904
|
|
820
905
|
DeregisterMarketplaceModelEndpointResponse.struct_class = Types::DeregisterMarketplaceModelEndpointResponse
|
821
906
|
|
907
|
+
DimensionalPriceRate.add_member(:dimension, Shapes::ShapeRef.new(shape: String, location_name: "dimension"))
|
908
|
+
DimensionalPriceRate.add_member(:price, Shapes::ShapeRef.new(shape: String, location_name: "price"))
|
909
|
+
DimensionalPriceRate.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
910
|
+
DimensionalPriceRate.add_member(:unit, Shapes::ShapeRef.new(shape: String, location_name: "unit"))
|
911
|
+
DimensionalPriceRate.struct_class = Types::DimensionalPriceRate
|
912
|
+
|
822
913
|
DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
|
823
914
|
DistillationConfig.struct_class = Types::DistillationConfig
|
824
915
|
|
@@ -966,6 +1057,11 @@ module Aws::Bedrock
|
|
966
1057
|
ExternalSourcesRetrieveAndGenerateConfiguration.add_member(:generation_configuration, Shapes::ShapeRef.new(shape: ExternalSourcesGenerationConfiguration, location_name: "generationConfiguration"))
|
967
1058
|
ExternalSourcesRetrieveAndGenerateConfiguration.struct_class = Types::ExternalSourcesRetrieveAndGenerateConfiguration
|
968
1059
|
|
1060
|
+
FieldForReranking.add_member(:field_name, Shapes::ShapeRef.new(shape: FieldForRerankingFieldNameString, required: true, location_name: "fieldName"))
|
1061
|
+
FieldForReranking.struct_class = Types::FieldForReranking
|
1062
|
+
|
1063
|
+
FieldsForReranking.member = Shapes::ShapeRef.new(shape: FieldForReranking)
|
1064
|
+
|
969
1065
|
FilterAttribute.add_member(:key, Shapes::ShapeRef.new(shape: FilterKey, required: true, location_name: "key"))
|
970
1066
|
FilterAttribute.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, required: true, location_name: "value"))
|
971
1067
|
FilterAttribute.struct_class = Types::FilterAttribute
|
@@ -1011,18 +1107,20 @@ module Aws::Bedrock
|
|
1011
1107
|
GetCustomModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
1012
1108
|
GetCustomModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
1013
1109
|
GetCustomModelResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
|
1014
|
-
GetCustomModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn,
|
1015
|
-
GetCustomModelResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn,
|
1110
|
+
GetCustomModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, location_name: "jobArn"))
|
1111
|
+
GetCustomModelResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "baseModelArn"))
|
1016
1112
|
GetCustomModelResponse.add_member(:customization_type, Shapes::ShapeRef.new(shape: CustomizationType, location_name: "customizationType"))
|
1017
1113
|
GetCustomModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
1018
1114
|
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,
|
1115
|
+
GetCustomModelResponse.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, location_name: "trainingDataConfig"))
|
1020
1116
|
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,
|
1117
|
+
GetCustomModelResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "outputDataConfig"))
|
1022
1118
|
GetCustomModelResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
|
1023
1119
|
GetCustomModelResponse.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: ValidationMetrics, location_name: "validationMetrics"))
|
1024
1120
|
GetCustomModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1025
1121
|
GetCustomModelResponse.add_member(:customization_config, Shapes::ShapeRef.new(shape: CustomizationConfig, location_name: "customizationConfig"))
|
1122
|
+
GetCustomModelResponse.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "modelStatus"))
|
1123
|
+
GetCustomModelResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
1026
1124
|
GetCustomModelResponse.struct_class = Types::GetCustomModelResponse
|
1027
1125
|
|
1028
1126
|
GetEvaluationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
@@ -1044,6 +1142,16 @@ module Aws::Bedrock
|
|
1044
1142
|
GetEvaluationJobResponse.add_member(:failure_messages, Shapes::ShapeRef.new(shape: ErrorMessages, location_name: "failureMessages"))
|
1045
1143
|
GetEvaluationJobResponse.struct_class = Types::GetEvaluationJobResponse
|
1046
1144
|
|
1145
|
+
GetFoundationModelAvailabilityRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location: "uri", location_name: "modelId"))
|
1146
|
+
GetFoundationModelAvailabilityRequest.struct_class = Types::GetFoundationModelAvailabilityRequest
|
1147
|
+
|
1148
|
+
GetFoundationModelAvailabilityResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
1149
|
+
GetFoundationModelAvailabilityResponse.add_member(:agreement_availability, Shapes::ShapeRef.new(shape: AgreementAvailability, required: true, location_name: "agreementAvailability"))
|
1150
|
+
GetFoundationModelAvailabilityResponse.add_member(:authorization_status, Shapes::ShapeRef.new(shape: AuthorizationStatus, required: true, location_name: "authorizationStatus"))
|
1151
|
+
GetFoundationModelAvailabilityResponse.add_member(:entitlement_availability, Shapes::ShapeRef.new(shape: EntitlementAvailability, required: true, location_name: "entitlementAvailability"))
|
1152
|
+
GetFoundationModelAvailabilityResponse.add_member(:region_availability, Shapes::ShapeRef.new(shape: RegionAvailability, required: true, location_name: "regionAvailability"))
|
1153
|
+
GetFoundationModelAvailabilityResponse.struct_class = Types::GetFoundationModelAvailabilityResponse
|
1154
|
+
|
1047
1155
|
GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
1048
1156
|
GetFoundationModelRequest.struct_class = Types::GetFoundationModelRequest
|
1049
1157
|
|
@@ -1136,8 +1244,8 @@ module Aws::Bedrock
|
|
1136
1244
|
GetModelCustomizationJobResponse.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken"))
|
1137
1245
|
GetModelCustomizationJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
1138
1246
|
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
1247
|
GetModelCustomizationJobResponse.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
|
1248
|
+
GetModelCustomizationJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
1141
1249
|
GetModelCustomizationJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1142
1250
|
GetModelCustomizationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1143
1251
|
GetModelCustomizationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
@@ -1230,6 +1338,11 @@ module Aws::Bedrock
|
|
1230
1338
|
GetProvisionedModelThroughputResponse.add_member(:commitment_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "commitmentExpirationTime"))
|
1231
1339
|
GetProvisionedModelThroughputResponse.struct_class = Types::GetProvisionedModelThroughputResponse
|
1232
1340
|
|
1341
|
+
GetUseCaseForModelAccessRequest.struct_class = Types::GetUseCaseForModelAccessRequest
|
1342
|
+
|
1343
|
+
GetUseCaseForModelAccessResponse.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
|
1344
|
+
GetUseCaseForModelAccessResponse.struct_class = Types::GetUseCaseForModelAccessResponse
|
1345
|
+
|
1233
1346
|
GuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
|
1234
1347
|
GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
|
1235
1348
|
GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
|
@@ -1260,10 +1373,18 @@ module Aws::Bedrock
|
|
1260
1373
|
|
1261
1374
|
GuardrailContentFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContentFilterConfig)
|
1262
1375
|
|
1376
|
+
GuardrailContentFiltersTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierName, required: true, location_name: "tierName"))
|
1377
|
+
GuardrailContentFiltersTier.struct_class = Types::GuardrailContentFiltersTier
|
1378
|
+
|
1379
|
+
GuardrailContentFiltersTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierName, required: true, location_name: "tierName"))
|
1380
|
+
GuardrailContentFiltersTierConfig.struct_class = Types::GuardrailContentFiltersTierConfig
|
1381
|
+
|
1263
1382
|
GuardrailContentPolicy.add_member(:filters, Shapes::ShapeRef.new(shape: GuardrailContentFilters, location_name: "filters"))
|
1383
|
+
GuardrailContentPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTier, location_name: "tier"))
|
1264
1384
|
GuardrailContentPolicy.struct_class = Types::GuardrailContentPolicy
|
1265
1385
|
|
1266
1386
|
GuardrailContentPolicyConfig.add_member(:filters_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersConfig, required: true, location_name: "filtersConfig"))
|
1387
|
+
GuardrailContentPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierConfig, location_name: "tierConfig"))
|
1267
1388
|
GuardrailContentPolicyConfig.struct_class = Types::GuardrailContentPolicyConfig
|
1268
1389
|
|
1269
1390
|
GuardrailContextualGroundingFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
|
@@ -1407,15 +1528,23 @@ module Aws::Bedrock
|
|
1407
1528
|
GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
|
1408
1529
|
|
1409
1530
|
GuardrailTopicPolicy.add_member(:topics, Shapes::ShapeRef.new(shape: GuardrailTopics, required: true, location_name: "topics"))
|
1531
|
+
GuardrailTopicPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailTopicsTier, location_name: "tier"))
|
1410
1532
|
GuardrailTopicPolicy.struct_class = Types::GuardrailTopicPolicy
|
1411
1533
|
|
1412
1534
|
GuardrailTopicPolicyConfig.add_member(:topics_config, Shapes::ShapeRef.new(shape: GuardrailTopicsConfig, required: true, location_name: "topicsConfig"))
|
1535
|
+
GuardrailTopicPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailTopicsTierConfig, location_name: "tierConfig"))
|
1413
1536
|
GuardrailTopicPolicyConfig.struct_class = Types::GuardrailTopicPolicyConfig
|
1414
1537
|
|
1415
1538
|
GuardrailTopics.member = Shapes::ShapeRef.new(shape: GuardrailTopic)
|
1416
1539
|
|
1417
1540
|
GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
|
1418
1541
|
|
1542
|
+
GuardrailTopicsTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailTopicsTierName, required: true, location_name: "tierName"))
|
1543
|
+
GuardrailTopicsTier.struct_class = Types::GuardrailTopicsTier
|
1544
|
+
|
1545
|
+
GuardrailTopicsTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailTopicsTierName, required: true, location_name: "tierName"))
|
1546
|
+
GuardrailTopicsTierConfig.struct_class = Types::GuardrailTopicsTierConfig
|
1547
|
+
|
1419
1548
|
GuardrailWord.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordTextString, required: true, location_name: "text"))
|
1420
1549
|
GuardrailWord.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1421
1550
|
GuardrailWord.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
@@ -1458,6 +1587,10 @@ module Aws::Bedrock
|
|
1458
1587
|
HumanWorkflowConfig.add_member(:instructions, Shapes::ShapeRef.new(shape: HumanTaskInstructions, location_name: "instructions"))
|
1459
1588
|
HumanWorkflowConfig.struct_class = Types::HumanWorkflowConfig
|
1460
1589
|
|
1590
|
+
ImplicitFilterConfiguration.add_member(:metadata_attributes, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaList, required: true, location_name: "metadataAttributes"))
|
1591
|
+
ImplicitFilterConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
1592
|
+
ImplicitFilterConfiguration.struct_class = Types::ImplicitFilterConfiguration
|
1593
|
+
|
1461
1594
|
ImportedModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, required: true, location_name: "modelArn"))
|
1462
1595
|
ImportedModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "modelName"))
|
1463
1596
|
ImportedModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
@@ -1531,8 +1664,13 @@ module Aws::Bedrock
|
|
1531
1664
|
KnowledgeBaseVectorSearchConfiguration.add_member(:number_of_results, Shapes::ShapeRef.new(shape: KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger, location_name: "numberOfResults"))
|
1532
1665
|
KnowledgeBaseVectorSearchConfiguration.add_member(:override_search_type, Shapes::ShapeRef.new(shape: SearchType, location_name: "overrideSearchType"))
|
1533
1666
|
KnowledgeBaseVectorSearchConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
|
1667
|
+
KnowledgeBaseVectorSearchConfiguration.add_member(:implicit_filter_configuration, Shapes::ShapeRef.new(shape: ImplicitFilterConfiguration, location_name: "implicitFilterConfiguration"))
|
1668
|
+
KnowledgeBaseVectorSearchConfiguration.add_member(:reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchRerankingConfiguration, location_name: "rerankingConfiguration"))
|
1534
1669
|
KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
|
1535
1670
|
|
1671
|
+
LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
|
1672
|
+
LegalTerm.struct_class = Types::LegalTerm
|
1673
|
+
|
1536
1674
|
ListCustomModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1537
1675
|
ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1538
1676
|
ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
|
@@ -1543,6 +1681,7 @@ module Aws::Bedrock
|
|
1543
1681
|
ListCustomModelsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
|
1544
1682
|
ListCustomModelsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
1545
1683
|
ListCustomModelsRequest.add_member(:is_owned, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "isOwned"))
|
1684
|
+
ListCustomModelsRequest.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location: "querystring", location_name: "modelStatus"))
|
1546
1685
|
ListCustomModelsRequest.struct_class = Types::ListCustomModelsRequest
|
1547
1686
|
|
1548
1687
|
ListCustomModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
@@ -1564,6 +1703,14 @@ module Aws::Bedrock
|
|
1564
1703
|
ListEvaluationJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: EvaluationSummaries, location_name: "jobSummaries"))
|
1565
1704
|
ListEvaluationJobsResponse.struct_class = Types::ListEvaluationJobsResponse
|
1566
1705
|
|
1706
|
+
ListFoundationModelAgreementOffersRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location: "uri", location_name: "modelId"))
|
1707
|
+
ListFoundationModelAgreementOffersRequest.add_member(:offer_type, Shapes::ShapeRef.new(shape: OfferType, location: "querystring", location_name: "offerType"))
|
1708
|
+
ListFoundationModelAgreementOffersRequest.struct_class = Types::ListFoundationModelAgreementOffersRequest
|
1709
|
+
|
1710
|
+
ListFoundationModelAgreementOffersResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
1711
|
+
ListFoundationModelAgreementOffersResponse.add_member(:offers, Shapes::ShapeRef.new(shape: Offers, required: true, location_name: "offers"))
|
1712
|
+
ListFoundationModelAgreementOffersResponse.struct_class = Types::ListFoundationModelAgreementOffersResponse
|
1713
|
+
|
1567
1714
|
ListFoundationModelsRequest.add_member(:by_provider, Shapes::ShapeRef.new(shape: Provider, location: "querystring", location_name: "byProvider"))
|
1568
1715
|
ListFoundationModelsRequest.add_member(:by_customization_type, Shapes::ShapeRef.new(shape: ModelCustomization, location: "querystring", location_name: "byCustomizationType"))
|
1569
1716
|
ListFoundationModelsRequest.add_member(:by_output_modality, Shapes::ShapeRef.new(shape: ModelModality, location: "querystring", location_name: "byOutputModality"))
|
@@ -1730,6 +1877,17 @@ module Aws::Bedrock
|
|
1730
1877
|
MarketplaceModelEndpointSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
|
1731
1878
|
MarketplaceModelEndpointSummary.struct_class = Types::MarketplaceModelEndpointSummary
|
1732
1879
|
|
1880
|
+
MetadataAttributeSchema.add_member(:key, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaKeyString, required: true, location_name: "key"))
|
1881
|
+
MetadataAttributeSchema.add_member(:type, Shapes::ShapeRef.new(shape: AttributeType, required: true, location_name: "type"))
|
1882
|
+
MetadataAttributeSchema.add_member(:description, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaDescriptionString, required: true, location_name: "description"))
|
1883
|
+
MetadataAttributeSchema.struct_class = Types::MetadataAttributeSchema
|
1884
|
+
|
1885
|
+
MetadataAttributeSchemaList.member = Shapes::ShapeRef.new(shape: MetadataAttributeSchema)
|
1886
|
+
|
1887
|
+
MetadataConfigurationForReranking.add_member(:selection_mode, Shapes::ShapeRef.new(shape: RerankingMetadataSelectionMode, required: true, location_name: "selectionMode"))
|
1888
|
+
MetadataConfigurationForReranking.add_member(:selective_mode_configuration, Shapes::ShapeRef.new(shape: RerankingMetadataSelectiveModeConfiguration, location_name: "selectiveModeConfiguration"))
|
1889
|
+
MetadataConfigurationForReranking.struct_class = Types::MetadataConfigurationForReranking
|
1890
|
+
|
1733
1891
|
ModelCopyJobSummaries.member = Shapes::ShapeRef.new(shape: ModelCopyJobSummary)
|
1734
1892
|
|
1735
1893
|
ModelCopyJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location_name: "jobArn"))
|
@@ -1754,8 +1912,8 @@ module Aws::Bedrock
|
|
1754
1912
|
ModelCustomizationJobSummary.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
|
1755
1913
|
ModelCustomizationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
1756
1914
|
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
1915
|
ModelCustomizationJobSummary.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
|
1916
|
+
ModelCustomizationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1759
1917
|
ModelCustomizationJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1760
1918
|
ModelCustomizationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
1761
1919
|
ModelCustomizationJobSummary.add_member(:custom_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, location_name: "customModelArn"))
|
@@ -1826,6 +1984,13 @@ module Aws::Bedrock
|
|
1826
1984
|
|
1827
1985
|
ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
|
1828
1986
|
|
1987
|
+
Offer.add_member(:offer_id, Shapes::ShapeRef.new(shape: OfferId, location_name: "offerId"))
|
1988
|
+
Offer.add_member(:offer_token, Shapes::ShapeRef.new(shape: OfferToken, required: true, location_name: "offerToken"))
|
1989
|
+
Offer.add_member(:term_details, Shapes::ShapeRef.new(shape: TermDetails, required: true, location_name: "termDetails"))
|
1990
|
+
Offer.struct_class = Types::Offer
|
1991
|
+
|
1992
|
+
Offers.member = Shapes::ShapeRef.new(shape: Offer)
|
1993
|
+
|
1829
1994
|
OrchestrationConfiguration.add_member(:query_transformation_configuration, Shapes::ShapeRef.new(shape: QueryTransformationConfiguration, required: true, location_name: "queryTransformationConfiguration"))
|
1830
1995
|
OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
|
1831
1996
|
|
@@ -1835,6 +2000,9 @@ module Aws::Bedrock
|
|
1835
2000
|
PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
|
1836
2001
|
PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
|
1837
2002
|
|
2003
|
+
PricingTerm.add_member(:rate_card, Shapes::ShapeRef.new(shape: RateCard, required: true, location_name: "rateCard"))
|
2004
|
+
PricingTerm.struct_class = Types::PricingTerm
|
2005
|
+
|
1838
2006
|
PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
|
1839
2007
|
|
1840
2008
|
PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
|
@@ -1878,6 +2046,11 @@ module Aws::Bedrock
|
|
1878
2046
|
|
1879
2047
|
PutModelInvocationLoggingConfigurationResponse.struct_class = Types::PutModelInvocationLoggingConfigurationResponse
|
1880
2048
|
|
2049
|
+
PutUseCaseForModelAccessRequest.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
|
2050
|
+
PutUseCaseForModelAccessRequest.struct_class = Types::PutUseCaseForModelAccessRequest
|
2051
|
+
|
2052
|
+
PutUseCaseForModelAccessResponse.struct_class = Types::PutUseCaseForModelAccessResponse
|
2053
|
+
|
1881
2054
|
QueryTransformationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: QueryTransformationType, required: true, location_name: "type"))
|
1882
2055
|
QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
|
1883
2056
|
|
@@ -1893,6 +2066,8 @@ module Aws::Bedrock
|
|
1893
2066
|
|
1894
2067
|
RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
|
1895
2068
|
|
2069
|
+
RateCard.member = Shapes::ShapeRef.new(shape: DimensionalPriceRate)
|
2070
|
+
|
1896
2071
|
RatingScale.member = Shapes::ShapeRef.new(shape: RatingScaleItem)
|
1897
2072
|
|
1898
2073
|
RatingScaleItem.add_member(:definition, Shapes::ShapeRef.new(shape: RatingScaleItemDefinition, required: true, location_name: "definition"))
|
@@ -1935,6 +2110,14 @@ module Aws::Bedrock
|
|
1935
2110
|
RequestMetadataMap.key = Shapes::ShapeRef.new(shape: RequestMetadataMapKeyString)
|
1936
2111
|
RequestMetadataMap.value = Shapes::ShapeRef.new(shape: RequestMetadataMapValueString)
|
1937
2112
|
|
2113
|
+
RerankingMetadataSelectiveModeConfiguration.add_member(:fields_to_include, Shapes::ShapeRef.new(shape: FieldsForReranking, location_name: "fieldsToInclude"))
|
2114
|
+
RerankingMetadataSelectiveModeConfiguration.add_member(:fields_to_exclude, Shapes::ShapeRef.new(shape: FieldsForReranking, location_name: "fieldsToExclude"))
|
2115
|
+
RerankingMetadataSelectiveModeConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
2116
|
+
RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:fields_to_include, Types::RerankingMetadataSelectiveModeConfiguration::FieldsToInclude)
|
2117
|
+
RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:fields_to_exclude, Types::RerankingMetadataSelectiveModeConfiguration::FieldsToExclude)
|
2118
|
+
RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:unknown, Types::RerankingMetadataSelectiveModeConfiguration::Unknown)
|
2119
|
+
RerankingMetadataSelectiveModeConfiguration.struct_class = Types::RerankingMetadataSelectiveModeConfiguration
|
2120
|
+
|
1938
2121
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
1939
2122
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1940
2123
|
|
@@ -2029,6 +2212,9 @@ module Aws::Bedrock
|
|
2029
2212
|
|
2030
2213
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
2031
2214
|
|
2215
|
+
SupportTerm.add_member(:refund_policy_description, Shapes::ShapeRef.new(shape: String, location_name: "refundPolicyDescription"))
|
2216
|
+
SupportTerm.struct_class = Types::SupportTerm
|
2217
|
+
|
2032
2218
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
2033
2219
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
2034
2220
|
Tag.struct_class = Types::Tag
|
@@ -2047,6 +2233,12 @@ module Aws::Bedrock
|
|
2047
2233
|
TeacherModelConfig.add_member(:max_response_length_for_inference, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResponseLengthForInference"))
|
2048
2234
|
TeacherModelConfig.struct_class = Types::TeacherModelConfig
|
2049
2235
|
|
2236
|
+
TermDetails.add_member(:usage_based_pricing_term, Shapes::ShapeRef.new(shape: PricingTerm, required: true, location_name: "usageBasedPricingTerm"))
|
2237
|
+
TermDetails.add_member(:legal_term, Shapes::ShapeRef.new(shape: LegalTerm, required: true, location_name: "legalTerm"))
|
2238
|
+
TermDetails.add_member(:support_term, Shapes::ShapeRef.new(shape: SupportTerm, required: true, location_name: "supportTerm"))
|
2239
|
+
TermDetails.add_member(:validity_term, Shapes::ShapeRef.new(shape: ValidityTerm, location_name: "validityTerm"))
|
2240
|
+
TermDetails.struct_class = Types::TermDetails
|
2241
|
+
|
2050
2242
|
TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
2051
2243
|
TextInferenceConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
2052
2244
|
TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
@@ -2134,6 +2326,22 @@ module Aws::Bedrock
|
|
2134
2326
|
|
2135
2327
|
Validators.member = Shapes::ShapeRef.new(shape: Validator)
|
2136
2328
|
|
2329
|
+
ValidityTerm.add_member(:agreement_duration, Shapes::ShapeRef.new(shape: String, location_name: "agreementDuration"))
|
2330
|
+
ValidityTerm.struct_class = Types::ValidityTerm
|
2331
|
+
|
2332
|
+
VectorSearchBedrockRerankingConfiguration.add_member(:model_configuration, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingModelConfiguration, required: true, location_name: "modelConfiguration"))
|
2333
|
+
VectorSearchBedrockRerankingConfiguration.add_member(:number_of_reranked_results, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger, location_name: "numberOfRerankedResults"))
|
2334
|
+
VectorSearchBedrockRerankingConfiguration.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfigurationForReranking, location_name: "metadataConfiguration"))
|
2335
|
+
VectorSearchBedrockRerankingConfiguration.struct_class = Types::VectorSearchBedrockRerankingConfiguration
|
2336
|
+
|
2337
|
+
VectorSearchBedrockRerankingModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockRerankingModelArn, required: true, location_name: "modelArn"))
|
2338
|
+
VectorSearchBedrockRerankingModelConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
|
2339
|
+
VectorSearchBedrockRerankingModelConfiguration.struct_class = Types::VectorSearchBedrockRerankingModelConfiguration
|
2340
|
+
|
2341
|
+
VectorSearchRerankingConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: VectorSearchRerankingConfigurationType, required: true, location_name: "type"))
|
2342
|
+
VectorSearchRerankingConfiguration.add_member(:bedrock_reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingConfiguration, location_name: "bedrockRerankingConfiguration"))
|
2343
|
+
VectorSearchRerankingConfiguration.struct_class = Types::VectorSearchRerankingConfiguration
|
2344
|
+
|
2137
2345
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
|
2138
2346
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "securityGroupIds"))
|
2139
2347
|
VpcConfig.struct_class = Types::VpcConfig
|
@@ -2146,7 +2354,7 @@ module Aws::Bedrock
|
|
2146
2354
|
|
2147
2355
|
api.metadata = {
|
2148
2356
|
"apiVersion" => "2023-04-20",
|
2149
|
-
"auth" => ["aws.auth#sigv4"],
|
2357
|
+
"auth" => ["aws.auth#sigv4", "smithy.api#httpBearerAuth"],
|
2150
2358
|
"endpointPrefix" => "bedrock",
|
2151
2359
|
"protocol" => "rest-json",
|
2152
2360
|
"protocols" => ["rest-json"],
|
@@ -2171,6 +2379,22 @@ module Aws::Bedrock
|
|
2171
2379
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2172
2380
|
end)
|
2173
2381
|
|
2382
|
+
api.add_operation(:create_custom_model, Seahorse::Model::Operation.new.tap do |o|
|
2383
|
+
o.name = "CreateCustomModel"
|
2384
|
+
o.http_method = "POST"
|
2385
|
+
o.http_request_uri = "/custom-models/create-custom-model"
|
2386
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCustomModelRequest)
|
2387
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCustomModelResponse)
|
2388
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2389
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2390
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2391
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2392
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2393
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2394
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2395
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2396
|
+
end)
|
2397
|
+
|
2174
2398
|
api.add_operation(:create_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
|
2175
2399
|
o.name = "CreateEvaluationJob"
|
2176
2400
|
o.http_method = "POST"
|
@@ -2186,6 +2410,20 @@ module Aws::Bedrock
|
|
2186
2410
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2187
2411
|
end)
|
2188
2412
|
|
2413
|
+
api.add_operation(:create_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
|
2414
|
+
o.name = "CreateFoundationModelAgreement"
|
2415
|
+
o.http_method = "POST"
|
2416
|
+
o.http_request_uri = "/create-foundation-model-agreement"
|
2417
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFoundationModelAgreementRequest)
|
2418
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFoundationModelAgreementResponse)
|
2419
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2420
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2421
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2422
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2423
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2424
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2425
|
+
end)
|
2426
|
+
|
2189
2427
|
api.add_operation(:create_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2190
2428
|
o.name = "CreateGuardrail"
|
2191
2429
|
o.http_method = "POST"
|
@@ -2352,6 +2590,20 @@ module Aws::Bedrock
|
|
2352
2590
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2353
2591
|
end)
|
2354
2592
|
|
2593
|
+
api.add_operation(:delete_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
|
2594
|
+
o.name = "DeleteFoundationModelAgreement"
|
2595
|
+
o.http_method = "POST"
|
2596
|
+
o.http_request_uri = "/delete-foundation-model-agreement"
|
2597
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFoundationModelAgreementRequest)
|
2598
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteFoundationModelAgreementResponse)
|
2599
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2600
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2601
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2602
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2603
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2604
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2605
|
+
end)
|
2606
|
+
|
2355
2607
|
api.add_operation(:delete_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2356
2608
|
o.name = "DeleteGuardrail"
|
2357
2609
|
o.http_method = "DELETE"
|
@@ -2498,6 +2750,19 @@ module Aws::Bedrock
|
|
2498
2750
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2499
2751
|
end)
|
2500
2752
|
|
2753
|
+
api.add_operation(:get_foundation_model_availability, Seahorse::Model::Operation.new.tap do |o|
|
2754
|
+
o.name = "GetFoundationModelAvailability"
|
2755
|
+
o.http_method = "GET"
|
2756
|
+
o.http_request_uri = "/foundation-model-availability/{modelId}"
|
2757
|
+
o.input = Shapes::ShapeRef.new(shape: GetFoundationModelAvailabilityRequest)
|
2758
|
+
o.output = Shapes::ShapeRef.new(shape: GetFoundationModelAvailabilityResponse)
|
2759
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2760
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2761
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2762
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2763
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2764
|
+
end)
|
2765
|
+
|
2501
2766
|
api.add_operation(:get_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2502
2767
|
o.name = "GetGuardrail"
|
2503
2768
|
o.http_method = "GET"
|
@@ -2639,6 +2904,18 @@ module Aws::Bedrock
|
|
2639
2904
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2640
2905
|
end)
|
2641
2906
|
|
2907
|
+
api.add_operation(:get_use_case_for_model_access, Seahorse::Model::Operation.new.tap do |o|
|
2908
|
+
o.name = "GetUseCaseForModelAccess"
|
2909
|
+
o.http_method = "GET"
|
2910
|
+
o.http_request_uri = "/use-case-for-model-access"
|
2911
|
+
o.input = Shapes::ShapeRef.new(shape: GetUseCaseForModelAccessRequest)
|
2912
|
+
o.output = Shapes::ShapeRef.new(shape: GetUseCaseForModelAccessResponse)
|
2913
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2914
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2915
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2916
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2917
|
+
end)
|
2918
|
+
|
2642
2919
|
api.add_operation(:list_custom_models, Seahorse::Model::Operation.new.tap do |o|
|
2643
2920
|
o.name = "ListCustomModels"
|
2644
2921
|
o.http_method = "GET"
|
@@ -2675,6 +2952,19 @@ module Aws::Bedrock
|
|
2675
2952
|
)
|
2676
2953
|
end)
|
2677
2954
|
|
2955
|
+
api.add_operation(:list_foundation_model_agreement_offers, Seahorse::Model::Operation.new.tap do |o|
|
2956
|
+
o.name = "ListFoundationModelAgreementOffers"
|
2957
|
+
o.http_method = "GET"
|
2958
|
+
o.http_request_uri = "/list-foundation-model-agreement-offers/{modelId}"
|
2959
|
+
o.input = Shapes::ShapeRef.new(shape: ListFoundationModelAgreementOffersRequest)
|
2960
|
+
o.output = Shapes::ShapeRef.new(shape: ListFoundationModelAgreementOffersResponse)
|
2961
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2962
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2963
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2964
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2965
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2966
|
+
end)
|
2967
|
+
|
2678
2968
|
api.add_operation(:list_foundation_models, Seahorse::Model::Operation.new.tap do |o|
|
2679
2969
|
o.name = "ListFoundationModels"
|
2680
2970
|
o.http_method = "GET"
|
@@ -2895,6 +3185,18 @@ module Aws::Bedrock
|
|
2895
3185
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2896
3186
|
end)
|
2897
3187
|
|
3188
|
+
api.add_operation(:put_use_case_for_model_access, Seahorse::Model::Operation.new.tap do |o|
|
3189
|
+
o.name = "PutUseCaseForModelAccess"
|
3190
|
+
o.http_method = "POST"
|
3191
|
+
o.http_request_uri = "/use-case-for-model-access"
|
3192
|
+
o.input = Shapes::ShapeRef.new(shape: PutUseCaseForModelAccessRequest)
|
3193
|
+
o.output = Shapes::ShapeRef.new(shape: PutUseCaseForModelAccessResponse)
|
3194
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3195
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3196
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3197
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3198
|
+
end)
|
3199
|
+
|
2898
3200
|
api.add_operation(:register_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
2899
3201
|
o.name = "RegisterMarketplaceModelEndpoint"
|
2900
3202
|
o.http_method = "POST"
|