aws-sdk-bedrock 1.14.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.
@@ -33,7 +33,7 @@ require_relative 'aws-sdk-bedrock/customizations'
33
33
  # structure.
34
34
  #
35
35
  # bedrock = Aws::Bedrock::Client.new
36
- # resp = bedrock.create_evaluation_job(params)
36
+ # resp = bedrock.batch_delete_evaluation_job(params)
37
37
  #
38
38
  # See {Client} for more information.
39
39
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-bedrock/customizations'
53
53
  # @!group service
54
54
  module Aws::Bedrock
55
55
 
56
- GEM_VERSION = '1.14.0'
56
+ GEM_VERSION = '1.16.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -73,6 +73,17 @@ module Aws
73
73
  | (?Hash[Symbol, untyped]) -> instance
74
74
 
75
75
 
76
+ interface _BatchDeleteEvaluationJobResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteEvaluationJobResponse]
78
+ def errors: () -> ::Array[Types::BatchDeleteEvaluationJobError]
79
+ def evaluation_jobs: () -> ::Array[Types::BatchDeleteEvaluationJobItem]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#batch_delete_evaluation_job-instance_method
82
+ def batch_delete_evaluation_job: (
83
+ job_identifiers: Array[::String]
84
+ ) -> _BatchDeleteEvaluationJobResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteEvaluationJobResponseSuccess
86
+
76
87
  interface _CreateEvaluationJobResponseSuccess
77
88
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateEvaluationJobResponse]
78
89
  def job_arn: () -> ::String
@@ -304,6 +315,73 @@ module Aws
304
315
  ) -> _CreateModelCustomizationJobResponseSuccess
305
316
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelCustomizationJobResponseSuccess
306
317
 
318
+ interface _CreateModelImportJobResponseSuccess
319
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelImportJobResponse]
320
+ def job_arn: () -> ::String
321
+ end
322
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_model_import_job-instance_method
323
+ def create_model_import_job: (
324
+ job_name: ::String,
325
+ imported_model_name: ::String,
326
+ role_arn: ::String,
327
+ model_data_source: {
328
+ s3_data_source: {
329
+ s3_uri: ::String
330
+ }?
331
+ },
332
+ ?job_tags: Array[
333
+ {
334
+ key: ::String,
335
+ value: ::String
336
+ },
337
+ ],
338
+ ?imported_model_tags: Array[
339
+ {
340
+ key: ::String,
341
+ value: ::String
342
+ },
343
+ ],
344
+ ?client_request_token: ::String,
345
+ ?vpc_config: {
346
+ subnet_ids: Array[::String],
347
+ security_group_ids: Array[::String]
348
+ },
349
+ ?imported_model_kms_key_id: ::String
350
+ ) -> _CreateModelImportJobResponseSuccess
351
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelImportJobResponseSuccess
352
+
353
+ interface _CreateModelInvocationJobResponseSuccess
354
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelInvocationJobResponse]
355
+ def job_arn: () -> ::String
356
+ end
357
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_model_invocation_job-instance_method
358
+ def create_model_invocation_job: (
359
+ job_name: ::String,
360
+ role_arn: ::String,
361
+ ?client_request_token: ::String,
362
+ model_id: ::String,
363
+ input_data_config: {
364
+ s3_input_data_config: {
365
+ s3_input_format: ("JSONL")?,
366
+ s3_uri: ::String
367
+ }?
368
+ },
369
+ output_data_config: {
370
+ s3_output_data_config: {
371
+ s3_uri: ::String,
372
+ s3_encryption_key_id: ::String?
373
+ }?
374
+ },
375
+ ?timeout_duration_in_hours: ::Integer,
376
+ ?tags: Array[
377
+ {
378
+ key: ::String,
379
+ value: ::String
380
+ },
381
+ ]
382
+ ) -> _CreateModelInvocationJobResponseSuccess
383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelInvocationJobResponseSuccess
384
+
307
385
  interface _CreateProvisionedModelThroughputResponseSuccess
308
386
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateProvisionedModelThroughputResponse]
309
387
  def provisioned_model_arn: () -> ::String
