aws-sdk-bedrock 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,14 @@ 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')
99
112
  GetModelCopyJobRequest = Shapes::StructureShape.new(name: 'GetModelCopyJobRequest')
100
113
  GetModelCopyJobResponse = Shapes::StructureShape.new(name: 'GetModelCopyJobResponse')
101
114
  GetModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'GetModelCustomizationJobRequest')
102
115
  GetModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'GetModelCustomizationJobResponse')
116
+ GetModelImportJobRequest = Shapes::StructureShape.new(name: 'GetModelImportJobRequest')
117
+ GetModelImportJobResponse = Shapes::StructureShape.new(name: 'GetModelImportJobResponse')
103
118
  GetModelInvocationJobRequest = Shapes::StructureShape.new(name: 'GetModelInvocationJobRequest')
104
119
  GetModelInvocationJobResponse = Shapes::StructureShape.new(name: 'GetModelInvocationJobResponse')
105
120
  GetModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationRequest')
@@ -187,6 +202,11 @@ module Aws::Bedrock
187
202
  HumanTaskInstructions = Shapes::StringShape.new(name: 'HumanTaskInstructions')
188
203
  HumanWorkflowConfig = Shapes::StructureShape.new(name: 'HumanWorkflowConfig')
189
204
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
205
+ ImportedModelArn = Shapes::StringShape.new(name: 'ImportedModelArn')
206
+ ImportedModelIdentifier = Shapes::StringShape.new(name: 'ImportedModelIdentifier')
207
+ ImportedModelName = Shapes::StringShape.new(name: 'ImportedModelName')
208
+ ImportedModelSummary = Shapes::StructureShape.new(name: 'ImportedModelSummary')
209
+ ImportedModelSummaryList = Shapes::ListShape.new(name: 'ImportedModelSummaryList')
190
210
  InferenceType = Shapes::StringShape.new(name: 'InferenceType')
191
211
  InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
192
212
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -202,10 +222,14 @@ module Aws::Bedrock
202
222
  ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
203
223
  ListGuardrailsRequest = Shapes::StructureShape.new(name: 'ListGuardrailsRequest')
204
224
  ListGuardrailsResponse = Shapes::StructureShape.new(name: 'ListGuardrailsResponse')
225
+ ListImportedModelsRequest = Shapes::StructureShape.new(name: 'ListImportedModelsRequest')
226
+ ListImportedModelsResponse = Shapes::StructureShape.new(name: 'ListImportedModelsResponse')
205
227
  ListModelCopyJobsRequest = Shapes::StructureShape.new(name: 'ListModelCopyJobsRequest')
206
228
  ListModelCopyJobsResponse = Shapes::StructureShape.new(name: 'ListModelCopyJobsResponse')
207
229
  ListModelCustomizationJobsRequest = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsRequest')
208
230
  ListModelCustomizationJobsResponse = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsResponse')
231
+ ListModelImportJobsRequest = Shapes::StructureShape.new(name: 'ListModelImportJobsRequest')
232
+ ListModelImportJobsResponse = Shapes::StructureShape.new(name: 'ListModelImportJobsResponse')
209
233
  ListModelInvocationJobsRequest = Shapes::StructureShape.new(name: 'ListModelInvocationJobsRequest')
210
234
  ListModelInvocationJobsResponse = Shapes::StructureShape.new(name: 'ListModelInvocationJobsResponse')
211
235
  ListProvisionedModelThroughputsRequest = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsRequest')
@@ -230,8 +254,14 @@ module Aws::Bedrock
230
254
  ModelCustomizationJobSummaries = Shapes::ListShape.new(name: 'ModelCustomizationJobSummaries')
231
255
  ModelCustomizationJobSummary = Shapes::StructureShape.new(name: 'ModelCustomizationJobSummary')
232
256
  ModelCustomizationList = Shapes::ListShape.new(name: 'ModelCustomizationList')
257
+ ModelDataSource = Shapes::UnionShape.new(name: 'ModelDataSource')
233
258
  ModelId = Shapes::StringShape.new(name: 'ModelId')
