aws-sdk-bedrock 1.13.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module Aws::Bedrock
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
17
18
  AutomatedEvaluationConfig = Shapes::StructureShape.new(name: 'AutomatedEvaluationConfig')
18
19
  BaseModelIdentifier = Shapes::StringShape.new(name: 'BaseModelIdentifier')
19
20
  BedrockModelId = Shapes::StringShape.new(name: 'BedrockModelId')
@@ -29,8 +30,12 @@ module Aws::Bedrock
29
30
  CreateGuardrailResponse = Shapes::StructureShape.new(name: 'CreateGuardrailResponse')
30
31
  CreateGuardrailVersionRequest = Shapes::StructureShape.new(name: 'CreateGuardrailVersionRequest')
31
32
  CreateGuardrailVersionResponse = Shapes::StructureShape.new(name: 'CreateGuardrailVersionResponse')
33
+ CreateModelCopyJobRequest = Shapes::StructureShape.new(name: 'CreateModelCopyJobRequest')
34
+ CreateModelCopyJobResponse = Shapes::StructureShape.new(name: 'CreateModelCopyJobResponse')
32
35
  CreateModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'CreateModelCustomizationJobRequest')
33
36
  CreateModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'CreateModelCustomizationJobResponse')
37
+ CreateModelInvocationJobRequest = Shapes::StructureShape.new(name: 'CreateModelInvocationJobRequest')
38
+ CreateModelInvocationJobResponse = Shapes::StructureShape.new(name: 'CreateModelInvocationJobResponse')
34
39
  CreateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputRequest')
35
40
  CreateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputResponse')
36
41
  CustomModelArn = Shapes::StringShape.new(name: 'CustomModelArn')
@@ -91,8 +96,12 @@ module Aws::Bedrock
91
96
  GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
92
97
  GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
93
98
  GetGuardrailResponse = Shapes::StructureShape.new(name: 'GetGuardrailResponse')
99
+ GetModelCopyJobRequest = Shapes::StructureShape.new(name: 'GetModelCopyJobRequest')
100
+ GetModelCopyJobResponse = Shapes::StructureShape.new(name: 'GetModelCopyJobResponse')
94
101
  GetModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'GetModelCustomizationJobRequest')
95
102
  GetModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'GetModelCustomizationJobResponse')
103
+ GetModelInvocationJobRequest = Shapes::StructureShape.new(name: 'GetModelInvocationJobRequest')
104
+ GetModelInvocationJobResponse = Shapes::StructureShape.new(name: 'GetModelInvocationJobResponse')
96
105
  GetModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationRequest')
97
106
  GetModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationResponse')
98
107
  GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
@@ -193,8 +202,12 @@ module Aws::Bedrock
193
202
  ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
194
203
  ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
195
204
  ListGuardrailsResponse = Shapes::StructureShape.new(name: 'ListGuardrailsResponse')
205
+ ListModelCopyJobsRequest = Shapes::StructureShape.new(name: 'ListModelCopyJobsRequest')
206
+ ListModelCopyJobsResponse = Shapes::StructureShape.new(name: 'ListModelCopyJobsResponse')
196
207
  ListModelCustomizationJobsRequest = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsRequest')
197
208
  ListModelCustomizationJobsResponse = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsResponse')
209
+ ListModelInvocationJobsRequest = Shapes::StructureShape.new(name: 'ListModelInvocationJobsRequest')
210
+ ListModelInvocationJobsResponse = Shapes::StructureShape.new(name: 'ListModelInvocationJobsResponse')
198
211
  ListProvisionedModelThroughputsRequest = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsRequest')
199
212
  ListProvisionedModelThroughputsResponse = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsResponse')
200
213
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -202,8 +215,13 @@ module Aws::Bedrock
202
215
  LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
203
216
  LoggingConfig = Shapes::StructureShape.new(name: 'LoggingConfig')
204
217
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
218
+ Message = Shapes::StringShape.new(name: 'Message')
205
219
  MetricFloat = Shapes::FloatShape.new(name: 'MetricFloat')
206
220
  ModelArn = Shapes::StringShape.new(name: 'ModelArn')
221
+ ModelCopyJobArn = Shapes::StringShape.new(name: 'ModelCopyJobArn')
222
+ ModelCopyJobStatus = Shapes::StringShape.new(name: 'ModelCopyJobStatus')
223
+ ModelCopyJobSummaries = Shapes::ListShape.new(name: 'ModelCopyJobSummaries')
224
+ ModelCopyJobSummary = Shapes::StructureShape.new(name: 'ModelCopyJobSummary')
207
225
  ModelCustomization = Shapes::StringShape.new(name: 'ModelCustomization')
