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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +594 -40
- data/lib/aws-sdk-bedrock/client_api.rb +288 -1
- data/lib/aws-sdk-bedrock/endpoints.rb +98 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-bedrock/types.rb +816 -19
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +143 -1
- data/sig/types.rbs +189 -0
- metadata +4 -4
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -239,6 +239,25 @@ module Aws
|
|
239
239
|
) -> _CreateGuardrailVersionResponseSuccess
|
240
240
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGuardrailVersionResponseSuccess
|
241
241
|
|
242
|
+
interface _CreateModelCopyJobResponseSuccess
|
243
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelCopyJobResponse]
|
244
|
+
def job_arn: () -> ::String
|
245
|
+
end
|
246
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_model_copy_job-instance_method
|
247
|
+
def create_model_copy_job: (
|
248
|
+
source_model_arn: ::String,
|
249
|
+
target_model_name: ::String,
|
250
|
+
?model_kms_key_id: ::String,
|
251
|
+
?target_model_tags: Array[
|
252
|
+
{
|
253
|
+
key: ::String,
|
254
|
+
value: ::String
|
255
|
+
},
|
256
|
+
],
|
257
|
+
?client_request_token: ::String
|
258
|
+
) -> _CreateModelCopyJobResponseSuccess
|
259
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelCopyJobResponseSuccess
|
260
|
+
|
242
261
|
interface _CreateModelCustomizationJobResponseSuccess
|
243
262
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelCustomizationJobResponse]
|
244
263
|
def job_arn: () -> ::String
|
@@ -285,6 +304,38 @@ module Aws
|
|
285
304
|
) -> _CreateModelCustomizationJobResponseSuccess
|
286
305
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelCustomizationJobResponseSuccess
|
287
306
|
|
307
|
+
interface _CreateModelInvocationJobResponseSuccess
|
308
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelInvocationJobResponse]
|
309
|
+
def job_arn: () -> ::String
|
310
|
+
end
|
311
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_model_invocation_job-instance_method
|
312
|
+
def create_model_invocation_job: (
|
313
|
+
job_name: ::String,
|
314
|
+
role_arn: ::String,
|
315
|
+
?client_request_token: ::String,
|
316
|
+
model_id: ::String,
|
317
|
+
input_data_config: {
|
318
|
+
s3_input_data_config: {
|
319
|
+
s3_input_format: ("JSONL")?,
|
320
|
+
s3_uri: ::String
|
321
|
+
}?
|
322
|
+
},
|
323
|
+
output_data_config: {
|
324
|
+
s3_output_data_config: {
|
325
|
+
s3_uri: ::String,
|
326
|
+
s3_encryption_key_id: ::String?
|
327
|
+
}?
|
328
|
+
},
|
329
|
+
?timeout_duration_in_hours: ::Integer,
|
330
|
+
?tags: Array[
|
331
|
+
{
|
332
|
+
key: ::String,
|
333
|
+
value: ::String
|
334
|
+
},
|
335
|
+
]
|
336
|
+
) -> _CreateModelInvocationJobResponseSuccess
|
337
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelInvocationJobResponseSuccess
|
338
|
+
|
288
339
|
interface _CreateProvisionedModelThroughputResponseSuccess
|
289
340
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateProvisionedModelThroughputResponse]
|
290
341
|
def provisioned_model_arn: () -> ::String
|
@@ -424,6 +475,26 @@ module Aws
|
|
424
475
|
) -> _GetGuardrailResponseSuccess
|
425
476
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGuardrailResponseSuccess
|
426
477
|
|
478
|
+
interface _GetModelCopyJobResponseSuccess
|
479
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCopyJobResponse]
|
480
|
+
def job_arn: () -> ::String
|
481
|
+
def status: () -> ("InProgress" | "Completed" | "Failed")
|
482
|
+
def creation_time: () -> ::Time
|
483
|
+
def target_model_arn: () -> ::String
|
484
|
+
def target_model_name: () -> ::String
|
485
|
+
def source_account_id: () -> ::String
|
486
|
+
def source_model_arn: () -> ::String
|
487
|
+
def target_model_kms_key_arn: () -> ::String
|
488
|
+
def target_model_tags: () -> ::Array[Types::Tag]
|
489
|
+
def failure_message: () -> ::String
|
490
|
+
def source_model_name: () -> ::String
|
491
|
+
end
|
492
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_copy_job-instance_method
|
493
|
+
def get_model_copy_job: (
|
494
|
+
job_arn: ::String
|
495
|
+
) -> _GetModelCopyJobResponseSuccess
|
496
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelCopyJobResponseSuccess
|
497
|
+
|
427
498
|
interface _GetModelCustomizationJobResponseSuccess
|
428
499
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCustomizationJobResponse]
|
429
500
|
def job_arn: () -> ::String
|
@@ -454,6 +525,29 @@ module Aws
|
|
454
525
|
) -> _GetModelCustomizationJobResponseSuccess
|
455
526
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelCustomizationJobResponseSuccess
|
456
527
|
|
528
|
+
interface _GetModelInvocationJobResponseSuccess
|
529
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelInvocationJobResponse]
|
530
|
+
def job_arn: () -> ::String
|
531
|
+
def job_name: () -> ::String
|
532
|
+
def model_id: () -> ::String
|
533
|
+
def client_request_token: () -> ::String
|
534
|
+
def role_arn: () -> ::String
|
535
|
+
def status: () -> ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled")
|
536
|
+
def message: () -> ::String
|
537
|
+
def submit_time: () -> ::Time
|
538
|
+
def last_modified_time: () -> ::Time
|
539
|
+
def end_time: () -> ::Time
|
540
|
+
def input_data_config: () -> Types::ModelInvocationJobInputDataConfig
|
541
|
+
def output_data_config: () -> Types::ModelInvocationJobOutputDataConfig
|
542
|
+
def timeout_duration_in_hours: () -> ::Integer
|
543
|
+
def job_expiration_time: () -> ::Time
|
544
|
+
end
|
545
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_invocation_job-instance_method
|
546
|
+
def get_model_invocation_job: (
|
547
|
+
job_identifier: ::String
|
548
|
+
) -> _GetModelInvocationJobResponseSuccess
|
549
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelInvocationJobResponseSuccess
|
550
|
+
|
457
551
|
interface _GetModelInvocationLoggingConfigurationResponseSuccess
|
458
552
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelInvocationLoggingConfigurationResponse]
|
459
553
|
def logging_config: () -> Types::LoggingConfig
|
@@ -500,7 +594,8 @@ module Aws
|
|
500
594
|
?max_results: ::Integer,
|
501
595
|
?next_token: ::String,
|
502
596
|
?sort_by: ("CreationTime"),
|
503
|
-
?sort_order: ("Ascending" | "Descending")
|
597
|
+
?sort_order: ("Ascending" | "Descending"),
|
598
|
+
?is_owned: bool
|
504
599
|
) -> _ListCustomModelsResponseSuccess
|
505
600
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomModelsResponseSuccess
|
506
601
|
|
@@ -548,6 +643,26 @@ module Aws
|
|
548
643
|
) -> _ListGuardrailsResponseSuccess
|
549
644
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGuardrailsResponseSuccess
|
550
645
|
|
646
|
+
interface _ListModelCopyJobsResponseSuccess
|
647
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCopyJobsResponse]
|
648
|
+
def next_token: () -> ::String
|
649
|
+
def model_copy_job_summaries: () -> ::Array[Types::ModelCopyJobSummary]
|
650
|
+
end
|
651
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_model_copy_jobs-instance_method
|
652
|
+
def list_model_copy_jobs: (
|
653
|
+
?creation_time_after: ::Time,
|
654
|
+
?creation_time_before: ::Time,
|
655
|
+
?status_equals: ("InProgress" | "Completed" | "Failed"),
|
656
|
+
?source_account_equals: ::String,
|
657
|
+
?source_model_arn_equals: ::String,
|
658
|
+
?target_model_name_contains: ::String,
|
659
|
+
?max_results: ::Integer,
|
660
|
+
?next_token: ::String,
|
661
|
+
?sort_by: ("CreationTime"),
|
662
|
+
?sort_order: ("Ascending" | "Descending")
|
663
|
+
) -> _ListModelCopyJobsResponseSuccess
|
664
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelCopyJobsResponseSuccess
|
665
|
+
|
551
666
|
interface _ListModelCustomizationJobsResponseSuccess
|
552
667
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCustomizationJobsResponse]
|
553
668
|
def next_token: () -> ::String
|
@@ -566,6 +681,24 @@ module Aws
|
|
566
681
|
) -> _ListModelCustomizationJobsResponseSuccess
|
567
682
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelCustomizationJobsResponseSuccess
|
568
683
|
|
684
|
+
interface _ListModelInvocationJobsResponseSuccess
|
685
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelInvocationJobsResponse]
|
686
|
+
def next_token: () -> ::String
|
687
|
+
def invocation_job_summaries: () -> ::Array[Types::ModelInvocationJobSummary]
|
688
|
+
end
|
689
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_model_invocation_jobs-instance_method
|
690
|
+
def list_model_invocation_jobs: (
|
691
|
+
?submit_time_after: ::Time,
|
692
|
+
?submit_time_before: ::Time,
|
693
|
+
?status_equals: ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled"),
|
694
|
+
?name_contains: ::String,
|
695
|
+
?max_results: ::Integer,
|
696
|
+
?next_token: ::String,
|
697
|
+
?sort_by: ("CreationTime"),
|
698
|
+
?sort_order: ("Ascending" | "Descending")
|
699
|
+
) -> _ListModelInvocationJobsResponseSuccess
|
700
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelInvocationJobsResponseSuccess
|
701
|
+
|
569
702
|
interface _ListProvisionedModelThroughputsResponseSuccess
|
570
703
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListProvisionedModelThroughputsResponse]
|
571
704
|
def next_token: () -> ::String
|
@@ -638,6 +771,15 @@ module Aws
|
|
638
771
|
) -> _StopModelCustomizationJobResponseSuccess
|
639
772
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopModelCustomizationJobResponseSuccess
|
640
773
|
|
774
|
+
interface _StopModelInvocationJobResponseSuccess
|
775
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopModelInvocationJobResponse]
|
776
|
+
end
|
777
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#stop_model_invocation_job-instance_method
|
778
|
+
def stop_model_invocation_job: (
|
779
|
+
job_identifier: ::String
|
780
|
+
) -> _StopModelInvocationJobResponseSuccess
|
781
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopModelInvocationJobResponseSuccess
|
782
|
+
|
641
783
|
interface _TagResourceResponseSuccess
|
642
784
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
643
785
|
end
|
data/sig/types.rbs
CHANGED
@@ -85,6 +85,20 @@ module Aws::Bedrock
|
|
85
85
|
SENSITIVE: []
|
86
86
|
end
|
87
87
|
|
88
|
+
class CreateModelCopyJobRequest
|
89
|
+
attr_accessor source_model_arn: ::String
|
90
|
+
attr_accessor target_model_name: ::String
|
91
|
+
attr_accessor model_kms_key_id: ::String
|
92
|
+
attr_accessor target_model_tags: ::Array[Types::Tag]
|
93
|
+
attr_accessor client_request_token: ::String
|
94
|
+
SENSITIVE: []
|
95
|
+
end
|
96
|
+
|
97
|
+
class CreateModelCopyJobResponse
|
98
|
+
attr_accessor job_arn: ::String
|
99
|
+
SENSITIVE: []
|
100
|
+
end
|
101
|
+
|
88
102
|
class CreateModelCustomizationJobRequest
|
89
103
|
attr_accessor job_name: ::String
|
90
104
|
attr_accessor custom_model_name: ::String
|
@@ -108,6 +122,23 @@ module Aws::Bedrock
|
|
108
122
|
SENSITIVE: []
|
109
123
|
end
|
110
124
|
|
125
|
+
class CreateModelInvocationJobRequest
|
126
|
+
attr_accessor job_name: ::String
|
127
|
+
attr_accessor role_arn: ::String
|
128
|
+
attr_accessor client_request_token: ::String
|
129
|
+
attr_accessor model_id: ::String
|
130
|
+
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
|
131
|
+
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
|
132
|
+
attr_accessor timeout_duration_in_hours: ::Integer
|
133
|
+
attr_accessor tags: ::Array[Types::Tag]
|
134
|
+
SENSITIVE: []
|
135
|
+
end
|
136
|
+
|
137
|
+
class CreateModelInvocationJobResponse
|
138
|
+
attr_accessor job_arn: ::String
|
139
|
+
SENSITIVE: []
|
140
|
+
end
|
141
|
+
|
111
142
|
class CreateProvisionedModelThroughputRequest
|
112
143
|
attr_accessor client_request_token: ::String
|
113
144
|
attr_accessor model_units: ::Integer
|
@@ -130,6 +161,7 @@ module Aws::Bedrock
|
|
130
161
|
attr_accessor base_model_arn: ::String
|
131
162
|
attr_accessor base_model_name: ::String
|
132
163
|
attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
|
164
|
+
attr_accessor owner_account_id: ::String
|
133
165
|
SENSITIVE: []
|
134
166
|
end
|
135
167
|
|
@@ -362,6 +394,26 @@ module Aws::Bedrock
|
|
362
394
|
SENSITIVE: [:name, :description, :blocked_input_messaging, :blocked_outputs_messaging]
|
363
395
|
end
|
364
396
|
|
397
|
+
class GetModelCopyJobRequest
|
398
|
+
attr_accessor job_arn: ::String
|
399
|
+
SENSITIVE: []
|
400
|
+
end
|
401
|
+
|
402
|
+
class GetModelCopyJobResponse
|
403
|
+
attr_accessor job_arn: ::String
|
404
|
+
attr_accessor status: ("InProgress" | "Completed" | "Failed")
|
405
|
+
attr_accessor creation_time: ::Time
|
406
|
+
attr_accessor target_model_arn: ::String
|
407
|
+
attr_accessor target_model_name: ::String
|
408
|
+
attr_accessor source_account_id: ::String
|
409
|
+
attr_accessor source_model_arn: ::String
|
410
|
+
attr_accessor target_model_kms_key_arn: ::String
|
411
|
+
attr_accessor target_model_tags: ::Array[Types::Tag]
|
412
|
+
attr_accessor failure_message: ::String
|
413
|
+
attr_accessor source_model_name: ::String
|
414
|
+
SENSITIVE: []
|
415
|
+
end
|
416
|
+
|
365
417
|
class GetModelCustomizationJobRequest
|
366
418
|
attr_accessor job_identifier: ::String
|
367
419
|
SENSITIVE: []
|
@@ -392,6 +444,29 @@ module Aws::Bedrock
|
|
392
444
|
SENSITIVE: []
|
393
445
|
end
|
394
446
|
|
447
|
+
class GetModelInvocationJobRequest
|
448
|
+
attr_accessor job_identifier: ::String
|
449
|
+
SENSITIVE: []
|
450
|
+
end
|
451
|
+
|
452
|
+
class GetModelInvocationJobResponse
|
453
|
+
attr_accessor job_arn: ::String
|
454
|
+
attr_accessor job_name: ::String
|
455
|
+
attr_accessor model_id: ::String
|
456
|
+
attr_accessor client_request_token: ::String
|
457
|
+
attr_accessor role_arn: ::String
|
458
|
+
attr_accessor status: ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled")
|
459
|
+
attr_accessor message: ::String
|
460
|
+
attr_accessor submit_time: ::Time
|
461
|
+
attr_accessor last_modified_time: ::Time
|
462
|
+
attr_accessor end_time: ::Time
|
463
|
+
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
|
464
|
+
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
|
465
|
+
attr_accessor timeout_duration_in_hours: ::Integer
|
466
|
+
attr_accessor job_expiration_time: ::Time
|
467
|
+
SENSITIVE: [:message]
|
468
|
+
end
|
469
|
+
|
395
470
|
class GetModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
|
396
471
|
end
|
397
472
|
|
@@ -613,6 +688,7 @@ module Aws::Bedrock
|
|
613
688
|
attr_accessor next_token: ::String
|
614
689
|
attr_accessor sort_by: ("CreationTime")
|
615
690
|
attr_accessor sort_order: ("Ascending" | "Descending")
|
691
|
+
attr_accessor is_owned: bool
|
616
692
|
SENSITIVE: []
|
617
693
|
end
|
618
694
|
|
@@ -666,6 +742,26 @@ module Aws::Bedrock
|
|
666
742
|
SENSITIVE: []
|
667
743
|
end
|
668
744
|
|
745
|
+
class ListModelCopyJobsRequest
|
746
|
+
attr_accessor creation_time_after: ::Time
|
747
|
+
attr_accessor creation_time_before: ::Time
|
748
|
+
attr_accessor status_equals: ("InProgress" | "Completed" | "Failed")
|
749
|
+
attr_accessor source_account_equals: ::String
|
750
|
+
attr_accessor source_model_arn_equals: ::String
|
751
|
+
attr_accessor target_model_name_contains: ::String
|
752
|
+
attr_accessor max_results: ::Integer
|
753
|
+
attr_accessor next_token: ::String
|
754
|
+
attr_accessor sort_by: ("CreationTime")
|
755
|
+
attr_accessor sort_order: ("Ascending" | "Descending")
|
756
|
+
SENSITIVE: []
|
757
|
+
end
|
758
|
+
|
759
|
+
class ListModelCopyJobsResponse
|
760
|
+
attr_accessor next_token: ::String
|
761
|
+
attr_accessor model_copy_job_summaries: ::Array[Types::ModelCopyJobSummary]
|
762
|
+
SENSITIVE: []
|
763
|
+
end
|
764
|
+
|
669
765
|
class ListModelCustomizationJobsRequest
|
670
766
|
attr_accessor creation_time_after: ::Time
|
671
767
|
attr_accessor creation_time_before: ::Time
|
@@ -684,6 +780,24 @@ module Aws::Bedrock
|
|
684
780
|
SENSITIVE: []
|
685
781
|
end
|
686
782
|
|
783
|
+
class ListModelInvocationJobsRequest
|
784
|
+
attr_accessor submit_time_after: ::Time
|
785
|
+
attr_accessor submit_time_before: ::Time
|
786
|
+
attr_accessor status_equals: ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled")
|
787
|
+
attr_accessor name_contains: ::String
|
788
|
+
attr_accessor max_results: ::Integer
|
789
|
+
attr_accessor next_token: ::String
|
790
|
+
attr_accessor sort_by: ("CreationTime")
|
791
|
+
attr_accessor sort_order: ("Ascending" | "Descending")
|
792
|
+
SENSITIVE: []
|
793
|
+
end
|
794
|
+
|
795
|
+
class ListModelInvocationJobsResponse
|
796
|
+
attr_accessor next_token: ::String
|
797
|
+
attr_accessor invocation_job_summaries: ::Array[Types::ModelInvocationJobSummary]
|
798
|
+
SENSITIVE: []
|
799
|
+
end
|
800
|
+
|
687
801
|
class ListProvisionedModelThroughputsRequest
|
688
802
|
attr_accessor creation_time_after: ::Time
|
689
803
|
attr_accessor creation_time_before: ::Time
|
@@ -722,6 +836,21 @@ module Aws::Bedrock
|
|
722
836
|
SENSITIVE: []
|
723
837
|
end
|
724
838
|
|
839
|
+
class ModelCopyJobSummary
|
840
|
+
attr_accessor job_arn: ::String
|
841
|
+
attr_accessor status: ("InProgress" | "Completed" | "Failed")
|
842
|
+
attr_accessor creation_time: ::Time
|
843
|
+
attr_accessor target_model_arn: ::String
|
844
|
+
attr_accessor target_model_name: ::String
|
845
|
+
attr_accessor source_account_id: ::String
|
846
|
+
attr_accessor source_model_arn: ::String
|
847
|
+
attr_accessor target_model_kms_key_arn: ::String
|
848
|
+
attr_accessor target_model_tags: ::Array[Types::Tag]
|
849
|
+
attr_accessor failure_message: ::String
|
850
|
+
attr_accessor source_model_name: ::String
|
851
|
+
SENSITIVE: []
|
852
|
+
end
|
853
|
+
|
725
854
|
class ModelCustomizationJobSummary
|
726
855
|
attr_accessor job_arn: ::String
|
727
856
|
attr_accessor base_model_arn: ::String
|
@@ -736,6 +865,58 @@ module Aws::Bedrock
|
|
736
865
|
SENSITIVE: []
|
737
866
|
end
|
738
867
|
|
868
|
+
class ModelInvocationJobInputDataConfig
|
869
|
+
attr_accessor s3_input_data_config: Types::ModelInvocationJobS3InputDataConfig
|
870
|
+
attr_accessor unknown: untyped
|
871
|
+
SENSITIVE: []
|
872
|
+
|
873
|
+
class S3InputDataConfig < ModelInvocationJobInputDataConfig
|
874
|
+
end
|
875
|
+
class Unknown < ModelInvocationJobInputDataConfig
|
876
|
+
end
|
877
|
+
end
|
878
|
+
|
879
|
+
class ModelInvocationJobOutputDataConfig
|
880
|
+
attr_accessor s3_output_data_config: Types::ModelInvocationJobS3OutputDataConfig
|
881
|
+
attr_accessor unknown: untyped
|
882
|
+
SENSITIVE: []
|
883
|
+
|
884
|
+
class S3OutputDataConfig < ModelInvocationJobOutputDataConfig
|
885
|
+
end
|
886
|
+
class Unknown < ModelInvocationJobOutputDataConfig
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
890
|
+
class ModelInvocationJobS3InputDataConfig
|
891
|
+
attr_accessor s3_input_format: ("JSONL")
|
892
|
+
attr_accessor s3_uri: ::String
|
893
|
+
SENSITIVE: []
|
894
|
+
end
|
895
|
+
|
896
|
+
class ModelInvocationJobS3OutputDataConfig
|
897
|
+
attr_accessor s3_uri: ::String
|
898
|
+
attr_accessor s3_encryption_key_id: ::String
|
899
|
+
SENSITIVE: []
|
900
|
+
end
|
901
|
+
|
902
|
+
class ModelInvocationJobSummary
|
903
|
+
attr_accessor job_arn: ::String
|
904
|
+
attr_accessor job_name: ::String
|
905
|
+
attr_accessor model_id: ::String
|
906
|
+
attr_accessor client_request_token: ::String
|
907
|
+
attr_accessor role_arn: ::String
|
908
|
+
attr_accessor status: ("Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled")
|
909
|
+
attr_accessor message: ::String
|
910
|
+
attr_accessor submit_time: ::Time
|
911
|
+
attr_accessor last_modified_time: ::Time
|
912
|
+
attr_accessor end_time: ::Time
|
913
|
+
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
|
914
|
+
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
|
915
|
+
attr_accessor timeout_duration_in_hours: ::Integer
|
916
|
+
attr_accessor job_expiration_time: ::Time
|
917
|
+
SENSITIVE: [:message]
|
918
|
+
end
|
919
|
+
|
739
920
|
class OutputDataConfig
|
740
921
|
attr_accessor s3_uri: ::String
|
741
922
|
SENSITIVE: []
|
@@ -797,6 +978,14 @@ module Aws::Bedrock
|
|
797
978
|
class StopModelCustomizationJobResponse < Aws::EmptyStructure
|
798
979
|
end
|
799
980
|
|
981
|
+
class StopModelInvocationJobRequest
|
982
|
+
attr_accessor job_identifier: ::String
|
983
|
+
SENSITIVE: []
|
984
|
+
end
|
985
|
+
|
986
|
+
class StopModelInvocationJobResponse < Aws::EmptyStructure
|
987
|
+
end
|
988
|
+
|
800
989
|
class Tag
|
801
990
|
attr_accessor key: ::String
|
802
991
|
attr_accessor value: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for Amazon Bedrock. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|