234
259
  ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
260
+ ModelImportJobArn = Shapes::StringShape.new(name: 'ModelImportJobArn')
261
+ ModelImportJobIdentifier = Shapes::StringShape.new(name: 'ModelImportJobIdentifier')
262
+ ModelImportJobStatus = Shapes::StringShape.new(name: 'ModelImportJobStatus')
263
+ ModelImportJobSummaries = Shapes::ListShape.new(name: 'ModelImportJobSummaries')
264
+ ModelImportJobSummary = Shapes::StructureShape.new(name: 'ModelImportJobSummary')
235
265
  ModelInvocationIdempotencyToken = Shapes::StringShape.new(name: 'ModelInvocationIdempotencyToken')
236
266
  ModelInvocationJobArn = Shapes::StringShape.new(name: 'ModelInvocationJobArn')
237
267
  ModelInvocationJobIdentifier = Shapes::StringShape.new(name: 'ModelInvocationJobIdentifier')
@@ -263,6 +293,7 @@ module Aws::Bedrock
263
293
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
264
294
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
265
295
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
296
+ S3DataSource = Shapes::StructureShape.new(name: 'S3DataSource')
266
297
  S3InputFormat = Shapes::StringShape.new(name: 'S3InputFormat')
267
298
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
268
299
  SageMakerFlowDefinitionArn = Shapes::StringShape.new(name: 'SageMakerFlowDefinitionArn')
@@ -315,6 +346,26 @@ module Aws::Bedrock
315
346
  AutomatedEvaluationConfig.add_member(:dataset_metric_configs, Shapes::ShapeRef.new(shape: EvaluationDatasetMetricConfigs, required: true, location_name: "datasetMetricConfigs"))
316
347
  AutomatedEvaluationConfig.struct_class = Types::AutomatedEvaluationConfig
317
348
 
349
+ BatchDeleteEvaluationJobError.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location_name: "jobIdentifier"))
350
+ BatchDeleteEvaluationJobError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
351
+ BatchDeleteEvaluationJobError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
352
+ BatchDeleteEvaluationJobError.struct_class = Types::BatchDeleteEvaluationJobError
353
+
354
+ BatchDeleteEvaluationJobErrors.member = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobError)
355
+
356
+ BatchDeleteEvaluationJobItem.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location_name: "jobIdentifier"))
357
+ BatchDeleteEvaluationJobItem.add_member(:job_status, Shapes::ShapeRef.new(shape: EvaluationJobStatus, required: true, location_name: "jobStatus"))
358
+ BatchDeleteEvaluationJobItem.struct_class = Types::BatchDeleteEvaluationJobItem
359
+
360
+ BatchDeleteEvaluationJobItems.member = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobItem)
361
+
362
+ BatchDeleteEvaluationJobRequest.add_member(:job_identifiers, Shapes::ShapeRef.new(shape: EvaluationJobIdentifiers, required: true, location_name: "jobIdentifiers"))
363
+ BatchDeleteEvaluationJobRequest.struct_class = Types::BatchDeleteEvaluationJobRequest
364
+
365
+ BatchDeleteEvaluationJobResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobErrors, required: true, location_name: "errors"))
366
+ BatchDeleteEvaluationJobResponse.add_member(:evaluation_jobs, Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobItems, required: true, location_name: "evaluationJobs"))
367
+ BatchDeleteEvaluationJobResponse.struct_class = Types::BatchDeleteEvaluationJobResponse
368
+
318
369
  CloudWatchConfig.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
319
370
  CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
320
371
  CloudWatchConfig.add_member(:large_data_delivery_s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "largeDataDeliveryS3Config"))
@@ -395,6 +446,20 @@ module Aws::Bedrock
395
446
  CreateModelCustomizationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
396
447
  CreateModelCustomizationJobResponse.struct_class = Types::CreateModelCustomizationJobResponse
397
448
 