208
226
  ModelCustomizationHyperParameters = Shapes::MapShape.new(name: 'ModelCustomizationHyperParameters')
209
227
  ModelCustomizationJobArn = Shapes::StringShape.new(name: 'ModelCustomizationJobArn')
@@ -212,7 +230,20 @@ module Aws::Bedrock
212
230
  ModelCustomizationJobSummaries = Shapes::ListShape.new(name: 'ModelCustomizationJobSummaries')
213
231
  ModelCustomizationJobSummary = Shapes::StructureShape.new(name: 'ModelCustomizationJobSummary')
214
232
  ModelCustomizationList = Shapes::ListShape.new(name: 'ModelCustomizationList')
233
+ ModelId = Shapes::StringShape.new(name: 'ModelId')
215
234
  ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
235
+ ModelInvocationIdempotencyToken = Shapes::StringShape.new(name: 'ModelInvocationIdempotencyToken')
236
+ ModelInvocationJobArn = Shapes::StringShape.new(name: 'ModelInvocationJobArn')
237
+ ModelInvocationJobIdentifier = Shapes::StringShape.new(name: 'ModelInvocationJobIdentifier')
238
+ ModelInvocationJobInputDataConfig = Shapes::UnionShape.new(name: 'ModelInvocationJobInputDataConfig')
239
+ ModelInvocationJobName = Shapes::StringShape.new(name: 'ModelInvocationJobName')
240
+ ModelInvocationJobOutputDataConfig = Shapes::UnionShape.new(name: 'ModelInvocationJobOutputDataConfig')
241
+ ModelInvocationJobS3InputDataConfig = Shapes::StructureShape.new(name: 'ModelInvocationJobS3InputDataConfig')
242
+ ModelInvocationJobS3OutputDataConfig = Shapes::StructureShape.new(name: 'ModelInvocationJobS3OutputDataConfig')
243
+ ModelInvocationJobStatus = Shapes::StringShape.new(name: 'ModelInvocationJobStatus')
244
+ ModelInvocationJobSummaries = Shapes::ListShape.new(name: 'ModelInvocationJobSummaries')
245
+ ModelInvocationJobSummary = Shapes::StructureShape.new(name: 'ModelInvocationJobSummary')
246
+ ModelInvocationJobTimeoutDurationInHours = Shapes::IntegerShape.new(name: 'ModelInvocationJobTimeoutDurationInHours')
216
247
  ModelModality = Shapes::StringShape.new(name: 'ModelModality')
217
248
  ModelModalityList = Shapes::ListShape.new(name: 'ModelModalityList')
218
249
  ModelName = Shapes::StringShape.new(name: 'ModelName')
@@ -232,6 +263,7 @@ module Aws::Bedrock
232
263
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
233
264
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
234
265
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
266
+ S3InputFormat = Shapes::StringShape.new(name: 'S3InputFormat')
235
267
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
236
268
  SageMakerFlowDefinitionArn = Shapes::StringShape.new(name: 'SageMakerFlowDefinitionArn')
237
269
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
@@ -245,6 +277,8 @@ module Aws::Bedrock
245
277
  StopEvaluationJobResponse = Shapes::StructureShape.new(name: 'StopEvaluationJobResponse')
246
278
  StopModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'StopModelCustomizationJobRequest')
247
279
  StopModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'StopModelCustomizationJobResponse')
280
+ StopModelInvocationJobRequest = Shapes::StructureShape.new(name: 'StopModelInvocationJobRequest')
281
+ StopModelInvocationJobResponse = Shapes::StructureShape.new(name: 'StopModelInvocationJobResponse')
248
282
  String = Shapes::StringShape.new(name: 'String')
249
283
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
250
284
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
@@ -332,6 +366,16 @@ module Aws::Bedrock
332
366
  CreateGuardrailVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, required: true, location_name: "version"))
333
367
  CreateGuardrailVersionResponse.struct_class = Types::CreateGuardrailVersionResponse
334
368
 