@@ -343,6 +421,15 @@ module Aws
343
421
  ) -> _DeleteGuardrailResponseSuccess
344
422
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGuardrailResponseSuccess
345
423
 
424
+ interface _DeleteImportedModelResponseSuccess
425
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteImportedModelResponse]
426
+ end
427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_imported_model-instance_method
428
+ def delete_imported_model: (
429
+ model_identifier: ::String
430
+ ) -> _DeleteImportedModelResponseSuccess
431
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteImportedModelResponseSuccess
432
+
346
433
  interface _DeleteModelInvocationLoggingConfigurationResponseSuccess
347
434
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteModelInvocationLoggingConfigurationResponse]
348
435
  end
@@ -386,7 +473,7 @@ module Aws
386
473
  interface _GetEvaluationJobResponseSuccess
387
474
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEvaluationJobResponse]
388
475
  def job_name: () -> ::String
389
- def status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
476
+ def status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
390
477
  def job_arn: () -> ::String
391
478
  def job_description: () -> ::String
392
479
  def role_arn: () -> ::String
@@ -443,6 +530,23 @@ module Aws
443
530
  ) -> _GetGuardrailResponseSuccess
444
531
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGuardrailResponseSuccess
445
532
 
533
+ interface _GetImportedModelResponseSuccess
534
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetImportedModelResponse]
535
+ def model_arn: () -> ::String
536
+ def model_name: () -> ::String
537
+ def job_name: () -> ::String
538
+ def job_arn: () -> ::String
539
+ def model_data_source: () -> Types::ModelDataSource
540
+ def creation_time: () -> ::Time
541
+ def model_architecture: () -> ::String
542
+ def model_kms_key_arn: () -> ::String
543
+ end
544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_imported_model-instance_method
545
+ def get_imported_model: (
546
+ model_identifier: ::String
547
+ ) -> _GetImportedModelResponseSuccess
548
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImportedModelResponseSuccess
549
+
446
550
  interface _GetModelCopyJobResponseSuccess
447
551
  include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCopyJobResponse]
448
552
  def job_arn: () -> ::String
@@ -493,6 +597,51 @@ module Aws
493
597
  ) -> _GetModelCustomizationJobResponseSuccess
494
598
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelCustomizationJobResponseSuccess
495
599
 
600
+ interface _GetModelImportJobResponseSuccess
601
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetModelImportJobResponse]
602
+ def job_arn: () -> ::String
603
+ def job_name: () -> ::String
604
+ def imported_model_name: () -> ::String
605
+ def imported_model_arn: () -> ::String
606
+ def role_arn: () -> ::String
607
+ def model_data_source: () -> Types::ModelDataSource
608
+ def status: () -> ("InProgress" | "Completed" | "Failed")
609
+ def failure_message: () -> ::String
610
+ def creation_time: () -> ::Time
611
+ def last_modified_time: () -> ::Time
612
+ def end_time: () -> ::Time
613
+ def vpc_config: () -> Types::VpcConfig
614
+ def imported_model_kms_key_arn: () -> ::String
615
+ end
616
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_import_job-instance_method
617
+ def get_model_import_job: (
618
+ job_identifier: ::String
619
+ ) -> _GetModelImportJobResponseSuccess
620
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelImportJobResponseSuccess
621
+
622
+ interface _GetModelInvocationJobResponseSuccess
623
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetModelInvocationJobResponse]
624
+ def job_arn: () -> ::String
625
+ def job_name: () -> ::String
626
+ def model_id: () -> ::String
627
+ def client_request_token: () -> ::String
628
+ def role_arn: () -> ::String
629
+ def status: () -> ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled")
630
+ def message: () -> ::String
631
+ def submit_time: () -> ::Time
632
+ def last_modified_time: () -> ::Time
633
+ def end_time: () -> ::Time
634
+ def input_data_config: () -> Types::ModelInvocationJobInputDataConfig
635
+ def output_data_config: () -> Types::ModelInvocationJobOutputDataConfig
636
+ def timeout_duration_in_hours: () -> ::Integer
637
+ def job_expiration_time: () -> ::Time
638
+ end
639
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_invocation_job-instance_method
640
+ def get_model_invocation_job: (
641
+ job_identifier: ::String
642
+ ) -> _GetModelInvocationJobResponseSuccess
643
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelInvocationJobResponseSuccess
644
+
496
645
  interface _GetModelInvocationLoggingConfigurationResponseSuccess
