aws-sdk-bedrock 1.15.0 → 1.17.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 +527 -12
- data/lib/aws-sdk-bedrock/client_api.rb +350 -0
- data/lib/aws-sdk-bedrock/endpoints.rb +126 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-bedrock/types.rb +757 -13
- data/lib/aws-sdk-bedrock.rb +2 -2
- data/sig/client.rbs +161 -2
- data/sig/types.rbs +210 -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,8 @@ 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')
|
37
45
|
CreateModelInvocationJobRequest = Shapes::StructureShape.new(name: 'CreateModelInvocationJobRequest')
|
38
46
|
CreateModelInvocationJobResponse = Shapes::StructureShape.new(name: 'CreateModelInvocationJobResponse')
|
39
47
|
CreateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputRequest')
|
@@ -47,6 +55,8 @@ module Aws::Bedrock
|
|
47
55
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
48
56
|
DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
|
49
57
|
DeleteGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteGuardrailResponse')
|
58
|
+
DeleteImportedModelRequest = Shapes::StructureShape.new(name: 'DeleteImportedModelRequest')
|
59
|
+
DeleteImportedModelResponse = Shapes::StructureShape.new(name: 'DeleteImportedModelResponse')
|
50
60
|
DeleteModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationRequest')
|
51
61
|
DeleteModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationResponse')
|
52
62
|
DeleteProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputRequest')
|
@@ -64,6 +74,7 @@ module Aws::Bedrock
|
|
64
74
|
EvaluationJobArn = Shapes::StringShape.new(name: 'EvaluationJobArn')
|
65
75
|
EvaluationJobDescription = Shapes::StringShape.new(name: 'EvaluationJobDescription')
|
66
76
|
EvaluationJobIdentifier = Shapes::StringShape.new(name: 'EvaluationJobIdentifier')
|
77
|
+
EvaluationJobIdentifiers = Shapes::ListShape.new(name: 'EvaluationJobIdentifiers')
|
67
78
|
EvaluationJobName = Shapes::StringShape.new(name: 'EvaluationJobName')
|
68
79
|
EvaluationJobStatus = Shapes::StringShape.new(name: 'EvaluationJobStatus')
|
69
80
|
EvaluationJobType = Shapes::StringShape.new(name: 'EvaluationJobType')
|
@@ -96,10 +107,16 @@ module Aws::Bedrock
|
|
96
107
|
GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
|
97
108
|
GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
|
98
109
|
GetGuardrailResponse = Shapes::StructureShape.new(name: 'GetGuardrailResponse')
|
110
|
+
GetImportedModelRequest = Shapes::StructureShape.new(name: 'GetImportedModelRequest')
|
111
|
+
GetImportedModelResponse = Shapes::StructureShape.new(name: 'GetImportedModelResponse')
|
112
|
+
GetInferenceProfileRequest = Shapes::StructureShape.new(name: 'GetInferenceProfileRequest')
|
113
|
+
GetInferenceProfileResponse = Shapes::StructureShape.new(name: 'GetInferenceProfileResponse')
|
99
114
|
GetModelCopyJobRequest = Shapes::StructureShape.new(name: 'GetModelCopyJobRequest')
|
100
115
|
GetModelCopyJobResponse = Shapes::StructureShape.new(name: 'GetModelCopyJobResponse')
|
101
116
|
GetModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'GetModelCustomizationJobRequest')
|
102
117
|
GetModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'GetModelCustomizationJobResponse')
|
118
|
+
GetModelImportJobRequest = Shapes::StructureShape.new(name: 'GetModelImportJobRequest')
|
119
|
+
GetModelImportJobResponse = Shapes::StructureShape.new(name: 'GetModelImportJobResponse')
|
103
120
|
GetModelInvocationJobRequest = Shapes::StructureShape.new(name: 'GetModelInvocationJobRequest')
|
104
121
|
GetModelInvocationJobResponse = Shapes::StructureShape.new(name: 'GetModelInvocationJobResponse')
|
105
122
|
GetModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationRequest')
|
@@ -187,6 +204,22 @@ module Aws::Bedrock
|
|
187
204
|
HumanTaskInstructions = Shapes::StringShape.new(name: 'HumanTaskInstructions')
|
188
205
|
HumanWorkflowConfig = Shapes::StructureShape.new(name: 'HumanWorkflowConfig')
|
189
206
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
207
|
+
ImportedModelArn = Shapes::StringShape.new(name: 'ImportedModelArn')
|
208
|
+
ImportedModelIdentifier = Shapes::StringShape.new(name: 'ImportedModelIdentifier')
|
209
|
+
ImportedModelName = Shapes::StringShape.new(name: 'ImportedModelName')
|
210
|
+
ImportedModelSummary = Shapes::StructureShape.new(name: 'ImportedModelSummary')
|
211
|
+
ImportedModelSummaryList = Shapes::ListShape.new(name: 'ImportedModelSummaryList')
|
212
|
+
InferenceProfileArn = Shapes::StringShape.new(name: 'InferenceProfileArn')
|
213
|
+
InferenceProfileDescription = Shapes::StringShape.new(name: 'InferenceProfileDescription')
|
214
|
+
InferenceProfileId = Shapes::StringShape.new(name: 'InferenceProfileId')
|
215
|
+
InferenceProfileIdentifier = Shapes::StringShape.new(name: 'InferenceProfileIdentifier')
|
216
|
+
InferenceProfileModel = Shapes::StructureShape.new(name: 'InferenceProfileModel')
|
217
|
+
InferenceProfileModels = Shapes::ListShape.new(name: 'InferenceProfileModels')
|
218
|
+
InferenceProfileName = Shapes::StringShape.new(name: 'InferenceProfileName')
|
219
|
+
InferenceProfileStatus = Shapes::StringShape.new(name: 'InferenceProfileStatus')
|
220
|
+
InferenceProfileSummaries = Shapes::ListShape.new(name: 'InferenceProfileSummaries')
|
221
|
+
InferenceProfileSummary = Shapes::StructureShape.new(name: 'InferenceProfileSummary')
|
222
|
+
InferenceProfileType = Shapes::StringShape.new(name: 'InferenceProfileType')
|
190
223
|
InferenceType = Shapes::StringShape.new(name: 'InferenceType')
|
191
224
|
InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
|
192
225
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
@@ -202,10 +235,16 @@ module Aws::Bedrock
|
|
202
235
|
ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
|
203
236
|
ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
|
204
237
|
ListGuardrailsResponse = Shapes::StructureShape.new(name: 'ListGuardrailsResponse')
|
238
|
+
ListImportedModelsRequest = Shapes::StructureShape.new(name: 'ListImportedModelsRequest')
|
239
|
+
ListImportedModelsResponse = Shapes::StructureShape.new(name: 'ListImportedModelsResponse')
|
240
|
+
ListInferenceProfilesRequest = Shapes::StructureShape.new(name: 'ListInferenceProfilesRequest')
|
241
|
+
ListInferenceProfilesResponse = Shapes::StructureShape.new(name: 'ListInferenceProfilesResponse')
|
205
242
|
ListModelCopyJobsRequest = Shapes::StructureShape.new(name: 'ListModelCopyJobsRequest')
|
206
243
|
ListModelCopyJobsResponse = Shapes::StructureShape.new(name: 'ListModelCopyJobsResponse')
|
207
244
|
ListModelCustomizationJobsRequest = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsRequest')
|
208
245
|
ListModelCustomizationJobsResponse = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsResponse')
|
246
|
+
ListModelImportJobsRequest = Shapes::StructureShape.new(name: 'ListModelImportJobsRequest')
|
247
|
+
ListModelImportJobsResponse = Shapes::StructureShape.new(name: 'ListModelImportJobsResponse')
|
209
248
|
ListModelInvocationJobsRequest = Shapes::StructureShape.new(name: 'ListModelInvocationJobsRequest')
|
210
249
|
ListModelInvocationJobsResponse = Shapes::StructureShape.new(name: 'ListModelInvocationJobsResponse')
|
211
250
|
ListProvisionedModelThroughputsRequest = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsRequest')
|
@@ -230,8 +269,14 @@ module Aws::Bedrock
|
|
230
269
|
ModelCustomizationJobSummaries = Shapes::ListShape.new(name: 'ModelCustomizationJobSummaries')
|
231
270
|
ModelCustomizationJobSummary = Shapes::StructureShape.new(name: 'ModelCustomizationJobSummary')
|
232
271
|
ModelCustomizationList = Shapes::ListShape.new(name: 'ModelCustomizationList')
|
272
|
+
ModelDataSource = Shapes::UnionShape.new(name: 'ModelDataSource')
|
233
273
|
ModelId = Shapes::StringShape.new(name: 'ModelId')
|
234
274
|
ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
|
275
|
+
ModelImportJobArn = Shapes::StringShape.new(name: 'ModelImportJobArn')
|
276
|
+
ModelImportJobIdentifier = Shapes::StringShape.new(name: 'ModelImportJobIdentifier')
|
277
|
+
ModelImportJobStatus = Shapes::StringShape.new(name: 'ModelImportJobStatus')
|
278
|
+
ModelImportJobSummaries = Shapes::ListShape.new(name: 'ModelImportJobSummaries')
|
279
|
+
ModelImportJobSummary = Shapes::StructureShape.new(name: 'ModelImportJobSummary')
|
235
280
|
ModelInvocationIdempotencyToken = Shapes::StringShape.new(name: 'ModelInvocationIdempotencyToken')
|
236
281
|
ModelInvocationJobArn = Shapes::StringShape.new(name: 'ModelInvocationJobArn')
|
237
282
|
ModelInvocationJobIdentifier = Shapes::StringShape.new(name: 'ModelInvocationJobIdentifier')
|
@@ -263,6 +308,7 @@ module Aws::Bedrock
|
|
263
308
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
264
309
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
265
310
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
311
|
+
S3DataSource = Shapes::StructureShape.new(name: 'S3DataSource')
|
266
312
|
S3InputFormat = Shapes::StringShape.new(name: 'S3InputFormat')
|
267
313
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
268
314
|
SageMakerFlowDefinitionArn = Shapes::StringShape.new(name: 'SageMakerFlowDefinitionArn')
|
@@ -315,6 +361,26 @@ module Aws::Bedrock
|
|
315
361
|
AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
|
316
362
|
AutomatedEvaluationConfig.struct_class = Types::AutomatedEvaluationConfig
|
317
363
|
|
364
|
+
BatchDeleteEvaluationJobError.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location_name: "jobIdentifier"))
|
365
|
+
BatchDeleteEvaluationJobError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
|
366
|
+
BatchDeleteEvaluationJobError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
367
|
+
BatchDeleteEvaluationJobError.struct_class = Types::BatchDeleteEvaluationJobError
|
368
|
+
|
369
|
+
BatchDeleteEvaluationJobErrors.member = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobError)
|
370
|
+
|
371
|
+
BatchDeleteEvaluationJobItem.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location_name: "jobIdentifier"))
|
372
|
+
BatchDeleteEvaluationJobItem.add_member(:job_status, Shapes::ShapeRef.new(shape: EvaluationJobStatus, required: true, location_name: "jobStatus"))
|
373
|
+
BatchDeleteEvaluationJobItem.struct_class = Types::BatchDeleteEvaluationJobItem
|
374
|
+
|
375
|
+
BatchDeleteEvaluationJobItems.member = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobItem)
|
376
|
+
|
377
|
+
BatchDeleteEvaluationJobRequest.add_member(:job_identifiers, Shapes::ShapeRef.new(shape: EvaluationJobIdentifiers, required: true, location_name: "jobIdentifiers"))
|
378
|
+
BatchDeleteEvaluationJobRequest.struct_class = Types::BatchDeleteEvaluationJobRequest
|
379
|
+
|
380
|
+
BatchDeleteEvaluationJobResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobErrors, required: true, location_name: "errors"))
|
381
|
+
BatchDeleteEvaluationJobResponse.add_member(:evaluation_jobs, Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobItems, required: true, location_name: "evaluationJobs"))
|
382
|
+
BatchDeleteEvaluationJobResponse.struct_class = Types::BatchDeleteEvaluationJobResponse
|
383
|
+
|
318
384
|
CloudWatchConfig.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
319
385
|
CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
320
386
|
CloudWatchConfig.add_member(:large_data_delivery_s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "largeDataDeliveryS3Config"))
|
@@ -395,6 +461,20 @@ module Aws::Bedrock
|
|
395
461
|
CreateModelCustomizationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
396
462
|
CreateModelCustomizationJobResponse.struct_class = Types::CreateModelCustomizationJobResponse
|
397
463
|
|
464
|
+
CreateModelImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
465
|
+
CreateModelImportJobRequest.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "importedModelName"))
|
466
|
+
CreateModelImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
467
|
+
CreateModelImportJobRequest.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, required: true, location_name: "modelDataSource"))
|
468
|
+
CreateModelImportJobRequest.add_member(:job_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "jobTags"))
|
469
|
+
CreateModelImportJobRequest.add_member(:imported_model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "importedModelTags"))
|
470
|
+
CreateModelImportJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken"))
|
471
|
+
CreateModelImportJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
472
|
+
CreateModelImportJobRequest.add_member(:imported_model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "importedModelKmsKeyId"))
|
473
|
+
CreateModelImportJobRequest.struct_class = Types::CreateModelImportJobRequest
|
474
|
+
|
475
|
+
CreateModelImportJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, required: true, location_name: "jobArn"))
|
476
|
+
CreateModelImportJobResponse.struct_class = Types::CreateModelImportJobResponse
|
477
|
+
|
398
478
|
CreateModelInvocationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: ModelInvocationJobName, required: true, location_name: "jobName"))
|
399
479
|
CreateModelInvocationJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
400
480
|
CreateModelInvocationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ModelInvocationIdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
@@ -441,6 +521,11 @@ module Aws::Bedrock
|
|
441
521
|
|
442
522
|
DeleteGuardrailResponse.struct_class = Types::DeleteGuardrailResponse
|
443
523
|
|
524
|
+
DeleteImportedModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ImportedModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
525
|
+
DeleteImportedModelRequest.struct_class = Types::DeleteImportedModelRequest
|
526
|
+
|
527
|
+
DeleteImportedModelResponse.struct_class = Types::DeleteImportedModelResponse
|
528
|
+
|
444
529
|
DeleteModelInvocationLoggingConfigurationRequest.struct_class = Types::DeleteModelInvocationLoggingConfigurationRequest
|
445
530
|
|
446
531
|
DeleteModelInvocationLoggingConfigurationResponse.struct_class = Types::DeleteModelInvocationLoggingConfigurationResponse
|
@@ -487,6 +572,8 @@ module Aws::Bedrock
|
|
487
572
|
EvaluationInferenceConfig.add_member_subclass(:unknown, Types::EvaluationInferenceConfig::Unknown)
|
488
573
|
EvaluationInferenceConfig.struct_class = Types::EvaluationInferenceConfig
|
489
574
|
|
575
|
+
EvaluationJobIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluationJobIdentifier)
|
576
|
+
|
490
577
|
EvaluationMetricNames.member = Shapes::ShapeRef.new(shape: EvaluationMetricName)
|
491
578
|
|
492
579
|
EvaluationModelConfig.add_member(:bedrock_model, Shapes::ShapeRef.new(shape: EvaluationBedrockModel, location_name: "bedrockModel"))
|
@@ -611,6 +698,33 @@ module Aws::Bedrock
|
|
611
698
|
GetGuardrailResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
612
699
|
GetGuardrailResponse.struct_class = Types::GetGuardrailResponse
|
613
700
|
|
701
|
+
GetImportedModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ImportedModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
702
|
+
GetImportedModelRequest.struct_class = Types::GetImportedModelRequest
|
703
|
+
|
704
|
+
GetImportedModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "modelArn"))
|
705
|
+
GetImportedModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "modelName"))
|
706
|
+
GetImportedModelResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
|
707
|
+
GetImportedModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, location_name: "jobArn"))
|
708
|
+
GetImportedModelResponse.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "modelDataSource"))
|
709
|
+
GetImportedModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
710
|
+
GetImportedModelResponse.add_member(:model_architecture, Shapes::ShapeRef.new(shape: String, location_name: "modelArchitecture"))
|
711
|
+
GetImportedModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
712
|
+
GetImportedModelResponse.struct_class = Types::GetImportedModelResponse
|
713
|
+
|
714
|
+
GetInferenceProfileRequest.add_member(:inference_profile_identifier, Shapes::ShapeRef.new(shape: InferenceProfileIdentifier, required: true, location: "uri", location_name: "inferenceProfileIdentifier"))
|
715
|
+
GetInferenceProfileRequest.struct_class = Types::GetInferenceProfileRequest
|
716
|
+
|
717
|
+
GetInferenceProfileResponse.add_member(:inference_profile_name, Shapes::ShapeRef.new(shape: InferenceProfileName, required: true, location_name: "inferenceProfileName"))
|
718
|
+
GetInferenceProfileResponse.add_member(:models, Shapes::ShapeRef.new(shape: InferenceProfileModels, required: true, location_name: "models"))
|
719
|
+
GetInferenceProfileResponse.add_member(:description, Shapes::ShapeRef.new(shape: InferenceProfileDescription, location_name: "description"))
|
720
|
+
GetInferenceProfileResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
721
|
+
GetInferenceProfileResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
722
|
+
GetInferenceProfileResponse.add_member(:inference_profile_arn, Shapes::ShapeRef.new(shape: InferenceProfileArn, required: true, location_name: "inferenceProfileArn"))
|
723
|
+
GetInferenceProfileResponse.add_member(:inference_profile_id, Shapes::ShapeRef.new(shape: InferenceProfileId, required: true, location_name: "inferenceProfileId"))
|
724
|
+
GetInferenceProfileResponse.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, required: true, location_name: "status"))
|
725
|
+
GetInferenceProfileResponse.add_member(:type, Shapes::ShapeRef.new(shape: InferenceProfileType, required: true, location_name: "type"))
|
726
|
+
GetInferenceProfileResponse.struct_class = Types::GetInferenceProfileResponse
|
727
|
+
|
614
728
|
GetModelCopyJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location: "uri", location_name: "jobArn"))
|
615
729
|
GetModelCopyJobRequest.struct_class = Types::GetModelCopyJobRequest
|
616
730
|
|
@@ -653,6 +767,24 @@ module Aws::Bedrock
|
|
653
767
|
GetModelCustomizationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
654
768
|
GetModelCustomizationJobResponse.struct_class = Types::GetModelCustomizationJobResponse
|
655
769
|
|
770
|
+
GetModelImportJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelImportJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
771
|
+
GetModelImportJobRequest.struct_class = Types::GetModelImportJobRequest
|
772
|
+
|
773
|
+
GetModelImportJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, location_name: "jobArn"))
|
774
|
+
GetModelImportJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
|
775
|
+
GetModelImportJobResponse.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "importedModelName"))
|
776
|
+
GetModelImportJobResponse.add_member(:imported_model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "importedModelArn"))
|
777
|
+
GetModelImportJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
778
|
+
GetModelImportJobResponse.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "modelDataSource"))
|
779
|
+
GetModelImportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelImportJobStatus, location_name: "status"))
|
780
|
+
GetModelImportJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
781
|
+
GetModelImportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
782
|
+
GetModelImportJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
783
|
+
GetModelImportJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
784
|
+
GetModelImportJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
785
|
+
GetModelImportJobResponse.add_member(:imported_model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "importedModelKmsKeyArn"))
|
786
|
+
GetModelImportJobResponse.struct_class = Types::GetModelImportJobResponse
|
787
|
+
|
656
788
|
GetModelInvocationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelInvocationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
657
789
|
GetModelInvocationJobRequest.struct_class = Types::GetModelInvocationJobRequest
|
658
790
|
|
@@ -853,6 +985,31 @@ module Aws::Bedrock
|
|
853
985
|
HumanWorkflowConfig.add_member(:instructions, Shapes::ShapeRef.new(shape: HumanTaskInstructions, location_name: "instructions"))
|
854
986
|
HumanWorkflowConfig.struct_class = Types::HumanWorkflowConfig
|
855
987
|
|
988
|
+
ImportedModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, required: true, location_name: "modelArn"))
|
989
|
+
ImportedModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "modelName"))
|
990
|
+
ImportedModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
991
|
+
ImportedModelSummary.struct_class = Types::ImportedModelSummary
|
992
|
+
|
993
|
+
ImportedModelSummaryList.member = Shapes::ShapeRef.new(shape: ImportedModelSummary)
|
994
|
+
|
995
|
+
InferenceProfileModel.add_member(:model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, location_name: "modelArn"))
|
996
|
+
InferenceProfileModel.struct_class = Types::InferenceProfileModel
|
997
|
+
|
998
|
+
InferenceProfileModels.member = Shapes::ShapeRef.new(shape: InferenceProfileModel)
|
999
|
+
|
1000
|
+
InferenceProfileSummaries.member = Shapes::ShapeRef.new(shape: InferenceProfileSummary)
|
1001
|
+
|
1002
|
+
InferenceProfileSummary.add_member(:inference_profile_name, Shapes::ShapeRef.new(shape: InferenceProfileName, required: true, location_name: "inferenceProfileName"))
|
1003
|
+
InferenceProfileSummary.add_member(:models, Shapes::ShapeRef.new(shape: InferenceProfileModels, required: true, location_name: "models"))
|
1004
|
+
InferenceProfileSummary.add_member(:description, Shapes::ShapeRef.new(shape: InferenceProfileDescription, location_name: "description"))
|
1005
|
+
InferenceProfileSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1006
|
+
InferenceProfileSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
1007
|
+
InferenceProfileSummary.add_member(:inference_profile_arn, Shapes::ShapeRef.new(shape: InferenceProfileArn, required: true, location_name: "inferenceProfileArn"))
|
1008
|
+
InferenceProfileSummary.add_member(:inference_profile_id, Shapes::ShapeRef.new(shape: InferenceProfileId, required: true, location_name: "inferenceProfileId"))
|
1009
|
+
InferenceProfileSummary.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, required: true, location_name: "status"))
|
1010
|
+
InferenceProfileSummary.add_member(:type, Shapes::ShapeRef.new(shape: InferenceProfileType, required: true, location_name: "type"))
|
1011
|
+
InferenceProfileSummary.struct_class = Types::InferenceProfileSummary
|
1012
|
+
|
856
1013
|
InferenceTypeList.member = Shapes::ShapeRef.new(shape: InferenceType)
|
857
1014
|
|
858
1015
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
@@ -906,6 +1063,27 @@ module Aws::Bedrock
|
|
906
1063
|
ListGuardrailsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
907
1064
|
ListGuardrailsResponse.struct_class = Types::ListGuardrailsResponse
|
908
1065
|
|
1066
|
+
ListImportedModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1067
|
+
ListImportedModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1068
|
+
ListImportedModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ImportedModelName, location: "querystring", location_name: "nameContains"))
|
1069
|
+
ListImportedModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1070
|
+
ListImportedModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
1071
|
+
ListImportedModelsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
|
1072
|
+
ListImportedModelsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
1073
|
+
ListImportedModelsRequest.struct_class = Types::ListImportedModelsRequest
|
1074
|
+
|
1075
|
+
ListImportedModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
1076
|
+
ListImportedModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: ImportedModelSummaryList, location_name: "modelSummaries"))
|
1077
|
+
ListImportedModelsResponse.struct_class = Types::ListImportedModelsResponse
|
1078
|
+
|
1079
|
+
ListInferenceProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1080
|
+
ListInferenceProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
1081
|
+
ListInferenceProfilesRequest.struct_class = Types::ListInferenceProfilesRequest
|
1082
|
+
|
1083
|
+
ListInferenceProfilesResponse.add_member(:inference_profile_summaries, Shapes::ShapeRef.new(shape: InferenceProfileSummaries, location_name: "inferenceProfileSummaries"))
|
1084
|
+
ListInferenceProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
1085
|
+
ListInferenceProfilesResponse.struct_class = Types::ListInferenceProfilesResponse
|
1086
|
+
|
909
1087
|
ListModelCopyJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
910
1088
|
ListModelCopyJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
911
1089
|
ListModelCopyJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, location: "querystring", location_name: "statusEquals"))
|
@@ -936,6 +1114,20 @@ module Aws::Bedrock
|
|
936
1114
|
ListModelCustomizationJobsResponse.add_member(:model_customization_job_summaries, Shapes::ShapeRef.new(shape: ModelCustomizationJobSummaries, location_name: "modelCustomizationJobSummaries"))
|
937
1115
|
ListModelCustomizationJobsResponse.struct_class = Types::ListModelCustomizationJobsResponse
|
938
1116
|
|
1117
|
+
ListModelImportJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1118
|
+
ListModelImportJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1119
|
+
ListModelImportJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelImportJobStatus, location: "querystring", location_name: "statusEquals"))
|
1120
|
+
ListModelImportJobsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: JobName, location: "querystring", location_name: "nameContains"))
|
1121
|
+
ListModelImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1122
|
+
ListModelImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
1123
|
+
ListModelImportJobsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortJobsBy, location: "querystring", location_name: "sortBy"))
|
1124
|
+
ListModelImportJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
1125
|
+
ListModelImportJobsRequest.struct_class = Types::ListModelImportJobsRequest
|
1126
|
+
|
1127
|
+
ListModelImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
1128
|
+
ListModelImportJobsResponse.add_member(:model_import_job_summaries, Shapes::ShapeRef.new(shape: ModelImportJobSummaries, location_name: "modelImportJobSummaries"))
|
1129
|
+
ListModelImportJobsResponse.struct_class = Types::ListModelImportJobsResponse
|
1130
|
+
|
939
1131
|
ListModelInvocationJobsRequest.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "submitTimeAfter"))
|
940
1132
|
ListModelInvocationJobsRequest.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "submitTimeBefore"))
|
941
1133
|
ListModelInvocationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelInvocationJobStatus, location: "querystring", location_name: "statusEquals"))
|
@@ -1012,6 +1204,24 @@ module Aws::Bedrock
|
|
1012
1204
|
|
1013
1205
|
ModelCustomizationList.member = Shapes::ShapeRef.new(shape: ModelCustomization)
|
1014
1206
|
|
1207
|
+
ModelDataSource.add_member(:s3_data_source, Shapes::ShapeRef.new(shape: S3DataSource, location_name: "s3DataSource"))
|
1208
|
+
ModelDataSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1209
|
+
ModelDataSource.add_member_subclass(:s3_data_source, Types::ModelDataSource::S3DataSource)
|
1210
|
+
ModelDataSource.add_member_subclass(:unknown, Types::ModelDataSource::Unknown)
|
1211
|
+
ModelDataSource.struct_class = Types::ModelDataSource
|
1212
|
+
|
1213
|
+
ModelImportJobSummaries.member = Shapes::ShapeRef.new(shape: ModelImportJobSummary)
|
1214
|
+
|
1215
|
+
ModelImportJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, required: true, location_name: "jobArn"))
|
1216
|
+
ModelImportJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
1217
|
+
ModelImportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelImportJobStatus, required: true, location_name: "status"))
|
1218
|
+
ModelImportJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1219
|
+
ModelImportJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1220
|
+
ModelImportJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
1221
|
+
ModelImportJobSummary.add_member(:imported_model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "importedModelArn"))
|
1222
|
+
ModelImportJobSummary.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "importedModelName"))
|
1223
|
+
ModelImportJobSummary.struct_class = Types::ModelImportJobSummary
|
1224
|
+
|
1015
1225
|
ModelInvocationJobInputDataConfig.add_member(:s3_input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobS3InputDataConfig, location_name: "s3InputDataConfig"))
|
1016
1226
|
ModelInvocationJobInputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1017
1227
|
ModelInvocationJobInputDataConfig.add_member_subclass(:s3_input_data_config, Types::ModelInvocationJobInputDataConfig::S3InputDataConfig)
|
@@ -1083,6 +1293,9 @@ module Aws::Bedrock
|
|
1083
1293
|
S3Config.add_member(:key_prefix, Shapes::ShapeRef.new(shape: KeyPrefix, location_name: "keyPrefix"))
|
1084
1294
|
S3Config.struct_class = Types::S3Config
|
1085
1295
|
|
1296
|
+
S3DataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
1297
|
+
S3DataSource.struct_class = Types::S3DataSource
|
1298
|
+
|
1086
1299
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
1087
1300
|
|
1088
1301
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
@@ -1203,6 +1416,20 @@ module Aws::Bedrock
|
|
1203
1416
|
"uid" => "bedrock-2023-04-20",
|
1204
1417
|
}
|
1205
1418
|
|
1419
|
+
api.add_operation(:batch_delete_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
|
1420
|
+
o.name = "BatchDeleteEvaluationJob"
|
1421
|
+
o.http_method = "POST"
|
1422
|
+
o.http_request_uri = "/evaluation-jobs/batch-delete"
|
1423
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobRequest)
|
1424
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobResponse)
|
1425
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1426
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1427
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1428
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1429
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1430
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1431
|
+
end)
|
1432
|
+
|
1206
1433
|
api.add_operation(:create_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
|
1207
1434
|
o.name = "CreateEvaluationJob"
|
1208
1435
|
o.http_method = "POST"
|
@@ -1277,6 +1504,22 @@ module Aws::Bedrock
|
|
1277
1504
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1278
1505
|
end)
|
1279
1506
|
|
1507
|
+
api.add_operation(:create_model_import_job, Seahorse::Model::Operation.new.tap do |o|
|
1508
|
+
o.name = "CreateModelImportJob"
|
1509
|
+
o.http_method = "POST"
|
1510
|
+
o.http_request_uri = "/model-import-jobs"
|
1511
|
+
o.input = Shapes::ShapeRef.new(shape: CreateModelImportJobRequest)
|
1512
|
+
o.output = Shapes::ShapeRef.new(shape: CreateModelImportJobResponse)
|
1513
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1514
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1515
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1516
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1517
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1518
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1519
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1520
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1521
|
+
end)
|
1522
|
+
|
1280
1523
|
api.add_operation(:create_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
|
1281
1524
|
o.name = "CreateModelInvocationJob"
|
1282
1525
|
o.http_method = "POST"
|
@@ -1335,6 +1578,20 @@ module Aws::Bedrock
|
|
1335
1578
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1336
1579
|
end)
|
1337
1580
|
|
1581
|
+
api.add_operation(:delete_imported_model, Seahorse::Model::Operation.new.tap do |o|
|
1582
|
+
o.name = "DeleteImportedModel"
|
1583
|
+
o.http_method = "DELETE"
|
1584
|
+
o.http_request_uri = "/imported-models/{modelIdentifier}"
|
1585
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteImportedModelRequest)
|
1586
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteImportedModelResponse)
|
1587
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1588
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1589
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1590
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1591
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1592
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1593
|
+
end)
|
1594
|
+
|
1338
1595
|
api.add_operation(:delete_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1339
1596
|
o.name = "DeleteModelInvocationLoggingConfiguration"
|
1340
1597
|
o.http_method = "DELETE"
|
@@ -1412,6 +1669,32 @@ module Aws::Bedrock
|
|
1412
1669
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1413
1670
|
end)
|
1414
1671
|
|
1672
|
+
api.add_operation(:get_imported_model, Seahorse::Model::Operation.new.tap do |o|
|
1673
|
+
o.name = "GetImportedModel"
|
1674
|
+
o.http_method = "GET"
|
1675
|
+
o.http_request_uri = "/imported-models/{modelIdentifier}"
|
1676
|
+
o.input = Shapes::ShapeRef.new(shape: GetImportedModelRequest)
|
1677
|
+
o.output = Shapes::ShapeRef.new(shape: GetImportedModelResponse)
|
1678
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1679
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1680
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1681
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1682
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1683
|
+
end)
|
1684
|
+
|
1685
|
+
api.add_operation(:get_inference_profile, Seahorse::Model::Operation.new.tap do |o|
|
1686
|
+
o.name = "GetInferenceProfile"
|
1687
|
+
o.http_method = "GET"
|
1688
|
+
o.http_request_uri = "/inference-profiles/{inferenceProfileIdentifier}"
|
1689
|
+
o.input = Shapes::ShapeRef.new(shape: GetInferenceProfileRequest)
|
1690
|
+
o.output = Shapes::ShapeRef.new(shape: GetInferenceProfileResponse)
|
1691
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1692
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1693
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1694
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1695
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1696
|
+
end)
|
1697
|
+
|
1415
1698
|
api.add_operation(:get_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
|
1416
1699
|
o.name = "GetModelCopyJob"
|
1417
1700
|
o.http_method = "GET"
|
@@ -1438,6 +1721,19 @@ module Aws::Bedrock
|
|
1438
1721
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1439
1722
|
end)
|
1440
1723
|
|
1724
|
+
api.add_operation(:get_model_import_job, Seahorse::Model::Operation.new.tap do |o|
|
1725
|
+
o.name = "GetModelImportJob"
|
1726
|
+
o.http_method = "GET"
|
1727
|
+
o.http_request_uri = "/model-import-jobs/{jobIdentifier}"
|
1728
|
+
o.input = Shapes::ShapeRef.new(shape: GetModelImportJobRequest)
|
1729
|
+
o.output = Shapes::ShapeRef.new(shape: GetModelImportJobResponse)
|
1730
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1731
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1732
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1733
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1734
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1735
|
+
end)
|
1736
|
+
|
1441
1737
|
api.add_operation(:get_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
|
1442
1738
|
o.name = "GetModelInvocationJob"
|
1443
1739
|
o.http_method = "GET"
|
@@ -1542,6 +1838,42 @@ module Aws::Bedrock
|
|
1542
1838
|
)
|
1543
1839
|
end)
|
1544
1840
|
|
1841
|
+
api.add_operation(:list_imported_models, Seahorse::Model::Operation.new.tap do |o|
|
1842
|
+
o.name = "ListImportedModels"
|
1843
|
+
o.http_method = "GET"
|
1844
|
+
o.http_request_uri = "/imported-models"
|
1845
|
+
o.input = Shapes::ShapeRef.new(shape: ListImportedModelsRequest)
|
1846
|
+
o.output = Shapes::ShapeRef.new(shape: ListImportedModelsResponse)
|
1847
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1848
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1849
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1850
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1851
|
+
o[:pager] = Aws::Pager.new(
|
1852
|
+
limit_key: "max_results",
|
1853
|
+
tokens: {
|
1854
|
+
"next_token" => "next_token"
|
1855
|
+
}
|
1856
|
+
)
|
1857
|
+
end)
|
1858
|
+
|
1859
|
+
api.add_operation(:list_inference_profiles, Seahorse::Model::Operation.new.tap do |o|
|
1860
|
+
o.name = "ListInferenceProfiles"
|
1861
|
+
o.http_method = "GET"
|
1862
|
+
o.http_request_uri = "/inference-profiles"
|
1863
|
+
o.input = Shapes::ShapeRef.new(shape: ListInferenceProfilesRequest)
|
1864
|
+
o.output = Shapes::ShapeRef.new(shape: ListInferenceProfilesResponse)
|
1865
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1866
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1867
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1868
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1869
|
+
o[:pager] = Aws::Pager.new(
|
1870
|
+
limit_key: "max_results",
|
1871
|
+
tokens: {
|
1872
|
+
"next_token" => "next_token"
|
1873
|
+
}
|
1874
|
+
)
|
1875
|
+
end)
|
1876
|
+
|
1545
1877
|
api.add_operation(:list_model_copy_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1546
1878
|
o.name = "ListModelCopyJobs"
|
1547
1879
|
o.http_method = "GET"
|
@@ -1579,6 +1911,24 @@ module Aws::Bedrock
|
|
1579
1911
|
)
|
1580
1912
|
end)
|
1581
1913
|
|
1914
|
+
api.add_operation(:list_model_import_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1915
|
+
o.name = "ListModelImportJobs"
|
1916
|
+
o.http_method = "GET"
|
1917
|
+
o.http_request_uri = "/model-import-jobs"
|
1918
|
+
o.input = Shapes::ShapeRef.new(shape: ListModelImportJobsRequest)
|
1919
|
+
o.output = Shapes::ShapeRef.new(shape: ListModelImportJobsResponse)
|
1920
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1921
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1922
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1923
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1924
|
+
o[:pager] = Aws::Pager.new(
|
1925
|
+
limit_key: "max_results",
|
1926
|
+
tokens: {
|
1927
|
+
"next_token" => "next_token"
|
1928
|
+
}
|
1929
|
+
)
|
1930
|
+
end)
|
1931
|
+
|
1582
1932
|
api.add_operation(:list_model_invocation_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1583
1933
|
o.name = "ListModelInvocationJobs"
|
1584
1934
|
o.http_method = "GET"
|