369
+ CreateModelCopyJobRequest.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "sourceModelArn"))
370
+ CreateModelCopyJobRequest.add_member(:target_model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "targetModelName"))
371
+ CreateModelCopyJobRequest.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "modelKmsKeyId"))
372
+ CreateModelCopyJobRequest.add_member(:target_model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "targetModelTags"))
373
+ CreateModelCopyJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
374
+ CreateModelCopyJobRequest.struct_class = Types::CreateModelCopyJobRequest
375
+
376
+ CreateModelCopyJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location_name: "jobArn"))
377
+ CreateModelCopyJobResponse.struct_class = Types::CreateModelCopyJobResponse
378
+
335
379
  CreateModelCustomizationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
336
380
  CreateModelCustomizationJobRequest.add_member(:custom_model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "customModelName"))
337
381
  CreateModelCustomizationJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
@@ -351,6 +395,19 @@ module Aws::Bedrock
351
395
  CreateModelCustomizationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
352
396
  CreateModelCustomizationJobResponse.struct_class = Types::CreateModelCustomizationJobResponse
353
397
 
398
+ CreateModelInvocationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: ModelInvocationJobName, required: true, location_name: "jobName"))
399
+ CreateModelInvocationJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
400
+ CreateModelInvocationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ModelInvocationIdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
401
+ CreateModelInvocationJobRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
402
+ CreateModelInvocationJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
403
+ CreateModelInvocationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
404
+ CreateModelInvocationJobRequest.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
405
+ CreateModelInvocationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
406
+ CreateModelInvocationJobRequest.struct_class = Types::CreateModelInvocationJobRequest
407
+
408
+ CreateModelInvocationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelInvocationJobArn, required: true, location_name: "jobArn"))
409
+ CreateModelInvocationJobResponse.struct_class = Types::CreateModelInvocationJobResponse
410
+
354
411
  CreateProvisionedModelThroughputRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
355
412
  CreateProvisionedModelThroughputRequest.add_member(:model_units, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "modelUnits"))
356
413
  CreateProvisionedModelThroughputRequest.add_member(:provisioned_model_name, Shapes::ShapeRef.new(shape: ProvisionedModelName, required: true, location_name: "provisionedModelName"))
@@ -368,6 +425,7 @@ module Aws::Bedrock
368
425
  CustomModelSummary.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
369
426
  CustomModelSummary.add_member(:base_model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "baseModelName"))
370
427
  CustomModelSummary.add_member(:customization_type, Shapes::ShapeRef.new(shape: CustomizationType, location_name: "customizationType"))
428
+ CustomModelSummary.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "ownerAccountId"))
371
429
  CustomModelSummary.struct_class = Types::CustomModelSummary
372
430
 
373
431
  CustomModelSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelSummary)
@@ -553,6 +611,22 @@ module Aws::Bedrock
553
611
  GetGuardrailResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
554
612
  GetGuardrailResponse.struct_class = Types::GetGuardrailResponse
555
613
 
614
+ GetModelCopyJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location: "uri", location_name: "jobArn"))
615
+ GetModelCopyJobRequest.struct_class = Types::GetModelCopyJobRequest
616
+
617
+ GetModelCopyJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location_name: "jobArn"))
618
+ GetModelCopyJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, required: true, location_name: "status"))
619
+ GetModelCopyJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
620
+ GetModelCopyJobResponse.add_member(:target_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "targetModelArn"))
621
+ GetModelCopyJobResponse.add_member(:target_model_name, Shapes::ShapeRef.new(shape: CustomModelName, location_name: "targetModelName"))
622
+ GetModelCopyJobResponse.add_member(:source_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "sourceAccountId"))
623
+ GetModelCopyJobResponse.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "sourceModelArn"))
624
+ GetModelCopyJobResponse.add_member(:target_model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "targetModelKmsKeyArn"))
625
+ GetModelCopyJobResponse.add_member(:target_model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "targetModelTags"))
626
+ GetModelCopyJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
627
+ GetModelCopyJobResponse.add_member(:source_model_name, Shapes::ShapeRef.new(shape: CustomModelName, location_name: "sourceModelName"))
628
+ GetModelCopyJobResponse.struct_class = Types::GetModelCopyJobResponse
629
+
556
630
  GetModelCustomizationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelCustomizationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
557
631
  GetModelCustomizationJobRequest.struct_class = Types::GetModelCustomizationJobRequest
558
632
 
@@ -579,6 +653,25 @@ module Aws::Bedrock
579
653
  GetModelCustomizationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
580
654
  GetModelCustomizationJobResponse.struct_class = Types::GetModelCustomizationJobResponse
581
655
 