497
646
  include ::Seahorse::Client::_ResponseSuccess[Types::GetModelInvocationLoggingConfigurationResponse]
498
647
  def logging_config: () -> Types::LoggingConfig
@@ -553,7 +702,7 @@ module Aws
553
702
  def list_evaluation_jobs: (
554
703
  ?creation_time_after: ::Time,
555
704
  ?creation_time_before: ::Time,
556
- ?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"),
705
+ ?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting"),
557
706
  ?name_contains: ::String,
558
707
  ?max_results: ::Integer,
559
708
  ?next_token: ::String,
@@ -588,6 +737,23 @@ module Aws
588
737
  ) -> _ListGuardrailsResponseSuccess
589
738
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGuardrailsResponseSuccess
590
739
 
740
+ interface _ListImportedModelsResponseSuccess
741
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListImportedModelsResponse]
742
+ def next_token: () -> ::String
743
+ def model_summaries: () -> ::Array[Types::ImportedModelSummary]
744
+ end
745
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_imported_models-instance_method
746
+ def list_imported_models: (
747
+ ?creation_time_before: ::Time,
748
+ ?creation_time_after: ::Time,
749
+ ?name_contains: ::String,
750
+ ?max_results: ::Integer,
751
+ ?next_token: ::String,
752
+ ?sort_by: ("CreationTime"),
753
+ ?sort_order: ("Ascending" | "Descending")
754
+ ) -> _ListImportedModelsResponseSuccess
755
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportedModelsResponseSuccess
756
+
591
757
  interface _ListModelCopyJobsResponseSuccess
592
758
  include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCopyJobsResponse]
593
759
  def next_token: () -> ::String
@@ -626,6 +792,42 @@ module Aws
626
792
  ) -> _ListModelCustomizationJobsResponseSuccess
627
793
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelCustomizationJobsResponseSuccess
628
794
 
795
+ interface _ListModelImportJobsResponseSuccess
796
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListModelImportJobsResponse]
797
+ def next_token: () -> ::String
798
+ def model_import_job_summaries: () -> ::Array[Types::ModelImportJobSummary]
799
+ end
800
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_model_import_jobs-instance_method
801
+ def list_model_import_jobs: (
802
+ ?creation_time_after: ::Time,
803
+ ?creation_time_before: ::Time,
804
+ ?status_equals: ("InProgress" | "Completed" | "Failed"),
805
+ ?name_contains: ::String,
806
+ ?max_results: ::Integer,
807
+ ?next_token: ::String,
808
+ ?sort_by: ("CreationTime"),
809
+ ?sort_order: ("Ascending" | "Descending")
810
+ ) -> _ListModelImportJobsResponseSuccess
811
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelImportJobsResponseSuccess
812
+
813
+ interface _ListModelInvocationJobsResponseSuccess
814
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListModelInvocationJobsResponse]
815
+ def next_token: () -> ::String
816
+ def invocation_job_summaries: () -> ::Array[Types::ModelInvocationJobSummary]
817
+ end
818
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_model_invocation_jobs-instance_method
819
+ def list_model_invocation_jobs: (
820
+ ?submit_time_after: ::Time,
821
+ ?submit_time_before: ::Time,
822
+ ?status_equals: ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled"),
823
+ ?name_contains: ::String,
824
+ ?max_results: ::Integer,
825
+ ?next_token: ::String,
826
+ ?sort_by: ("CreationTime"),
827
+ ?sort_order: ("Ascending" | "Descending")
828
+ ) -> _ListModelInvocationJobsResponseSuccess
829
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelInvocationJobsResponseSuccess
830
+
629
831
  interface _ListProvisionedModelThroughputsResponseSuccess
630
832
  include ::Seahorse::Client::_ResponseSuccess[Types::ListProvisionedModelThroughputsResponse]
631
833
  def next_token: () -> ::String