449
+ CreateModelImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
450
+ CreateModelImportJobRequest.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "importedModelName"))
451
+ CreateModelImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
452
+ CreateModelImportJobRequest.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, required: true, location_name: "modelDataSource"))
453
+ CreateModelImportJobRequest.add_member(:job_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "jobTags"))
454
+ CreateModelImportJobRequest.add_member(:imported_model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "importedModelTags"))
455
+ CreateModelImportJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken"))
456
+ CreateModelImportJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
457
+ CreateModelImportJobRequest.add_member(:imported_model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "importedModelKmsKeyId"))
458
+ CreateModelImportJobRequest.struct_class = Types::CreateModelImportJobRequest
459
+
460
+ CreateModelImportJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, required: true, location_name: "jobArn"))
461
+ CreateModelImportJobResponse.struct_class = Types::CreateModelImportJobResponse
462
+
398
463
  CreateModelInvocationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: ModelInvocationJobName, required: true, location_name: "jobName"))
399
464
  CreateModelInvocationJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
400
465
  CreateModelInvocationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ModelInvocationIdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
@@ -441,6 +506,11 @@ module Aws::Bedrock
441
506
 
442
507
  DeleteGuardrailResponse.struct_class = Types::DeleteGuardrailResponse
443
508
 
509
+ DeleteImportedModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ImportedModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
510
+ DeleteImportedModelRequest.struct_class = Types::DeleteImportedModelRequest
511
+
512
+ DeleteImportedModelResponse.struct_class = Types::DeleteImportedModelResponse
513
+
444
514
  DeleteModelInvocationLoggingConfigurationRequest.struct_class = Types::DeleteModelInvocationLoggingConfigurationRequest
445
515
 
446
516
  DeleteModelInvocationLoggingConfigurationResponse.struct_class = Types::DeleteModelInvocationLoggingConfigurationResponse
@@ -487,6 +557,8 @@ module Aws::Bedrock
487
557
  EvaluationInferenceConfig.add_member_subclass(:unknown, Types::EvaluationInferenceConfig::Unknown)
488
558
  EvaluationInferenceConfig.struct_class = Types::EvaluationInferenceConfig
489
559
 
560
+ EvaluationJobIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluationJobIdentifier)
561
+
490
562
  EvaluationMetricNames.member = Shapes::ShapeRef.new(shape: EvaluationMetricName)
491
563
 
492
564
  EvaluationModelConfig.add_member(:bedrock_model, Shapes::ShapeRef.new(shape: EvaluationBedrockModel, location_name: "bedrockModel"))
@@ -611,6 +683,19 @@ module Aws::Bedrock
611
683
  GetGuardrailResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
612
684
  GetGuardrailResponse.struct_class = Types::GetGuardrailResponse
613
685
 
686
+ GetImportedModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ImportedModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
687
+ GetImportedModelRequest.struct_class = Types::GetImportedModelRequest
688
+
689
+ GetImportedModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "modelArn"))
690
+ GetImportedModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "modelName"))
691
+ GetImportedModelResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
692
+ GetImportedModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, location_name: "jobArn"))
693
+ GetImportedModelResponse.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "modelDataSource"))
694
+ GetImportedModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
695
+ GetImportedModelResponse.add_member(:model_architecture, Shapes::ShapeRef.new(shape: String, location_name: "modelArchitecture"))
696
+ GetImportedModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
697
+ GetImportedModelResponse.struct_class = Types::GetImportedModelResponse
698
+
614
699
  GetModelCopyJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location: "uri", location_name: "jobArn"))
615
700
  GetModelCopyJobRequest.struct_class = Types::GetModelCopyJobRequest
616
701
 
@@ -653,6 +738,24 @@ module Aws::Bedrock
653
738
  GetModelCustomizationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
654
739
  GetModelCustomizationJobResponse.struct_class = Types::GetModelCustomizationJobResponse
655
740
 