656
+ GetModelInvocationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelInvocationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
657
+ GetModelInvocationJobRequest.struct_class = Types::GetModelInvocationJobRequest
658
+
659
+ GetModelInvocationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelInvocationJobArn, required: true, location_name: "jobArn"))
660
+ GetModelInvocationJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: ModelInvocationJobName, location_name: "jobName"))
661
+ GetModelInvocationJobResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
662
+ GetModelInvocationJobResponse.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ModelInvocationIdempotencyToken, location_name: "clientRequestToken"))
663
+ GetModelInvocationJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
664
+ GetModelInvocationJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelInvocationJobStatus, location_name: "status"))
665
+ GetModelInvocationJobResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
666
+ GetModelInvocationJobResponse.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "submitTime"))
667
+ GetModelInvocationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
668
+ GetModelInvocationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
669
+ GetModelInvocationJobResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
670
+ GetModelInvocationJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
671
+ GetModelInvocationJobResponse.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
672
+ GetModelInvocationJobResponse.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
673
+ GetModelInvocationJobResponse.struct_class = Types::GetModelInvocationJobResponse
674
+
582
675
  GetModelInvocationLoggingConfigurationRequest.struct_class = Types::GetModelInvocationLoggingConfigurationRequest
583
676
 
584
677
  GetModelInvocationLoggingConfigurationResponse.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "loggingConfig"))
@@ -774,6 +867,7 @@ module Aws::Bedrock
774
867
  ListCustomModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
775
868
  ListCustomModelsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
776
869
  ListCustomModelsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
870
+ ListCustomModelsRequest.add_member(:is_owned, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "isOwned"))
777
871
  ListCustomModelsRequest.struct_class = Types::ListCustomModelsRequest
778
872
 
779
873
  ListCustomModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -812,6 +906,22 @@ module Aws::Bedrock
812
906
  ListGuardrailsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
813
907
  ListGuardrailsResponse.struct_class = Types::ListGuardrailsResponse
814
908
 
909
+ ListModelCopyJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
910
+ ListModelCopyJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
911
+ ListModelCopyJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, location: "querystring", location_name: "statusEquals"))
912
+ ListModelCopyJobsRequest.add_member(:source_account_equals, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "sourceAccountEquals"))
913
+ ListModelCopyJobsRequest.add_member(:source_model_arn_equals, Shapes::ShapeRef.new(shape: ModelArn, location: "querystring", location_name: "sourceModelArnEquals"))
914
+ ListModelCopyJobsRequest.add_member(:target_model_name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "outputModelNameContains"))
915
+ ListModelCopyJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
916
+ ListModelCopyJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
917
+ ListModelCopyJobsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortJobsBy, location: "querystring", location_name: "sortBy"))
918
+ ListModelCopyJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
919
+ ListModelCopyJobsRequest.struct_class = Types::ListModelCopyJobsRequest
920
+
921
+ ListModelCopyJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
922
+ ListModelCopyJobsResponse.add_member(:model_copy_job_summaries, Shapes::ShapeRef.new(shape: ModelCopyJobSummaries, location_name: "modelCopyJobSummaries"))
923
+ ListModelCopyJobsResponse.struct_class = Types::ListModelCopyJobsResponse
924
+
815
925
  ListModelCustomizationJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
816
926
  ListModelCustomizationJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
817
927
  ListModelCustomizationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: FineTuningJobStatus, location: "querystring", location_name: "statusEquals"))
@@ -826,6 +936,20 @@ module Aws::Bedrock
826
936
  ListModelCustomizationJobsResponse.add_member(:model_customization_job_summaries, Shapes::ShapeRef.new(shape: ModelCustomizationJobSummaries, location_name: "modelCustomizationJobSummaries"))
827
937
  ListModelCustomizationJobsResponse.struct_class = Types::ListModelCustomizationJobsResponse
828
938
 
939
+ ListModelInvocationJobsRequest.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "submitTimeAfter"))
940
+ ListModelInvocationJobsRequest.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "submitTimeBefore"))
941
+ ListModelInvocationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelInvocationJobStatus, location: "querystring", location_name: "statusEquals"))
942
+ ListModelInvocationJobsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ModelInvocationJobName, location: "querystring", location_name: "nameContains"))
943
+ ListModelInvocationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
944
+ ListModelInvocationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
945
+ ListModelInvocationJobsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortJobsBy, location: "querystring", location_name: "sortBy"))
946
+ ListModelInvocationJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
947
+ ListModelInvocationJobsRequest.struct_class = Types::ListModelInvocationJobsRequest
948
+
949
+ ListModelInvocationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
950
+ ListModelInvocationJobsResponse.add_member(:invocation_job_summaries, Shapes::ShapeRef.new(shape: ModelInvocationJobSummaries, location_name: "invocationJobSummaries"))
951
+ ListModelInvocationJobsResponse.struct_class = Types::ListModelInvocationJobsResponse
952
+
829
953
  ListProvisionedModelThroughputsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