@@ -698,6 +900,15 @@ module Aws
698
900
  ) -> _StopModelCustomizationJobResponseSuccess
699
901
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopModelCustomizationJobResponseSuccess
700
902
 
903
+ interface _StopModelInvocationJobResponseSuccess
904
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopModelInvocationJobResponse]
905
+ end
906
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#stop_model_invocation_job-instance_method
907
+ def stop_model_invocation_job: (
908
+ job_identifier: ::String
909
+ ) -> _StopModelInvocationJobResponseSuccess
910
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopModelInvocationJobResponseSuccess
911
+
701
912
  interface _TagResourceResponseSuccess
702
913
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
703
914
  end
data/sig/types.rbs CHANGED
@@ -18,6 +18,30 @@ module Aws::Bedrock
18
18
  SENSITIVE: []
19
19
  end
20
20
 
21
+ class BatchDeleteEvaluationJobError
22
+ attr_accessor job_identifier: ::String
23
+ attr_accessor code: ::String
24
+ attr_accessor message: ::String
25
+ SENSITIVE: [:job_identifier]
26
+ end
27
+
28
+ class BatchDeleteEvaluationJobItem
29
+ attr_accessor job_identifier: ::String
30
+ attr_accessor job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
31
+ SENSITIVE: [:job_identifier]
32
+ end
33
+
34
+ class BatchDeleteEvaluationJobRequest
35
+ attr_accessor job_identifiers: ::Array[::String]
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class BatchDeleteEvaluationJobResponse
40
+ attr_accessor errors: ::Array[Types::BatchDeleteEvaluationJobError]
41
+ attr_accessor evaluation_jobs: ::Array[Types::BatchDeleteEvaluationJobItem]
42
+ SENSITIVE: []
43
+ end
44
+
21
45
  class CloudWatchConfig
22
46
  attr_accessor log_group_name: ::String
23
47
  attr_accessor role_arn: ::String
@@ -122,6 +146,41 @@ module Aws::Bedrock
122
146
  SENSITIVE: []
123
147
  end
124
148
 
149
+ class CreateModelImportJobRequest
150
+ attr_accessor job_name: ::String
151
+ attr_accessor imported_model_name: ::String
152
+ attr_accessor role_arn: ::String
153
+ attr_accessor model_data_source: Types::ModelDataSource
154
+ attr_accessor job_tags: ::Array[Types::Tag]
155
+ attr_accessor imported_model_tags: ::Array[Types::Tag]
156
+ attr_accessor client_request_token: ::String
157
+ attr_accessor vpc_config: Types::VpcConfig
158
+ attr_accessor imported_model_kms_key_id: ::String
159
+ SENSITIVE: []
160
+ end
161
+
162
+ class CreateModelImportJobResponse
163
+ attr_accessor job_arn: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class CreateModelInvocationJobRequest
168
+ attr_accessor job_name: ::String
169
+ attr_accessor role_arn: ::String
170
+ attr_accessor client_request_token: ::String
171
+ attr_accessor model_id: ::String
172
+ attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
173
+ attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
174
+ attr_accessor timeout_duration_in_hours: ::Integer
175
+ attr_accessor tags: ::Array[Types::Tag]
176
+ SENSITIVE: []
177
+ end
178
+
179
+ class CreateModelInvocationJobResponse
180
+ attr_accessor job_arn: ::String
181
+ SENSITIVE: []
182
+ end
183
+
125
184
  class CreateProvisionedModelThroughputRequest
126
185
  attr_accessor client_request_token: ::String
127
186
  attr_accessor model_units: ::Integer
@@ -165,6 +224,14 @@ module Aws::Bedrock
165
224
  class DeleteGuardrailResponse < Aws::EmptyStructure
166
225
  end
167
226
 
227
+ class DeleteImportedModelRequest
228
+ attr_accessor model_identifier: ::String
229
+ SENSITIVE: []
230
+ end
231
+
232
+ class DeleteImportedModelResponse < Aws::EmptyStructure
233
+ end
234
+
168
235
  class DeleteModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
169
236
  end
170
237
 