741
+ GetModelImportJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelImportJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
742
+ GetModelImportJobRequest.struct_class = Types::GetModelImportJobRequest
743
+
744
+ GetModelImportJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, location_name: "jobArn"))
745
+ GetModelImportJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
746
+ GetModelImportJobResponse.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "importedModelName"))
747
+ GetModelImportJobResponse.add_member(:imported_model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "importedModelArn"))
748
+ GetModelImportJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
749
+ GetModelImportJobResponse.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "modelDataSource"))
750
+ GetModelImportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelImportJobStatus, location_name: "status"))
751
+ GetModelImportJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
752
+ GetModelImportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
753
+ GetModelImportJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
754
+ GetModelImportJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
755
+ GetModelImportJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
756
+ GetModelImportJobResponse.add_member(:imported_model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "importedModelKmsKeyArn"))
757
+ GetModelImportJobResponse.struct_class = Types::GetModelImportJobResponse
758
+
656
759
  GetModelInvocationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelInvocationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
657
760
  GetModelInvocationJobRequest.struct_class = Types::GetModelInvocationJobRequest
658
761
 
@@ -853,6 +956,13 @@ module Aws::Bedrock
853
956
  HumanWorkflowConfig.add_member(:instructions, Shapes::ShapeRef.new(shape: HumanTaskInstructions, location_name: "instructions"))
854
957
  HumanWorkflowConfig.struct_class = Types::HumanWorkflowConfig
855
958
 
959
+ ImportedModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, required: true, location_name: "modelArn"))
960
+ ImportedModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ImportedModelName, required: true, location_name: "modelName"))
961
+ ImportedModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
962
+ ImportedModelSummary.struct_class = Types::ImportedModelSummary
963
+
964
+ ImportedModelSummaryList.member = Shapes::ShapeRef.new(shape: ImportedModelSummary)
965
+
856
966
  InferenceTypeList.member = Shapes::ShapeRef.new(shape: InferenceType)
857
967
 
858
968
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
@@ -906,6 +1016,19 @@ module Aws::Bedrock
906
1016
  ListGuardrailsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
907
1017
  ListGuardrailsResponse.struct_class = Types::ListGuardrailsResponse
908
1018
 
1019
+ ListImportedModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1020
+ ListImportedModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1021
+ ListImportedModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ImportedModelName, location: "querystring", location_name: "nameContains"))
1022
+ ListImportedModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1023
+ ListImportedModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1024
+ ListImportedModelsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
1025
+ ListImportedModelsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
1026
+ ListImportedModelsRequest.struct_class = Types::ListImportedModelsRequest
1027
+
1028
+ ListImportedModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1029
+ ListImportedModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: ImportedModelSummaryList, location_name: "modelSummaries"))
1030
+ ListImportedModelsResponse.struct_class = Types::ListImportedModelsResponse
1031
+
909
1032
  ListModelCopyJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
910
1033
  ListModelCopyJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
911
1034
  ListModelCopyJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, location: "querystring", location_name: "statusEquals"))
@@ -936,6 +1059,20 @@ module Aws::Bedrock
936
1059
  ListModelCustomizationJobsResponse.add_member(:model_customization_job_summaries, Shapes::ShapeRef.new(shape: ModelCustomizationJobSummaries, location_name: "modelCustomizationJobSummaries"))
937
1060
  ListModelCustomizationJobsResponse.struct_class = Types::ListModelCustomizationJobsResponse
938
1061
 
1062
+ ListModelImportJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1063
+ ListModelImportJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1064
+ ListModelImportJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelImportJobStatus, location: "querystring", location_name: "statusEquals"))
1065
+ ListModelImportJobsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: JobName, location: "querystring", location_name: "nameContains"))
1066
+ ListModelImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1067
+ ListModelImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1068
+ ListModelImportJobsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortJobsBy, location: "querystring", location_name: "sortBy"))
1069
+ ListModelImportJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
1070
+ ListModelImportJobsRequest.struct_class = Types::ListModelImportJobsRequest
1071
+
1072
+ ListModelImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1073
+ ListModelImportJobsResponse.add_member(:model_import_job_summaries, Shapes::ShapeRef.new(shape: ModelImportJobSummaries, location_name: "modelImportJobSummaries"))
1074
+ ListModelImportJobsResponse.struct_class = Types::ListModelImportJobsResponse
1075
+
939
1076
  ListModelInvocationJobsRequest.add_member(:submit_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "submitTimeAfter"))