830
954
  ListProvisionedModelThroughputsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
831
955
  ListProvisionedModelThroughputsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ProvisionedModelStatus, location: "querystring", location_name: "statusEquals"))
@@ -854,6 +978,21 @@ module Aws::Bedrock
854
978
  LoggingConfig.add_member(:embedding_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "embeddingDataDeliveryEnabled"))
855
979
  LoggingConfig.struct_class = Types::LoggingConfig
856
980
 
981
+ ModelCopyJobSummaries.member = Shapes::ShapeRef.new(shape: ModelCopyJobSummary)
982
+
983
+ ModelCopyJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location_name: "jobArn"))
984
+ ModelCopyJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, required: true, location_name: "status"))
985
+ ModelCopyJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
986
+ ModelCopyJobSummary.add_member(:target_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "targetModelArn"))
987
+ ModelCopyJobSummary.add_member(:target_model_name, Shapes::ShapeRef.new(shape: CustomModelName, location_name: "targetModelName"))
988
+ ModelCopyJobSummary.add_member(:source_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "sourceAccountId"))
989
+ ModelCopyJobSummary.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "sourceModelArn"))
990
+ ModelCopyJobSummary.add_member(:target_model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "targetModelKmsKeyArn"))
991
+ ModelCopyJobSummary.add_member(:target_model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "targetModelTags"))
992
+ ModelCopyJobSummary.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
993
+ ModelCopyJobSummary.add_member(:source_model_name, Shapes::ShapeRef.new(shape: CustomModelName, location_name: "sourceModelName"))
994
+ ModelCopyJobSummary.struct_class = Types::ModelCopyJobSummary
995
+
857
996
  ModelCustomizationHyperParameters.key = Shapes::ShapeRef.new(shape: String)
858
997
  ModelCustomizationHyperParameters.value = Shapes::ShapeRef.new(shape: String)
859
998
 
@@ -873,6 +1012,44 @@ module Aws::Bedrock
873
1012
 
874
1013
  ModelCustomizationList.member = Shapes::ShapeRef.new(shape: ModelCustomization)
875
1014
 
1015
+ ModelInvocationJobInputDataConfig.add_member(:s3_input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobS3InputDataConfig, location_name: "s3InputDataConfig"))
1016
+ ModelInvocationJobInputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1017
+ ModelInvocationJobInputDataConfig.add_member_subclass(:s3_input_data_config, Types::ModelInvocationJobInputDataConfig::S3InputDataConfig)
1018
+ ModelInvocationJobInputDataConfig.add_member_subclass(:unknown, Types::ModelInvocationJobInputDataConfig::Unknown)
1019
+ ModelInvocationJobInputDataConfig.struct_class = Types::ModelInvocationJobInputDataConfig
1020
+
1021
+ ModelInvocationJobOutputDataConfig.add_member(:s3_output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobS3OutputDataConfig, location_name: "s3OutputDataConfig"))
1022
+ ModelInvocationJobOutputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1023
+ ModelInvocationJobOutputDataConfig.add_member_subclass(:s3_output_data_config, Types::ModelInvocationJobOutputDataConfig::S3OutputDataConfig)
1024
+ ModelInvocationJobOutputDataConfig.add_member_subclass(:unknown, Types::ModelInvocationJobOutputDataConfig::Unknown)
1025
+ ModelInvocationJobOutputDataConfig.struct_class = Types::ModelInvocationJobOutputDataConfig
1026
+
1027
+ ModelInvocationJobS3InputDataConfig.add_member(:s3_input_format, Shapes::ShapeRef.new(shape: S3InputFormat, location_name: "s3InputFormat"))
1028
+ ModelInvocationJobS3InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
1029
+ ModelInvocationJobS3InputDataConfig.struct_class = Types::ModelInvocationJobS3InputDataConfig
1030
+
1031
+ ModelInvocationJobS3OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
1032
+ ModelInvocationJobS3OutputDataConfig.add_member(:s3_encryption_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "s3EncryptionKeyId"))
1033
+ ModelInvocationJobS3OutputDataConfig.struct_class = Types::ModelInvocationJobS3OutputDataConfig
1034
+
1035
+ ModelInvocationJobSummaries.member = Shapes::ShapeRef.new(shape: ModelInvocationJobSummary)
1036
+
1037
+ ModelInvocationJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelInvocationJobArn, required: true, location_name: "jobArn"))
1038
+ ModelInvocationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: ModelInvocationJobName, required: true, location_name: "jobName"))
1039
+ ModelInvocationJobSummary.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
1040
+ ModelInvocationJobSummary.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ModelInvocationIdempotencyToken, location_name: "clientRequestToken"))
1041
+ ModelInvocationJobSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
1042
+ ModelInvocationJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelInvocationJobStatus, location_name: "status"))
1043
+ ModelInvocationJobSummary.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
1044
+ ModelInvocationJobSummary.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "submitTime"))
1045
+ ModelInvocationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
1046
+ ModelInvocationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1047
+ ModelInvocationJobSummary.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
1048
+ ModelInvocationJobSummary.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
1049
+ ModelInvocationJobSummary.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
1050
+ ModelInvocationJobSummary.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
1051
+ ModelInvocationJobSummary.struct_class = Types::ModelInvocationJobSummary
1052
+
876
1053
  ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