@@ -253,7 +320,7 @@ module Aws::Bedrock
253
320
  class EvaluationSummary
254
321
  attr_accessor job_arn: ::String
255
322
  attr_accessor job_name: ::String
256
- attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
323
+ attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
257
324
  attr_accessor creation_time: ::Time
258
325
  attr_accessor job_type: ("Human" | "Automated")
259
326
  attr_accessor evaluation_task_types: ::Array[("Summarization" | "Classification" | "QuestionAndAnswer" | "Generation" | "Custom")]
@@ -324,7 +391,7 @@ module Aws::Bedrock
324
391
 
325
392
  class GetEvaluationJobResponse
326
393
  attr_accessor job_name: ::String
327
- attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
394
+ attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
328
395
  attr_accessor job_arn: ::String
329
396
  attr_accessor job_description: ::String
330
397
  attr_accessor role_arn: ::String
@@ -377,6 +444,23 @@ module Aws::Bedrock
377
444
  SENSITIVE: [:name, :description, :blocked_input_messaging, :blocked_outputs_messaging]
378
445
  end
379
446
 
447
+ class GetImportedModelRequest
448
+ attr_accessor model_identifier: ::String
449
+ SENSITIVE: []
450
+ end
451
+
452
+ class GetImportedModelResponse
453
+ attr_accessor model_arn: ::String
454
+ attr_accessor model_name: ::String
455
+ attr_accessor job_name: ::String
456
+ attr_accessor job_arn: ::String
457
+ attr_accessor model_data_source: Types::ModelDataSource
458
+ attr_accessor creation_time: ::Time
459
+ attr_accessor model_architecture: ::String
460
+ attr_accessor model_kms_key_arn: ::String
461
+ SENSITIVE: []
462
+ end
463
+
380
464
  class GetModelCopyJobRequest
381
465
  attr_accessor job_arn: ::String
382
466
  SENSITIVE: []
@@ -427,6 +511,51 @@ module Aws::Bedrock
427
511
  SENSITIVE: []
428
512
  end
429
513
 
514
+ class GetModelImportJobRequest
515
+ attr_accessor job_identifier: ::String
516
+ SENSITIVE: []
517
+ end
518
+
519
+ class GetModelImportJobResponse
520
+ attr_accessor job_arn: ::String
521
+ attr_accessor job_name: ::String
522
+ attr_accessor imported_model_name: ::String
523
+ attr_accessor imported_model_arn: ::String
524
+ attr_accessor role_arn: ::String
525
+ attr_accessor model_data_source: Types::ModelDataSource
526
+ attr_accessor status: ("InProgress" | "Completed" | "Failed")
527
+ attr_accessor failure_message: ::String
528
+ attr_accessor creation_time: ::Time
529
+ attr_accessor last_modified_time: ::Time
530
+ attr_accessor end_time: ::Time
531
+ attr_accessor vpc_config: Types::VpcConfig
532
+ attr_accessor imported_model_kms_key_arn: ::String
533
+ SENSITIVE: []
534
+ end
535
+
536
+ class GetModelInvocationJobRequest
537
+ attr_accessor job_identifier: ::String
538
+ SENSITIVE: []
539
+ end
540
+
541
+ class GetModelInvocationJobResponse
542
+ attr_accessor job_arn: ::String
543
+ attr_accessor job_name: ::String
544
+ attr_accessor model_id: ::String
545
+ attr_accessor client_request_token: ::String
546
+ attr_accessor role_arn: ::String
547
+ attr_accessor status: ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled")
548
+ attr_accessor message: ::String
549
+ attr_accessor submit_time: ::Time
550
+ attr_accessor last_modified_time: ::Time
551
+ attr_accessor end_time: ::Time
552
+ attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
553
+ attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
554
+ attr_accessor timeout_duration_in_hours: ::Integer
555
+ attr_accessor job_expiration_time: ::Time
556
+ SENSITIVE: [:message]
557
+ end
558
+
430
559
  class GetModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
431
560
  end
432
561
 
@@ -633,6 +762,13 @@ module Aws::Bedrock
633
762
  SENSITIVE: [:instructions]
634
763
  end
635
764
 