940
1077
  ListModelInvocationJobsRequest.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "submitTimeBefore"))
941
1078
  ListModelInvocationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelInvocationJobStatus, location: "querystring", location_name: "statusEquals"))
@@ -1012,6 +1149,24 @@ module Aws::Bedrock
1012
1149
 
1013
1150
  ModelCustomizationList.member = Shapes::ShapeRef.new(shape: ModelCustomization)
1014
1151
 
1152
+ ModelDataSource.add_member(:s3_data_source, Shapes::ShapeRef.new(shape: S3DataSource, location_name: "s3DataSource"))
1153
+ ModelDataSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1154
+ ModelDataSource.add_member_subclass(:s3_data_source, Types::ModelDataSource::S3DataSource)
1155
+ ModelDataSource.add_member_subclass(:unknown, Types::ModelDataSource::Unknown)
1156
+ ModelDataSource.struct_class = Types::ModelDataSource
1157
+
1158
+ ModelImportJobSummaries.member = Shapes::ShapeRef.new(shape: ModelImportJobSummary)
1159
+
1160
+ ModelImportJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, required: true, location_name: "jobArn"))
1161
+ ModelImportJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
1162
+ ModelImportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelImportJobStatus, required: true, location_name: "status"))
1163
+ ModelImportJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
1164
+ ModelImportJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
1165
+ ModelImportJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1166
+ ModelImportJobSummary.add_member(:imported_model_arn, Shapes::ShapeRef.new(shape: ImportedModelArn, location_name: "importedModelArn"))
1167
+ ModelImportJobSummary.add_member(:imported_model_name, Shapes::ShapeRef.new(shape: ImportedModelName, location_name: "importedModelName"))
1168
+ ModelImportJobSummary.struct_class = Types::ModelImportJobSummary
1169
+
1015
1170
  ModelInvocationJobInputDataConfig.add_member(:s3_input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobS3InputDataConfig, location_name: "s3InputDataConfig"))
1016
1171
  ModelInvocationJobInputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1017
1172
  ModelInvocationJobInputDataConfig.add_member_subclass(:s3_input_data_config, Types::ModelInvocationJobInputDataConfig::S3InputDataConfig)
@@ -1083,6 +1238,9 @@ module Aws::Bedrock
1083
1238
  S3Config.add_member(:key_prefix, Shapes::ShapeRef.new(shape: KeyPrefix, location_name: "keyPrefix"))
1084
1239
  S3Config.struct_class = Types::S3Config
1085
1240
 
1241
+ S3DataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
1242
+ S3DataSource.struct_class = Types::S3DataSource
1243
+
1086
1244
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
1087
1245
 
1088
1246
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
@@ -1203,6 +1361,20 @@ module Aws::Bedrock
1203
1361
  "uid" => "bedrock-2023-04-20",
1204
1362
  }
1205
1363
 
1364
+ api.add_operation(:batch_delete_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
1365
+ o.name = "BatchDeleteEvaluationJob"
1366
+ o.http_method = "POST"
1367
+ o.http_request_uri = "/evaluation-jobs/batch-delete"
1368
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobRequest)
1369
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteEvaluationJobResponse)
1370
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1371
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1372
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1373
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1374
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1375
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1376
+ end)
1377
+
1206
1378
  api.add_operation(:create_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
1207
1379
  o.name = "CreateEvaluationJob"
1208
1380
  o.http_method = "POST"
@@ -1277,6 +1449,22 @@ module Aws::Bedrock
1277
1449
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1278
1450
  end)
1279
1451
 