877
1054
 
878
1055
  OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
@@ -921,6 +1098,11 @@ module Aws::Bedrock
921
1098
 
922
1099
  StopModelCustomizationJobResponse.struct_class = Types::StopModelCustomizationJobResponse
923
1100
 
1101
+ StopModelInvocationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelInvocationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
1102
+ StopModelInvocationJobRequest.struct_class = Types::StopModelInvocationJobRequest
1103
+
1104
+ StopModelInvocationJobResponse.struct_class = Types::StopModelInvocationJobResponse
1105
+
924
1106
  SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
925
1107
 
926
1108
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
@@ -1010,9 +1192,10 @@ module Aws::Bedrock
1010
1192
 
1011
1193
  api.metadata = {
1012
1194
  "apiVersion" => "2023-04-20",
1195
+ "auth" => ["aws.auth#sigv4"],
1013
1196
  "endpointPrefix" => "bedrock",
1014
- "jsonVersion" => "1.1",
1015
1197
  "protocol" => "rest-json",
1198
+ "protocols" => ["rest-json"],
1016
1199
  "serviceFullName" => "Amazon Bedrock",
1017
1200
  "serviceId" => "Bedrock",
1018
1201
  "signatureVersion" => "v4",
@@ -1066,6 +1249,18 @@ module Aws::Bedrock
1066
1249
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1067
1250
  end)
1068
1251
 
1252
+ api.add_operation(:create_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
1253
+ o.name = "CreateModelCopyJob"
1254
+ o.http_method = "POST"
1255
+ o.http_request_uri = "/model-copy-jobs"
1256
+ o.input = Shapes::ShapeRef.new(shape: CreateModelCopyJobRequest)
1257
+ o.output = Shapes::ShapeRef.new(shape: CreateModelCopyJobResponse)
1258
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1262
+ end)
1263
+
1069
1264
  api.add_operation(:create_model_customization_job, Seahorse::Model::Operation.new.tap do |o|
1070
1265
  o.name = "CreateModelCustomizationJob"
1071
1266
  o.http_method = "POST"
@@ -1082,6 +1277,21 @@ module Aws::Bedrock
1082
1277
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1083
1278
  end)
1084
1279
 
1280
+ api.add_operation(:create_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
1281
+ o.name = "CreateModelInvocationJob"
1282
+ o.http_method = "POST"
1283
+ o.http_request_uri = "/model-invocation-job"
1284
+ o.input = Shapes::ShapeRef.new(shape: CreateModelInvocationJobRequest)
1285
+ o.output = Shapes::ShapeRef.new(shape: CreateModelInvocationJobResponse)
1286
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1287
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1288
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1289
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1290
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1291
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1292
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1293
+ end)
1294
+
1085
1295
  api.add_operation(:create_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
1086
1296
  o.name = "CreateProvisionedModelThroughput"
1087
1297
  o.http_method = "POST"
@@ -1202,6 +1412,19 @@ module Aws::Bedrock
1202
1412
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1203
1413
  end)
1204
1414
 
