aws-sdk-bedrock 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +711 -4
- data/lib/aws-sdk-bedrock/client_api.rb +436 -0
- data/lib/aws-sdk-bedrock/endpoints.rb +154 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +22 -0
- data/lib/aws-sdk-bedrock/types.rb +1128 -98
- data/lib/aws-sdk-bedrock.rb +2 -2
- data/sig/client.rbs +213 -2
- data/sig/types.rbs +280 -3
- metadata +2 -2
@@ -17,6 +17,12 @@ module Aws::Bedrock
|
|
17
17
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
18
|
AutomatedEvaluationConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationConfig')
|
19
19
|
BaseModelIdentifier = Shapes::StringShape.new(name: 'BaseModelIdentifier')
|
20
|
+
BatchDeleteEvaluationJobError = Shapes::StructureShape.new(name: 'BatchDeleteEvaluationJobError')
|
21
|
+
BatchDeleteEvaluationJobErrors = Shapes::ListShape.new(name: 'BatchDeleteEvaluationJobErrors')
|
22
|
+
BatchDeleteEvaluationJobItem = Shapes::StructureShape.new(name: 'BatchDeleteEvaluationJobItem')
|
23
|
+
BatchDeleteEvaluationJobItems = Shapes::ListShape.new(name: 'BatchDeleteEvaluationJobItems')
|
24
|
+
BatchDeleteEvaluationJobRequest = Shapes::StructureShape.new(name: 'BatchDeleteEvaluationJobRequest')
|
25
|
+
BatchDeleteEvaluationJobResponse = Shapes::StructureShape.new(name: 'BatchDeleteEvaluationJobResponse')
|
20
26
|
BedrockModelId = Shapes::StringShape.new(name: 'BedrockModelId')
|
21
27
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
22
28
|
BrandedName = Shapes::StringShape.new(name: 'BrandedName')
|
@@ -34,6 +40,10 @@ module Aws::Bedrock
|
|
34
40
|
CreateModelCopyJobResponse = Shapes::StructureShape.new(name: 'CreateModelCopyJobResponse')
|
35
41
|
CreateModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'CreateModelCustomizationJobRequest')
|
36
42
|
CreateModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'CreateModelCustomizationJobResponse')
|
43
|
+
CreateModelImportJobRequest = Shapes::StructureShape.new(name: 'CreateModelImportJobRequest')
|
44
|
+
CreateModelImportJobResponse = Shapes::StructureShape.new(name: 'CreateModelImportJobResponse')
|
45
|
+
CreateModelInvocationJobRequest = Shapes::StructureShape.new(name: 'CreateModelInvocationJobRequest')
|
46
|
+
CreateModelInvocationJobResponse = Shapes::StructureShape.new(name: 'CreateModelInvocationJobResponse')
|
37
47
|
CreateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputRequest')
|
38
48
|
CreateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputResponse')
|
39
49
|
CustomModelArn = Shapes::StringShape.new(name: 'CustomModelArn')
|
@@ -45,6 +55,8 @@ module Aws::Bedrock
|
|
45
55
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
46
56
|
DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
|
47
57
|
DeleteGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteGuardrailResponse')
|
58
|
+
DeleteImportedModelRequest = Shapes::StructureShape.new(name: 'DeleteImportedModelRequest')
|
59
|
+
DeleteImportedModelResponse = Shapes::StructureShape.new(name: 'DeleteImportedModelResponse')
|
48
60
|
DeleteModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationRequest')
|
49
61
|
DeleteModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationResponse')
|
50
62
|
DeleteProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputRequest')
|
@@ -62,6 +74,7 @@ module Aws::Bedrock
|
|
62
74
|
EvaluationJobArn = Shapes::StringShape.new(name: 'EvaluationJobArn')
|
63
75
|
EvaluationJobDescription = Shapes::StringShape.new(name: 'EvaluationJobDescription')
|
64
76
|
EvaluationJobIdentifier = Shapes::StringShape.new(name: 'EvaluationJobIdentifier')
|
77
|
+
EvaluationJobIdentifiers = Shapes::ListShape.new(name: 'EvaluationJobIdentifiers')
|
65
78
|
EvaluationJobName = Shapes::StringShape.new(name: 'EvaluationJobName')
|
66
79
|
EvaluationJobStatus = Shapes::StringShape.new(name: 'EvaluationJobStatus')
|
67
80
|
EvaluationJobType = Shapes::StringShape.new(name: 'EvaluationJobType')
|
@@ -94,10 +107,16 @@ module Aws::Bedrock
|
|
94
107
|
GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
|
95
108
|
GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
|
96
109
|
GetGuardrailResponse = Shapes::StructureShape.new(name: 'GetGuardrailResponse')
|
110
|
+
GetImportedModelRequest = Shapes::StructureShape.new(name: 'GetImportedModelRequest')
|
111
|
+
GetImportedModelResponse = Shapes::StructureShape.new(name: 'GetImportedModelResponse')
|
97
112
|
GetModelCopyJobRequest = Shapes::StructureShape.new(name: 'GetModelCopyJobRequest')
|
98
113
|
GetModelCopyJobResponse = Shapes::StructureShape.new(name: 'GetModelCopyJobResponse')
|
99
114
|
GetModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'GetModelCustomizationJobRequest')
|
100
115
|
GetModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'GetModelCustomizationJobResponse')
|
116
|
+
GetModelImportJobRequest = Shapes::StructureShape.new(name: 'GetModelImportJobRequest')
|
117
|
+
GetModelImportJobResponse = Shapes::StructureShape.new(name: 'GetModelImportJobResponse')
|
118
|
+
GetModelInvocationJobRequest = Shapes::StructureShape.new(name: 'GetModelInvocationJobRequest')
|
119
|
+
GetModelInvocationJobResponse = Shapes::StructureShape.new(name: 'GetModelInvocationJobResponse')
|
101
120
|
GetModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationRequest')
|
102
121
|
GetModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationResponse')
|
103
122
|
GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
|
@@ -183,6 +202,11 @@ module Aws::Bedrock
|
|
183
202
|
HumanTaskInstructions = Shapes::StringShape.new(name: 'HumanTaskInstructions')
|
184
203
|
HumanWorkflowConfig = Shapes::StructureShape.new(name: 'HumanWorkflowConfig')
|
185
204
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
205
|
+
ImportedModelArn = Shapes::StringShape.new(name: 'ImportedModelArn')
|
206
|
+
ImportedModelIdentifier = Shapes::StringShape.new(name: 'ImportedModelIdentifier')
|
207
|
+
ImportedModelName = Shapes::StringShape.new(name: 'ImportedModelName')
|
208
|
+
ImportedModelSummary = Shapes::StructureShape.new(name: 'ImportedModelSummary')
|
209
|
+
ImportedModelSummaryList = Shapes::ListShape.new(name: 'ImportedModelSummaryList')
|
186
210
|
InferenceType = Shapes::StringShape.new(name: 'InferenceType')
|
187
211
|
InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
|
188
212
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
@@ -198,10 +222,16 @@ module Aws::Bedrock
|
|
198
222
|
ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
|
199
223
|
ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
|
200
224
|
ListGuardrailsResponse = Shapes::StructureShape.new(name: 'ListGuardrailsResponse')
|
225
|
+
ListImportedModelsRequest = Shapes::StructureShape.new(name: 'ListImportedModelsRequest')
|
226
|
+
ListImportedModelsResponse = Shapes::StructureShape.new(name: 'ListImportedModelsResponse')
|
201
227
|
ListModelCopyJobsRequest = Shapes::StructureShape.new(name: 'ListModelCopyJobsRequest')
|
202
228
|
ListModelCopyJobsResponse = Shapes::StructureShape.new(name: 'ListModelCopyJobsResponse')
|
203
229
|
ListModelCustomizationJobsRequest = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsRequest')
|
204
230
|
ListModelCustomizationJobsResponse = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsResponse')
|
231
|
+
ListModelImportJobsRequest = Shapes::StructureShape.new(name: 'ListModelImportJobsRequest')
|
232
|
+
ListModelImportJobsResponse = Shapes::StructureShape.new(name: 'ListModelImportJobsResponse')
|
233
|
+
ListModelInvocationJobsRequest = Shapes::StructureShape.new(name: 'ListModelInvocationJobsRequest')
|
234
|
+
ListModelInvocationJobsResponse = Shapes::StructureShape.new(name: 'ListModelInvocationJobsResponse')
|
205
235
|
ListProvisionedModelThroughputsRequest = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsRequest')
|
206
236
|
ListProvisionedModelThroughputsResponse = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsResponse')
|
207
237
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -209,6 +239,7 @@ module Aws::Bedrock
|
|
209
239
|
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
210
240
|
LoggingConfig = Shapes::StructureShape.new(name: 'LoggingConfig')
|
211
241
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
242
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
212
243
|
MetricFloat = Shapes::FloatShape.new(name: 'MetricFloat')
|
213
244
|
ModelArn = Shapes::StringShape.new(name: 'ModelArn')
|
214
245
|
ModelCopyJobArn = Shapes::StringShape.new(name: 'ModelCopyJobArn')
|
@@ -223,7 +254,26 @@ module Aws::Bedrock
|
|
223
254
|
ModelCustomizationJobSummaries = Shapes::ListShape.new(name: 'ModelCustomizationJobSummaries')
|
224
255
|
ModelCustomizationJobSummary = Shapes::StructureShape.new(name: 'ModelCustomizationJobSummary')
|
225
256
|
ModelCustomizationList = Shapes::ListShape.new(name: 'ModelCustomizationList')
|
257
|
+
ModelDataSource = Shapes::UnionShape.new(name: 'ModelDataSource')
|
258
|
+
ModelId = Shapes::StringShape.new(name: 'ModelId')
|
226
259
|
ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
|
260
|
+
ModelImportJobArn = Shapes::StringShape.new(name: 'ModelImportJobArn')
|
261
|
+
ModelImportJobIdentifier = Shapes::StringShape.new(name: 'ModelImportJobIdentifier')
|
262
|
+
ModelImportJobStatus = Shapes::StringShape.new(name: 'ModelImportJobStatus')
|
263
|
+
ModelImportJobSummaries = Shapes::ListShape.new(name: 'ModelImportJobSummaries')
|
264
|
+
ModelImportJobSummary = Shapes::StructureShape.new(name: 'ModelImportJobSummary')
|
265
|
+
ModelInvocationIdempotencyToken = Shapes::StringShape.new(name: 'ModelInvocationIdempotencyToken')
|
266
|
+
ModelInvocationJobArn = Shapes::StringShape.new(name: 'ModelInvocationJobArn')
|
267
|
+
ModelInvocationJobIdentifier = Shapes::StringShape.new(name: 'ModelInvocationJobIdentifier')
|
268
|
+
ModelInvocationJobInputDataConfig = Shapes::UnionShape.new(name: 'ModelInvocationJobInputDataConfig')
|
269
|
+
ModelInvocationJobName = Shapes::StringShape.new(name: 'ModelInvocationJobName')
|
270
|
+
ModelInvocationJobOutputDataConfig = Shapes::UnionShape.new(name: 'ModelInvocationJobOutputDataConfig')
|
271
|
+
ModelInvocationJobS3InputDataConfig = Shapes::StructureShape.new(name: 'ModelInvocationJobS3InputDataConfig')
|
272
|
+
ModelInvocationJobS3OutputDataConfig = Shapes::StructureShape.new(name: 'ModelInvocationJobS3OutputDataConfig')
|
273
|
+
ModelInvocationJobStatus = Shapes::StringShape.new(name: 'ModelInvocationJobStatus')
|
274
|
+
ModelInvocationJobSummaries = Shapes::ListShape.new(name: 'ModelInvocationJobSummaries')
|
275
|
+
ModelInvocationJobSummary = Shapes::StructureShape.new(name: 'ModelInvocationJobSummary')
|
276
|
+
ModelInvocationJobTimeoutDurationInHours = Shapes::IntegerShape.new(name: 'ModelInvocationJobTimeoutDurationInHours')
|
227
277
|
ModelModality = Shapes::StringShape.new(name: 'ModelModality')
|
228
278
|
ModelModalityList = Shapes::ListShape.new(name: 'ModelModalityList')
|
229
279
|
ModelName = Shapes::StringShape.new(name: 'ModelName')
|
@@ -243,6 +293,8 @@ module Aws::Bedrock
|
|
243
293
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
244
294
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
245
295
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
296
|
+
S3DataSource = Shapes::StructureShape.new(name: 'S3DataSource')
|
297
|
+
S3InputFormat = Shapes::StringShape.new(name: 'S3InputFormat')
|
246
298
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
247
299
|
SageMakerFlowDefinitionArn = Shapes::StringShape.new(name: 'SageMakerFlowDefinitionArn')
|
248
300
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
@@ -256,6 +308,8 @@ module Aws::Bedrock
|
|
256
308
|
StopEvaluationJobResponse = Shapes::StructureShape.new(name: 'StopEvaluationJobResponse')
|
257
309
|
StopModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'StopModelCustomizationJobRequest')
|
258
310
|
StopModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'StopModelCustomizationJobResponse')
|
311
|
+
StopModelInvocationJobRequest = Shapes::StructureShape.new(name: 'StopModelInvocationJobRequest')
|
312
|
+
StopModelInvocationJobResponse = Shapes::StructureShape.new(name: 'StopModelInvocationJobResponse')
|
259
313
|
String = Shapes::StringShape.new(name: 'String')
|
260
314
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
261
315
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
@@ -292,6 +346,26 @@ module Aws::Bedrock
|
|
292
346
|
AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
|
293
347
|
AutomatedEvaluationConfig.struct_class = Types::AutomatedEvaluationConfig
|
294
348
|
|
349
|
+
BatchDeleteEvaluationJobError.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location_name: "jobIdentifier"))
|
350
|
+
BatchDeleteEvaluationJobError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
|
351
|
+
BatchDeleteEvaluationJobError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
352
|
+
BatchDeleteEvaluationJobError.struct_class = Types::BatchDeleteEvaluationJobError
|
353
|
+
|
354
|
+
BatchDeleteEvaluationJobErrors.member = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobError)
|
355
|
+
|
356
|
+
BatchDeleteEvaluationJobItem.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location_name: "jobIdentifier"))
|
357
|
+
BatchDeleteEvaluationJobItem.add_member(:job_status, Shapes::ShapeRef.new(shape: EvaluationJobStatus, required: true, location_name: "jobStatus"))
|
358
|
+
BatchDeleteEvaluationJobItem.struct_class = Types::BatchDeleteEvaluationJobItem
|
359
|
+
|
360
|
+
BatchDeleteEvaluationJobItems.member = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobItem)
|
361
|
+
|
362
|
+
BatchDeleteEvaluationJobRequest.add_member(:job_identifiers, Shapes::ShapeRef.new(shape: EvaluationJobIdentifiers, required: true, location_name: "jobIdentifiers"))
|
363
|
+
BatchDeleteEvaluationJobRequest.struct_class = Types::BatchDeleteEvaluationJobRequest
|
364
|
+
|
365
|
+
BatchDeleteEvaluationJobResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobErrors, required: true, location_name: "errors"))
|
366
|
+
BatchDeleteEvaluationJobResponse.add_member(:evaluation_jobs, Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobItems, required: true, location_name: "evaluationJobs"))
|
367
|
+
BatchDeleteEvaluationJobResponse.struct_class = Types::BatchDeleteEvaluationJobResponse
|
368
|
+
|
295
369
|
CloudWatchConfig.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
296
370
|
CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
297
371
|
CloudWatchConfig.add_member(:large_data_delivery_s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "largeDataDeliveryS3Config"))
|
@@ -372,6 +446,33 @@ module Aws::Bedrock
|
|
372
446
|
CreateModelCustomizationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
373
447
|
CreateModelCustomizationJobResponse.struct_class = Types::CreateModelCustomizationJobResponse
|
374
448
|
|
449
|
+
CreateModelImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
450
|
+
CreateModelImportJobRequest.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "importedModelName"))
|
451
|
+
CreateModelImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
452
|
+
CreateModelImportJobRequest.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, required: true, location_name: "modelDataSource"))
|
453
|
+
CreateModelImportJobRequest.add_member(:job_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "jobTags"))
|
454
|
+
CreateModelImportJobRequest.add_member(:imported_model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "importedModelTags"))
|
455
|
+
CreateModelImportJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken"))
|
456
|
+
CreateModelImportJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
457
|
+
CreateModelImportJobRequest.add_member(:imported_model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "importedModelKmsKeyId"))
|
458
|
+
CreateModelImportJobRequest.struct_class = Types::CreateModelImportJobRequest
|
459
|
+
|
460
|
+
CreateModelImportJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, required: true, location_name: "jobArn"))
|
461
|
+
CreateModelImportJobResponse.struct_class = Types::CreateModelImportJobResponse
|
462
|
+
|
463
|
+
CreateModelInvocationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: ModelInvocationJobName, required: true, location_name: "jobName"))
|
464
|
+
CreateModelInvocationJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
465
|
+
CreateModelInvocationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ModelInvocationIdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
466
|
+
CreateModelInvocationJobRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
|
467
|
+
CreateModelInvocationJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
|
468
|
+
CreateModelInvocationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
|
469
|
+
CreateModelInvocationJobRequest.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
470
|
+
CreateModelInvocationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
471
|
+
CreateModelInvocationJobRequest.struct_class = Types::CreateModelInvocationJobRequest
|
472
|
+
|
473
|
+
CreateModelInvocationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelInvocationJobArn, required: true, location_name: "jobArn"))
|
474
|
+
CreateModelInvocationJobResponse.struct_class = Types::CreateModelInvocationJobResponse
|
475
|
+
|
375
476
|
CreateProvisionedModelThroughputRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
376
477
|
CreateProvisionedModelThroughputRequest.add_member(:model_units, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "modelUnits"))
|
377
478
|
CreateProvisionedModelThroughputRequest.add_member(:provisioned_model_name, Shapes::ShapeRef.new(shape: ProvisionedModelName, required: true, location_name: "provisionedModelName"))
|
@@ -405,6 +506,11 @@ module Aws::Bedrock
|
|
405
506
|
|
406
507
|
DeleteGuardrailResponse.struct_class = Types::DeleteGuardrailResponse
|
407
508
|
|
509
|
+
DeleteImportedModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ImportedModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
510
|
+
DeleteImportedModelRequest.struct_class = Types::DeleteImportedModelRequest
|
511
|
+
|
512
|
+
DeleteImportedModelResponse.struct_class = Types::DeleteImportedModelResponse
|
513
|
+
|
408
514
|
DeleteModelInvocationLoggingConfigurationRequest.struct_class = Types::DeleteModelInvocationLoggingConfigurationRequest
|
409
515
|
|
410
516
|
DeleteModelInvocationLoggingConfigurationResponse.struct_class = Types::DeleteModelInvocationLoggingConfigurationResponse
|
@@ -451,6 +557,8 @@ module Aws::Bedrock
|
|
451
557
|
EvaluationInferenceConfig.add_member_subclass(:unknown, Types::EvaluationInferenceConfig::Unknown)
|
452
558
|
EvaluationInferenceConfig.struct_class = Types::EvaluationInferenceConfig
|
453
559
|
|
560
|
+
EvaluationJobIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluationJobIdentifier)
|
561
|
+
|
454
562
|
EvaluationMetricNames.member = Shapes::ShapeRef.new(shape: EvaluationMetricName)
|
455
563
|
|
456
564
|
EvaluationModelConfig.add_member(:bedrock_model, Shapes::ShapeRef.new(shape: EvaluationBedrockModel, location_name: "bedrockModel"))
|
@@ -575,6 +683,19 @@ module Aws::Bedrock
|
|
575
683
|
GetGuardrailResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
576
684
|
GetGuardrailResponse.struct_class = Types::GetGuardrailResponse
|
577
685
|
|
686
|
+
GetImportedModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ImportedModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
687
|
+
GetImportedModelRequest.struct_class = Types::GetImportedModelRequest
|
688
|
+
|
689
|
+
GetImportedModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "modelArn"))
|
690
|
+
GetImportedModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "modelName"))
|
691
|
+
GetImportedModelResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
|
692
|
+
GetImportedModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, location_name: "jobArn"))
|
693
|
+
GetImportedModelResponse.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "modelDataSource"))
|
694
|
+
GetImportedModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
695
|
+
GetImportedModelResponse.add_member(:model_architecture, Shapes::ShapeRef.new(shape: String, location_name: "modelArchitecture"))
|
696
|
+
GetImportedModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
697
|
+
GetImportedModelResponse.struct_class = Types::GetImportedModelResponse
|
698
|
+
|
578
699
|
GetModelCopyJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location: "uri", location_name: "jobArn"))
|
579
700
|
GetModelCopyJobRequest.struct_class = Types::GetModelCopyJobRequest
|
580
701
|
|
@@ -617,6 +738,43 @@ module Aws::Bedrock
|
|
617
738
|
GetModelCustomizationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
618
739
|
GetModelCustomizationJobResponse.struct_class = Types::GetModelCustomizationJobResponse
|
619
740
|
|
741
|
+
GetModelImportJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelImportJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
742
|
+
GetModelImportJobRequest.struct_class = Types::GetModelImportJobRequest
|
743
|
+
|
744
|
+
GetModelImportJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, location_name: "jobArn"))
|
745
|
+
GetModelImportJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
|
746
|
+
GetModelImportJobResponse.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "importedModelName"))
|
747
|
+
GetModelImportJobResponse.add_member(:imported_model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "importedModelArn"))
|
748
|
+
GetModelImportJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
749
|
+
GetModelImportJobResponse.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "modelDataSource"))
|
750
|
+
GetModelImportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelImportJobStatus, location_name: "status"))
|
751
|
+
GetModelImportJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
752
|
+
GetModelImportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
753
|
+
GetModelImportJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
754
|
+
GetModelImportJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
755
|
+
GetModelImportJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
756
|
+
GetModelImportJobResponse.add_member(:imported_model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "importedModelKmsKeyArn"))
|
757
|
+
GetModelImportJobResponse.struct_class = Types::GetModelImportJobResponse
|
758
|
+
|
759
|
+
GetModelInvocationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelInvocationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
760
|
+
GetModelInvocationJobRequest.struct_class = Types::GetModelInvocationJobRequest
|
761
|
+
|
762
|
+
GetModelInvocationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelInvocationJobArn, required: true, location_name: "jobArn"))
|
763
|
+
GetModelInvocationJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: ModelInvocationJobName, location_name: "jobName"))
|
764
|
+
GetModelInvocationJobResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
|
765
|
+
GetModelInvocationJobResponse.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ModelInvocationIdempotencyToken, location_name: "clientRequestToken"))
|
766
|
+
GetModelInvocationJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
767
|
+
GetModelInvocationJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelInvocationJobStatus, location_name: "status"))
|
768
|
+
GetModelInvocationJobResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
769
|
+
GetModelInvocationJobResponse.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "submitTime"))
|
770
|
+
GetModelInvocationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
771
|
+
GetModelInvocationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
772
|
+
GetModelInvocationJobResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
|
773
|
+
GetModelInvocationJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
|
774
|
+
GetModelInvocationJobResponse.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
775
|
+
GetModelInvocationJobResponse.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
|
776
|
+
GetModelInvocationJobResponse.struct_class = Types::GetModelInvocationJobResponse
|
777
|
+
|
620
778
|
GetModelInvocationLoggingConfigurationRequest.struct_class = Types::GetModelInvocationLoggingConfigurationRequest
|
621
779
|
|
622
780
|
GetModelInvocationLoggingConfigurationResponse.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "loggingConfig"))
|
@@ -798,6 +956,13 @@ module Aws::Bedrock
|
|
798
956
|
HumanWorkflowConfig.add_member(:instructions, Shapes::ShapeRef.new(shape: HumanTaskInstructions, location_name: "instructions"))
|
799
957
|
HumanWorkflowConfig.struct_class = Types::HumanWorkflowConfig
|
800
958
|
|
959
|
+
ImportedModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, required: true, location_name: "modelArn"))
|
960
|
+
ImportedModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "modelName"))
|
961
|
+
ImportedModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
962
|
+
ImportedModelSummary.struct_class = Types::ImportedModelSummary
|
963
|
+
|
964
|
+
ImportedModelSummaryList.member = Shapes::ShapeRef.new(shape: ImportedModelSummary)
|
965
|
+
|
801
966
|
InferenceTypeList.member = Shapes::ShapeRef.new(shape: InferenceType)
|
802
967
|
|
803
968
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
@@ -851,6 +1016,19 @@ module Aws::Bedrock
|
|
851
1016
|
ListGuardrailsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
852
1017
|
ListGuardrailsResponse.struct_class = Types::ListGuardrailsResponse
|
853
1018
|
|
1019
|
+
ListImportedModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1020
|
+
ListImportedModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1021
|
+
ListImportedModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ImportedModelName, location: "querystring", location_name: "nameContains"))
|
1022
|
+
ListImportedModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1023
|
+
ListImportedModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
1024
|
+
ListImportedModelsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
|
1025
|
+
ListImportedModelsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
1026
|
+
ListImportedModelsRequest.struct_class = Types::ListImportedModelsRequest
|
1027
|
+
|
1028
|
+
ListImportedModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
1029
|
+
ListImportedModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: ImportedModelSummaryList, location_name: "modelSummaries"))
|
1030
|
+
ListImportedModelsResponse.struct_class = Types::ListImportedModelsResponse
|
1031
|
+
|
854
1032
|
ListModelCopyJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
855
1033
|
ListModelCopyJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
856
1034
|
ListModelCopyJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, location: "querystring", location_name: "statusEquals"))
|
@@ -881,6 +1059,34 @@ module Aws::Bedrock
|
|
881
1059
|
ListModelCustomizationJobsResponse.add_member(:model_customization_job_summaries, Shapes::ShapeRef.new(shape: ModelCustomizationJobSummaries, location_name: "modelCustomizationJobSummaries"))
|
882
1060
|
ListModelCustomizationJobsResponse.struct_class = Types::ListModelCustomizationJobsResponse
|
883
1061
|
|
1062
|
+
ListModelImportJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1063
|
+
ListModelImportJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1064
|
+
ListModelImportJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelImportJobStatus, location: "querystring", location_name: "statusEquals"))
|
1065
|
+
ListModelImportJobsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: JobName, location: "querystring", location_name: "nameContains"))
|
1066
|
+
ListModelImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1067
|
+
ListModelImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
1068
|
+
ListModelImportJobsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortJobsBy, location: "querystring", location_name: "sortBy"))
|
1069
|
+
ListModelImportJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
1070
|
+
ListModelImportJobsRequest.struct_class = Types::ListModelImportJobsRequest
|
1071
|
+
|
1072
|
+
ListModelImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
1073
|
+
ListModelImportJobsResponse.add_member(:model_import_job_summaries, Shapes::ShapeRef.new(shape: ModelImportJobSummaries, location_name: "modelImportJobSummaries"))
|
1074
|
+
ListModelImportJobsResponse.struct_class = Types::ListModelImportJobsResponse
|
1075
|
+
|
1076
|
+
ListModelInvocationJobsRequest.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "submitTimeAfter"))
|
1077
|
+
ListModelInvocationJobsRequest.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "submitTimeBefore"))
|
1078
|
+
ListModelInvocationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelInvocationJobStatus, location: "querystring", location_name: "statusEquals"))
|
1079
|
+
ListModelInvocationJobsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ModelInvocationJobName, location: "querystring", location_name: "nameContains"))
|
1080
|
+
ListModelInvocationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1081
|
+
ListModelInvocationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
1082
|
+
ListModelInvocationJobsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortJobsBy, location: "querystring", location_name: "sortBy"))
|
1083
|
+
ListModelInvocationJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
1084
|
+
ListModelInvocationJobsRequest.struct_class = Types::ListModelInvocationJobsRequest
|
1085
|
+
|
1086
|
+
ListModelInvocationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
1087
|
+
ListModelInvocationJobsResponse.add_member(:invocation_job_summaries, Shapes::ShapeRef.new(shape: ModelInvocationJobSummaries, location_name: "invocationJobSummaries"))
|
1088
|
+
ListModelInvocationJobsResponse.struct_class = Types::ListModelInvocationJobsResponse
|
1089
|
+
|
884
1090
|
ListProvisionedModelThroughputsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
885
1091
|
ListProvisionedModelThroughputsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
886
1092
|
ListProvisionedModelThroughputsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ProvisionedModelStatus, location: "querystring", location_name: "statusEquals"))
|
@@ -943,6 +1149,62 @@ module Aws::Bedrock
|
|
943
1149
|
|
944
1150
|
ModelCustomizationList.member = Shapes::ShapeRef.new(shape: ModelCustomization)
|
945
1151
|
|
1152
|
+
ModelDataSource.add_member(:s3_data_source, Shapes::ShapeRef.new(shape: S3DataSource, location_name: "s3DataSource"))
|
1153
|
+
ModelDataSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1154
|
+
ModelDataSource.add_member_subclass(:s3_data_source, Types::ModelDataSource::S3DataSource)
|
1155
|
+
ModelDataSource.add_member_subclass(:unknown, Types::ModelDataSource::Unknown)
|
1156
|
+
ModelDataSource.struct_class = Types::ModelDataSource
|
1157
|
+
|
1158
|
+
ModelImportJobSummaries.member = Shapes::ShapeRef.new(shape: ModelImportJobSummary)
|
1159
|
+
|
1160
|
+
ModelImportJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, required: true, location_name: "jobArn"))
|
1161
|
+
ModelImportJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
1162
|
+
ModelImportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelImportJobStatus, required: true, location_name: "status"))
|
1163
|
+
ModelImportJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1164
|
+
ModelImportJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1165
|
+
ModelImportJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
1166
|
+
ModelImportJobSummary.add_member(:imported_model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "importedModelArn"))
|
1167
|
+
ModelImportJobSummary.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "importedModelName"))
|
1168
|
+
ModelImportJobSummary.struct_class = Types::ModelImportJobSummary
|
1169
|
+
|
1170
|
+
ModelInvocationJobInputDataConfig.add_member(:s3_input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobS3InputDataConfig, location_name: "s3InputDataConfig"))
|
1171
|
+
ModelInvocationJobInputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1172
|
+
ModelInvocationJobInputDataConfig.add_member_subclass(:s3_input_data_config, Types::ModelInvocationJobInputDataConfig::S3InputDataConfig)
|
1173
|
+
ModelInvocationJobInputDataConfig.add_member_subclass(:unknown, Types::ModelInvocationJobInputDataConfig::Unknown)
|
1174
|
+
ModelInvocationJobInputDataConfig.struct_class = Types::ModelInvocationJobInputDataConfig
|
1175
|
+
|
1176
|
+
ModelInvocationJobOutputDataConfig.add_member(:s3_output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobS3OutputDataConfig, location_name: "s3OutputDataConfig"))
|
1177
|
+
ModelInvocationJobOutputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1178
|
+
ModelInvocationJobOutputDataConfig.add_member_subclass(:s3_output_data_config, Types::ModelInvocationJobOutputDataConfig::S3OutputDataConfig)
|
1179
|
+
ModelInvocationJobOutputDataConfig.add_member_subclass(:unknown, Types::ModelInvocationJobOutputDataConfig::Unknown)
|
1180
|
+
ModelInvocationJobOutputDataConfig.struct_class = Types::ModelInvocationJobOutputDataConfig
|
1181
|
+
|
1182
|
+
ModelInvocationJobS3InputDataConfig.add_member(:s3_input_format, Shapes::ShapeRef.new(shape: S3InputFormat, location_name: "s3InputFormat"))
|
1183
|
+
ModelInvocationJobS3InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
1184
|
+
ModelInvocationJobS3InputDataConfig.struct_class = Types::ModelInvocationJobS3InputDataConfig
|
1185
|
+
|
1186
|
+
ModelInvocationJobS3OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
1187
|
+
ModelInvocationJobS3OutputDataConfig.add_member(:s3_encryption_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "s3EncryptionKeyId"))
|
1188
|
+
ModelInvocationJobS3OutputDataConfig.struct_class = Types::ModelInvocationJobS3OutputDataConfig
|
1189
|
+
|
1190
|
+
ModelInvocationJobSummaries.member = Shapes::ShapeRef.new(shape: ModelInvocationJobSummary)
|
1191
|
+
|
1192
|
+
ModelInvocationJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelInvocationJobArn, required: true, location_name: "jobArn"))
|
1193
|
+
ModelInvocationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: ModelInvocationJobName, required: true, location_name: "jobName"))
|
1194
|
+
ModelInvocationJobSummary.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
|
1195
|
+
ModelInvocationJobSummary.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ModelInvocationIdempotencyToken, location_name: "clientRequestToken"))
|
1196
|
+
ModelInvocationJobSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
1197
|
+
ModelInvocationJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelInvocationJobStatus, location_name: "status"))
|
1198
|
+
ModelInvocationJobSummary.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
1199
|
+
ModelInvocationJobSummary.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "submitTime"))
|
1200
|
+
ModelInvocationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1201
|
+
ModelInvocationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
1202
|
+
ModelInvocationJobSummary.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
|
1203
|
+
ModelInvocationJobSummary.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
|
1204
|
+
ModelInvocationJobSummary.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
1205
|
+
ModelInvocationJobSummary.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
|
1206
|
+
ModelInvocationJobSummary.struct_class = Types::ModelInvocationJobSummary
|
1207
|
+
|
946
1208
|
ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
|
947
1209
|
|
948
1210
|
OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
@@ -976,6 +1238,9 @@ module Aws::Bedrock
|
|
976
1238
|
S3Config.add_member(:key_prefix, Shapes::ShapeRef.new(shape: KeyPrefix, location_name: "keyPrefix"))
|
977
1239
|
S3Config.struct_class = Types::S3Config
|
978
1240
|
|
1241
|
+
S3DataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
1242
|
+
S3DataSource.struct_class = Types::S3DataSource
|
1243
|
+
|
979
1244
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
980
1245
|
|
981
1246
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
@@ -991,6 +1256,11 @@ module Aws::Bedrock
|
|
991
1256
|
|
992
1257
|
StopModelCustomizationJobResponse.struct_class = Types::StopModelCustomizationJobResponse
|
993
1258
|
|
1259
|
+
StopModelInvocationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelInvocationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
1260
|
+
StopModelInvocationJobRequest.struct_class = Types::StopModelInvocationJobRequest
|
1261
|
+
|
1262
|
+
StopModelInvocationJobResponse.struct_class = Types::StopModelInvocationJobResponse
|
1263
|
+
|
994
1264
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
995
1265
|
|
996
1266
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
@@ -1091,6 +1361,20 @@ module Aws::Bedrock
|
|
1091
1361
|
"uid" => "bedrock-2023-04-20",
|
1092
1362
|
}
|
1093
1363
|
|
1364
|
+
api.add_operation(:batch_delete_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
|
1365
|
+
o.name = "BatchDeleteEvaluationJob"
|
1366
|
+
o.http_method = "POST"
|
1367
|
+
o.http_request_uri = "/evaluation-jobs/batch-delete"
|
1368
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobRequest)
|
1369
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobResponse)
|
1370
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1371
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1372
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1373
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1374
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1375
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1376
|
+
end)
|
1377
|
+
|
1094
1378
|
api.add_operation(:create_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
|
1095
1379
|
o.name = "CreateEvaluationJob"
|
1096
1380
|
o.http_method = "POST"
|
@@ -1165,6 +1449,37 @@ module Aws::Bedrock
|
|
1165
1449
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1166
1450
|
end)
|
1167
1451
|
|
1452
|
+
api.add_operation(:create_model_import_job, Seahorse::Model::Operation.new.tap do |o|
|
1453
|
+
o.name = "CreateModelImportJob"
|
1454
|
+
o.http_method = "POST"
|
1455
|
+
o.http_request_uri = "/model-import-jobs"
|
1456
|
+
o.input = Shapes::ShapeRef.new(shape: CreateModelImportJobRequest)
|
1457
|
+
o.output = Shapes::ShapeRef.new(shape: CreateModelImportJobResponse)
|
1458
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1459
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1460
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1461
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1462
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1464
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1465
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1466
|
+
end)
|
1467
|
+
|
1468
|
+
api.add_operation(:create_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
|
1469
|
+
o.name = "CreateModelInvocationJob"
|
1470
|
+
o.http_method = "POST"
|
1471
|
+
o.http_request_uri = "/model-invocation-job"
|
1472
|
+
o.input = Shapes::ShapeRef.new(shape: CreateModelInvocationJobRequest)
|
1473
|
+
o.output = Shapes::ShapeRef.new(shape: CreateModelInvocationJobResponse)
|
1474
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1475
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1476
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1477
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1478
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1479
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1480
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1481
|
+
end)
|
1482
|
+
|
1168
1483
|
api.add_operation(:create_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
|
1169
1484
|
o.name = "CreateProvisionedModelThroughput"
|
1170
1485
|
o.http_method = "POST"
|
@@ -1208,6 +1523,20 @@ module Aws::Bedrock
|
|
1208
1523
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1209
1524
|
end)
|
1210
1525
|
|
1526
|
+
api.add_operation(:delete_imported_model, Seahorse::Model::Operation.new.tap do |o|
|
1527
|
+
o.name = "DeleteImportedModel"
|
1528
|
+
o.http_method = "DELETE"
|
1529
|
+
o.http_request_uri = "/imported-models/{modelIdentifier}"
|
1530
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteImportedModelRequest)
|
1531
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteImportedModelResponse)
|
1532
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1533
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1534
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1535
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1536
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1537
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1538
|
+
end)
|
1539
|
+
|
1211
1540
|
api.add_operation(:delete_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1212
1541
|
o.name = "DeleteModelInvocationLoggingConfiguration"
|
1213
1542
|
o.http_method = "DELETE"
|
@@ -1285,6 +1614,19 @@ module Aws::Bedrock
|
|
1285
1614
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1286
1615
|
end)
|
1287
1616
|
|
1617
|
+
api.add_operation(:get_imported_model, Seahorse::Model::Operation.new.tap do |o|
|
1618
|
+
o.name = "GetImportedModel"
|
1619
|
+
o.http_method = "GET"
|
1620
|
+
o.http_request_uri = "/imported-models/{modelIdentifier}"
|
1621
|
+
o.input = Shapes::ShapeRef.new(shape: GetImportedModelRequest)
|
1622
|
+
o.output = Shapes::ShapeRef.new(shape: GetImportedModelResponse)
|
1623
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1624
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1625
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1626
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1627
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1628
|
+
end)
|
1629
|
+
|
1288
1630
|
api.add_operation(:get_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
|
1289
1631
|
o.name = "GetModelCopyJob"
|
1290
1632
|
o.http_method = "GET"
|
@@ -1311,6 +1653,32 @@ module Aws::Bedrock
|
|
1311
1653
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1312
1654
|
end)
|
1313
1655
|
|
1656
|
+
api.add_operation(:get_model_import_job, Seahorse::Model::Operation.new.tap do |o|
|
1657
|
+
o.name = "GetModelImportJob"
|
1658
|
+
o.http_method = "GET"
|
1659
|
+
o.http_request_uri = "/model-import-jobs/{jobIdentifier}"
|
1660
|
+
o.input = Shapes::ShapeRef.new(shape: GetModelImportJobRequest)
|
1661
|
+
o.output = Shapes::ShapeRef.new(shape: GetModelImportJobResponse)
|
1662
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1663
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1664
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1667
|
+
end)
|
1668
|
+
|
1669
|
+
api.add_operation(:get_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
|
1670
|
+
o.name = "GetModelInvocationJob"
|
1671
|
+
o.http_method = "GET"
|
1672
|
+
o.http_request_uri = "/model-invocation-job/{jobIdentifier}"
|
1673
|
+
o.input = Shapes::ShapeRef.new(shape: GetModelInvocationJobRequest)
|
1674
|
+
o.output = Shapes::ShapeRef.new(shape: GetModelInvocationJobResponse)
|
1675
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1676
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1677
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1678
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1679
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1680
|
+
end)
|
1681
|
+
|
1314
1682
|
api.add_operation(:get_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1315
1683
|
o.name = "GetModelInvocationLoggingConfiguration"
|
1316
1684
|
o.http_method = "GET"
|
@@ -1402,6 +1770,24 @@ module Aws::Bedrock
|
|
1402
1770
|
)
|
1403
1771
|
end)
|
1404
1772
|
|
1773
|
+
api.add_operation(:list_imported_models, Seahorse::Model::Operation.new.tap do |o|
|
1774
|
+
o.name = "ListImportedModels"
|
1775
|
+
o.http_method = "GET"
|
1776
|
+
o.http_request_uri = "/imported-models"
|
1777
|
+
o.input = Shapes::ShapeRef.new(shape: ListImportedModelsRequest)
|
1778
|
+
o.output = Shapes::ShapeRef.new(shape: ListImportedModelsResponse)
|
1779
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1780
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1781
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1782
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1783
|
+
o[:pager] = Aws::Pager.new(
|
1784
|
+
limit_key: "max_results",
|
1785
|
+
tokens: {
|
1786
|
+
"next_token" => "next_token"
|
1787
|
+
}
|
1788
|
+
)
|
1789
|
+
end)
|
1790
|
+
|
1405
1791
|
api.add_operation(:list_model_copy_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1406
1792
|
o.name = "ListModelCopyJobs"
|
1407
1793
|
o.http_method = "GET"
|
@@ -1439,6 +1825,42 @@ module Aws::Bedrock
|
|
1439
1825
|
)
|
1440
1826
|
end)
|
1441
1827
|
|
1828
|
+
api.add_operation(:list_model_import_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1829
|
+
o.name = "ListModelImportJobs"
|
1830
|
+
o.http_method = "GET"
|
1831
|
+
o.http_request_uri = "/model-import-jobs"
|
1832
|
+
o.input = Shapes::ShapeRef.new(shape: ListModelImportJobsRequest)
|
1833
|
+
o.output = Shapes::ShapeRef.new(shape: ListModelImportJobsResponse)
|
1834
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1835
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1836
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1837
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1838
|
+
o[:pager] = Aws::Pager.new(
|
1839
|
+
limit_key: "max_results",
|
1840
|
+
tokens: {
|
1841
|
+
"next_token" => "next_token"
|
1842
|
+
}
|
1843
|
+
)
|
1844
|
+
end)
|
1845
|
+
|
1846
|
+
api.add_operation(:list_model_invocation_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1847
|
+
o.name = "ListModelInvocationJobs"
|
1848
|
+
o.http_method = "GET"
|
1849
|
+
o.http_request_uri = "/model-invocation-jobs"
|
1850
|
+
o.input = Shapes::ShapeRef.new(shape: ListModelInvocationJobsRequest)
|
1851
|
+
o.output = Shapes::ShapeRef.new(shape: ListModelInvocationJobsResponse)
|
1852
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1853
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1854
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1855
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1856
|
+
o[:pager] = Aws::Pager.new(
|
1857
|
+
limit_key: "max_results",
|
1858
|
+
tokens: {
|
1859
|
+
"next_token" => "next_token"
|
1860
|
+
}
|
1861
|
+
)
|
1862
|
+
end)
|
1863
|
+
|
1442
1864
|
api.add_operation(:list_provisioned_model_throughputs, Seahorse::Model::Operation.new.tap do |o|
|
1443
1865
|
o.name = "ListProvisionedModelThroughputs"
|
1444
1866
|
o.http_method = "GET"
|
@@ -1510,6 +1932,20 @@ module Aws::Bedrock
|
|
1510
1932
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1511
1933
|
end)
|
1512
1934
|
|
1935
|
+
api.add_operation(:stop_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
|
1936
|
+
o.name = "StopModelInvocationJob"
|
1937
|
+
o.http_method = "POST"
|
1938
|
+
o.http_request_uri = "/model-invocation-job/{jobIdentifier}/stop"
|
1939
|
+
o.input = Shapes::ShapeRef.new(shape: StopModelInvocationJobRequest)
|
1940
|
+
o.output = Shapes::ShapeRef.new(shape: StopModelInvocationJobResponse)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1944
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1945
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1946
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1947
|
+
end)
|
1948
|
+
|
1513
1949
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1514
1950
|
o.name = "TagResource"
|
1515
1951
|
o.http_method = "POST"
|