Skip to content

Commit ea096b3

Browse files
author
AWS
committed
Amazon Bedrock Update: This feature adds cross account s3 bucket and VPC support to ModelInvocation jobs. To use a cross account bucket, pass in the accountId of the bucket to s3BucketOwner in the ModelInvocationJobInputDataConfig or ModelInvocationJobOutputDataConfig.
1 parent 7e5d44e commit ea096b3

File tree

2 files changed

+31
-5
lines changed

2 files changed

+31
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Bedrock",
4+
"contributor": "",
5+
"description": "This feature adds cross account s3 bucket and VPC support to ModelInvocation jobs. To use a cross account bucket, pass in the accountId of the bucket to s3BucketOwner in the ModelInvocationJobInputDataConfig or ModelInvocationJobOutputDataConfig."
6+
}

services/bedrock/src/main/resources/codegen-resources/service-2.json

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@
13331333
},
13341334
"vpcConfig":{
13351335
"shape":"VpcConfig",
1336-
"documentation":"<p>VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.</p>"
1336+
"documentation":"<p>The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html\">Protect your model customization jobs using a VPC</a>.</p>"
13371337
}
13381338
}
13391339
},
@@ -1439,6 +1439,10 @@
14391439
"shape":"ModelInvocationJobOutputDataConfig",
14401440
"documentation":"<p>Details about the location of the output of the batch inference job.</p>"
14411441
},
1442+
"vpcConfig":{
1443+
"shape":"VpcConfig",
1444+
"documentation":"<p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc\">Protect batch inference jobs using a VPC</a>.</p>"
1445+
},
14421446
"timeoutDurationInHours":{
14431447
"shape":"ModelInvocationJobTimeoutDurationInHours",
14441448
"documentation":"<p>The number of hours after which to force the batch inference job to time out.</p>"
@@ -2816,6 +2820,10 @@
28162820
"shape":"ModelInvocationJobOutputDataConfig",
28172821
"documentation":"<p>Details about the location of the output of the batch inference job.</p>"
28182822
},
2823+
"vpcConfig":{
2824+
"shape":"VpcConfig",
2825+
"documentation":"<p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc\">Protect batch inference jobs using a VPC</a>.</p>"
2826+
},
28192827
"timeoutDurationInHours":{
28202828
"shape":"ModelInvocationJobTimeoutDurationInHours",
28212829
"documentation":"<p>The number of hours after which batch inference job was set to time out.</p>"
@@ -4997,9 +5005,13 @@
49975005
"s3Uri":{
49985006
"shape":"S3Uri",
49995007
"documentation":"<p>The S3 location of the input data.</p>"
5008+
},
5009+
"s3BucketOwner":{
5010+
"shape":"AccountId",
5011+
"documentation":"<p>The ID of the Amazon Web Services account that owns the S3 bucket containing the input data.</p>"
50005012
}
50015013
},
5002-
"documentation":"<p>Contains the configuration of the S3 location of the output data.</p>"
5014+
"documentation":"<p>Contains the configuration of the S3 location of the input data.</p>"
50035015
},
50045016
"ModelInvocationJobS3OutputDataConfig":{
50055017
"type":"structure",
@@ -5012,6 +5024,10 @@
50125024
"s3EncryptionKeyId":{
50135025
"shape":"KmsKeyId",
50145026
"documentation":"<p>The unique identifier of the key that encrypts the S3 location of the output data.</p>"
5027+
},
5028+
"s3BucketOwner":{
5029+
"shape":"AccountId",
5030+
"documentation":"<p>The ID of the Amazon Web Services account that owns the S3 bucket containing the output data.</p>"
50155031
}
50165032
},
50175033
"documentation":"<p>Contains the configuration of the S3 location of the output data.</p>"
@@ -5095,6 +5111,10 @@
50955111
"shape":"ModelInvocationJobOutputDataConfig",
50965112
"documentation":"<p>Details about the location of the output of the batch inference job.</p>"
50975113
},
5114+
"vpcConfig":{
5115+
"shape":"VpcConfig",
5116+
"documentation":"<p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc\">Protect batch inference jobs using a VPC</a>.</p>"
5117+
},
50985118
"timeoutDurationInHours":{
50995119
"shape":"ModelInvocationJobTimeoutDurationInHours",
51005120
"documentation":"<p>The number of hours after which the batch inference job was set to time out.</p>"
@@ -5753,14 +5773,14 @@
57535773
"members":{
57545774
"subnetIds":{
57555775
"shape":"SubnetIds",
5756-
"documentation":"<p>VPC configuration subnets.</p>"
5776+
"documentation":"<p>An array of IDs for each subnet in the VPC to use.</p>"
57575777
},
57585778
"securityGroupIds":{
57595779
"shape":"SecurityGroupIds",
5760-
"documentation":"<p>VPC configuration security group Ids.</p>"
5780+
"documentation":"<p>An array of IDs for each security group in the VPC to use.</p>"
57615781
}
57625782
},
5763-
"documentation":"<p>VPC configuration.</p>"
5783+
"documentation":"<p>The configuration of a virtual private cloud (VPC). For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/usingVPC.html\">Protect your data using Amazon Virtual Private Cloud and Amazon Web Services PrivateLink</a>.</p>"
57645784
}
57655785
},
57665786
"documentation":"<p>Describes the API operations for creating, managing, fine-turning, and evaluating Amazon Bedrock models.</p>"

0 commit comments

Comments
 (0)