aws-sdk-bedrock 1.75.0 → 1.76.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 +16 -1
- data/lib/aws-sdk-bedrock/client_api.rb +8 -0
- data/lib/aws-sdk-bedrock/types.rb +42 -4
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +3 -1
- data/sig/types.rbs +7 -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: 7af325e1a05a44175efd264011d1b5b073858544c324bad10855f95510118c5b
|
|
4
|
+
data.tar.gz: 58b122e91e7b637e875d80db566193f8aa2f45fa28f32f8c70d973ccc9a8b4c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8930d204eabbd898fbe2e4b6297e33a9463caee9d1ecf9c1e63f8d0a737e2c8e32969288624b85501022f2f1cb18c33c8ecae0861743e64cf3d2c7dc64effcc1
|
|
7
|
+
data.tar.gz: e3862d0d4c9604c6c17f9935c9f77883229b4c7f1cc8efaa93fd85bfad251dac5516b012ace14b2af1834874ac4bdf812bdb131fa7de2a235b9f647dda8afa83
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.76.0 (2026-02-27)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added four new model lifecycle date fields, startOfLifeTime, endOfLifeTime, legacyTime, and publicExtendedAccessTime. Adds support for using the Converse API with Bedrock Batch inference jobs.
|
|
8
|
+
|
|
4
9
|
1.75.0 (2026-02-23)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.76.0
|
|
@@ -2548,6 +2548,9 @@ module Aws::Bedrock
|
|
|
2548
2548
|
#
|
|
2549
2549
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
|
|
2550
2550
|
#
|
|
2551
|
+
# @option params [String] :model_invocation_type
|
|
2552
|
+
# The invocation endpoint for ModelInvocationJob
|
|
2553
|
+
#
|
|
2551
2554
|
# @return [Types::CreateModelInvocationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2552
2555
|
#
|
|
2553
2556
|
# * {Types::CreateModelInvocationJobResponse#job_arn #job_arn} => String
|
|
@@ -2584,6 +2587,7 @@ module Aws::Bedrock
|
|
|
2584
2587
|
# value: "TagValue", # required
|
|
2585
2588
|
# },
|
|
2586
2589
|
# ],
|
|
2590
|
+
# model_invocation_type: "InvokeModel", # accepts InvokeModel, Converse
|
|
2587
2591
|
# })
|
|
2588
2592
|
#
|
|
2589
2593
|
# @example Response structure
|
|
@@ -4259,6 +4263,10 @@ module Aws::Bedrock
|
|
|
4259
4263
|
# resp.model_details.inference_types_supported #=> Array
|
|
4260
4264
|
# resp.model_details.inference_types_supported[0] #=> String, one of "ON_DEMAND", "PROVISIONED"
|
|
4261
4265
|
# resp.model_details.model_lifecycle.status #=> String, one of "ACTIVE", "LEGACY"
|
|
4266
|
+
# resp.model_details.model_lifecycle.start_of_life_time #=> Time
|
|
4267
|
+
# resp.model_details.model_lifecycle.end_of_life_time #=> Time
|
|
4268
|
+
# resp.model_details.model_lifecycle.legacy_time #=> Time
|
|
4269
|
+
# resp.model_details.model_lifecycle.public_extended_access_time #=> Time
|
|
4262
4270
|
#
|
|
4263
4271
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetFoundationModel AWS API Documentation
|
|
4264
4272
|
#
|
|
@@ -4845,6 +4853,7 @@ module Aws::Bedrock
|
|
|
4845
4853
|
# * {Types::GetModelInvocationJobResponse#vpc_config #vpc_config} => Types::VpcConfig
|
|
4846
4854
|
# * {Types::GetModelInvocationJobResponse#timeout_duration_in_hours #timeout_duration_in_hours} => Integer
|
|
4847
4855
|
# * {Types::GetModelInvocationJobResponse#job_expiration_time #job_expiration_time} => Time
|
|
4856
|
+
# * {Types::GetModelInvocationJobResponse#model_invocation_type #model_invocation_type} => String
|
|
4848
4857
|
#
|
|
4849
4858
|
# @example Request syntax with placeholder values
|
|
4850
4859
|
#
|
|
@@ -4876,6 +4885,7 @@ module Aws::Bedrock
|
|
|
4876
4885
|
# resp.vpc_config.security_group_ids[0] #=> String
|
|
4877
4886
|
# resp.timeout_duration_in_hours #=> Integer
|
|
4878
4887
|
# resp.job_expiration_time #=> Time
|
|
4888
|
+
# resp.model_invocation_type #=> String, one of "InvokeModel", "Converse"
|
|
4879
4889
|
#
|
|
4880
4890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationJob AWS API Documentation
|
|
4881
4891
|
#
|
|
@@ -5810,6 +5820,10 @@ module Aws::Bedrock
|
|
|
5810
5820
|
# resp.model_summaries[0].inference_types_supported #=> Array
|
|
5811
5821
|
# resp.model_summaries[0].inference_types_supported[0] #=> String, one of "ON_DEMAND", "PROVISIONED"
|
|
5812
5822
|
# resp.model_summaries[0].model_lifecycle.status #=> String, one of "ACTIVE", "LEGACY"
|
|
5823
|
+
# resp.model_summaries[0].model_lifecycle.start_of_life_time #=> Time
|
|
5824
|
+
# resp.model_summaries[0].model_lifecycle.end_of_life_time #=> Time
|
|
5825
|
+
# resp.model_summaries[0].model_lifecycle.legacy_time #=> Time
|
|
5826
|
+
# resp.model_summaries[0].model_lifecycle.public_extended_access_time #=> Time
|
|
5813
5827
|
#
|
|
5814
5828
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListFoundationModels AWS API Documentation
|
|
5815
5829
|
#
|
|
@@ -6489,6 +6503,7 @@ module Aws::Bedrock
|
|
|
6489
6503
|
# resp.invocation_job_summaries[0].vpc_config.security_group_ids[0] #=> String
|
|
6490
6504
|
# resp.invocation_job_summaries[0].timeout_duration_in_hours #=> Integer
|
|
6491
6505
|
# resp.invocation_job_summaries[0].job_expiration_time #=> Time
|
|
6506
|
+
# resp.invocation_job_summaries[0].model_invocation_type #=> String, one of "InvokeModel", "Converse"
|
|
6492
6507
|
#
|
|
6493
6508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelInvocationJobs AWS API Documentation
|
|
6494
6509
|
#
|
|
@@ -7880,7 +7895,7 @@ module Aws::Bedrock
|
|
|
7880
7895
|
tracer: tracer
|
|
7881
7896
|
)
|
|
7882
7897
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
7883
|
-
context[:gem_version] = '1.
|
|
7898
|
+
context[:gem_version] = '1.76.0'
|
|
7884
7899
|
Seahorse::Client::Request.new(handlers, context)
|
|
7885
7900
|
end
|
|
7886
7901
|
|
|
@@ -690,6 +690,7 @@ module Aws::Bedrock
|
|
|
690
690
|
ModelInvocationJobSummaries = Shapes::ListShape.new(name: 'ModelInvocationJobSummaries')
|
|
691
691
|
ModelInvocationJobSummary = Shapes::StructureShape.new(name: 'ModelInvocationJobSummary')
|
|
692
692
|
ModelInvocationJobTimeoutDurationInHours = Shapes::IntegerShape.new(name: 'ModelInvocationJobTimeoutDurationInHours')
|
|
693
|
+
ModelInvocationType = Shapes::StringShape.new(name: 'ModelInvocationType')
|
|
693
694
|
ModelModality = Shapes::StringShape.new(name: 'ModelModality')
|
|
694
695
|
ModelModalityList = Shapes::ListShape.new(name: 'ModelModalityList')
|
|
695
696
|
ModelName = Shapes::StringShape.new(name: 'ModelName')
|
|
@@ -1708,6 +1709,7 @@ module Aws::Bedrock
|
|
|
1708
1709
|
CreateModelInvocationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
|
1709
1710
|
CreateModelInvocationJobRequest.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
|
1710
1711
|
CreateModelInvocationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
1712
|
+
CreateModelInvocationJobRequest.add_member(:model_invocation_type, Shapes::ShapeRef.new(shape: ModelInvocationType, location_name: "modelInvocationType"))
|
|
1711
1713
|
CreateModelInvocationJobRequest.struct_class = Types::CreateModelInvocationJobRequest
|
|
1712
1714
|
|
|
1713
1715
|
CreateModelInvocationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelInvocationJobArn, required: true, location_name: "jobArn"))
|
|
@@ -2056,6 +2058,10 @@ module Aws::Bedrock
|
|
|
2056
2058
|
FoundationModelDetails.struct_class = Types::FoundationModelDetails
|
|
2057
2059
|
|
|
2058
2060
|
FoundationModelLifecycle.add_member(:status, Shapes::ShapeRef.new(shape: FoundationModelLifecycleStatus, required: true, location_name: "status"))
|
|
2061
|
+
FoundationModelLifecycle.add_member(:start_of_life_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startOfLifeTime"))
|
|
2062
|
+
FoundationModelLifecycle.add_member(:end_of_life_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endOfLifeTime"))
|
|
2063
|
+
FoundationModelLifecycle.add_member(:legacy_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "legacyTime"))
|
|
2064
|
+
FoundationModelLifecycle.add_member(:public_extended_access_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "publicExtendedAccessTime"))
|
|
2059
2065
|
FoundationModelLifecycle.struct_class = Types::FoundationModelLifecycle
|
|
2060
2066
|
|
|
2061
2067
|
FoundationModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, required: true, location_name: "modelArn"))
|
|
@@ -2366,6 +2372,7 @@ module Aws::Bedrock
|
|
|
2366
2372
|
GetModelInvocationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
|
2367
2373
|
GetModelInvocationJobResponse.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
|
2368
2374
|
GetModelInvocationJobResponse.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
|
|
2375
|
+
GetModelInvocationJobResponse.add_member(:model_invocation_type, Shapes::ShapeRef.new(shape: ModelInvocationType, location_name: "modelInvocationType"))
|
|
2369
2376
|
GetModelInvocationJobResponse.struct_class = Types::GetModelInvocationJobResponse
|
|
2370
2377
|
|
|
2371
2378
|
GetModelInvocationLoggingConfigurationRequest.struct_class = Types::GetModelInvocationLoggingConfigurationRequest
|
|
@@ -3129,6 +3136,7 @@ module Aws::Bedrock
|
|
|
3129
3136
|
ModelInvocationJobSummary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
|
3130
3137
|
ModelInvocationJobSummary.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
|
3131
3138
|
ModelInvocationJobSummary.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
|
|
3139
|
+
ModelInvocationJobSummary.add_member(:model_invocation_type, Shapes::ShapeRef.new(shape: ModelInvocationType, location_name: "modelInvocationType"))
|
|
3132
3140
|
ModelInvocationJobSummary.struct_class = Types::ModelInvocationJobSummary
|
|
3133
3141
|
|
|
3134
3142
|
ModelModalityList.member = Shapes::ShapeRef.new(shape: ModelModality)
|
|
@@ -3984,6 +3984,10 @@ module Aws::Bedrock
|
|
|
3984
3984
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
|
|
3985
3985
|
# @return [Array<Types::Tag>]
|
|
3986
3986
|
#
|
|
3987
|
+
# @!attribute [rw] model_invocation_type
|
|
3988
|
+
# The invocation endpoint for ModelInvocationJob
|
|
3989
|
+
# @return [String]
|
|
3990
|
+
#
|
|
3987
3991
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelInvocationJobRequest AWS API Documentation
|
|
3988
3992
|
#
|
|
3989
3993
|
class CreateModelInvocationJobRequest < Struct.new(
|
|
@@ -3995,7 +3999,8 @@ module Aws::Bedrock
|
|
|
3995
3999
|
:output_data_config,
|
|
3996
4000
|
:vpc_config,
|
|
3997
4001
|
:timeout_duration_in_hours,
|
|
3998
|
-
:tags
|
|
4002
|
+
:tags,
|
|
4003
|
+
:model_invocation_type)
|
|
3999
4004
|
SENSITIVE = []
|
|
4000
4005
|
include Aws::Structure
|
|
4001
4006
|
end
|
|
@@ -5575,10 +5580,33 @@ module Aws::Bedrock
|
|
|
5575
5580
|
# deprecated (`LEGACY`.
|
|
5576
5581
|
# @return [String]
|
|
5577
5582
|
#
|
|
5583
|
+
# @!attribute [rw] start_of_life_time
|
|
5584
|
+
# Launch time when the model first becomes available
|
|
5585
|
+
# @return [Time]
|
|
5586
|
+
#
|
|
5587
|
+
# @!attribute [rw] end_of_life_time
|
|
5588
|
+
# Time when the model is no longer available for use
|
|
5589
|
+
# @return [Time]
|
|
5590
|
+
#
|
|
5591
|
+
# @!attribute [rw] legacy_time
|
|
5592
|
+
# Time when the model enters legacy state. Models in legacy state can
|
|
5593
|
+
# still be used, but users should plan to transition to an Active
|
|
5594
|
+
# model before the end of life time
|
|
5595
|
+
# @return [Time]
|
|
5596
|
+
#
|
|
5597
|
+
# @!attribute [rw] public_extended_access_time
|
|
5598
|
+
# Public extended access portion of the legacy period, when users
|
|
5599
|
+
# should expect higher pricing
|
|
5600
|
+
# @return [Time]
|
|
5601
|
+
#
|
|
5578
5602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/FoundationModelLifecycle AWS API Documentation
|
|
5579
5603
|
#
|
|
5580
5604
|
class FoundationModelLifecycle < Struct.new(
|
|
5581
|
-
:status
|
|
5605
|
+
:status,
|
|
5606
|
+
:start_of_life_time,
|
|
5607
|
+
:end_of_life_time,
|
|
5608
|
+
:legacy_time,
|
|
5609
|
+
:public_extended_access_time)
|
|
5582
5610
|
SENSITIVE = []
|
|
5583
5611
|
include Aws::Structure
|
|
5584
5612
|
end
|
|
@@ -7175,6 +7203,10 @@ module Aws::Bedrock
|
|
|
7175
7203
|
# The time at which the batch inference job times or timed out.
|
|
7176
7204
|
# @return [Time]
|
|
7177
7205
|
#
|
|
7206
|
+
# @!attribute [rw] model_invocation_type
|
|
7207
|
+
# The invocation endpoint for ModelInvocationJob
|
|
7208
|
+
# @return [String]
|
|
7209
|
+
#
|
|
7178
7210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationJobResponse AWS API Documentation
|
|
7179
7211
|
#
|
|
7180
7212
|
class GetModelInvocationJobResponse < Struct.new(
|
|
@@ -7192,7 +7224,8 @@ module Aws::Bedrock
|
|
|
7192
7224
|
:output_data_config,
|
|
7193
7225
|
:vpc_config,
|
|
7194
7226
|
:timeout_duration_in_hours,
|
|
7195
|
-
:job_expiration_time
|
|
7227
|
+
:job_expiration_time,
|
|
7228
|
+
:model_invocation_type)
|
|
7196
7229
|
SENSITIVE = [:message]
|
|
7197
7230
|
include Aws::Structure
|
|
7198
7231
|
end
|
|
@@ -11498,6 +11531,10 @@ module Aws::Bedrock
|
|
|
11498
11531
|
# The time at which the batch inference job times or timed out.
|
|
11499
11532
|
# @return [Time]
|
|
11500
11533
|
#
|
|
11534
|
+
# @!attribute [rw] model_invocation_type
|
|
11535
|
+
# The invocation endpoint for ModelInvocationJob
|
|
11536
|
+
# @return [String]
|
|
11537
|
+
#
|
|
11501
11538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobSummary AWS API Documentation
|
|
11502
11539
|
#
|
|
11503
11540
|
class ModelInvocationJobSummary < Struct.new(
|
|
@@ -11515,7 +11552,8 @@ module Aws::Bedrock
|
|
|
11515
11552
|
:output_data_config,
|
|
11516
11553
|
:vpc_config,
|
|
11517
11554
|
:timeout_duration_in_hours,
|
|
11518
|
-
:job_expiration_time
|
|
11555
|
+
:job_expiration_time,
|
|
11556
|
+
:model_invocation_type)
|
|
11519
11557
|
SENSITIVE = [:message]
|
|
11520
11558
|
include Aws::Structure
|
|
11521
11559
|
end
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1020,7 +1020,8 @@ module Aws
|
|
|
1020
1020
|
key: ::String,
|
|
1021
1021
|
value: ::String
|
|
1022
1022
|
},
|
|
1023
|
-
]
|
|
1023
|
+
],
|
|
1024
|
+
?model_invocation_type: ("InvokeModel" | "Converse")
|
|
1024
1025
|
) -> _CreateModelInvocationJobResponseSuccess
|
|
1025
1026
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelInvocationJobResponseSuccess
|
|
1026
1027
|
|
|
@@ -1586,6 +1587,7 @@ module Aws
|
|
|
1586
1587
|
def vpc_config: () -> Types::VpcConfig
|
|
1587
1588
|
def timeout_duration_in_hours: () -> ::Integer
|
|
1588
1589
|
def job_expiration_time: () -> ::Time
|
|
1590
|
+
def model_invocation_type: () -> ("InvokeModel" | "Converse")
|
|
1589
1591
|
end
|
|
1590
1592
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_invocation_job-instance_method
|
|
1591
1593
|
def get_model_invocation_job: (
|
data/sig/types.rbs
CHANGED
|
@@ -1087,6 +1087,7 @@ module Aws::Bedrock
|
|
|
1087
1087
|
attr_accessor vpc_config: Types::VpcConfig
|
|
1088
1088
|
attr_accessor timeout_duration_in_hours: ::Integer
|
|
1089
1089
|
attr_accessor tags: ::Array[Types::Tag]
|
|
1090
|
+
attr_accessor model_invocation_type: ("InvokeModel" | "Converse")
|
|
1090
1091
|
SENSITIVE: []
|
|
1091
1092
|
end
|
|
1092
1093
|
|
|
@@ -1558,6 +1559,10 @@ module Aws::Bedrock
|
|
|
1558
1559
|
|
|
1559
1560
|
class FoundationModelLifecycle
|
|
1560
1561
|
attr_accessor status: ("ACTIVE" | "LEGACY")
|
|
1562
|
+
attr_accessor start_of_life_time: ::Time
|
|
1563
|
+
attr_accessor end_of_life_time: ::Time
|
|
1564
|
+
attr_accessor legacy_time: ::Time
|
|
1565
|
+
attr_accessor public_extended_access_time: ::Time
|
|
1561
1566
|
SENSITIVE: []
|
|
1562
1567
|
end
|
|
1563
1568
|
|
|
@@ -1950,6 +1955,7 @@ module Aws::Bedrock
|
|
|
1950
1955
|
attr_accessor vpc_config: Types::VpcConfig
|
|
1951
1956
|
attr_accessor timeout_duration_in_hours: ::Integer
|
|
1952
1957
|
attr_accessor job_expiration_time: ::Time
|
|
1958
|
+
attr_accessor model_invocation_type: ("InvokeModel" | "Converse")
|
|
1953
1959
|
SENSITIVE: [:message]
|
|
1954
1960
|
end
|
|
1955
1961
|
|
|
@@ -2898,6 +2904,7 @@ module Aws::Bedrock
|
|
|
2898
2904
|
attr_accessor vpc_config: Types::VpcConfig
|
|
2899
2905
|
attr_accessor timeout_duration_in_hours: ::Integer
|
|
2900
2906
|
attr_accessor job_expiration_time: ::Time
|
|
2907
|
+
attr_accessor model_invocation_type: ("InvokeModel" | "Converse")
|
|
2901
2908
|
SENSITIVE: [:message]
|
|
2902
2909
|
end
|
|
2903
2910
|
|