aws-sdk-bedrock 1.79.0 → 1.80.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +13 -1
- data/lib/aws-sdk-bedrock/client_api.rb +9 -0
- data/lib/aws-sdk-bedrock/types.rb +48 -2
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +4 -0
- data/sig/types.rbs +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3fceafcc0d4adb4e65b863236bb5ec9db320df87571b1fd0a4a8e217c075d8f
|
|
4
|
+
data.tar.gz: f52d2fd459aa3b4e86644817748885ff8d58f0e38d9d85d77817ff816bb0f878
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aff78b21026f61bc5ffbb71fcca9d0e2a1e57abe4a1d6a391cfdbc11d373f7999638baad9cdd232f772a823c1b6fcd85b5d1cdf17a194144405e400538d61c1a
|
|
7
|
+
data.tar.gz: 91c5b0b9ec0029de67f79880acdbbcbe6d26fe8323a02fed53b1f4d638b5190a7ad6b3f2343c979c186aaadb924b1fad001e7f9d018dcb4c801d043fb636c9e5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.80.0
|
|
@@ -4854,6 +4854,10 @@ module Aws::Bedrock
|
|
|
4854
4854
|
# * {Types::GetModelInvocationJobResponse#timeout_duration_in_hours #timeout_duration_in_hours} => Integer
|
|
4855
4855
|
# * {Types::GetModelInvocationJobResponse#job_expiration_time #job_expiration_time} => Time
|
|
4856
4856
|
# * {Types::GetModelInvocationJobResponse#model_invocation_type #model_invocation_type} => String
|
|
4857
|
+
# * {Types::GetModelInvocationJobResponse#total_record_count #total_record_count} => Integer
|
|
4858
|
+
# * {Types::GetModelInvocationJobResponse#processed_record_count #processed_record_count} => Integer
|
|
4859
|
+
# * {Types::GetModelInvocationJobResponse#success_record_count #success_record_count} => Integer
|
|
4860
|
+
# * {Types::GetModelInvocationJobResponse#error_record_count #error_record_count} => Integer
|
|
4857
4861
|
#
|
|
4858
4862
|
# @example Request syntax with placeholder values
|
|
4859
4863
|
#
|
|
@@ -4886,6 +4890,10 @@ module Aws::Bedrock
|
|
|
4886
4890
|
# resp.timeout_duration_in_hours #=> Integer
|
|
4887
4891
|
# resp.job_expiration_time #=> Time
|
|
4888
4892
|
# resp.model_invocation_type #=> String, one of "InvokeModel", "Converse"
|
|
4893
|
+
# resp.total_record_count #=> Integer
|
|
4894
|
+
# resp.processed_record_count #=> Integer
|
|
4895
|
+
# resp.success_record_count #=> Integer
|
|
4896
|
+
# resp.error_record_count #=> Integer
|
|
4889
4897
|
#
|
|
4890
4898
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationJob AWS API Documentation
|
|
4891
4899
|
#
|
|
@@ -6508,6 +6516,10 @@ module Aws::Bedrock
|
|
|
6508
6516
|
# resp.invocation_job_summaries[0].timeout_duration_in_hours #=> Integer
|
|
6509
6517
|
# resp.invocation_job_summaries[0].job_expiration_time #=> Time
|
|
6510
6518
|
# resp.invocation_job_summaries[0].model_invocation_type #=> String, one of "InvokeModel", "Converse"
|
|
6519
|
+
# resp.invocation_job_summaries[0].total_record_count #=> Integer
|
|
6520
|
+
# resp.invocation_job_summaries[0].processed_record_count #=> Integer
|
|
6521
|
+
# resp.invocation_job_summaries[0].success_record_count #=> Integer
|
|
6522
|
+
# resp.invocation_job_summaries[0].error_record_count #=> Integer
|
|
6511
6523
|
#
|
|
6512
6524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelInvocationJobs AWS API Documentation
|
|
6513
6525
|
#
|
|
@@ -7903,7 +7915,7 @@ module Aws::Bedrock
|
|
|
7903
7915
|
tracer: tracer
|
|
7904
7916
|
)
|
|
7905
7917
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
7906
|
-
context[:gem_version] = '1.
|
|
7918
|
+
context[:gem_version] = '1.80.0'
|
|
7907
7919
|
Seahorse::Client::Request.new(handlers, context)
|
|
7908
7920
|
end
|
|
7909
7921
|
|
|
@@ -702,6 +702,7 @@ module Aws::Bedrock
|
|
|
702
702
|
ModelSourceIdentifier = Shapes::StringShape.new(name: 'ModelSourceIdentifier')
|
|
703
703
|
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
|
704
704
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
|
705
|
+
NonNegativeLong = Shapes::IntegerShape.new(name: 'NonNegativeLong')
|
|
705
706
|
Offer = Shapes::StructureShape.new(name: 'Offer')
|
|
706
707
|
OfferId = Shapes::StringShape.new(name: 'OfferId')
|
|
707
708
|
OfferToken = Shapes::StringShape.new(name: 'OfferToken')
|
|
@@ -2382,6 +2383,10 @@ module Aws::Bedrock
|
|
|
2382
2383
|
GetModelInvocationJobResponse.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
|
2383
2384
|
GetModelInvocationJobResponse.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
|
|
2384
2385
|
GetModelInvocationJobResponse.add_member(:model_invocation_type, Shapes::ShapeRef.new(shape: ModelInvocationType, location_name: "modelInvocationType"))
|
|
2386
|
+
GetModelInvocationJobResponse.add_member(:total_record_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "totalRecordCount"))
|
|
2387
|
+
GetModelInvocationJobResponse.add_member(:processed_record_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "processedRecordCount"))
|
|
2388
|
+
GetModelInvocationJobResponse.add_member(:success_record_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "successRecordCount"))
|
|
2389
|
+
GetModelInvocationJobResponse.add_member(:error_record_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "errorRecordCount"))
|
|
2385
2390
|
GetModelInvocationJobResponse.struct_class = Types::GetModelInvocationJobResponse
|
|
2386
2391
|
|
|
2387
2392
|
GetModelInvocationLoggingConfigurationRequest.struct_class = Types::GetModelInvocationLoggingConfigurationRequest
|
|
@@ -3152,6 +3157,10 @@ module Aws::Bedrock
|
|
|
3152
3157
|
ModelInvocationJobSummary.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
|
3153
3158
|
ModelInvocationJobSummary.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
|
|
3154
3159
|
ModelInvocationJobSummary.add_member(:model_invocation_type, Shapes::ShapeRef.new(shape: ModelInvocationType, location_name: "modelInvocationType"))
|
|
3160
|
+
ModelInvocationJobSummary.add_member(:total_record_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "totalRecordCount"))
|
|
3161
|
+
ModelInvocationJobSummary.add_member(:processed_record_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "processedRecordCount"))
|
|
3162
|
+
ModelInvocationJobSummary.add_member(:success_record_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "successRecordCount"))
|
|
3163
|
+
ModelInvocationJobSummary.add_member(:error_record_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "errorRecordCount"))
|
|
3155
3164
|
ModelInvocationJobSummary.struct_class = Types::ModelInvocationJobSummary
|
|
3156
3165
|
|
|
3157
3166
|
ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
|
|
@@ -7218,6 +7218,25 @@ module Aws::Bedrock
|
|
|
7218
7218
|
# The invocation endpoint for ModelInvocationJob
|
|
7219
7219
|
# @return [String]
|
|
7220
7220
|
#
|
|
7221
|
+
# @!attribute [rw] total_record_count
|
|
7222
|
+
# The total number of records in the batch inference job.
|
|
7223
|
+
# @return [Integer]
|
|
7224
|
+
#
|
|
7225
|
+
# @!attribute [rw] processed_record_count
|
|
7226
|
+
# The number of records that have been processed in the batch
|
|
7227
|
+
# inference job.
|
|
7228
|
+
# @return [Integer]
|
|
7229
|
+
#
|
|
7230
|
+
# @!attribute [rw] success_record_count
|
|
7231
|
+
# The number of records that were successfully processed in the batch
|
|
7232
|
+
# inference job.
|
|
7233
|
+
# @return [Integer]
|
|
7234
|
+
#
|
|
7235
|
+
# @!attribute [rw] error_record_count
|
|
7236
|
+
# The number of records that failed to process in the batch inference
|
|
7237
|
+
# job.
|
|
7238
|
+
# @return [Integer]
|
|
7239
|
+
#
|
|
7221
7240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationJobResponse AWS API Documentation
|
|
7222
7241
|
#
|
|
7223
7242
|
class GetModelInvocationJobResponse < Struct.new(
|
|
@@ -7236,7 +7255,11 @@ module Aws::Bedrock
|
|
|
7236
7255
|
:vpc_config,
|
|
7237
7256
|
:timeout_duration_in_hours,
|
|
7238
7257
|
:job_expiration_time,
|
|
7239
|
-
:model_invocation_type
|
|
7258
|
+
:model_invocation_type,
|
|
7259
|
+
:total_record_count,
|
|
7260
|
+
:processed_record_count,
|
|
7261
|
+
:success_record_count,
|
|
7262
|
+
:error_record_count)
|
|
7240
7263
|
SENSITIVE = [:message]
|
|
7241
7264
|
include Aws::Structure
|
|
7242
7265
|
end
|
|
@@ -11565,6 +11588,25 @@ module Aws::Bedrock
|
|
|
11565
11588
|
# The invocation endpoint for ModelInvocationJob
|
|
11566
11589
|
# @return [String]
|
|
11567
11590
|
#
|
|
11591
|
+
# @!attribute [rw] total_record_count
|
|
11592
|
+
# The total number of records in the batch inference job.
|
|
11593
|
+
# @return [Integer]
|
|
11594
|
+
#
|
|
11595
|
+
# @!attribute [rw] processed_record_count
|
|
11596
|
+
# The number of records that have been processed in the batch
|
|
11597
|
+
# inference job.
|
|
11598
|
+
# @return [Integer]
|
|
11599
|
+
#
|
|
11600
|
+
# @!attribute [rw] success_record_count
|
|
11601
|
+
# The number of records that were successfully processed in the batch
|
|
11602
|
+
# inference job.
|
|
11603
|
+
# @return [Integer]
|
|
11604
|
+
#
|
|
11605
|
+
# @!attribute [rw] error_record_count
|
|
11606
|
+
# The number of records that failed to process in the batch inference
|
|
11607
|
+
# job.
|
|
11608
|
+
# @return [Integer]
|
|
11609
|
+
#
|
|
11568
11610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobSummary AWS API Documentation
|
|
11569
11611
|
#
|
|
11570
11612
|
class ModelInvocationJobSummary < Struct.new(
|
|
@@ -11583,7 +11625,11 @@ module Aws::Bedrock
|
|
|
11583
11625
|
:vpc_config,
|
|
11584
11626
|
:timeout_duration_in_hours,
|
|
11585
11627
|
:job_expiration_time,
|
|
11586
|
-
:model_invocation_type
|
|
11628
|
+
:model_invocation_type,
|
|
11629
|
+
:total_record_count,
|
|
11630
|
+
:processed_record_count,
|
|
11631
|
+
:success_record_count,
|
|
11632
|
+
:error_record_count)
|
|
11587
11633
|
SENSITIVE = [:message]
|
|
11588
11634
|
include Aws::Structure
|
|
11589
11635
|
end
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1588,6 +1588,10 @@ module Aws
|
|
|
1588
1588
|
def timeout_duration_in_hours: () -> ::Integer
|
|
1589
1589
|
def job_expiration_time: () -> ::Time
|
|
1590
1590
|
def model_invocation_type: () -> ("InvokeModel" | "Converse")
|
|
1591
|
+
def total_record_count: () -> ::Integer
|
|
1592
|
+
def processed_record_count: () -> ::Integer
|
|
1593
|
+
def success_record_count: () -> ::Integer
|
|
1594
|
+
def error_record_count: () -> ::Integer
|
|
1591
1595
|
end
|
|
1592
1596
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_invocation_job-instance_method
|
|
1593
1597
|
def get_model_invocation_job: (
|
data/sig/types.rbs
CHANGED
|
@@ -1958,6 +1958,10 @@ module Aws::Bedrock
|
|
|
1958
1958
|
attr_accessor timeout_duration_in_hours: ::Integer
|
|
1959
1959
|
attr_accessor job_expiration_time: ::Time
|
|
1960
1960
|
attr_accessor model_invocation_type: ("InvokeModel" | "Converse")
|
|
1961
|
+
attr_accessor total_record_count: ::Integer
|
|
1962
|
+
attr_accessor processed_record_count: ::Integer
|
|
1963
|
+
attr_accessor success_record_count: ::Integer
|
|
1964
|
+
attr_accessor error_record_count: ::Integer
|
|
1961
1965
|
SENSITIVE: [:message]
|
|
1962
1966
|
end
|
|
1963
1967
|
|
|
@@ -2913,6 +2917,10 @@ module Aws::Bedrock
|
|
|
2913
2917
|
attr_accessor timeout_duration_in_hours: ::Integer
|
|
2914
2918
|
attr_accessor job_expiration_time: ::Time
|
|
2915
2919
|
attr_accessor model_invocation_type: ("InvokeModel" | "Converse")
|
|
2920
|
+
attr_accessor total_record_count: ::Integer
|
|
2921
|
+
attr_accessor processed_record_count: ::Integer
|
|
2922
|
+
attr_accessor success_record_count: ::Integer
|
|
2923
|
+
attr_accessor error_record_count: ::Integer
|
|
2916
2924
|
SENSITIVE: [:message]
|
|
2917
2925
|
end
|
|
2918
2926
|
|