765
+ class ImportedModelSummary
766
+ attr_accessor model_arn: ::String
767
+ attr_accessor model_name: ::String
768
+ attr_accessor creation_time: ::Time
769
+ SENSITIVE: []
770
+ end
771
+
636
772
  class InternalServerException
637
773
  attr_accessor message: ::String
638
774
  SENSITIVE: []
@@ -661,7 +797,7 @@ module Aws::Bedrock
661
797
  class ListEvaluationJobsRequest
662
798
  attr_accessor creation_time_after: ::Time
663
799
  attr_accessor creation_time_before: ::Time
664
- attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
800
+ attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
665
801
  attr_accessor name_contains: ::String
666
802
  attr_accessor max_results: ::Integer
667
803
  attr_accessor next_token: ::String
@@ -702,6 +838,23 @@ module Aws::Bedrock
702
838
  SENSITIVE: []
703
839
  end
704
840
 
841
+ class ListImportedModelsRequest
842
+ attr_accessor creation_time_before: ::Time
843
+ attr_accessor creation_time_after: ::Time
844
+ attr_accessor name_contains: ::String
845
+ attr_accessor max_results: ::Integer
846
+ attr_accessor next_token: ::String
847
+ attr_accessor sort_by: ("CreationTime")
848
+ attr_accessor sort_order: ("Ascending" | "Descending")
849
+ SENSITIVE: []
850
+ end
851
+
852
+ class ListImportedModelsResponse
853
+ attr_accessor next_token: ::String
854
+ attr_accessor model_summaries: ::Array[Types::ImportedModelSummary]
855
+ SENSITIVE: []
856
+ end
857
+
705
858
  class ListModelCopyJobsRequest
706
859
  attr_accessor creation_time_after: ::Time
707
860
  attr_accessor creation_time_before: ::Time
@@ -740,6 +893,42 @@ module Aws::Bedrock
740
893
  SENSITIVE: []
741
894
  end
742
895
 
896
+ class ListModelImportJobsRequest
897
+ attr_accessor creation_time_after: ::Time
898
+ attr_accessor creation_time_before: ::Time
899
+ attr_accessor status_equals: ("InProgress" | "Completed" | "Failed")
900
+ attr_accessor name_contains: ::String
901
+ attr_accessor max_results: ::Integer
902
+ attr_accessor next_token: ::String
903
+ attr_accessor sort_by: ("CreationTime")
904
+ attr_accessor sort_order: ("Ascending" | "Descending")
905
+ SENSITIVE: []
906
+ end
907
+
908
+ class ListModelImportJobsResponse
909
+ attr_accessor next_token: ::String
910
+ attr_accessor model_import_job_summaries: ::Array[Types::ModelImportJobSummary]
911
+ SENSITIVE: []
912
+ end
913
+
914
+ class ListModelInvocationJobsRequest
915
+ attr_accessor submit_time_after: ::Time
916
+ attr_accessor submit_time_before: ::Time
917
+ attr_accessor status_equals: ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled")
918
+ attr_accessor name_contains: ::String
919
+ attr_accessor max_results: ::Integer
920
+ attr_accessor next_token: ::String
921
+ attr_accessor sort_by: ("CreationTime")
922
+ attr_accessor sort_order: ("Ascending" | "Descending")
923
+ SENSITIVE: []
924
+ end
925
+
926
+ class ListModelInvocationJobsResponse
927
+ attr_accessor next_token: ::String
928
+ attr_accessor invocation_job_summaries: ::Array[Types::ModelInvocationJobSummary]
929
+ SENSITIVE: []
930
+ end
931
+
743
932
  class ListProvisionedModelThroughputsRequest
744
933
  attr_accessor creation_time_after: ::Time
745
934
  attr_accessor creation_time_before: ::Time
@@ -807,6 +996,81 @@ module Aws::Bedrock
807
996
  SENSITIVE: []
808
997
  end
809
998
 