1452
+ api.add_operation(:create_model_import_job, Seahorse::Model::Operation.new.tap do |o|
1453
+ o.name = "CreateModelImportJob"
1454
+ o.http_method = "POST"
1455
+ o.http_request_uri = "/model-import-jobs"
1456
+ o.input = Shapes::ShapeRef.new(shape: CreateModelImportJobRequest)
1457
+ o.output = Shapes::ShapeRef.new(shape: CreateModelImportJobResponse)
1458
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1459
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1463
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1464
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1465
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1466
+ end)
1467
+
1280
1468
  api.add_operation(:create_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
1281
1469
  o.name = "CreateModelInvocationJob"
1282
1470
  o.http_method = "POST"
@@ -1335,6 +1523,20 @@ module Aws::Bedrock
1335
1523
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1336
1524
  end)
1337
1525
 
1526
+ api.add_operation(:delete_imported_model, Seahorse::Model::Operation.new.tap do |o|
1527
+ o.name = "DeleteImportedModel"
1528
+ o.http_method = "DELETE"
1529
+ o.http_request_uri = "/imported-models/{modelIdentifier}"
1530
+ o.input = Shapes::ShapeRef.new(shape: DeleteImportedModelRequest)
1531
+ o.output = Shapes::ShapeRef.new(shape: DeleteImportedModelResponse)
1532
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1533
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1534
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1535
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1536
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1537
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1538
+ end)
1539
+
1338
1540
  api.add_operation(:delete_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
1339
1541
  o.name = "DeleteModelInvocationLoggingConfiguration"
1340
1542
  o.http_method = "DELETE"
@@ -1412,6 +1614,19 @@ module Aws::Bedrock
1412
1614
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1413
1615
  end)
1414
1616
 
1617
+ api.add_operation(:get_imported_model, Seahorse::Model::Operation.new.tap do |o|
1618
+ o.name = "GetImportedModel"
1619
+ o.http_method = "GET"
1620
+ o.http_request_uri = "/imported-models/{modelIdentifier}"
1621
+ o.input = Shapes::ShapeRef.new(shape: GetImportedModelRequest)
1622
+ o.output = Shapes::ShapeRef.new(shape: GetImportedModelResponse)
1623
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1624
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1625
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1626
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1627
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1628
+ end)
1629
+
1415
1630
  api.add_operation(:get_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
1416
1631
  o.name = "GetModelCopyJob"
1417
1632
  o.http_method = "GET"
@@ -1438,6 +1653,19 @@ module Aws::Bedrock
1438
1653
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1439
1654
  end)
1440
1655
 
1656
+ api.add_operation(:get_model_import_job, Seahorse::Model::Operation.new.tap do |o|
1657
+ o.name = "GetModelImportJob"
1658
+ o.http_method = "GET"
1659
+ o.http_request_uri = "/model-import-jobs/{jobIdentifier}"
1660
+ o.input = Shapes::ShapeRef.new(shape: GetModelImportJobRequest)
1661
+ o.output = Shapes::ShapeRef.new(shape: GetModelImportJobResponse)
1662
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1663
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1667
+ end)
1668
+
1441
1669
  api.add_operation(:get_model_invocation_job, Seahorse::Model::Operation.new.tap do |o|
1442
1670
  o.name = "GetModelInvocationJob"
1443
1671
  o.http_method = "GET"
@@ -1542,6 +1770,24 @@ module Aws::Bedrock
1542
1770
  )
1543
1771
  end)
1544
1772
 
1773
+ api.add_operation(:list_imported_models, Seahorse::Model::Operation.new.tap do |o|
1774
+ o.name = "ListImportedModels"
1775
+ o.http_method = "GET"
1776
+ o.http_request_uri = "/imported-models"
1777
+ o.input = Shapes::ShapeRef.new(shape: ListImportedModelsRequest)
1778
+ o.output = Shapes::ShapeRef.new(shape: ListImportedModelsResponse)
1779
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1780
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1781
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1782
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1783
+ o[:pager] = Aws::Pager.new(
1784
+ limit_key: "max_results",
1785
+ tokens: {
1786
+ "next_token" => "next_token"
1787
+ }
1788
+ )
1789
+ end)
1790
+
1545
1791
  api.add_operation(:list_model_copy_jobs, Seahorse::Model::Operation.new.tap do |o|
1546
1792
  o.name = "ListModelCopyJobs"
1547
1793
  o.http_method = "GET"
@@ -1579,6 +1825,24 @@ module Aws::Bedrock
1579
1825
  )
