aws-sdk-bedrock 1.46.0 → 1.56.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 +52 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +786 -18
- data/lib/aws-sdk-bedrock/client_api.rb +438 -7
- data/lib/aws-sdk-bedrock/plugins/bearer_authorization.rb +27 -0
- data/lib/aws-sdk-bedrock/types.rb +1119 -22
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +249 -9
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +288 -7
- metadata +5 -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,14 @@ 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
|
+
CreateCustomModelDeploymentRequest = Shapes::StructureShape.new(name: 'CreateCustomModelDeploymentRequest')
|
56
|
+
CreateCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'CreateCustomModelDeploymentResponse')
|
57
|
+
CreateCustomModelRequest = Shapes::StructureShape.new(name: 'CreateCustomModelRequest')
|
58
|
+
CreateCustomModelResponse = Shapes::StructureShape.new(name: 'CreateCustomModelResponse')
|
49
59
|
CreateEvaluationJobRequest = Shapes::StructureShape.new(name: 'CreateEvaluationJobRequest')
|
50
60
|
CreateEvaluationJobResponse = Shapes::StructureShape.new(name: 'CreateEvaluationJobResponse')
|
61
|
+
CreateFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementRequest')
|
62
|
+
CreateFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'CreateFoundationModelAgreementResponse')
|
51
63
|
CreateGuardrailRequest = Shapes::StructureShape.new(name: 'CreateGuardrailRequest')
|
52
64
|
CreateGuardrailResponse = Shapes::StructureShape.new(name: 'CreateGuardrailResponse')
|
53
65
|
CreateGuardrailVersionRequest = Shapes::StructureShape.new(name: 'CreateGuardrailVersionRequest')
|
@@ -74,6 +86,12 @@ module Aws::Bedrock
|
|
74
86
|
CustomMetricEvaluatorModelConfig = Shapes::StructureShape.new(name: 'CustomMetricEvaluatorModelConfig')
|
75
87
|
CustomMetricInstructions = Shapes::StringShape.new(name: 'CustomMetricInstructions')
|
76
88
|
CustomModelArn = Shapes::StringShape.new(name: 'CustomModelArn')
|
89
|
+
CustomModelDeploymentArn = Shapes::StringShape.new(name: 'CustomModelDeploymentArn')
|
90
|
+
CustomModelDeploymentDescription = Shapes::StringShape.new(name: 'CustomModelDeploymentDescription')
|
91
|
+
CustomModelDeploymentIdentifier = Shapes::StringShape.new(name: 'CustomModelDeploymentIdentifier')
|
92
|
+
CustomModelDeploymentStatus = Shapes::StringShape.new(name: 'CustomModelDeploymentStatus')
|
93
|
+
CustomModelDeploymentSummary = Shapes::StructureShape.new(name: 'CustomModelDeploymentSummary')
|
94
|
+
CustomModelDeploymentSummaryList = Shapes::ListShape.new(name: 'CustomModelDeploymentSummaryList')
|
77
95
|
CustomModelName = Shapes::StringShape.new(name: 'CustomModelName')
|
78
96
|
CustomModelSummary = Shapes::StructureShape.new(name: 'CustomModelSummary')
|
79
97
|
CustomModelSummaryList = Shapes::ListShape.new(name: 'CustomModelSummaryList')
|
@@ -82,8 +100,12 @@ module Aws::Bedrock
|
|
82
100
|
CustomizationConfig = Shapes::UnionShape.new(name: 'CustomizationConfig')
|
83
101
|
CustomizationType = Shapes::StringShape.new(name: 'CustomizationType')
|
84
102
|
DataProcessingDetails = Shapes::StructureShape.new(name: 'DataProcessingDetails')
|
103
|
+
DeleteCustomModelDeploymentRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelDeploymentRequest')
|
104
|
+
DeleteCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelDeploymentResponse')
|
85
105
|
DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
|
86
106
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
107
|
+
DeleteFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementRequest')
|
108
|
+
DeleteFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementResponse')
|
87
109
|
DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
|
88
110
|
DeleteGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteGuardrailResponse')
|
89
111
|
DeleteImportedModelRequest = Shapes::StructureShape.new(name: 'DeleteImportedModelRequest')
|
@@ -100,9 +122,11 @@ module Aws::Bedrock
|
|
100
122
|
DeleteProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputResponse')
|
101
123
|
DeregisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointRequest')
|
102
124
|
DeregisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'DeregisterMarketplaceModelEndpointResponse')
|
125
|
+
DimensionalPriceRate = Shapes::StructureShape.new(name: 'DimensionalPriceRate')
|
103
126
|
DistillationConfig = Shapes::StructureShape.new(name: 'DistillationConfig')
|
104
127
|
EndpointConfig = Shapes::UnionShape.new(name: 'EndpointConfig')
|
105
128
|
EndpointName = Shapes::StringShape.new(name: 'EndpointName')
|
129
|
+
EntitlementAvailability = Shapes::StringShape.new(name: 'EntitlementAvailability')
|
106
130
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
107
131
|
ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
|
108
132
|
EvaluationBedrockKnowledgeBaseIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockKnowledgeBaseIdentifiers')
|
@@ -154,6 +178,9 @@ module Aws::Bedrock
|
|
154
178
|
ExternalSources = Shapes::ListShape.new(name: 'ExternalSources')
|
155
179
|
ExternalSourcesGenerationConfiguration = Shapes::StructureShape.new(name: 'ExternalSourcesGenerationConfiguration')
|
156
180
|
ExternalSourcesRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'ExternalSourcesRetrieveAndGenerateConfiguration')
|
181
|
+
FieldForReranking = Shapes::StructureShape.new(name: 'FieldForReranking')
|
182
|
+
FieldForRerankingFieldNameString = Shapes::StringShape.new(name: 'FieldForRerankingFieldNameString')
|
183
|
+
FieldsForReranking = Shapes::ListShape.new(name: 'FieldsForReranking')
|
157
184
|
FilterAttribute = Shapes::StructureShape.new(name: 'FilterAttribute')
|
158
185
|
FilterKey = Shapes::StringShape.new(name: 'FilterKey')
|
159
186
|
FilterValue = Shapes::DocumentShape.new(name: 'FilterValue', document: true)
|
@@ -166,10 +193,14 @@ module Aws::Bedrock
|
|
166
193
|
FoundationModelSummary = Shapes::StructureShape.new(name: 'FoundationModelSummary')
|
167
194
|
FoundationModelSummaryList = Shapes::ListShape.new(name: 'FoundationModelSummaryList')
|
168
195
|
GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
|
196
|
+
GetCustomModelDeploymentRequest = Shapes::StructureShape.new(name: 'GetCustomModelDeploymentRequest')
|
197
|
+
GetCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'GetCustomModelDeploymentResponse')
|
169
198
|
GetCustomModelRequest = Shapes::StructureShape.new(name: 'GetCustomModelRequest')
|
170
199
|
GetCustomModelResponse = Shapes::StructureShape.new(name: 'GetCustomModelResponse')
|
171
200
|
GetEvaluationJobRequest = Shapes::StructureShape.new(name: 'GetEvaluationJobRequest')
|
172
201
|
GetEvaluationJobResponse = Shapes::StructureShape.new(name: 'GetEvaluationJobResponse')
|
202
|
+
GetFoundationModelAvailabilityRequest = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityRequest')
|
203
|
+
GetFoundationModelAvailabilityResponse = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityResponse')
|
173
204
|
GetFoundationModelRequest = Shapes::StructureShape.new(name: 'GetFoundationModelRequest')
|
174
205
|
GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
|
175
206
|
GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
|
@@ -194,6 +225,8 @@ module Aws::Bedrock
|
|
194
225
|
GetPromptRouterResponse = Shapes::StructureShape.new(name: 'GetPromptRouterResponse')
|
195
226
|
GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
|
196
227
|
GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
|
228
|
+
GetUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessRequest')
|
229
|
+
GetUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'GetUseCaseForModelAccessResponse')
|
197
230
|
GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
|
198
231
|
GuardrailBlockedMessaging = Shapes::StringShape.new(name: 'GuardrailBlockedMessaging')
|
199
232
|
GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
|
@@ -205,6 +238,9 @@ module Aws::Bedrock
|
|
205
238
|
GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
|
206
239
|
GuardrailContentFilters = Shapes::ListShape.new(name: 'GuardrailContentFilters')
|
207
240
|
GuardrailContentFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContentFiltersConfig')
|
241
|
+
GuardrailContentFiltersTier = Shapes::StructureShape.new(name: 'GuardrailContentFiltersTier')
|
242
|
+
GuardrailContentFiltersTierConfig = Shapes::StructureShape.new(name: 'GuardrailContentFiltersTierConfig')
|
243
|
+
GuardrailContentFiltersTierName = Shapes::StringShape.new(name: 'GuardrailContentFiltersTierName')
|
208
244
|
GuardrailContentPolicy = Shapes::StructureShape.new(name: 'GuardrailContentPolicy')
|
209
245
|
GuardrailContentPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailContentPolicyConfig')
|
210
246
|
GuardrailContextualGroundingAction = Shapes::StringShape.new(name: 'GuardrailContextualGroundingAction')
|
@@ -273,6 +309,9 @@ module Aws::Bedrock
|
|
273
309
|
GuardrailTopicType = Shapes::StringShape.new(name: 'GuardrailTopicType')
|
274
310
|
GuardrailTopics = Shapes::ListShape.new(name: 'GuardrailTopics')
|
275
311
|
GuardrailTopicsConfig = Shapes::ListShape.new(name: 'GuardrailTopicsConfig')
|
312
|
+
GuardrailTopicsTier = Shapes::StructureShape.new(name: 'GuardrailTopicsTier')
|
313
|
+
GuardrailTopicsTierConfig = Shapes::StructureShape.new(name: 'GuardrailTopicsTierConfig')
|
314
|
+
GuardrailTopicsTierName = Shapes::StringShape.new(name: 'GuardrailTopicsTierName')
|
276
315
|
GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
|
277
316
|
GuardrailWord = Shapes::StructureShape.new(name: 'GuardrailWord')
|
278
317
|
GuardrailWordAction = Shapes::StringShape.new(name: 'GuardrailWordAction')
|
@@ -290,6 +329,7 @@ module Aws::Bedrock
|
|
290
329
|
HumanWorkflowConfig = Shapes::StructureShape.new(name: 'HumanWorkflowConfig')
|
291
330
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
292
331
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
332
|
+
ImplicitFilterConfiguration = Shapes::StructureShape.new(name: 'ImplicitFilterConfiguration')
|
293
333
|
ImportedModelArn = Shapes::StringShape.new(name: 'ImportedModelArn')
|
294
334
|
ImportedModelIdentifier = Shapes::StringShape.new(name: 'ImportedModelIdentifier')
|
295
335
|
ImportedModelName = Shapes::StringShape.new(name: 'ImportedModelName')
|
@@ -329,10 +369,15 @@ module Aws::Bedrock
|
|
329
369
|
KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
|
330
370
|
KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
|
331
371
|
KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
|
372
|
+
LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
|
373
|
+
ListCustomModelDeploymentsRequest = Shapes::StructureShape.new(name: 'ListCustomModelDeploymentsRequest')
|
374
|
+
ListCustomModelDeploymentsResponse = Shapes::StructureShape.new(name: 'ListCustomModelDeploymentsResponse')
|
332
375
|
ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
|
333
376
|
ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
|
334
377
|
ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
|
335
378
|
ListEvaluationJobsResponse = Shapes::StructureShape.new(name: 'ListEvaluationJobsResponse')
|
379
|
+
ListFoundationModelAgreementOffersRequest = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersRequest')
|
380
|
+
ListFoundationModelAgreementOffersResponse = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersResponse')
|
336
381
|
ListFoundationModelsRequest = Shapes::StructureShape.new(name: 'ListFoundationModelsRequest')
|
337
382
|
ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
|
338
383
|
ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
|
@@ -365,6 +410,11 @@ module Aws::Bedrock
|
|
365
410
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
366
411
|
MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
|
367
412
|
Message = Shapes::StringShape.new(name: 'Message')
|
413
|
+
MetadataAttributeSchema = Shapes::StructureShape.new(name: 'MetadataAttributeSchema')
|
414
|
+
MetadataAttributeSchemaDescriptionString = Shapes::StringShape.new(name: 'MetadataAttributeSchemaDescriptionString')
|
415
|
+
MetadataAttributeSchemaKeyString = Shapes::StringShape.new(name: 'MetadataAttributeSchemaKeyString')
|
416
|
+
MetadataAttributeSchemaList = Shapes::ListShape.new(name: 'MetadataAttributeSchemaList')
|
417
|
+
MetadataConfigurationForReranking = Shapes::StructureShape.new(name: 'MetadataConfigurationForReranking')
|
368
418
|
MetricFloat = Shapes::FloatShape.new(name: 'MetricFloat')
|
369
419
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
370
420
|
ModelArchitecture = Shapes::StringShape.new(name: 'ModelArchitecture')
|
@@ -382,6 +432,7 @@ module Aws::Bedrock
|
|
382
432
|
ModelCustomizationJobSummary = Shapes::StructureShape.new(name: 'ModelCustomizationJobSummary')
|
383
433
|
ModelCustomizationList = Shapes::ListShape.new(name: 'ModelCustomizationList')
|
384
434
|
ModelDataSource = Shapes::UnionShape.new(name: 'ModelDataSource')
|
435
|
+
ModelDeploymentName = Shapes::StringShape.new(name: 'ModelDeploymentName')
|
385
436
|
ModelId = Shapes::StringShape.new(name: 'ModelId')
|
386
437
|
ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
|
387
438
|
ModelImportJobArn = Shapes::StringShape.new(name: 'ModelImportJobArn')
|
@@ -405,13 +456,20 @@ module Aws::Bedrock
|
|
405
456
|
ModelModalityList = Shapes::ListShape.new(name: 'ModelModalityList')
|
406
457
|
ModelName = Shapes::StringShape.new(name: 'ModelName')
|
407
458
|
ModelSourceIdentifier = Shapes::StringShape.new(name: 'ModelSourceIdentifier')
|
459
|
+
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
408
460
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
461
|
+
Offer = Shapes::StructureShape.new(name: 'Offer')
|
462
|
+
OfferId = Shapes::StringShape.new(name: 'OfferId')
|
463
|
+
OfferToken = Shapes::StringShape.new(name: 'OfferToken')
|
464
|
+
OfferType = Shapes::StringShape.new(name: 'OfferType')
|
465
|
+
Offers = Shapes::ListShape.new(name: 'Offers')
|
409
466
|
OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
|
410
467
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
411
468
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
412
469
|
PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
|
413
470
|
PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
|
414
471
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
472
|
+
PricingTerm = Shapes::StructureShape.new(name: 'PricingTerm')
|
415
473
|
PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
|
416
474
|
PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
|
417
475
|
PromptRouterName = Shapes::StringShape.new(name: 'PromptRouterName')
|
@@ -432,17 +490,21 @@ module Aws::Bedrock
|
|
432
490
|
ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
|
433
491
|
PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
|
434
492
|
PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
|
493
|
+
PutUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessRequest')
|
494
|
+
PutUseCaseForModelAccessResponse = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessResponse')
|
435
495
|
QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
|
436
496
|
QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
|
437
497
|
RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
|
438
498
|
RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
|
439
499
|
RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
|
440
500
|
RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
|
501
|
+
RateCard = Shapes::ListShape.new(name: 'RateCard')
|
441
502
|
RatingScale = Shapes::ListShape.new(name: 'RatingScale')
|
442
503
|
RatingScaleItem = Shapes::StructureShape.new(name: 'RatingScaleItem')
|
443
504
|
RatingScaleItemDefinition = Shapes::StringShape.new(name: 'RatingScaleItemDefinition')
|
444
505
|
RatingScaleItemValue = Shapes::UnionShape.new(name: 'RatingScaleItemValue')
|
445
506
|
RatingScaleItemValueStringValueString = Shapes::StringShape.new(name: 'RatingScaleItemValueStringValueString')
|
507
|
+
RegionAvailability = Shapes::StringShape.new(name: 'RegionAvailability')
|
446
508
|
RegisterMarketplaceModelEndpointRequest = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointRequest')
|
447
509
|
RegisterMarketplaceModelEndpointResponse = Shapes::StructureShape.new(name: 'RegisterMarketplaceModelEndpointResponse')
|
448
510
|
RequestMetadataBaseFilters = Shapes::StructureShape.new(name: 'RequestMetadataBaseFilters')
|
@@ -451,6 +513,8 @@ module Aws::Bedrock
|
|
451
513
|
RequestMetadataMap = Shapes::MapShape.new(name: 'RequestMetadataMap')
|
452
514
|
RequestMetadataMapKeyString = Shapes::StringShape.new(name: 'RequestMetadataMapKeyString')
|
453
515
|
RequestMetadataMapValueString = Shapes::StringShape.new(name: 'RequestMetadataMapValueString')
|
516
|
+
RerankingMetadataSelectionMode = Shapes::StringShape.new(name: 'RerankingMetadataSelectionMode')
|
517
|
+
RerankingMetadataSelectiveModeConfiguration = Shapes::UnionShape.new(name: 'RerankingMetadataSelectiveModeConfiguration')
|
454
518
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
455
519
|
RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
|
456
520
|
RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
|
@@ -487,6 +551,7 @@ module Aws::Bedrock
|
|
487
551
|
String = Shapes::StringShape.new(name: 'String')
|
488
552
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
489
553
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
554
|
+
SupportTerm = Shapes::StructureShape.new(name: 'SupportTerm')
|
490
555
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
491
556
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
492
557
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -498,6 +563,7 @@ module Aws::Bedrock
|
|
498
563
|
TeacherModelConfig = Shapes::StructureShape.new(name: 'TeacherModelConfig')
|
499
564
|
TeacherModelIdentifier = Shapes::StringShape.new(name: 'TeacherModelIdentifier')
|
500
565
|
Temperature = Shapes::FloatShape.new(name: 'Temperature')
|
566
|
+
TermDetails = Shapes::StructureShape.new(name: 'TermDetails')
|
501
567
|
TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
|
502
568
|
TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
|
503
569
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
@@ -523,6 +589,12 @@ module Aws::Bedrock
|
|
523
589
|
Validator = Shapes::StructureShape.new(name: 'Validator')
|
524
590
|
ValidatorMetric = Shapes::StructureShape.new(name: 'ValidatorMetric')
|
525
591
|
Validators = Shapes::ListShape.new(name: 'Validators')
|
592
|
+
ValidityTerm = Shapes::StructureShape.new(name: 'ValidityTerm')
|
593
|
+
VectorSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingConfiguration')
|
594
|
+
VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger = Shapes::IntegerShape.new(name: 'VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger')
|
595
|
+
VectorSearchBedrockRerankingModelConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingModelConfiguration')
|
596
|
+
VectorSearchRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchRerankingConfiguration')
|
597
|
+
VectorSearchRerankingConfigurationType = Shapes::StringShape.new(name: 'VectorSearchRerankingConfigurationType')
|
526
598
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
527
599
|
kBS3Uri = Shapes::StringShape.new(name: 'kBS3Uri')
|
528
600
|
|
@@ -532,6 +604,10 @@ module Aws::Bedrock
|
|
532
604
|
AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
|
533
605
|
AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
|
534
606
|
|
607
|
+
AgreementAvailability.add_member(:status, Shapes::ShapeRef.new(shape: AgreementStatus, required: true, location_name: "status"))
|
608
|
+
AgreementAvailability.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
|
609
|
+
AgreementAvailability.struct_class = Types::AgreementAvailability
|
610
|
+
|
535
611
|
AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
|
536
612
|
AutomatedEvaluationConfig.add_member(:evaluator_model_config, Shapes::ShapeRef.new(shape: EvaluatorModelConfig, location_name: "evaluatorModelConfig"))
|
537
613
|
AutomatedEvaluationConfig.add_member(:custom_metric_config, Shapes::ShapeRef.new(shape: AutomatedEvaluationCustomMetricConfig, location_name: "customMetricConfig"))
|
@@ -587,6 +663,27 @@ module Aws::Bedrock
|
|
587
663
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
588
664
|
ConflictException.struct_class = Types::ConflictException
|
589
665
|
|
666
|
+
CreateCustomModelDeploymentRequest.add_member(:model_deployment_name, Shapes::ShapeRef.new(shape: ModelDeploymentName, required: true, location_name: "modelDeploymentName"))
|
667
|
+
CreateCustomModelDeploymentRequest.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
|
668
|
+
CreateCustomModelDeploymentRequest.add_member(:description, Shapes::ShapeRef.new(shape: CustomModelDeploymentDescription, location_name: "description"))
|
669
|
+
CreateCustomModelDeploymentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
670
|
+
CreateCustomModelDeploymentRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
671
|
+
CreateCustomModelDeploymentRequest.struct_class = Types::CreateCustomModelDeploymentRequest
|
672
|
+
|
673
|
+
CreateCustomModelDeploymentResponse.add_member(:custom_model_deployment_arn, Shapes::ShapeRef.new(shape: CustomModelDeploymentArn, required: true, location_name: "customModelDeploymentArn"))
|
674
|
+
CreateCustomModelDeploymentResponse.struct_class = Types::CreateCustomModelDeploymentResponse
|
675
|
+
|
676
|
+
CreateCustomModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
677
|
+
CreateCustomModelRequest.add_member(:model_source_config, Shapes::ShapeRef.new(shape: ModelDataSource, required: true, location_name: "modelSourceConfig"))
|
678
|
+
CreateCustomModelRequest.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
679
|
+
CreateCustomModelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
680
|
+
CreateCustomModelRequest.add_member(:model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "modelTags"))
|
681
|
+
CreateCustomModelRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
682
|
+
CreateCustomModelRequest.struct_class = Types::CreateCustomModelRequest
|
683
|
+
|
684
|
+
CreateCustomModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
685
|
+
CreateCustomModelResponse.struct_class = Types::CreateCustomModelResponse
|
686
|
+
|
590
687
|
CreateEvaluationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: EvaluationJobName, required: true, location_name: "jobName"))
|
591
688
|
CreateEvaluationJobRequest.add_member(:job_description, Shapes::ShapeRef.new(shape: EvaluationJobDescription, location_name: "jobDescription"))
|
592
689
|
CreateEvaluationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
@@ -602,6 +699,13 @@ module Aws::Bedrock
|
|
602
699
|
CreateEvaluationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: EvaluationJobArn, required: true, location_name: "jobArn"))
|
603
700
|
CreateEvaluationJobResponse.struct_class = Types::CreateEvaluationJobResponse
|
604
701
|
|
702
|
+
CreateFoundationModelAgreementRequest.add_member(:offer_token, Shapes::ShapeRef.new(shape: OfferToken, required: true, location_name: "offerToken"))
|
703
|
+
CreateFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
704
|
+
CreateFoundationModelAgreementRequest.struct_class = Types::CreateFoundationModelAgreementRequest
|
705
|
+
|
706
|
+
CreateFoundationModelAgreementResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
707
|
+
CreateFoundationModelAgreementResponse.struct_class = Types::CreateFoundationModelAgreementResponse
|
708
|
+
|
605
709
|
CreateGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailName, required: true, location_name: "name"))
|
606
710
|
CreateGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailDescription, location_name: "description"))
|
607
711
|
CreateGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
|
@@ -748,6 +852,17 @@ module Aws::Bedrock
|
|
748
852
|
CustomMetricEvaluatorModelConfig.add_member(:bedrock_evaluator_models, Shapes::ShapeRef.new(shape: CustomMetricBedrockEvaluatorModels, required: true, location_name: "bedrockEvaluatorModels"))
|
749
853
|
CustomMetricEvaluatorModelConfig.struct_class = Types::CustomMetricEvaluatorModelConfig
|
750
854
|
|
855
|
+
CustomModelDeploymentSummary.add_member(:custom_model_deployment_arn, Shapes::ShapeRef.new(shape: CustomModelDeploymentArn, required: true, location_name: "customModelDeploymentArn"))
|
856
|
+
CustomModelDeploymentSummary.add_member(:custom_model_deployment_name, Shapes::ShapeRef.new(shape: ModelDeploymentName, required: true, location_name: "customModelDeploymentName"))
|
857
|
+
CustomModelDeploymentSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
858
|
+
CustomModelDeploymentSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
859
|
+
CustomModelDeploymentSummary.add_member(:status, Shapes::ShapeRef.new(shape: CustomModelDeploymentStatus, required: true, location_name: "status"))
|
860
|
+
CustomModelDeploymentSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
|
861
|
+
CustomModelDeploymentSummary.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
862
|
+
CustomModelDeploymentSummary.struct_class = Types::CustomModelDeploymentSummary
|
863
|
+
|
864
|
+
CustomModelDeploymentSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelDeploymentSummary)
|
865
|
+
|
751
866
|
CustomModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
|
752
867
|
CustomModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
753
868
|
CustomModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
@@ -755,6 +870,7 @@ module Aws::Bedrock
|
|
755
870
|
CustomModelSummary.add_member(:base_model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "baseModelName"))
|
756
871
|
CustomModelSummary.add_member(:customization_type, Shapes::ShapeRef.new(shape: CustomizationType, location_name: "customizationType"))
|
757
872
|
CustomModelSummary.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "ownerAccountId"))
|
873
|
+
CustomModelSummary.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "modelStatus"))
|
758
874
|
CustomModelSummary.struct_class = Types::CustomModelSummary
|
759
875
|
|
760
876
|
CustomModelSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelSummary)
|
@@ -774,11 +890,21 @@ module Aws::Bedrock
|
|
774
890
|
DataProcessingDetails.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
775
891
|
DataProcessingDetails.struct_class = Types::DataProcessingDetails
|
776
892
|
|
893
|
+
DeleteCustomModelDeploymentRequest.add_member(:custom_model_deployment_identifier, Shapes::ShapeRef.new(shape: CustomModelDeploymentIdentifier, required: true, location: "uri", location_name: "customModelDeploymentIdentifier"))
|
894
|
+
DeleteCustomModelDeploymentRequest.struct_class = Types::DeleteCustomModelDeploymentRequest
|
895
|
+
|
896
|
+
DeleteCustomModelDeploymentResponse.struct_class = Types::DeleteCustomModelDeploymentResponse
|
897
|
+
|
777
898
|
DeleteCustomModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
778
899
|
DeleteCustomModelRequest.struct_class = Types::DeleteCustomModelRequest
|
779
900
|
|
780
901
|
DeleteCustomModelResponse.struct_class = Types::DeleteCustomModelResponse
|
781
902
|
|
903
|
+
DeleteFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
904
|
+
DeleteFoundationModelAgreementRequest.struct_class = Types::DeleteFoundationModelAgreementRequest
|
905
|
+
|
906
|
+
DeleteFoundationModelAgreementResponse.struct_class = Types::DeleteFoundationModelAgreementResponse
|
907
|
+
|
782
908
|
DeleteGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
|
783
909
|
DeleteGuardrailRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, location: "querystring", location_name: "guardrailVersion"))
|
784
910
|
DeleteGuardrailRequest.struct_class = Types::DeleteGuardrailRequest
|
@@ -819,6 +945,12 @@ module Aws::Bedrock
|
|
819
945
|
|
820
946
|
DeregisterMarketplaceModelEndpointResponse.struct_class = Types::DeregisterMarketplaceModelEndpointResponse
|
821
947
|
|
948
|
+
DimensionalPriceRate.add_member(:dimension, Shapes::ShapeRef.new(shape: String, location_name: "dimension"))
|
949
|
+
DimensionalPriceRate.add_member(:price, Shapes::ShapeRef.new(shape: String, location_name: "price"))
|
950
|
+
DimensionalPriceRate.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
951
|
+
DimensionalPriceRate.add_member(:unit, Shapes::ShapeRef.new(shape: String, location_name: "unit"))
|
952
|
+
DimensionalPriceRate.struct_class = Types::DimensionalPriceRate
|
953
|
+
|
822
954
|
DistillationConfig.add_member(:teacher_model_config, Shapes::ShapeRef.new(shape: TeacherModelConfig, required: true, location_name: "teacherModelConfig"))
|
823
955
|
DistillationConfig.struct_class = Types::DistillationConfig
|
824
956
|
|
@@ -966,6 +1098,11 @@ module Aws::Bedrock
|
|
966
1098
|
ExternalSourcesRetrieveAndGenerateConfiguration.add_member(:generation_configuration, Shapes::ShapeRef.new(shape: ExternalSourcesGenerationConfiguration, location_name: "generationConfiguration"))
|
967
1099
|
ExternalSourcesRetrieveAndGenerateConfiguration.struct_class = Types::ExternalSourcesRetrieveAndGenerateConfiguration
|
968
1100
|
|
1101
|
+
FieldForReranking.add_member(:field_name, Shapes::ShapeRef.new(shape: FieldForRerankingFieldNameString, required: true, location_name: "fieldName"))
|
1102
|
+
FieldForReranking.struct_class = Types::FieldForReranking
|
1103
|
+
|
1104
|
+
FieldsForReranking.member = Shapes::ShapeRef.new(shape: FieldForReranking)
|
1105
|
+
|
969
1106
|
FilterAttribute.add_member(:key, Shapes::ShapeRef.new(shape: FilterKey, required: true, location_name: "key"))
|
970
1107
|
FilterAttribute.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, required: true, location_name: "value"))
|
971
1108
|
FilterAttribute.struct_class = Types::FilterAttribute
|
@@ -1005,24 +1142,39 @@ module Aws::Bedrock
|
|
1005
1142
|
GenerationConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
|
1006
1143
|
GenerationConfiguration.struct_class = Types::GenerationConfiguration
|
1007
1144
|
|
1145
|
+
GetCustomModelDeploymentRequest.add_member(:custom_model_deployment_identifier, Shapes::ShapeRef.new(shape: CustomModelDeploymentIdentifier, required: true, location: "uri", location_name: "customModelDeploymentIdentifier"))
|
1146
|
+
GetCustomModelDeploymentRequest.struct_class = Types::GetCustomModelDeploymentRequest
|
1147
|
+
|
1148
|
+
GetCustomModelDeploymentResponse.add_member(:custom_model_deployment_arn, Shapes::ShapeRef.new(shape: CustomModelDeploymentArn, required: true, location_name: "customModelDeploymentArn"))
|
1149
|
+
GetCustomModelDeploymentResponse.add_member(:model_deployment_name, Shapes::ShapeRef.new(shape: ModelDeploymentName, required: true, location_name: "modelDeploymentName"))
|
1150
|
+
GetCustomModelDeploymentResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
|
1151
|
+
GetCustomModelDeploymentResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
1152
|
+
GetCustomModelDeploymentResponse.add_member(:status, Shapes::ShapeRef.new(shape: CustomModelDeploymentStatus, required: true, location_name: "status"))
|
1153
|
+
GetCustomModelDeploymentResponse.add_member(:description, Shapes::ShapeRef.new(shape: CustomModelDeploymentDescription, location_name: "description"))
|
1154
|
+
GetCustomModelDeploymentResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
1155
|
+
GetCustomModelDeploymentResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
|
1156
|
+
GetCustomModelDeploymentResponse.struct_class = Types::GetCustomModelDeploymentResponse
|
1157
|
+
|
1008
1158
|
GetCustomModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
1009
1159
|
GetCustomModelRequest.struct_class = Types::GetCustomModelRequest
|
1010
1160
|
|
1011
1161
|
GetCustomModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
1012
1162
|
GetCustomModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
1013
1163
|
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,
|
1164
|
+
GetCustomModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, location_name: "jobArn"))
|
1165
|
+
GetCustomModelResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "baseModelArn"))
|
1016
1166
|
GetCustomModelResponse.add_member(:customization_type, Shapes::ShapeRef.new(shape: CustomizationType, location_name: "customizationType"))
|
1017
1167
|
GetCustomModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
1018
1168
|
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,
|
1169
|
+
GetCustomModelResponse.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, location_name: "trainingDataConfig"))
|
1020
1170
|
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,
|
1171
|
+
GetCustomModelResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "outputDataConfig"))
|
1022
1172
|
GetCustomModelResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
|
1023
1173
|
GetCustomModelResponse.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: ValidationMetrics, location_name: "validationMetrics"))
|
1024
1174
|
GetCustomModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1025
1175
|
GetCustomModelResponse.add_member(:customization_config, Shapes::ShapeRef.new(shape: CustomizationConfig, location_name: "customizationConfig"))
|
1176
|
+
GetCustomModelResponse.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "modelStatus"))
|
1177
|
+
GetCustomModelResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
1026
1178
|
GetCustomModelResponse.struct_class = Types::GetCustomModelResponse
|
1027
1179
|
|
1028
1180
|
GetEvaluationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
@@ -1044,6 +1196,16 @@ module Aws::Bedrock
|
|
1044
1196
|
GetEvaluationJobResponse.add_member(:failure_messages, Shapes::ShapeRef.new(shape: ErrorMessages, location_name: "failureMessages"))
|
1045
1197
|
GetEvaluationJobResponse.struct_class = Types::GetEvaluationJobResponse
|
1046
1198
|
|
1199
|
+
GetFoundationModelAvailabilityRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location: "uri", location_name: "modelId"))
|
1200
|
+
GetFoundationModelAvailabilityRequest.struct_class = Types::GetFoundationModelAvailabilityRequest
|
1201
|
+
|
1202
|
+
GetFoundationModelAvailabilityResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
1203
|
+
GetFoundationModelAvailabilityResponse.add_member(:agreement_availability, Shapes::ShapeRef.new(shape: AgreementAvailability, required: true, location_name: "agreementAvailability"))
|
1204
|
+
GetFoundationModelAvailabilityResponse.add_member(:authorization_status, Shapes::ShapeRef.new(shape: AuthorizationStatus, required: true, location_name: "authorizationStatus"))
|
1205
|
+
GetFoundationModelAvailabilityResponse.add_member(:entitlement_availability, Shapes::ShapeRef.new(shape: EntitlementAvailability, required: true, location_name: "entitlementAvailability"))
|
1206
|
+
GetFoundationModelAvailabilityResponse.add_member(:region_availability, Shapes::ShapeRef.new(shape: RegionAvailability, required: true, location_name: "regionAvailability"))
|
1207
|
+
GetFoundationModelAvailabilityResponse.struct_class = Types::GetFoundationModelAvailabilityResponse
|
1208
|
+
|
1047
1209
|
GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
1048
1210
|
GetFoundationModelRequest.struct_class = Types::GetFoundationModelRequest
|
1049
1211
|
|
@@ -1136,8 +1298,8 @@ module Aws::Bedrock
|
|
1136
1298
|
GetModelCustomizationJobResponse.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken"))
|
1137
1299
|
GetModelCustomizationJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
1138
1300
|
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
1301
|
GetModelCustomizationJobResponse.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
|
1302
|
+
GetModelCustomizationJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
1141
1303
|
GetModelCustomizationJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1142
1304
|
GetModelCustomizationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1143
1305
|
GetModelCustomizationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
@@ -1230,6 +1392,11 @@ module Aws::Bedrock
|
|
1230
1392
|
GetProvisionedModelThroughputResponse.add_member(:commitment_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "commitmentExpirationTime"))
|
1231
1393
|
GetProvisionedModelThroughputResponse.struct_class = Types::GetProvisionedModelThroughputResponse
|
1232
1394
|
|
1395
|
+
GetUseCaseForModelAccessRequest.struct_class = Types::GetUseCaseForModelAccessRequest
|
1396
|
+
|
1397
|
+
GetUseCaseForModelAccessResponse.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
|
1398
|
+
GetUseCaseForModelAccessResponse.struct_class = Types::GetUseCaseForModelAccessResponse
|
1399
|
+
|
1233
1400
|
GuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
|
1234
1401
|
GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
|
1235
1402
|
GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
|
@@ -1260,10 +1427,18 @@ module Aws::Bedrock
|
|
1260
1427
|
|
1261
1428
|
GuardrailContentFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContentFilterConfig)
|
1262
1429
|
|
1430
|
+
GuardrailContentFiltersTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierName, required: true, location_name: "tierName"))
|
1431
|
+
GuardrailContentFiltersTier.struct_class = Types::GuardrailContentFiltersTier
|
1432
|
+
|
1433
|
+
GuardrailContentFiltersTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierName, required: true, location_name: "tierName"))
|
1434
|
+
GuardrailContentFiltersTierConfig.struct_class = Types::GuardrailContentFiltersTierConfig
|
1435
|
+
|
1263
1436
|
GuardrailContentPolicy.add_member(:filters, Shapes::ShapeRef.new(shape: GuardrailContentFilters, location_name: "filters"))
|
1437
|
+
GuardrailContentPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTier, location_name: "tier"))
|
1264
1438
|
GuardrailContentPolicy.struct_class = Types::GuardrailContentPolicy
|
1265
1439
|
|
1266
1440
|
GuardrailContentPolicyConfig.add_member(:filters_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersConfig, required: true, location_name: "filtersConfig"))
|
1441
|
+
GuardrailContentPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierConfig, location_name: "tierConfig"))
|
1267
1442
|
GuardrailContentPolicyConfig.struct_class = Types::GuardrailContentPolicyConfig
|
1268
1443
|
|
1269
1444
|
GuardrailContextualGroundingFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
|
@@ -1407,15 +1582,23 @@ module Aws::Bedrock
|
|
1407
1582
|
GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
|
1408
1583
|
|
1409
1584
|
GuardrailTopicPolicy.add_member(:topics, Shapes::ShapeRef.new(shape: GuardrailTopics, required: true, location_name: "topics"))
|
1585
|
+
GuardrailTopicPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailTopicsTier, location_name: "tier"))
|
1410
1586
|
GuardrailTopicPolicy.struct_class = Types::GuardrailTopicPolicy
|
1411
1587
|
|
1412
1588
|
GuardrailTopicPolicyConfig.add_member(:topics_config, Shapes::ShapeRef.new(shape: GuardrailTopicsConfig, required: true, location_name: "topicsConfig"))
|
1589
|
+
GuardrailTopicPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailTopicsTierConfig, location_name: "tierConfig"))
|
1413
1590
|
GuardrailTopicPolicyConfig.struct_class = Types::GuardrailTopicPolicyConfig
|
1414
1591
|
|
1415
1592
|
GuardrailTopics.member = Shapes::ShapeRef.new(shape: GuardrailTopic)
|
1416
1593
|
|
1417
1594
|
GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
|
1418
1595
|
|
1596
|
+
GuardrailTopicsTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailTopicsTierName, required: true, location_name: "tierName"))
|
1597
|
+
GuardrailTopicsTier.struct_class = Types::GuardrailTopicsTier
|
1598
|
+
|
1599
|
+
GuardrailTopicsTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailTopicsTierName, required: true, location_name: "tierName"))
|
1600
|
+
GuardrailTopicsTierConfig.struct_class = Types::GuardrailTopicsTierConfig
|
1601
|
+
|
1419
1602
|
GuardrailWord.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordTextString, required: true, location_name: "text"))
|
1420
1603
|
GuardrailWord.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1421
1604
|
GuardrailWord.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
@@ -1458,6 +1641,10 @@ module Aws::Bedrock
|
|
1458
1641
|
HumanWorkflowConfig.add_member(:instructions, Shapes::ShapeRef.new(shape: HumanTaskInstructions, location_name: "instructions"))
|
1459
1642
|
HumanWorkflowConfig.struct_class = Types::HumanWorkflowConfig
|
1460
1643
|
|
1644
|
+
ImplicitFilterConfiguration.add_member(:metadata_attributes, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaList, required: true, location_name: "metadataAttributes"))
|
1645
|
+
ImplicitFilterConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
1646
|
+
ImplicitFilterConfiguration.struct_class = Types::ImplicitFilterConfiguration
|
1647
|
+
|
1461
1648
|
ImportedModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, required: true, location_name: "modelArn"))
|
1462
1649
|
ImportedModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "modelName"))
|
1463
1650
|
ImportedModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
@@ -1531,8 +1718,28 @@ module Aws::Bedrock
|
|
1531
1718
|
KnowledgeBaseVectorSearchConfiguration.add_member(:number_of_results, Shapes::ShapeRef.new(shape: KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger, location_name: "numberOfResults"))
|
1532
1719
|
KnowledgeBaseVectorSearchConfiguration.add_member(:override_search_type, Shapes::ShapeRef.new(shape: SearchType, location_name: "overrideSearchType"))
|
1533
1720
|
KnowledgeBaseVectorSearchConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
|
1721
|
+
KnowledgeBaseVectorSearchConfiguration.add_member(:implicit_filter_configuration, Shapes::ShapeRef.new(shape: ImplicitFilterConfiguration, location_name: "implicitFilterConfiguration"))
|
1722
|
+
KnowledgeBaseVectorSearchConfiguration.add_member(:reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchRerankingConfiguration, location_name: "rerankingConfiguration"))
|
1534
1723
|
KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
|
1535
1724
|
|
1725
|
+
LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
|
1726
|
+
LegalTerm.struct_class = Types::LegalTerm
|
1727
|
+
|
1728
|
+
ListCustomModelDeploymentsRequest.add_member(:created_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "createdBefore"))
|
1729
|
+
ListCustomModelDeploymentsRequest.add_member(:created_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "createdAfter"))
|
1730
|
+
ListCustomModelDeploymentsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ModelDeploymentName, location: "querystring", location_name: "nameContains"))
|
1731
|
+
ListCustomModelDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1732
|
+
ListCustomModelDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
1733
|
+
ListCustomModelDeploymentsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
|
1734
|
+
ListCustomModelDeploymentsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
1735
|
+
ListCustomModelDeploymentsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: CustomModelDeploymentStatus, location: "querystring", location_name: "statusEquals"))
|
1736
|
+
ListCustomModelDeploymentsRequest.add_member(:model_arn_equals, Shapes::ShapeRef.new(shape: CustomModelArn, location: "querystring", location_name: "modelArnEquals"))
|
1737
|
+
ListCustomModelDeploymentsRequest.struct_class = Types::ListCustomModelDeploymentsRequest
|
1738
|
+
|
1739
|
+
ListCustomModelDeploymentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
1740
|
+
ListCustomModelDeploymentsResponse.add_member(:model_deployment_summaries, Shapes::ShapeRef.new(shape: CustomModelDeploymentSummaryList, location_name: "modelDeploymentSummaries"))
|
1741
|
+
ListCustomModelDeploymentsResponse.struct_class = Types::ListCustomModelDeploymentsResponse
|
1742
|
+
|
1536
1743
|
ListCustomModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1537
1744
|
ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1538
1745
|
ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
|
@@ -1543,6 +1750,7 @@ module Aws::Bedrock
|
|
1543
1750
|
ListCustomModelsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
|
1544
1751
|
ListCustomModelsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
1545
1752
|
ListCustomModelsRequest.add_member(:is_owned, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "isOwned"))
|
1753
|
+
ListCustomModelsRequest.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location: "querystring", location_name: "modelStatus"))
|
1546
1754
|
ListCustomModelsRequest.struct_class = Types::ListCustomModelsRequest
|
1547
1755
|
|
1548
1756
|
ListCustomModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
@@ -1564,6 +1772,14 @@ module Aws::Bedrock
|
|
1564
1772
|
ListEvaluationJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: EvaluationSummaries, location_name: "jobSummaries"))
|
1565
1773
|
ListEvaluationJobsResponse.struct_class = Types::ListEvaluationJobsResponse
|
1566
1774
|
|
1775
|
+
ListFoundationModelAgreementOffersRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location: "uri", location_name: "modelId"))
|
1776
|
+
ListFoundationModelAgreementOffersRequest.add_member(:offer_type, Shapes::ShapeRef.new(shape: OfferType, location: "querystring", location_name: "offerType"))
|
1777
|
+
ListFoundationModelAgreementOffersRequest.struct_class = Types::ListFoundationModelAgreementOffersRequest
|
1778
|
+
|
1779
|
+
ListFoundationModelAgreementOffersResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
1780
|
+
ListFoundationModelAgreementOffersResponse.add_member(:offers, Shapes::ShapeRef.new(shape: Offers, required: true, location_name: "offers"))
|
1781
|
+
ListFoundationModelAgreementOffersResponse.struct_class = Types::ListFoundationModelAgreementOffersResponse
|
1782
|
+
|
1567
1783
|
ListFoundationModelsRequest.add_member(:by_provider, Shapes::ShapeRef.new(shape: Provider, location: "querystring", location_name: "byProvider"))
|
1568
1784
|
ListFoundationModelsRequest.add_member(:by_customization_type, Shapes::ShapeRef.new(shape: ModelCustomization, location: "querystring", location_name: "byCustomizationType"))
|
1569
1785
|
ListFoundationModelsRequest.add_member(:by_output_modality, Shapes::ShapeRef.new(shape: ModelModality, location: "querystring", location_name: "byOutputModality"))
|
@@ -1730,6 +1946,17 @@ module Aws::Bedrock
|
|
1730
1946
|
MarketplaceModelEndpointSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
|
1731
1947
|
MarketplaceModelEndpointSummary.struct_class = Types::MarketplaceModelEndpointSummary
|
1732
1948
|
|
1949
|
+
MetadataAttributeSchema.add_member(:key, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaKeyString, required: true, location_name: "key"))
|
1950
|
+
MetadataAttributeSchema.add_member(:type, Shapes::ShapeRef.new(shape: AttributeType, required: true, location_name: "type"))
|
1951
|
+
MetadataAttributeSchema.add_member(:description, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaDescriptionString, required: true, location_name: "description"))
|
1952
|
+
MetadataAttributeSchema.struct_class = Types::MetadataAttributeSchema
|
1953
|
+
|
1954
|
+
MetadataAttributeSchemaList.member = Shapes::ShapeRef.new(shape: MetadataAttributeSchema)
|
1955
|
+
|
1956
|
+
MetadataConfigurationForReranking.add_member(:selection_mode, Shapes::ShapeRef.new(shape: RerankingMetadataSelectionMode, required: true, location_name: "selectionMode"))
|
1957
|
+
MetadataConfigurationForReranking.add_member(:selective_mode_configuration, Shapes::ShapeRef.new(shape: RerankingMetadataSelectiveModeConfiguration, location_name: "selectiveModeConfiguration"))
|
1958
|
+
MetadataConfigurationForReranking.struct_class = Types::MetadataConfigurationForReranking
|
1959
|
+
|
1733
1960
|
ModelCopyJobSummaries.member = Shapes::ShapeRef.new(shape: ModelCopyJobSummary)
|
1734
1961
|
|
1735
1962
|
ModelCopyJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location_name: "jobArn"))
|
@@ -1754,8 +1981,8 @@ module Aws::Bedrock
|
|
1754
1981
|
ModelCustomizationJobSummary.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
|
1755
1982
|
ModelCustomizationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
1756
1983
|
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
1984
|
ModelCustomizationJobSummary.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
|
1985
|
+
ModelCustomizationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1759
1986
|
ModelCustomizationJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1760
1987
|
ModelCustomizationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
1761
1988
|
ModelCustomizationJobSummary.add_member(:custom_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, location_name: "customModelArn"))
|
@@ -1826,6 +2053,13 @@ module Aws::Bedrock
|
|
1826
2053
|
|
1827
2054
|
ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
|
1828
2055
|
|
2056
|
+
Offer.add_member(:offer_id, Shapes::ShapeRef.new(shape: OfferId, location_name: "offerId"))
|
2057
|
+
Offer.add_member(:offer_token, Shapes::ShapeRef.new(shape: OfferToken, required: true, location_name: "offerToken"))
|
2058
|
+
Offer.add_member(:term_details, Shapes::ShapeRef.new(shape: TermDetails, required: true, location_name: "termDetails"))
|
2059
|
+
Offer.struct_class = Types::Offer
|
2060
|
+
|
2061
|
+
Offers.member = Shapes::ShapeRef.new(shape: Offer)
|
2062
|
+
|
1829
2063
|
OrchestrationConfiguration.add_member(:query_transformation_configuration, Shapes::ShapeRef.new(shape: QueryTransformationConfiguration, required: true, location_name: "queryTransformationConfiguration"))
|
1830
2064
|
OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
|
1831
2065
|
|
@@ -1835,6 +2069,9 @@ module Aws::Bedrock
|
|
1835
2069
|
PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
|
1836
2070
|
PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
|
1837
2071
|
|
2072
|
+
PricingTerm.add_member(:rate_card, Shapes::ShapeRef.new(shape: RateCard, required: true, location_name: "rateCard"))
|
2073
|
+
PricingTerm.struct_class = Types::PricingTerm
|
2074
|
+
|
1838
2075
|
PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
|
1839
2076
|
|
1840
2077
|
PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
|
@@ -1878,6 +2115,11 @@ module Aws::Bedrock
|
|
1878
2115
|
|
1879
2116
|
PutModelInvocationLoggingConfigurationResponse.struct_class = Types::PutModelInvocationLoggingConfigurationResponse
|
1880
2117
|
|
2118
|
+
PutUseCaseForModelAccessRequest.add_member(:form_data, Shapes::ShapeRef.new(shape: AcknowledgementFormDataBody, required: true, location_name: "formData"))
|
2119
|
+
PutUseCaseForModelAccessRequest.struct_class = Types::PutUseCaseForModelAccessRequest
|
2120
|
+
|
2121
|
+
PutUseCaseForModelAccessResponse.struct_class = Types::PutUseCaseForModelAccessResponse
|
2122
|
+
|
1881
2123
|
QueryTransformationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: QueryTransformationType, required: true, location_name: "type"))
|
1882
2124
|
QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
|
1883
2125
|
|
@@ -1893,6 +2135,8 @@ module Aws::Bedrock
|
|
1893
2135
|
|
1894
2136
|
RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
|
1895
2137
|
|
2138
|
+
RateCard.member = Shapes::ShapeRef.new(shape: DimensionalPriceRate)
|
2139
|
+
|
1896
2140
|
RatingScale.member = Shapes::ShapeRef.new(shape: RatingScaleItem)
|
1897
2141
|
|
1898
2142
|
RatingScaleItem.add_member(:definition, Shapes::ShapeRef.new(shape: RatingScaleItemDefinition, required: true, location_name: "definition"))
|
@@ -1935,6 +2179,14 @@ module Aws::Bedrock
|
|
1935
2179
|
RequestMetadataMap.key = Shapes::ShapeRef.new(shape: RequestMetadataMapKeyString)
|
1936
2180
|
RequestMetadataMap.value = Shapes::ShapeRef.new(shape: RequestMetadataMapValueString)
|
1937
2181
|
|
2182
|
+
RerankingMetadataSelectiveModeConfiguration.add_member(:fields_to_include, Shapes::ShapeRef.new(shape: FieldsForReranking, location_name: "fieldsToInclude"))
|
2183
|
+
RerankingMetadataSelectiveModeConfiguration.add_member(:fields_to_exclude, Shapes::ShapeRef.new(shape: FieldsForReranking, location_name: "fieldsToExclude"))
|
2184
|
+
RerankingMetadataSelectiveModeConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
2185
|
+
RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:fields_to_include, Types::RerankingMetadataSelectiveModeConfiguration::FieldsToInclude)
|
2186
|
+
RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:fields_to_exclude, Types::RerankingMetadataSelectiveModeConfiguration::FieldsToExclude)
|
2187
|
+
RerankingMetadataSelectiveModeConfiguration.add_member_subclass(:unknown, Types::RerankingMetadataSelectiveModeConfiguration::Unknown)
|
2188
|
+
RerankingMetadataSelectiveModeConfiguration.struct_class = Types::RerankingMetadataSelectiveModeConfiguration
|
2189
|
+
|
1938
2190
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
1939
2191
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1940
2192
|
|
@@ -2029,6 +2281,9 @@ module Aws::Bedrock
|
|
2029
2281
|
|
2030
2282
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
2031
2283
|
|
2284
|
+
SupportTerm.add_member(:refund_policy_description, Shapes::ShapeRef.new(shape: String, location_name: "refundPolicyDescription"))
|
2285
|
+
SupportTerm.struct_class = Types::SupportTerm
|
2286
|
+
|
2032
2287
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
2033
2288
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
2034
2289
|
Tag.struct_class = Types::Tag
|
@@ -2047,6 +2302,12 @@ module Aws::Bedrock
|
|
2047
2302
|
TeacherModelConfig.add_member(:max_response_length_for_inference, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResponseLengthForInference"))
|
2048
2303
|
TeacherModelConfig.struct_class = Types::TeacherModelConfig
|
2049
2304
|
|
2305
|
+
TermDetails.add_member(:usage_based_pricing_term, Shapes::ShapeRef.new(shape: PricingTerm, required: true, location_name: "usageBasedPricingTerm"))
|
2306
|
+
TermDetails.add_member(:legal_term, Shapes::ShapeRef.new(shape: LegalTerm, required: true, location_name: "legalTerm"))
|
2307
|
+
TermDetails.add_member(:support_term, Shapes::ShapeRef.new(shape: SupportTerm, required: true, location_name: "supportTerm"))
|
2308
|
+
TermDetails.add_member(:validity_term, Shapes::ShapeRef.new(shape: ValidityTerm, location_name: "validityTerm"))
|
2309
|
+
TermDetails.struct_class = Types::TermDetails
|
2310
|
+
|
2050
2311
|
TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
2051
2312
|
TextInferenceConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
2052
2313
|
TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
@@ -2134,6 +2395,22 @@ module Aws::Bedrock
|
|
2134
2395
|
|
2135
2396
|
Validators.member = Shapes::ShapeRef.new(shape: Validator)
|
2136
2397
|
|
2398
|
+
ValidityTerm.add_member(:agreement_duration, Shapes::ShapeRef.new(shape: String, location_name: "agreementDuration"))
|
2399
|
+
ValidityTerm.struct_class = Types::ValidityTerm
|
2400
|
+
|
2401
|
+
VectorSearchBedrockRerankingConfiguration.add_member(:model_configuration, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingModelConfiguration, required: true, location_name: "modelConfiguration"))
|
2402
|
+
VectorSearchBedrockRerankingConfiguration.add_member(:number_of_reranked_results, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger, location_name: "numberOfRerankedResults"))
|
2403
|
+
VectorSearchBedrockRerankingConfiguration.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfigurationForReranking, location_name: "metadataConfiguration"))
|
2404
|
+
VectorSearchBedrockRerankingConfiguration.struct_class = Types::VectorSearchBedrockRerankingConfiguration
|
2405
|
+
|
2406
|
+
VectorSearchBedrockRerankingModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockRerankingModelArn, required: true, location_name: "modelArn"))
|
2407
|
+
VectorSearchBedrockRerankingModelConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
|
2408
|
+
VectorSearchBedrockRerankingModelConfiguration.struct_class = Types::VectorSearchBedrockRerankingModelConfiguration
|
2409
|
+
|
2410
|
+
VectorSearchRerankingConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: VectorSearchRerankingConfigurationType, required: true, location_name: "type"))
|
2411
|
+
VectorSearchRerankingConfiguration.add_member(:bedrock_reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingConfiguration, location_name: "bedrockRerankingConfiguration"))
|
2412
|
+
VectorSearchRerankingConfiguration.struct_class = Types::VectorSearchRerankingConfiguration
|
2413
|
+
|
2137
2414
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
|
2138
2415
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "securityGroupIds"))
|
2139
2416
|
VpcConfig.struct_class = Types::VpcConfig
|
@@ -2146,7 +2423,7 @@ module Aws::Bedrock
|
|
2146
2423
|
|
2147
2424
|
api.metadata = {
|
2148
2425
|
"apiVersion" => "2023-04-20",
|
2149
|
-
"auth" => ["aws.auth#sigv4"],
|
2426
|
+
"auth" => ["aws.auth#sigv4", "smithy.api#httpBearerAuth"],
|
2150
2427
|
"endpointPrefix" => "bedrock",
|
2151
2428
|
"protocol" => "rest-json",
|
2152
2429
|
"protocols" => ["rest-json"],
|
@@ -2171,6 +2448,37 @@ module Aws::Bedrock
|
|
2171
2448
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2172
2449
|
end)
|
2173
2450
|
|
2451
|
+
api.add_operation(:create_custom_model, Seahorse::Model::Operation.new.tap do |o|
|
2452
|
+
o.name = "CreateCustomModel"
|
2453
|
+
o.http_method = "POST"
|
2454
|
+
o.http_request_uri = "/custom-models/create-custom-model"
|
2455
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCustomModelRequest)
|
2456
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCustomModelResponse)
|
2457
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2458
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2459
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2460
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2461
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2462
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2463
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2464
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2465
|
+
end)
|
2466
|
+
|
2467
|
+
api.add_operation(:create_custom_model_deployment, Seahorse::Model::Operation.new.tap do |o|
|
2468
|
+
o.name = "CreateCustomModelDeployment"
|
2469
|
+
o.http_method = "POST"
|
2470
|
+
o.http_request_uri = "/model-customization/custom-model-deployments"
|
2471
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCustomModelDeploymentRequest)
|
2472
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCustomModelDeploymentResponse)
|
2473
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2474
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2475
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2476
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2477
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2478
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2479
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2480
|
+
end)
|
2481
|
+
|
2174
2482
|
api.add_operation(:create_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
|
2175
2483
|
o.name = "CreateEvaluationJob"
|
2176
2484
|
o.http_method = "POST"
|
@@ -2186,6 +2494,20 @@ module Aws::Bedrock
|
|
2186
2494
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2187
2495
|
end)
|
2188
2496
|
|
2497
|
+
api.add_operation(:create_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
|
2498
|
+
o.name = "CreateFoundationModelAgreement"
|
2499
|
+
o.http_method = "POST"
|
2500
|
+
o.http_request_uri = "/create-foundation-model-agreement"
|
2501
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFoundationModelAgreementRequest)
|
2502
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFoundationModelAgreementResponse)
|
2503
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2504
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2505
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2506
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2507
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2508
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2509
|
+
end)
|
2510
|
+
|
2189
2511
|
api.add_operation(:create_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2190
2512
|
o.name = "CreateGuardrail"
|
2191
2513
|
o.http_method = "POST"
|
@@ -2352,6 +2674,34 @@ module Aws::Bedrock
|
|
2352
2674
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2353
2675
|
end)
|
2354
2676
|
|
2677
|
+
api.add_operation(:delete_custom_model_deployment, Seahorse::Model::Operation.new.tap do |o|
|
2678
|
+
o.name = "DeleteCustomModelDeployment"
|
2679
|
+
o.http_method = "DELETE"
|
2680
|
+
o.http_request_uri = "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}"
|
2681
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCustomModelDeploymentRequest)
|
2682
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCustomModelDeploymentResponse)
|
2683
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2684
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2685
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2686
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2687
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2688
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2689
|
+
end)
|
2690
|
+
|
2691
|
+
api.add_operation(:delete_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
|
2692
|
+
o.name = "DeleteFoundationModelAgreement"
|
2693
|
+
o.http_method = "POST"
|
2694
|
+
o.http_request_uri = "/delete-foundation-model-agreement"
|
2695
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFoundationModelAgreementRequest)
|
2696
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteFoundationModelAgreementResponse)
|
2697
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2698
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2699
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2700
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2701
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2702
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2703
|
+
end)
|
2704
|
+
|
2355
2705
|
api.add_operation(:delete_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2356
2706
|
o.name = "DeleteGuardrail"
|
2357
2707
|
o.http_method = "DELETE"
|
@@ -2472,6 +2822,19 @@ module Aws::Bedrock
|
|
2472
2822
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2473
2823
|
end)
|
2474
2824
|
|
2825
|
+
api.add_operation(:get_custom_model_deployment, Seahorse::Model::Operation.new.tap do |o|
|
2826
|
+
o.name = "GetCustomModelDeployment"
|
2827
|
+
o.http_method = "GET"
|
2828
|
+
o.http_request_uri = "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}"
|
2829
|
+
o.input = Shapes::ShapeRef.new(shape: GetCustomModelDeploymentRequest)
|
2830
|
+
o.output = Shapes::ShapeRef.new(shape: GetCustomModelDeploymentResponse)
|
2831
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2832
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2833
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2834
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2835
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2836
|
+
end)
|
2837
|
+
|
2475
2838
|
api.add_operation(:get_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
|
2476
2839
|
o.name = "GetEvaluationJob"
|
2477
2840
|
o.http_method = "GET"
|
@@ -2498,6 +2861,19 @@ module Aws::Bedrock
|
|
2498
2861
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2499
2862
|
end)
|
2500
2863
|
|
2864
|
+
api.add_operation(:get_foundation_model_availability, Seahorse::Model::Operation.new.tap do |o|
|
2865
|
+
o.name = "GetFoundationModelAvailability"
|
2866
|
+
o.http_method = "GET"
|
2867
|
+
o.http_request_uri = "/foundation-model-availability/{modelId}"
|
2868
|
+
o.input = Shapes::ShapeRef.new(shape: GetFoundationModelAvailabilityRequest)
|
2869
|
+
o.output = Shapes::ShapeRef.new(shape: GetFoundationModelAvailabilityResponse)
|
2870
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2871
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2872
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2873
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2874
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2875
|
+
end)
|
2876
|
+
|
2501
2877
|
api.add_operation(:get_guardrail, Seahorse::Model::Operation.new.tap do |o|
|
2502
2878
|
o.name = "GetGuardrail"
|
2503
2879
|
o.http_method = "GET"
|
@@ -2639,6 +3015,36 @@ module Aws::Bedrock
|
|
2639
3015
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2640
3016
|
end)
|
2641
3017
|
|
3018
|
+
api.add_operation(:get_use_case_for_model_access, Seahorse::Model::Operation.new.tap do |o|
|
3019
|
+
o.name = "GetUseCaseForModelAccess"
|
3020
|
+
o.http_method = "GET"
|
3021
|
+
o.http_request_uri = "/use-case-for-model-access"
|
3022
|
+
o.input = Shapes::ShapeRef.new(shape: GetUseCaseForModelAccessRequest)
|
3023
|
+
o.output = Shapes::ShapeRef.new(shape: GetUseCaseForModelAccessResponse)
|
3024
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3025
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3026
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3027
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3028
|
+
end)
|
3029
|
+
|
3030
|
+
api.add_operation(:list_custom_model_deployments, Seahorse::Model::Operation.new.tap do |o|
|
3031
|
+
o.name = "ListCustomModelDeployments"
|
3032
|
+
o.http_method = "GET"
|
3033
|
+
o.http_request_uri = "/model-customization/custom-model-deployments"
|
3034
|
+
o.input = Shapes::ShapeRef.new(shape: ListCustomModelDeploymentsRequest)
|
3035
|
+
o.output = Shapes::ShapeRef.new(shape: ListCustomModelDeploymentsResponse)
|
3036
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3037
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3038
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3039
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3040
|
+
o[:pager] = Aws::Pager.new(
|
3041
|
+
limit_key: "max_results",
|
3042
|
+
tokens: {
|
3043
|
+
"next_token" => "next_token"
|
3044
|
+
}
|
3045
|
+
)
|
3046
|
+
end)
|
3047
|
+
|
2642
3048
|
api.add_operation(:list_custom_models, Seahorse::Model::Operation.new.tap do |o|
|
2643
3049
|
o.name = "ListCustomModels"
|
2644
3050
|
o.http_method = "GET"
|
@@ -2675,6 +3081,19 @@ module Aws::Bedrock
|
|
2675
3081
|
)
|
2676
3082
|
end)
|
2677
3083
|
|
3084
|
+
api.add_operation(:list_foundation_model_agreement_offers, Seahorse::Model::Operation.new.tap do |o|
|
3085
|
+
o.name = "ListFoundationModelAgreementOffers"
|
3086
|
+
o.http_method = "GET"
|
3087
|
+
o.http_request_uri = "/list-foundation-model-agreement-offers/{modelId}"
|
3088
|
+
o.input = Shapes::ShapeRef.new(shape: ListFoundationModelAgreementOffersRequest)
|
3089
|
+
o.output = Shapes::ShapeRef.new(shape: ListFoundationModelAgreementOffersResponse)
|
3090
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3091
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3092
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3093
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3094
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3095
|
+
end)
|
3096
|
+
|
2678
3097
|
api.add_operation(:list_foundation_models, Seahorse::Model::Operation.new.tap do |o|
|
2679
3098
|
o.name = "ListFoundationModels"
|
2680
3099
|
o.http_method = "GET"
|
@@ -2895,6 +3314,18 @@ module Aws::Bedrock
|
|
2895
3314
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2896
3315
|
end)
|
2897
3316
|
|
3317
|
+
api.add_operation(:put_use_case_for_model_access, Seahorse::Model::Operation.new.tap do |o|
|
3318
|
+
o.name = "PutUseCaseForModelAccess"
|
3319
|
+
o.http_method = "POST"
|
3320
|
+
o.http_request_uri = "/use-case-for-model-access"
|
3321
|
+
o.input = Shapes::ShapeRef.new(shape: PutUseCaseForModelAccessRequest)
|
3322
|
+
o.output = Shapes::ShapeRef.new(shape: PutUseCaseForModelAccessResponse)
|
3323
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3324
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3325
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3326
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3327
|
+
end)
|
3328
|
+
|
2898
3329
|
api.add_operation(:register_marketplace_model_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
2899
3330
|
o.name = "RegisterMarketplaceModelEndpoint"
|
2900
3331
|
o.http_method = "POST"
|