999
+ class ModelDataSource
1000
+ attr_accessor s3_data_source: Types::S3DataSource
1001
+ attr_accessor unknown: untyped
1002
+ SENSITIVE: []
1003
+
1004
+ class S3DataSource < ModelDataSource
1005
+ end
1006
+ class Unknown < ModelDataSource
1007
+ end
1008
+ end
1009
+
1010
+ class ModelImportJobSummary
1011
+ attr_accessor job_arn: ::String
1012
+ attr_accessor job_name: ::String
1013
+ attr_accessor status: ("InProgress" | "Completed" | "Failed")
1014
+ attr_accessor last_modified_time: ::Time
1015
+ attr_accessor creation_time: ::Time
1016
+ attr_accessor end_time: ::Time
1017
+ attr_accessor imported_model_arn: ::String
1018
+ attr_accessor imported_model_name: ::String
1019
+ SENSITIVE: []
1020
+ end
1021
+
1022
+ class ModelInvocationJobInputDataConfig
1023
+ attr_accessor s3_input_data_config: Types::ModelInvocationJobS3InputDataConfig
1024
+ attr_accessor unknown: untyped
1025
+ SENSITIVE: []
1026
+
1027
+ class S3InputDataConfig < ModelInvocationJobInputDataConfig
1028
+ end
1029
+ class Unknown < ModelInvocationJobInputDataConfig
1030
+ end
1031
+ end
1032
+
1033
+ class ModelInvocationJobOutputDataConfig
1034
+ attr_accessor s3_output_data_config: Types::ModelInvocationJobS3OutputDataConfig
1035
+ attr_accessor unknown: untyped
1036
+ SENSITIVE: []
1037
+
1038
+ class S3OutputDataConfig < ModelInvocationJobOutputDataConfig
1039
+ end
1040
+ class Unknown < ModelInvocationJobOutputDataConfig
1041
+ end
1042
+ end
1043
+
1044
+ class ModelInvocationJobS3InputDataConfig
1045
+ attr_accessor s3_input_format: ("JSONL")
1046
+ attr_accessor s3_uri: ::String
1047
+ SENSITIVE: []
1048
+ end
1049
+
1050
+ class ModelInvocationJobS3OutputDataConfig
1051
+ attr_accessor s3_uri: ::String
1052
+ attr_accessor s3_encryption_key_id: ::String
1053
+ SENSITIVE: []
1054
+ end
1055
+
1056
+ class ModelInvocationJobSummary
1057
+ attr_accessor job_arn: ::String
1058
+ attr_accessor job_name: ::String
1059
+ attr_accessor model_id: ::String
1060
+ attr_accessor client_request_token: ::String
1061
+ attr_accessor role_arn: ::String
1062
+ attr_accessor status: ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled")
1063
+ attr_accessor message: ::String
1064
+ attr_accessor submit_time: ::Time
1065
+ attr_accessor last_modified_time: ::Time
1066
+ attr_accessor end_time: ::Time
1067
+ attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
1068
+ attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
1069
+ attr_accessor timeout_duration_in_hours: ::Integer
1070
+ attr_accessor job_expiration_time: ::Time
1071
+ SENSITIVE: [:message]
1072
+ end
1073
+
810
1074
  class OutputDataConfig
811
1075
  attr_accessor s3_uri: ::String
812
1076
  SENSITIVE: []
@@ -847,6 +1111,11 @@ module Aws::Bedrock
847
1111
  SENSITIVE: []
848
1112
  end
849
1113
 
1114
+ class S3DataSource
1115
+ attr_accessor s3_uri: ::String
1116
+ SENSITIVE: []
1117
+ end
1118
+
850
1119
  class ServiceQuotaExceededException
851
1120
  attr_accessor message: ::String
852
1121
  SENSITIVE: []
@@ -868,6 +1137,14 @@ module Aws::Bedrock
868
1137
  class StopModelCustomizationJobResponse < Aws::EmptyStructure
869
1138
  end
870
1139
 
1140
+ class StopModelInvocationJobRequest
1141
+ attr_accessor job_identifier: ::String
1142
+ SENSITIVE: []
1143
+ end
1144
+
1145
+ class StopModelInvocationJobResponse < Aws::EmptyStructure
1146
+ end
1147
+
871
1148
  class Tag
872
1149
  attr_accessor key: ::String
873
1150
  attr_accessor value: ::String