aws-sdk-bedrock 1.15.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +527 -12
- data/lib/aws-sdk-bedrock/client_api.rb +350 -0
- data/lib/aws-sdk-bedrock/endpoints.rb +126 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-bedrock/types.rb +757 -13
- data/lib/aws-sdk-bedrock.rb +2 -2
- data/sig/client.rbs +161 -2
- data/sig/types.rbs +210 -3
- metadata +2 -2
data/lib/aws-sdk-bedrock.rb
CHANGED
@@ -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.
|
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.
|
56
|
+
GEM_VERSION = '1.17.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,41 @@ 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
|
+
|
307
353
|
interface _CreateModelInvocationJobResponseSuccess
|
308
354
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelInvocationJobResponse]
|
309
355
|
def job_arn: () -> ::String
|
@@ -375,6 +421,15 @@ module Aws
|
|
375
421
|
) -> _DeleteGuardrailResponseSuccess
|
376
422
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGuardrailResponseSuccess
|
377
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
|
+
|
378
433
|
interface _DeleteModelInvocationLoggingConfigurationResponseSuccess
|
379
434
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteModelInvocationLoggingConfigurationResponse]
|
380
435
|
end
|
@@ -418,7 +473,7 @@ module Aws
|
|
418
473
|
interface _GetEvaluationJobResponseSuccess
|
419
474
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetEvaluationJobResponse]
|
420
475
|
def job_name: () -> ::String
|
421
|
-
def status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
476
|
+
def status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
|
422
477
|
def job_arn: () -> ::String
|
423
478
|
def job_description: () -> ::String
|
424
479
|
def role_arn: () -> ::String
|
@@ -475,6 +530,41 @@ module Aws
|
|
475
530
|
) -> _GetGuardrailResponseSuccess
|
476
531
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGuardrailResponseSuccess
|
477
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
|
+
|
550
|
+
interface _GetInferenceProfileResponseSuccess
|
551
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInferenceProfileResponse]
|
552
|
+
def inference_profile_name: () -> ::String
|
553
|
+
def models: () -> ::Array[Types::InferenceProfileModel]
|
554
|
+
def description: () -> ::String
|
555
|
+
def created_at: () -> ::Time
|
556
|
+
def updated_at: () -> ::Time
|
557
|
+
def inference_profile_arn: () -> ::String
|
558
|
+
def inference_profile_id: () -> ::String
|
559
|
+
def status: () -> ("ACTIVE")
|
560
|
+
def type: () -> ("SYSTEM_DEFINED")
|
561
|
+
end
|
562
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_inference_profile-instance_method
|
563
|
+
def get_inference_profile: (
|
564
|
+
inference_profile_identifier: ::String
|
565
|
+
) -> _GetInferenceProfileResponseSuccess
|
566
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInferenceProfileResponseSuccess
|
567
|
+
|
478
568
|
interface _GetModelCopyJobResponseSuccess
|
479
569
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCopyJobResponse]
|
480
570
|
def job_arn: () -> ::String
|
@@ -525,6 +615,28 @@ module Aws
|
|
525
615
|
) -> _GetModelCustomizationJobResponseSuccess
|
526
616
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelCustomizationJobResponseSuccess
|
527
617
|
|
618
|
+
interface _GetModelImportJobResponseSuccess
|
619
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelImportJobResponse]
|
620
|
+
def job_arn: () -> ::String
|
621
|
+
def job_name: () -> ::String
|
622
|
+
def imported_model_name: () -> ::String
|
623
|
+
def imported_model_arn: () -> ::String
|
624
|
+
def role_arn: () -> ::String
|
625
|
+
def model_data_source: () -> Types::ModelDataSource
|
626
|
+
def status: () -> ("InProgress" | "Completed" | "Failed")
|
627
|
+
def failure_message: () -> ::String
|
628
|
+
def creation_time: () -> ::Time
|
629
|
+
def last_modified_time: () -> ::Time
|
630
|
+
def end_time: () -> ::Time
|
631
|
+
def vpc_config: () -> Types::VpcConfig
|
632
|
+
def imported_model_kms_key_arn: () -> ::String
|
633
|
+
end
|
634
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_import_job-instance_method
|
635
|
+
def get_model_import_job: (
|
636
|
+
job_identifier: ::String
|
637
|
+
) -> _GetModelImportJobResponseSuccess
|
638
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelImportJobResponseSuccess
|
639
|
+
|
528
640
|
interface _GetModelInvocationJobResponseSuccess
|
529
641
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelInvocationJobResponse]
|
530
642
|
def job_arn: () -> ::String
|
@@ -608,7 +720,7 @@ module Aws
|
|
608
720
|
def list_evaluation_jobs: (
|
609
721
|
?creation_time_after: ::Time,
|
610
722
|
?creation_time_before: ::Time,
|
611
|
-
?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"),
|
723
|
+
?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting"),
|
612
724
|
?name_contains: ::String,
|
613
725
|
?max_results: ::Integer,
|
614
726
|
?next_token: ::String,
|
@@ -643,6 +755,35 @@ module Aws
|
|
643
755
|
) -> _ListGuardrailsResponseSuccess
|
644
756
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGuardrailsResponseSuccess
|
645
757
|
|
758
|
+
interface _ListImportedModelsResponseSuccess
|
759
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListImportedModelsResponse]
|
760
|
+
def next_token: () -> ::String
|
761
|
+
def model_summaries: () -> ::Array[Types::ImportedModelSummary]
|
762
|
+
end
|
763
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_imported_models-instance_method
|
764
|
+
def list_imported_models: (
|
765
|
+
?creation_time_before: ::Time,
|
766
|
+
?creation_time_after: ::Time,
|
767
|
+
?name_contains: ::String,
|
768
|
+
?max_results: ::Integer,
|
769
|
+
?next_token: ::String,
|
770
|
+
?sort_by: ("CreationTime"),
|
771
|
+
?sort_order: ("Ascending" | "Descending")
|
772
|
+
) -> _ListImportedModelsResponseSuccess
|
773
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportedModelsResponseSuccess
|
774
|
+
|
775
|
+
interface _ListInferenceProfilesResponseSuccess
|
776
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInferenceProfilesResponse]
|
777
|
+
def inference_profile_summaries: () -> ::Array[Types::InferenceProfileSummary]
|
778
|
+
def next_token: () -> ::String
|
779
|
+
end
|
780
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_inference_profiles-instance_method
|
781
|
+
def list_inference_profiles: (
|
782
|
+
?max_results: ::Integer,
|
783
|
+
?next_token: ::String
|
784
|
+
) -> _ListInferenceProfilesResponseSuccess
|
785
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceProfilesResponseSuccess
|
786
|
+
|
646
787
|
interface _ListModelCopyJobsResponseSuccess
|
647
788
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCopyJobsResponse]
|
648
789
|
def next_token: () -> ::String
|
@@ -681,6 +822,24 @@ module Aws
|
|
681
822
|
) -> _ListModelCustomizationJobsResponseSuccess
|
682
823
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelCustomizationJobsResponseSuccess
|
683
824
|
|
825
|
+
interface _ListModelImportJobsResponseSuccess
|
826
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelImportJobsResponse]
|
827
|
+
def next_token: () -> ::String
|
828
|
+
def model_import_job_summaries: () -> ::Array[Types::ModelImportJobSummary]
|
829
|
+
end
|
830
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_model_import_jobs-instance_method
|
831
|
+
def list_model_import_jobs: (
|
832
|
+
?creation_time_after: ::Time,
|
833
|
+
?creation_time_before: ::Time,
|
834
|
+
?status_equals: ("InProgress" | "Completed" | "Failed"),
|
835
|
+
?name_contains: ::String,
|
836
|
+
?max_results: ::Integer,
|
837
|
+
?next_token: ::String,
|
838
|
+
?sort_by: ("CreationTime"),
|
839
|
+
?sort_order: ("Ascending" | "Descending")
|
840
|
+
) -> _ListModelImportJobsResponseSuccess
|
841
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelImportJobsResponseSuccess
|
842
|
+
|
684
843
|
interface _ListModelInvocationJobsResponseSuccess
|
685
844
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelInvocationJobsResponse]
|
686
845
|
def next_token: () -> ::String
|
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,24 @@ 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
|
+
|
125
167
|
class CreateModelInvocationJobRequest
|
126
168
|
attr_accessor job_name: ::String
|
127
169
|
attr_accessor role_arn: ::String
|
@@ -182,6 +224,14 @@ module Aws::Bedrock
|
|
182
224
|
class DeleteGuardrailResponse < Aws::EmptyStructure
|
183
225
|
end
|
184
226
|
|
227
|
+
class DeleteImportedModelRequest
|
228
|
+
attr_accessor model_identifier: ::String
|
229
|
+
SENSITIVE: []
|
230
|
+
end
|
231
|
+
|
232
|
+
class DeleteImportedModelResponse < Aws::EmptyStructure
|
233
|
+
end
|
234
|
+
|
185
235
|
class DeleteModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
|
186
236
|
end
|
187
237
|
|
@@ -270,7 +320,7 @@ module Aws::Bedrock
|
|
270
320
|
class EvaluationSummary
|
271
321
|
attr_accessor job_arn: ::String
|
272
322
|
attr_accessor job_name: ::String
|
273
|
-
attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
323
|
+
attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
|
274
324
|
attr_accessor creation_time: ::Time
|
275
325
|
attr_accessor job_type: ("Human" | "Automated")
|
276
326
|
attr_accessor evaluation_task_types: ::Array[("Summarization" | "Classification" | "QuestionAndAnswer" | "Generation" | "Custom")]
|
@@ -341,7 +391,7 @@ module Aws::Bedrock
|
|
341
391
|
|
342
392
|
class GetEvaluationJobResponse
|
343
393
|
attr_accessor job_name: ::String
|
344
|
-
attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
394
|
+
attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
|
345
395
|
attr_accessor job_arn: ::String
|
346
396
|
attr_accessor job_description: ::String
|
347
397
|
attr_accessor role_arn: ::String
|
@@ -394,6 +444,41 @@ module Aws::Bedrock
|
|
394
444
|
SENSITIVE: [:name, :description, :blocked_input_messaging, :blocked_outputs_messaging]
|
395
445
|
end
|
396
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
|
+
|
464
|
+
class GetInferenceProfileRequest
|
465
|
+
attr_accessor inference_profile_identifier: ::String
|
466
|
+
SENSITIVE: []
|
467
|
+
end
|
468
|
+
|
469
|
+
class GetInferenceProfileResponse
|
470
|
+
attr_accessor inference_profile_name: ::String
|
471
|
+
attr_accessor models: ::Array[Types::InferenceProfileModel]
|
472
|
+
attr_accessor description: ::String
|
473
|
+
attr_accessor created_at: ::Time
|
474
|
+
attr_accessor updated_at: ::Time
|
475
|
+
attr_accessor inference_profile_arn: ::String
|
476
|
+
attr_accessor inference_profile_id: ::String
|
477
|
+
attr_accessor status: ("ACTIVE")
|
478
|
+
attr_accessor type: ("SYSTEM_DEFINED")
|
479
|
+
SENSITIVE: []
|
480
|
+
end
|
481
|
+
|
397
482
|
class GetModelCopyJobRequest
|
398
483
|
attr_accessor job_arn: ::String
|
399
484
|
SENSITIVE: []
|
@@ -444,6 +529,28 @@ module Aws::Bedrock
|
|
444
529
|
SENSITIVE: []
|
445
530
|
end
|
446
531
|
|
532
|
+
class GetModelImportJobRequest
|
533
|
+
attr_accessor job_identifier: ::String
|
534
|
+
SENSITIVE: []
|
535
|
+
end
|
536
|
+
|
537
|
+
class GetModelImportJobResponse
|
538
|
+
attr_accessor job_arn: ::String
|
539
|
+
attr_accessor job_name: ::String
|
540
|
+
attr_accessor imported_model_name: ::String
|
541
|
+
attr_accessor imported_model_arn: ::String
|
542
|
+
attr_accessor role_arn: ::String
|
543
|
+
attr_accessor model_data_source: Types::ModelDataSource
|
544
|
+
attr_accessor status: ("InProgress" | "Completed" | "Failed")
|
545
|
+
attr_accessor failure_message: ::String
|
546
|
+
attr_accessor creation_time: ::Time
|
547
|
+
attr_accessor last_modified_time: ::Time
|
548
|
+
attr_accessor end_time: ::Time
|
549
|
+
attr_accessor vpc_config: Types::VpcConfig
|
550
|
+
attr_accessor imported_model_kms_key_arn: ::String
|
551
|
+
SENSITIVE: []
|
552
|
+
end
|
553
|
+
|
447
554
|
class GetModelInvocationJobRequest
|
448
555
|
attr_accessor job_identifier: ::String
|
449
556
|
SENSITIVE: []
|
@@ -673,6 +780,31 @@ module Aws::Bedrock
|
|
673
780
|
SENSITIVE: [:instructions]
|
674
781
|
end
|
675
782
|
|
783
|
+
class ImportedModelSummary
|
784
|
+
attr_accessor model_arn: ::String
|
785
|
+
attr_accessor model_name: ::String
|
786
|
+
attr_accessor creation_time: ::Time
|
787
|
+
SENSITIVE: []
|
788
|
+
end
|
789
|
+
|
790
|
+
class InferenceProfileModel
|
791
|
+
attr_accessor model_arn: ::String
|
792
|
+
SENSITIVE: []
|
793
|
+
end
|
794
|
+
|
795
|
+
class InferenceProfileSummary
|
796
|
+
attr_accessor inference_profile_name: ::String
|
797
|
+
attr_accessor models: ::Array[Types::InferenceProfileModel]
|
798
|
+
attr_accessor description: ::String
|
799
|
+
attr_accessor created_at: ::Time
|
800
|
+
attr_accessor updated_at: ::Time
|
801
|
+
attr_accessor inference_profile_arn: ::String
|
802
|
+
attr_accessor inference_profile_id: ::String
|
803
|
+
attr_accessor status: ("ACTIVE")
|
804
|
+
attr_accessor type: ("SYSTEM_DEFINED")
|
805
|
+
SENSITIVE: []
|
806
|
+
end
|
807
|
+
|
676
808
|
class InternalServerException
|
677
809
|
attr_accessor message: ::String
|
678
810
|
SENSITIVE: []
|
@@ -701,7 +833,7 @@ module Aws::Bedrock
|
|
701
833
|
class ListEvaluationJobsRequest
|
702
834
|
attr_accessor creation_time_after: ::Time
|
703
835
|
attr_accessor creation_time_before: ::Time
|
704
|
-
attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
836
|
+
attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
|
705
837
|
attr_accessor name_contains: ::String
|
706
838
|
attr_accessor max_results: ::Integer
|
707
839
|
attr_accessor next_token: ::String
|
@@ -742,6 +874,35 @@ module Aws::Bedrock
|
|
742
874
|
SENSITIVE: []
|
743
875
|
end
|
744
876
|
|
877
|
+
class ListImportedModelsRequest
|
878
|
+
attr_accessor creation_time_before: ::Time
|
879
|
+
attr_accessor creation_time_after: ::Time
|
880
|
+
attr_accessor name_contains: ::String
|
881
|
+
attr_accessor max_results: ::Integer
|
882
|
+
attr_accessor next_token: ::String
|
883
|
+
attr_accessor sort_by: ("CreationTime")
|
884
|
+
attr_accessor sort_order: ("Ascending" | "Descending")
|
885
|
+
SENSITIVE: []
|
886
|
+
end
|
887
|
+
|
888
|
+
class ListImportedModelsResponse
|
889
|
+
attr_accessor next_token: ::String
|
890
|
+
attr_accessor model_summaries: ::Array[Types::ImportedModelSummary]
|
891
|
+
SENSITIVE: []
|
892
|
+
end
|
893
|
+
|
894
|
+
class ListInferenceProfilesRequest
|
895
|
+
attr_accessor max_results: ::Integer
|
896
|
+
attr_accessor next_token: ::String
|
897
|
+
SENSITIVE: []
|
898
|
+
end
|
899
|
+
|
900
|
+
class ListInferenceProfilesResponse
|
901
|
+
attr_accessor inference_profile_summaries: ::Array[Types::InferenceProfileSummary]
|
902
|
+
attr_accessor next_token: ::String
|
903
|
+
SENSITIVE: []
|
904
|
+
end
|
905
|
+
|
745
906
|
class ListModelCopyJobsRequest
|
746
907
|
attr_accessor creation_time_after: ::Time
|
747
908
|
attr_accessor creation_time_before: ::Time
|
@@ -780,6 +941,24 @@ module Aws::Bedrock
|
|
780
941
|
SENSITIVE: []
|
781
942
|
end
|
782
943
|
|
944
|
+
class ListModelImportJobsRequest
|
945
|
+
attr_accessor creation_time_after: ::Time
|
946
|
+
attr_accessor creation_time_before: ::Time
|
947
|
+
attr_accessor status_equals: ("InProgress" | "Completed" | "Failed")
|
948
|
+
attr_accessor name_contains: ::String
|
949
|
+
attr_accessor max_results: ::Integer
|
950
|
+
attr_accessor next_token: ::String
|
951
|
+
attr_accessor sort_by: ("CreationTime")
|
952
|
+
attr_accessor sort_order: ("Ascending" | "Descending")
|
953
|
+
SENSITIVE: []
|
954
|
+
end
|
955
|
+
|
956
|
+
class ListModelImportJobsResponse
|
957
|
+
attr_accessor next_token: ::String
|
958
|
+
attr_accessor model_import_job_summaries: ::Array[Types::ModelImportJobSummary]
|
959
|
+
SENSITIVE: []
|
960
|
+
end
|
961
|
+
|
783
962
|
class ListModelInvocationJobsRequest
|
784
963
|
attr_accessor submit_time_after: ::Time
|
785
964
|
attr_accessor submit_time_before: ::Time
|
@@ -865,6 +1044,29 @@ module Aws::Bedrock
|
|
865
1044
|
SENSITIVE: []
|
866
1045
|
end
|
867
1046
|
|
1047
|
+
class ModelDataSource
|
1048
|
+
attr_accessor s3_data_source: Types::S3DataSource
|
1049
|
+
attr_accessor unknown: untyped
|
1050
|
+
SENSITIVE: []
|
1051
|
+
|
1052
|
+
class S3DataSource < ModelDataSource
|
1053
|
+
end
|
1054
|
+
class Unknown < ModelDataSource
|
1055
|
+
end
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
class ModelImportJobSummary
|
1059
|
+
attr_accessor job_arn: ::String
|
1060
|
+
attr_accessor job_name: ::String
|
1061
|
+
attr_accessor status: ("InProgress" | "Completed" | "Failed")
|
1062
|
+
attr_accessor last_modified_time: ::Time
|
1063
|
+
attr_accessor creation_time: ::Time
|
1064
|
+
attr_accessor end_time: ::Time
|
1065
|
+
attr_accessor imported_model_arn: ::String
|
1066
|
+
attr_accessor imported_model_name: ::String
|
1067
|
+
SENSITIVE: []
|
1068
|
+
end
|
1069
|
+
|
868
1070
|
class ModelInvocationJobInputDataConfig
|
869
1071
|
attr_accessor s3_input_data_config: Types::ModelInvocationJobS3InputDataConfig
|
870
1072
|
attr_accessor unknown: untyped
|
@@ -957,6 +1159,11 @@ module Aws::Bedrock
|
|
957
1159
|
SENSITIVE: []
|
958
1160
|
end
|
959
1161
|
|
1162
|
+
class S3DataSource
|
1163
|
+
attr_accessor s3_uri: ::String
|
1164
|
+
SENSITIVE: []
|
1165
|
+
end
|
1166
|
+
|
960
1167
|
class ServiceQuotaExceededException
|
961
1168
|
attr_accessor message: ::String
|
962
1169
|
SENSITIVE: []
|
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.17.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-08-
|
11
|
+
date: 2024-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|