Skip to content

Commit 47066d8

Browse files
Updated API models and rebuilt service gems.
1 parent f1678d9 commit 47066d8

File tree

29 files changed

+225
-147
lines changed

29 files changed

+225
-147
lines changed

apis/bedrock-runtime/2023-09-30/api-2.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,8 @@
659659
"DocumentSource":{
660660
"type":"structure",
661661
"members":{
662-
"bytes":{"shape":"DocumentSourceBytesBlob"}
662+
"bytes":{"shape":"DocumentSourceBytesBlob"},
663+
"s3Location":{"shape":"S3Location"}
663664
},
664665
"union":true
665666
},
@@ -1335,7 +1336,8 @@
13351336
"ImageSource":{
13361337
"type":"structure",
13371338
"members":{
1338-
"bytes":{"shape":"ImageSourceBytesBlob"}
1339+
"bytes":{"shape":"ImageSourceBytesBlob"},
1340+
"s3Location":{"shape":"S3Location"}
13391341
},
13401342
"union":true
13411343
},

apis/bedrock-runtime/2023-09-30/docs-2.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,9 +1248,11 @@
12481248
}
12491249
},
12501250
"S3Location": {
1251-
"base": "<p>A storage location in an S3 bucket.</p>",
1251+
"base": "<p>A storage location in an Amazon S3 bucket.</p>",
12521252
"refs": {
1253-
"VideoSource$s3Location": "<p>The location of a video object in an S3 bucket.</p>"
1253+
"DocumentSource$s3Location": "<p>The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>",
1254+
"ImageSource$s3Location": "<p>The location of an image object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>",
1255+
"VideoSource$s3Location": "<p>The location of a video object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>"
12541256
}
12551257
},
12561258
"S3Uri": {

apis/ecs/2014-11-13/docs-2.json

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

apis/marketplace-deployment/2023-01-25/api-2.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"endpointPrefix":"deployment-marketplace",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"AWS Marketplace Deployment Service",
910
"serviceId":"Marketplace Deployment",
1011
"signatureVersion":"v4",
1112
"signingName":"aws-marketplace",
12-
"uid":"marketplace-deployment-2023-01-25"
13+
"uid":"marketplace-deployment-2023-01-25",
14+
"auth":["aws.auth#sigv4"]
1315
},
1416
"operations":{
1517
"ListTagsForResource":{

apis/marketplace-deployment/2023-01-25/docs-2.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "2.0",
3-
"service": "<p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products. Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products. The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters (for example, API keys and external IDs) to buyers during the Quick Launch experience.</p>",
3+
"service": "<p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products. Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products. The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters, such as API keys and external IDs, to buyers during the Quick Launch experience.</p>",
44
"operations": {
55
"ListTagsForResource": "<p>Lists all tags that have been added to a deployment parameter resource.</p>",
66
"PutDeploymentParameter": "<p>Creates or updates a deployment parameter and is targeted by <code>catalog</code> and <code>agreementId</code>.</p>",
@@ -16,13 +16,13 @@
1616
"Catalog": {
1717
"base": null,
1818
"refs": {
19-
"PutDeploymentParameterRequest$catalog": "<p>The catalog related to the request. Fixed value: <code>AWS Marketplace</code> </p>"
19+
"PutDeploymentParameterRequest$catalog": "<p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code> </p>"
2020
}
2121
},
2222
"ClientToken": {
2323
"base": null,
2424
"refs": {
25-
"PutDeploymentParameterRequest$clientToken": "<p>The idempotency token for deployment parameters. A unique identifier for the new version.</p>"
25+
"PutDeploymentParameterRequest$clientToken": "<p>The idempotency token for deployment parameters. A unique identifier for the new version.</p> <note> <p>This field is not required if you're calling using an AWS SDK. Otherwise, a <code>clientToken</code> must be provided with the request.</p> </note>"
2626
}
2727
},
2828
"ConflictException": {
@@ -31,7 +31,7 @@
3131
}
3232
},
3333
"DeploymentParameterInput": {
34-
"base": "<p>The shape containing the requested deployment parameter name and secretString.</p>",
34+
"base": "<p>The shape containing the requested deployment parameter name and secretString.</p> <note> <p>To support AWS CloudFormation dynamic references to this resource using Quick Launch, this value must match a parameter defined in the CloudFormation templated provided to buyers.</p> </note>",
3535
"refs": {
3636
"PutDeploymentParameterRequest$deploymentParameter": "<p>The deployment parameter targeted to the acceptor of an agreement for which to create the AWS Secret Manager resource.</p>"
3737
}

gems/aws-partitions/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased Changes
22
------------------
33

4+
1.1092.0 (2025-04-25)
5+
------------------
6+
7+
* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
8+
49
1.1091.0 (2025-04-23)
510
------------------
611

gems/aws-partitions/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1091.0
1+
1.1092.0

gems/aws-partitions/partitions.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36528,6 +36528,11 @@
3652836528
"us-iso-west-1" : { }
3652936529
}
3653036530
},
36531+
"batch" : {
36532+
"endpoints" : {
36533+
"us-iso-east-1" : { }
36534+
}
36535+
},
3653136536
"bedrock" : {
3653236537
"endpoints" : {
3653336538
"bedrock-runtime-us-iso-east-1" : {
@@ -37658,6 +37663,12 @@
3765837663
} ]
3765937664
}
3766037665
}
37666+
},
37667+
"xray" : {
37668+
"endpoints" : {
37669+
"us-iso-east-1" : { },
37670+
"us-iso-west-1" : { }
37671+
}
3766137672
}
3766237673
}
3766337674
}, {
@@ -37742,6 +37753,11 @@
3774237753
"us-isob-east-1" : { }
3774337754
}
3774437755
},
37756+
"batch" : {
37757+
"endpoints" : {
37758+
"us-isob-east-1" : { }
37759+
}
37760+
},
3774537761
"budgets" : {
3774637762
"endpoints" : {
3774737763
"aws-iso-b-global" : {

gems/aws-sdk-bedrockruntime/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased Changes
22
------------------
33

4+
1.45.0 (2025-04-25)
5+
------------------
6+
7+
* Feature - You can now reference images and documents stored in Amazon S3 when using InvokeModel and Converse APIs with Amazon Nova Lite and Nova Pro. This enables direct integration of S3-stored multimedia assets in your model requests without manual downloading or base64 encoding.
8+
49
1.44.0 (2025-04-08)
510
------------------
611

gems/aws-sdk-bedrockruntime/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.44.0
1+
1.45.0

gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module Plugins
5757
autoload :AsyncClient, 'aws-sdk-bedrockruntime/async_client'
5858
autoload :EventStreams, 'aws-sdk-bedrockruntime/event_streams'
5959

60-
GEM_VERSION = '1.44.0'
60+
GEM_VERSION = '1.45.0'
6161

6262
end
6363

gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/async_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ def build_request(operation_name, params = {})
592592
tracer: tracer
593593
)
594594
context[:gem_name] = 'aws-sdk-bedrockruntime'
595-
context[:gem_version] = '1.44.0'
595+
context[:gem_version] = '1.45.0'
596596
Seahorse::Client::Request.new(handlers, context)
597597
end
598598

gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/client.rb

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,13 +818,21 @@ def apply_guardrail(params = {}, options = {})
818818
# format: "png", # required, accepts png, jpeg, gif, webp
819819
# source: { # required
820820
# bytes: "data",
821+
# s3_location: {
822+
# uri: "S3Uri", # required
823+
# bucket_owner: "AccountId",
824+
# },
821825
# },
822826
# },
823827
# document: {
824828
# format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
825829
# name: "DocumentBlockNameString", # required
826830
# source: { # required
827831
# bytes: "data",
832+
# s3_location: {
833+
# uri: "S3Uri", # required
834+
# bucket_owner: "AccountId",
835+
# },
828836
# },
829837
# },
830838
# video: {
@@ -854,13 +862,21 @@ def apply_guardrail(params = {}, options = {})
854862
# format: "png", # required, accepts png, jpeg, gif, webp
855863
# source: { # required
856864
# bytes: "data",
865+
# s3_location: {
866+
# uri: "S3Uri", # required
867+
# bucket_owner: "AccountId",
868+
# },
857869
# },
858870
# },
859871
# document: {
860872
# format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
861873
# name: "DocumentBlockNameString", # required
862874
# source: { # required
863875
# bytes: "data",
876+
# s3_location: {
877+
# uri: "S3Uri", # required
878+
# bucket_owner: "AccountId",
879+
# },
864880
# },
865881
# },
866882
# video: {
@@ -983,9 +999,13 @@ def apply_guardrail(params = {}, options = {})
983999
# resp.output.message.content[0].text #=> String
9841000
# resp.output.message.content[0].image.format #=> String, one of "png", "jpeg", "gif", "webp"
9851001
# resp.output.message.content[0].image.source.bytes #=> String
1002+
# resp.output.message.content[0].image.source.s3_location.uri #=> String
1003+
# resp.output.message.content[0].image.source.s3_location.bucket_owner #=> String
9861004
# resp.output.message.content[0].document.format #=> String, one of "pdf", "csv", "doc", "docx", "xls", "xlsx", "html", "txt", "md"
9871005
# resp.output.message.content[0].document.name #=> String
9881006
# resp.output.message.content[0].document.source.bytes #=> String
1007+
# resp.output.message.content[0].document.source.s3_location.uri #=> String
1008+
# resp.output.message.content[0].document.source.s3_location.bucket_owner #=> String
9891009
# resp.output.message.content[0].video.format #=> String, one of "mkv", "mov", "mp4", "webm", "flv", "mpeg", "mpg", "wmv", "three_gp"
9901010
# resp.output.message.content[0].video.source.bytes #=> String
9911011
# resp.output.message.content[0].video.source.s3_location.uri #=> String
@@ -997,9 +1017,13 @@ def apply_guardrail(params = {}, options = {})
9971017
# resp.output.message.content[0].tool_result.content[0].text #=> String
9981018
# resp.output.message.content[0].tool_result.content[0].image.format #=> String, one of "png", "jpeg", "gif", "webp"
9991019
# resp.output.message.content[0].tool_result.content[0].image.source.bytes #=> String
1020+
# resp.output.message.content[0].tool_result.content[0].image.source.s3_location.uri #=> String
1021+
# resp.output.message.content[0].tool_result.content[0].image.source.s3_location.bucket_owner #=> String
10001022
# resp.output.message.content[0].tool_result.content[0].document.format #=> String, one of "pdf", "csv", "doc", "docx", "xls", "xlsx", "html", "txt", "md"
10011023
# resp.output.message.content[0].tool_result.content[0].document.name #=> String
10021024
# resp.output.message.content[0].tool_result.content[0].document.source.bytes #=> String
1025+
# resp.output.message.content[0].tool_result.content[0].document.source.s3_location.uri #=> String
1026+
# resp.output.message.content[0].tool_result.content[0].document.source.s3_location.bucket_owner #=> String
10031027
# resp.output.message.content[0].tool_result.content[0].video.format #=> String, one of "mkv", "mov", "mp4", "webm", "flv", "mpeg", "mpg", "wmv", "three_gp"
10041028
# resp.output.message.content[0].tool_result.content[0].video.source.bytes #=> String
10051029
# resp.output.message.content[0].tool_result.content[0].video.source.s3_location.uri #=> String
@@ -1511,13 +1535,21 @@ def converse(params = {}, options = {})
15111535
# format: "png", # required, accepts png, jpeg, gif, webp
15121536
# source: { # required
15131537
# bytes: "data",
1538+
# s3_location: {
1539+
# uri: "S3Uri", # required
1540+
# bucket_owner: "AccountId",
1541+
# },
15141542
# },
15151543
# },
15161544
# document: {
15171545
# format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
15181546
# name: "DocumentBlockNameString", # required
15191547
# source: { # required
15201548
# bytes: "data",
1549+
# s3_location: {
1550+
# uri: "S3Uri", # required
1551+
# bucket_owner: "AccountId",
1552+
# },
15211553
# },
15221554
# },
15231555
# video: {
@@ -1547,13 +1579,21 @@ def converse(params = {}, options = {})
15471579
# format: "png", # required, accepts png, jpeg, gif, webp
15481580
# source: { # required
15491581
# bytes: "data",
1582+
# s3_location: {
1583+
# uri: "S3Uri", # required
1584+
# bucket_owner: "AccountId",
1585+
# },
15501586
# },
15511587
# },
15521588
# document: {
15531589
# format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
15541590
# name: "DocumentBlockNameString", # required
15551591
# source: { # required
15561592
# bytes: "data",
1593+
# s3_location: {
1594+
# uri: "S3Uri", # required
1595+
# bucket_owner: "AccountId",
1596+
# },
15571597
# },
15581598
# },
15591599
# video: {
@@ -2548,7 +2588,7 @@ def build_request(operation_name, params = {})
25482588
tracer: tracer
25492589
)
25502590
context[:gem_name] = 'aws-sdk-bedrockruntime'
2551-
context[:gem_version] = '1.44.0'
2591+
context[:gem_version] = '1.45.0'
25522592
Seahorse::Client::Request.new(handlers, context)
25532593
end
25542594

gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/client_api.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,10 @@ module ClientApi
455455
DocumentBlock.struct_class = Types::DocumentBlock
456456

457457
DocumentSource.add_member(:bytes, Shapes::ShapeRef.new(shape: DocumentSourceBytesBlob, location_name: "bytes"))
458+
DocumentSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
458459
DocumentSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
459460
DocumentSource.add_member_subclass(:bytes, Types::DocumentSource::Bytes)
461+
DocumentSource.add_member_subclass(:s3_location, Types::DocumentSource::S3Location)
460462
DocumentSource.add_member_subclass(:unknown, Types::DocumentSource::Unknown)
461463
DocumentSource.struct_class = Types::DocumentSource
462464

@@ -668,8 +670,10 @@ module ClientApi
668670
ImageBlock.struct_class = Types::ImageBlock
669671

670672
ImageSource.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageSourceBytesBlob, location_name: "bytes"))
673+
ImageSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
671674
ImageSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
672675
ImageSource.add_member_subclass(:bytes, Types::ImageSource::Bytes)
676+
ImageSource.add_member_subclass(:s3_location, Types::ImageSource::S3Location)
673677
ImageSource.add_member_subclass(:unknown, Types::ImageSource::Unknown)
674678
ImageSource.struct_class = Types::ImageSource
675679

gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,16 +1018,28 @@ class DocumentBlock < Struct.new(
10181018
# SDK, you don't need to encode the bytes in base64.
10191019
# @return [String]
10201020
#
1021+
# @!attribute [rw] s3_location
1022+
# The location of a document object in an Amazon S3 bucket. To see
1023+
# which models support S3 uploads, see [Supported models and features
1024+
# for Converse][1].
1025+
#
1026+
#
1027+
#
1028+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html
1029+
# @return [Types::S3Location]
1030+
#
10211031
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/DocumentSource AWS API Documentation
10221032
#
10231033
class DocumentSource < Struct.new(
10241034
:bytes,
1035+
:s3_location,
10251036
:unknown)
10261037
SENSITIVE = []
10271038
include Aws::Structure
10281039
include Aws::Structure::Union
10291040

10301041
class Bytes < DocumentSource; end
1042+
class S3Location < DocumentSource; end
10311043
class Unknown < DocumentSource; end
10321044
end
10331045

@@ -1899,16 +1911,28 @@ class ImageBlock < Struct.new(
18991911
# need to encode the image bytes in base64.
19001912
# @return [String]
19011913
#
1914+
# @!attribute [rw] s3_location
1915+
# The location of an image object in an Amazon S3 bucket. To see which
1916+
# models support S3 uploads, see [Supported models and features for
1917+
# Converse][1].
1918+
#
1919+
#
1920+
#
1921+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html
1922+
# @return [Types::S3Location]
1923+
#
19021924
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ImageSource AWS API Documentation
19031925
#
19041926
class ImageSource < Struct.new(
19051927
:bytes,
1928+
:s3_location,
19061929
:unknown)
19071930
SENSITIVE = []
19081931
include Aws::Structure
19091932
include Aws::Structure::Union
19101933

19111934
class Bytes < ImageSource; end
1935+
class S3Location < ImageSource; end
19121936
class Unknown < ImageSource; end
19131937
end
19141938

@@ -2712,7 +2736,7 @@ class ResourceNotFoundException < Struct.new(
27122736
include Aws::Structure
27132737
end
27142738

2715-
# A storage location in an S3 bucket.
2739+
# A storage location in an Amazon S3 bucket.
27162740
#
27172741
# @!attribute [rw] uri
27182742
# An object URI starting with `s3://`.
@@ -3288,7 +3312,13 @@ class VideoBlock < Struct.new(
32883312
# @return [String]
32893313
#
32903314
# @!attribute [rw] s3_location
3291-
# The location of a video object in an S3 bucket.
3315+
# The location of a video object in an Amazon S3 bucket. To see which
3316+
# models support S3 uploads, see [Supported models and features for
3317+
# Converse][1].
3318+
#
3319+
#
3320+
#
3321+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html
32923322
# @return [Types::S3Location]
32933323
#
32943324
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/VideoSource AWS API Documentation

0 commit comments

Comments
 (0)