1580
1826
  end)
1581
1827
 
1828
+ api.add_operation(:list_model_import_jobs, Seahorse::Model::Operation.new.tap do |o|
1829
+ o.name = "ListModelImportJobs"
1830
+ o.http_method = "GET"
1831
+ o.http_request_uri = "/model-import-jobs"
1832
+ o.input = Shapes::ShapeRef.new(shape: ListModelImportJobsRequest)
1833
+ o.output = Shapes::ShapeRef.new(shape: ListModelImportJobsResponse)
1834
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1835
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1836
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1837
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1838
+ o[:pager] = Aws::Pager.new(
1839
+ limit_key: "max_results",
1840
+ tokens: {
1841
+ "next_token" => "next_token"
1842
+ }
1843
+ )
1844
+ end)
1845
+
1582
1846
  api.add_operation(:list_model_invocation_jobs, Seahorse::Model::Operation.new.tap do |o|
1583
1847
  o.name = "ListModelInvocationJobs"
1584
1848
  o.http_method = "GET"
@@ -12,6 +12,20 @@ module Aws::Bedrock
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class BatchDeleteEvaluationJob
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::Bedrock::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
15
29
  class CreateEvaluationJob
16
30
  def self.build(context)
17
31
  unless context.config.regional_endpoint
@@ -82,6 +96,20 @@ module Aws::Bedrock
82
96
  end
83
97
  end
84
98
 
99
+ class CreateModelImportJob
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::Bedrock::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
85
113
  class CreateModelInvocationJob
86
114
  def self.build(context)
87
115
  unless context.config.regional_endpoint
@@ -138,6 +166,20 @@ module Aws::Bedrock
138
166
  end
139
167
  end
140
168
 
169
+ class DeleteImportedModel
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::Bedrock::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
141
183
  class DeleteModelInvocationLoggingConfiguration
142
184
  def self.build(context)
143
185
  unless context.config.regional_endpoint
@@ -222,6 +264,20 @@ module Aws::Bedrock
222
264
  end
223
265
  end
224
266
 
267
+ class GetImportedModel
268
+ def self.build(context)
269
+ unless context.config.regional_endpoint
270
+ endpoint = context.config.endpoint.to_s
271
+ end
272
+ Aws::Bedrock::EndpointParameters.new(
273
+ region: context.config.region,
274
+ use_dual_stack: context.config.use_dualstack_endpoint,
275
+ use_fips: context.config.use_fips_endpoint,
276
+ endpoint: endpoint,
277
+ )
278
+ end
279
+ end
280
+
225
281
  class GetModelCopyJob
226
282
  def self.build(context)
227
283
  unless context.config.regional_endpoint
@@ -250,6 +306,20 @@ module Aws::Bedrock
250
306
  end
251
307
  end
252
308
 
309
+ class GetModelImportJob
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::Bedrock::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
253
323
  class GetModelInvocationJob
254
324
  def self.build(context)
255
325
  unless context.config.regional_endpoint
@@ -348,6 +418,20 @@ module Aws::Bedrock
348
418
  end
349
419
  end
350
420
 
421
+ class ListImportedModels
422
+ def self.build(context)
423
+ unless context.config.regional_endpoint
424
+ endpoint = context.config.endpoint.to_s
425
+ end
426
+ Aws::Bedrock::EndpointParameters.new(
427
+ region: context.config.region,
428
+ use_dual_stack: context.config.use_dualstack_endpoint,
429
+ use_fips: context.config.use_fips_endpoint,
430
+ endpoint: endpoint,
431
+ )
432
+ end
433
+ end
434
+
351
435
  class ListModelCopyJobs
352
436
  def self.build(context)
353
437
  unless context.config.regional_endpoint
@@ -376,6 +460,20 @@ module Aws::Bedrock
376
460
  end
377
461
  end
378
462
 
463
+ class ListModelImportJobs
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 ListModelInvocationJobs
380
478
  def self.build(context)
381
479
  unless context.config.regional_endpoint