1415
+ api.add_operation(:get_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
1416
+ o.name = "GetModelCopyJob"
1417
+ o.http_method = "GET"
1418
+ o.http_request_uri = "/model-copy-jobs/{jobArn}"
1419
+ o.input = Shapes::ShapeRef.new(shape: GetModelCopyJobRequest)
1420
+ o.output = Shapes::ShapeRef.new(shape: GetModelCopyJobResponse)
1421
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1422
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1424
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1425
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1426
+ end)
1427
+
1205
1428
  api.add_operation(:get_model_customization_job, Seahorse::Model::Operation.new.tap do |o|
1206
1429
  o.name = "GetModelCustomizationJob"
1207
1430
  o.http_method = "GET"
@@ -1215,6 +1438,19 @@ module Aws::Bedrock
1215
1438
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1216
1439
  end)
1217
1440
 
1441
+ api.add_operation(:get_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
1442
+ o.name = "GetModelInvocationJob"
1443
+ o.http_method = "GET"
1444
+ o.http_request_uri = "/model-invocation-job/{jobIdentifier}"
1445
+ o.input = Shapes::ShapeRef.new(shape: GetModelInvocationJobRequest)
1446
+ o.output = Shapes::ShapeRef.new(shape: GetModelInvocationJobResponse)
1447
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1448
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1449
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1450
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1451
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1452
+ end)
1453
+
1218
1454
  api.add_operation(:get_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
1219
1455
  o.name = "GetModelInvocationLoggingConfiguration"
1220
1456
  o.http_method = "GET"
@@ -1306,6 +1542,25 @@ module Aws::Bedrock
1306
1542
  )
1307
1543
  end)
1308
1544
 
1545
+ api.add_operation(:list_model_copy_jobs, Seahorse::Model::Operation.new.tap do |o|
1546
+ o.name = "ListModelCopyJobs"
1547
+ o.http_method = "GET"
1548
+ o.http_request_uri = "/model-copy-jobs"
1549
+ o.input = Shapes::ShapeRef.new(shape: ListModelCopyJobsRequest)
1550
+ o.output = Shapes::ShapeRef.new(shape: ListModelCopyJobsResponse)
1551
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1553
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1554
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1555
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1556
+ o[:pager] = Aws::Pager.new(
1557
+ limit_key: "max_results",
1558
+ tokens: {
1559
+ "next_token" => "next_token"
1560
+ }
1561
+ )
1562
+ end)
1563
+
1309
1564
  api.add_operation(:list_model_customization_jobs, Seahorse::Model::Operation.new.tap do |o|
1310
1565
  o.name = "ListModelCustomizationJobs"
1311
1566
  o.http_method = "GET"
@@ -1324,6 +1579,24 @@ module Aws::Bedrock
1324
1579
  )
1325
1580
  end)
1326
1581
 
1582
+ api.add_operation(:list_model_invocation_jobs, Seahorse::Model::Operation.new.tap do |o|
1583
+ o.name = "ListModelInvocationJobs"
1584
+ o.http_method = "GET"
1585
+ o.http_request_uri = "/model-invocation-jobs"
1586
+ o.input = Shapes::ShapeRef.new(shape: ListModelInvocationJobsRequest)
1587
+ o.output = Shapes::ShapeRef.new(shape: ListModelInvocationJobsResponse)
1588
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1589
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1590
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1591
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1592
+ o[:pager] = Aws::Pager.new(
1593
+ limit_key: "max_results",
1594
+ tokens: {
1595
+ "next_token" => "next_token"
1596
+ }
1597
+ )
1598
+ end)
1599
+
1327
1600
  api.add_operation(:list_provisioned_model_throughputs, Seahorse::Model::Operation.new.tap do |o|
1328
1601
  o.name = "ListProvisionedModelThroughputs"
1329
1602
  o.http_method = "GET"
@@ -1395,6 +1668,20 @@ module Aws::Bedrock
1395
1668
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1396
1669
  end)
1397
1670
 
1671
+ api.add_operation(:stop_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
1672
+ o.name = "StopModelInvocationJob"
1673
+ o.http_method = "POST"
1674
+ o.http_request_uri = "/model-invocation-job/{jobIdentifier}/stop"
1675
+ o.input = Shapes::ShapeRef.new(shape: StopModelInvocationJobRequest)
1676
+ o.output = Shapes::ShapeRef.new(shape: StopModelInvocationJobResponse)
1677
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1678
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1679
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1682
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1683
+ end)
1684
+
1398
1685
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1399
1686
  o.name = "TagResource"
1400
1687
  o.http_method = "POST"
@@ -54,6 +54,20 @@ module Aws::Bedrock
54
54
  end
55
55
  end
56
56
 
57
+ class CreateModelCopyJob
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::Bedrock::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
57
71
  class CreateModelCustomizationJob
58
72
  def self.build(context)
59
73
  unless context.config.regional_endpoint
@@ -68,6 +82,20 @@ module Aws::Bedrock
68
82
  end
69
83
  end
70
84
 
85
+ class CreateModelInvocationJob
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::Bedrock::EndpointParameters.new(
91
+ region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
93
+ use_fips: context.config.use_fips_endpoint,
94
+ endpoint: endpoint,
95
+ )
96
+ end
97
+ end
98
+
71
99
  class CreateProvisionedModelThroughput
72
100
  def self.build(context)
73
101
  unless context.config.regional_endpoint
@@ -194,6 +222,20 @@ module Aws::Bedrock
194
222
  end
195
223
  end
196
224
 
225
+ class GetModelCopyJob
226
+ def self.build(context)
227
+ unless context.config.regional_endpoint
228
+ endpoint = context.config.endpoint.to_s
229
+ end
230
+ Aws::Bedrock::EndpointParameters.new(
231
+ region: context.config.region,
232
+ use_dual_stack: context.config.use_dualstack_endpoint,
233
+ use_fips: context.config.use_fips_endpoint,
234
+ endpoint: endpoint,
235
+ )
236
+ end
237
+ end
238
+
197
239
  class GetModelCustomizationJob
198
240
  def self.build(context)
199
241
  unless context.config.regional_endpoint
@@ -208,6 +250,20 @@ module Aws::Bedrock
208
250
  end
209
251
  end
210
252
 
253
+ class GetModelInvocationJob
254
+ def self.build(context)
255
+ unless context.config.regional_endpoint
256
+ endpoint = context.config.endpoint.to_s
257
+ end
258
+ Aws::Bedrock::EndpointParameters.new(
259
+ region: context.config.region,
260
+ use_dual_stack: context.config.use_dualstack_endpoint,
261
+ use_fips: context.config.use_fips_endpoint,
262
+ endpoint: endpoint,
263
+ )
264
+ end
265
+ end
266
+
211
267
  class GetModelInvocationLoggingConfiguration
212
268
  def self.build(context)
213
269
  unless context.config.regional_endpoint
@@ -292,6 +348,20 @@ module Aws::Bedrock
292
348
  end
293
349
  end
294
350
 
351
+ class ListModelCopyJobs
352
+ def self.build(context)
353
+ unless context.config.regional_endpoint
354
+ endpoint = context.config.endpoint.to_s
355
+ end
356
+ Aws::Bedrock::EndpointParameters.new(
357
+ region: context.config.region,
358
+ use_dual_stack: context.config.use_dualstack_endpoint,
359
+ use_fips: context.config.use_fips_endpoint,
360
+ endpoint: endpoint,
361
+ )
362
+ end
363
+ end
364
+
295
365
  class ListModelCustomizationJobs
296
366
  def self.build(context)
297
367
  unless context.config.regional_endpoint
@@ -306,6 +376,20 @@ module Aws::Bedrock
306
376
  end
307
377
  end
308
378
 
379
+ class ListModelInvocationJobs
380
+ def self.build(context)
381
+ unless context.config.regional_endpoint
382
+ endpoint = context.config.endpoint.to_s
383
+ end
384
+ Aws::Bedrock::EndpointParameters.new(
385
+ region: context.config.region,
386
+ use_dual_stack: context.config.use_dualstack_endpoint,
387
+ use_fips: context.config.use_fips_endpoint,
388
+ endpoint: endpoint,
389
+ )
390
+ end
391
+ end
392
+
309
393
  class ListProvisionedModelThroughputs
310
394
  def self.build(context)
311
395
  unless context.config.regional_endpoint
@@ -376,6 +460,20 @@ module Aws::Bedrock
376
460
  end
377
461
  end
378
462
 
463
+ class StopModelInvocationJob
464
+ def self.build(context)
465
+ unless context.config.regional_endpoint
466
+ endpoint = context.config.endpoint.to_s
467
+ end
468
+ Aws::Bedrock::EndpointParameters.new(
469
+ region: context.config.region,
470
+ use_dual_stack: context.config.use_dualstack_endpoint,
471
+ use_fips: context.config.use_fips_endpoint,
472
+ endpoint: endpoint,
473
+ )
474
+ end
475
+ end
476
+
379
477
  class TagResource
380
478
  def self.build(context)
381
479
  unless context.config.regional_endpoint