aws-sdk-bedrock 1.20.0 → 1.21.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +36 -4
- data/lib/aws-sdk-bedrock/client_api.rb +5 -0
- data/lib/aws-sdk-bedrock/types.rb +64 -9
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +9 -2
- data/sig/types.rbs +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18a388dd3de9b5a94e951469961b7d7a30384fa4a79cfd4579fb7db2a138e598
|
4
|
+
data.tar.gz: bae8d394bbb0a4ff4d70bc4526fac54d1cf858913b8f13a0f6758c279ef183f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4470027ed17863af0da9153c711c588cc4a2175a1cd1cee655e3ffe82a73012c207e0bab5a00936f67444efbe45749245ec23acb41c54eb12afc7479a2b5d2cf
|
7
|
+
data.tar.gz: 9cd36295dcbeff4b0e936dbfb94ae740ab65107a4b7a7cf4b0602f3d117626d53cb9fc32496bbff2ea0baa29598ea929a507b8d456ef620cf9b36e9f2c49ef29
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2024-09-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - 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.
|
8
|
+
|
4
9
|
1.20.0 (2024-09-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -1014,9 +1014,13 @@ module Aws::Bedrock
|
|
1014
1014
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html
|
1015
1015
|
#
|
1016
1016
|
# @option params [Types::VpcConfig] :vpc_config
|
1017
|
-
#
|
1018
|
-
#
|
1019
|
-
#
|
1017
|
+
# The configuration of the Virtual Private Cloud (VPC) that contains the
|
1018
|
+
# resources that you're using for this job. For more information, see
|
1019
|
+
# [Protect your model customization jobs using a VPC][1].
|
1020
|
+
#
|
1021
|
+
#
|
1022
|
+
#
|
1023
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html
|
1020
1024
|
#
|
1021
1025
|
# @return [Types::CreateModelCustomizationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1022
1026
|
#
|
@@ -1219,6 +1223,15 @@ module Aws::Bedrock
|
|
1219
1223
|
# @option params [required, Types::ModelInvocationJobOutputDataConfig] :output_data_config
|
1220
1224
|
# Details about the location of the output of the batch inference job.
|
1221
1225
|
#
|
1226
|
+
# @option params [Types::VpcConfig] :vpc_config
|
1227
|
+
# The configuration of the Virtual Private Cloud (VPC) for the data in
|
1228
|
+
# the batch inference job. For more information, see [Protect batch
|
1229
|
+
# inference jobs using a VPC][1].
|
1230
|
+
#
|
1231
|
+
#
|
1232
|
+
#
|
1233
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc
|
1234
|
+
#
|
1222
1235
|
# @option params [Integer] :timeout_duration_in_hours
|
1223
1236
|
# The number of hours after which to force the batch inference job to
|
1224
1237
|
# time out.
|
@@ -1246,14 +1259,20 @@ module Aws::Bedrock
|
|
1246
1259
|
# s3_input_data_config: {
|
1247
1260
|
# s3_input_format: "JSONL", # accepts JSONL
|
1248
1261
|
# s3_uri: "S3Uri", # required
|
1262
|
+
# s3_bucket_owner: "AccountId",
|
1249
1263
|
# },
|
1250
1264
|
# },
|
1251
1265
|
# output_data_config: { # required
|
1252
1266
|
# s3_output_data_config: {
|
1253
1267
|
# s3_uri: "S3Uri", # required
|
1254
1268
|
# s3_encryption_key_id: "KmsKeyId",
|
1269
|
+
# s3_bucket_owner: "AccountId",
|
1255
1270
|
# },
|
1256
1271
|
# },
|
1272
|
+
# vpc_config: {
|
1273
|
+
# subnet_ids: ["SubnetId"], # required
|
1274
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
1275
|
+
# },
|
1257
1276
|
# timeout_duration_in_hours: 1,
|
1258
1277
|
# tags: [
|
1259
1278
|
# {
|
@@ -2107,6 +2126,7 @@ module Aws::Bedrock
|
|
2107
2126
|
# * {Types::GetModelInvocationJobResponse#end_time #end_time} => Time
|
2108
2127
|
# * {Types::GetModelInvocationJobResponse#input_data_config #input_data_config} => Types::ModelInvocationJobInputDataConfig
|
2109
2128
|
# * {Types::GetModelInvocationJobResponse#output_data_config #output_data_config} => Types::ModelInvocationJobOutputDataConfig
|
2129
|
+
# * {Types::GetModelInvocationJobResponse#vpc_config #vpc_config} => Types::VpcConfig
|
2110
2130
|
# * {Types::GetModelInvocationJobResponse#timeout_duration_in_hours #timeout_duration_in_hours} => Integer
|
2111
2131
|
# * {Types::GetModelInvocationJobResponse#job_expiration_time #job_expiration_time} => Time
|
2112
2132
|
#
|
@@ -2130,8 +2150,14 @@ module Aws::Bedrock
|
|
2130
2150
|
# resp.end_time #=> Time
|
2131
2151
|
# resp.input_data_config.s3_input_data_config.s3_input_format #=> String, one of "JSONL"
|
2132
2152
|
# resp.input_data_config.s3_input_data_config.s3_uri #=> String
|
2153
|
+
# resp.input_data_config.s3_input_data_config.s3_bucket_owner #=> String
|
2133
2154
|
# resp.output_data_config.s3_output_data_config.s3_uri #=> String
|
2134
2155
|
# resp.output_data_config.s3_output_data_config.s3_encryption_key_id #=> String
|
2156
|
+
# resp.output_data_config.s3_output_data_config.s3_bucket_owner #=> String
|
2157
|
+
# resp.vpc_config.subnet_ids #=> Array
|
2158
|
+
# resp.vpc_config.subnet_ids[0] #=> String
|
2159
|
+
# resp.vpc_config.security_group_ids #=> Array
|
2160
|
+
# resp.vpc_config.security_group_ids[0] #=> String
|
2135
2161
|
# resp.timeout_duration_in_hours #=> Integer
|
2136
2162
|
# resp.job_expiration_time #=> Time
|
2137
2163
|
#
|
@@ -2999,8 +3025,14 @@ module Aws::Bedrock
|
|
2999
3025
|
# resp.invocation_job_summaries[0].end_time #=> Time
|
3000
3026
|
# resp.invocation_job_summaries[0].input_data_config.s3_input_data_config.s3_input_format #=> String, one of "JSONL"
|
3001
3027
|
# resp.invocation_job_summaries[0].input_data_config.s3_input_data_config.s3_uri #=> String
|
3028
|
+
# resp.invocation_job_summaries[0].input_data_config.s3_input_data_config.s3_bucket_owner #=> String
|
3002
3029
|
# resp.invocation_job_summaries[0].output_data_config.s3_output_data_config.s3_uri #=> String
|
3003
3030
|
# resp.invocation_job_summaries[0].output_data_config.s3_output_data_config.s3_encryption_key_id #=> String
|
3031
|
+
# resp.invocation_job_summaries[0].output_data_config.s3_output_data_config.s3_bucket_owner #=> String
|
3032
|
+
# resp.invocation_job_summaries[0].vpc_config.subnet_ids #=> Array
|
3033
|
+
# resp.invocation_job_summaries[0].vpc_config.subnet_ids[0] #=> String
|
3034
|
+
# resp.invocation_job_summaries[0].vpc_config.security_group_ids #=> Array
|
3035
|
+
# resp.invocation_job_summaries[0].vpc_config.security_group_ids[0] #=> String
|
3004
3036
|
# resp.invocation_job_summaries[0].timeout_duration_in_hours #=> Integer
|
3005
3037
|
# resp.invocation_job_summaries[0].job_expiration_time #=> Time
|
3006
3038
|
#
|
@@ -3562,7 +3594,7 @@ module Aws::Bedrock
|
|
3562
3594
|
tracer: tracer
|
3563
3595
|
)
|
3564
3596
|
context[:gem_name] = 'aws-sdk-bedrock'
|
3565
|
-
context[:gem_version] = '1.
|
3597
|
+
context[:gem_version] = '1.21.0'
|
3566
3598
|
Seahorse::Client::Request.new(handlers, context)
|
3567
3599
|
end
|
3568
3600
|
|
@@ -481,6 +481,7 @@ module Aws::Bedrock
|
|
481
481
|
CreateModelInvocationJobRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
|
482
482
|
CreateModelInvocationJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
|
483
483
|
CreateModelInvocationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
|
484
|
+
CreateModelInvocationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
484
485
|
CreateModelInvocationJobRequest.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
485
486
|
CreateModelInvocationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
486
487
|
CreateModelInvocationJobRequest.struct_class = Types::CreateModelInvocationJobRequest
|
@@ -800,6 +801,7 @@ module Aws::Bedrock
|
|
800
801
|
GetModelInvocationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
801
802
|
GetModelInvocationJobResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
|
802
803
|
GetModelInvocationJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
|
804
|
+
GetModelInvocationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
803
805
|
GetModelInvocationJobResponse.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
804
806
|
GetModelInvocationJobResponse.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
|
805
807
|
GetModelInvocationJobResponse.struct_class = Types::GetModelInvocationJobResponse
|
@@ -1236,10 +1238,12 @@ module Aws::Bedrock
|
|
1236
1238
|
|
1237
1239
|
ModelInvocationJobS3InputDataConfig.add_member(:s3_input_format, Shapes::ShapeRef.new(shape: S3InputFormat, location_name: "s3InputFormat"))
|
1238
1240
|
ModelInvocationJobS3InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
1241
|
+
ModelInvocationJobS3InputDataConfig.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "s3BucketOwner"))
|
1239
1242
|
ModelInvocationJobS3InputDataConfig.struct_class = Types::ModelInvocationJobS3InputDataConfig
|
1240
1243
|
|
1241
1244
|
ModelInvocationJobS3OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
1242
1245
|
ModelInvocationJobS3OutputDataConfig.add_member(:s3_encryption_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "s3EncryptionKeyId"))
|
1246
|
+
ModelInvocationJobS3OutputDataConfig.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "s3BucketOwner"))
|
1243
1247
|
ModelInvocationJobS3OutputDataConfig.struct_class = Types::ModelInvocationJobS3OutputDataConfig
|
1244
1248
|
|
1245
1249
|
ModelInvocationJobSummaries.member = Shapes::ShapeRef.new(shape: ModelInvocationJobSummary)
|
@@ -1256,6 +1260,7 @@ module Aws::Bedrock
|
|
1256
1260
|
ModelInvocationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
1257
1261
|
ModelInvocationJobSummary.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
|
1258
1262
|
ModelInvocationJobSummary.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
|
1263
|
+
ModelInvocationJobSummary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
1259
1264
|
ModelInvocationJobSummary.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
|
1260
1265
|
ModelInvocationJobSummary.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
|
1261
1266
|
ModelInvocationJobSummary.struct_class = Types::ModelInvocationJobSummary
|
@@ -533,9 +533,13 @@ module Aws::Bedrock
|
|
533
533
|
# @return [Hash<String,String>]
|
534
534
|
#
|
535
535
|
# @!attribute [rw] vpc_config
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
536
|
+
# The configuration of the Virtual Private Cloud (VPC) that contains
|
537
|
+
# the resources that you're using for this job. For more information,
|
538
|
+
# see [Protect your model customization jobs using a VPC][1].
|
539
|
+
#
|
540
|
+
#
|
541
|
+
#
|
542
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html
|
539
543
|
# @return [Types::VpcConfig]
|
540
544
|
#
|
541
545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelCustomizationJobRequest AWS API Documentation
|
@@ -685,6 +689,16 @@ module Aws::Bedrock
|
|
685
689
|
# Details about the location of the output of the batch inference job.
|
686
690
|
# @return [Types::ModelInvocationJobOutputDataConfig]
|
687
691
|
#
|
692
|
+
# @!attribute [rw] vpc_config
|
693
|
+
# The configuration of the Virtual Private Cloud (VPC) for the data in
|
694
|
+
# the batch inference job. For more information, see [Protect batch
|
695
|
+
# inference jobs using a VPC][1].
|
696
|
+
#
|
697
|
+
#
|
698
|
+
#
|
699
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc
|
700
|
+
# @return [Types::VpcConfig]
|
701
|
+
#
|
688
702
|
# @!attribute [rw] timeout_duration_in_hours
|
689
703
|
# The number of hours after which to force the batch inference job to
|
690
704
|
# time out.
|
@@ -708,6 +722,7 @@ module Aws::Bedrock
|
|
708
722
|
:model_id,
|
709
723
|
:input_data_config,
|
710
724
|
:output_data_config,
|
725
|
+
:vpc_config,
|
711
726
|
:timeout_duration_in_hours,
|
712
727
|
:tags)
|
713
728
|
SENSITIVE = []
|
@@ -2172,6 +2187,16 @@ module Aws::Bedrock
|
|
2172
2187
|
# Details about the location of the output of the batch inference job.
|
2173
2188
|
# @return [Types::ModelInvocationJobOutputDataConfig]
|
2174
2189
|
#
|
2190
|
+
# @!attribute [rw] vpc_config
|
2191
|
+
# The configuration of the Virtual Private Cloud (VPC) for the data in
|
2192
|
+
# the batch inference job. For more information, see [Protect batch
|
2193
|
+
# inference jobs using a VPC][1].
|
2194
|
+
#
|
2195
|
+
#
|
2196
|
+
#
|
2197
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc
|
2198
|
+
# @return [Types::VpcConfig]
|
2199
|
+
#
|
2175
2200
|
# @!attribute [rw] timeout_duration_in_hours
|
2176
2201
|
# The number of hours after which batch inference job was set to time
|
2177
2202
|
# out.
|
@@ -2196,6 +2221,7 @@ module Aws::Bedrock
|
|
2196
2221
|
:end_time,
|
2197
2222
|
:input_data_config,
|
2198
2223
|
:output_data_config,
|
2224
|
+
:vpc_config,
|
2199
2225
|
:timeout_duration_in_hours,
|
2200
2226
|
:job_expiration_time)
|
2201
2227
|
SENSITIVE = [:message]
|
@@ -4482,7 +4508,7 @@ module Aws::Bedrock
|
|
4482
4508
|
class Unknown < ModelInvocationJobOutputDataConfig; end
|
4483
4509
|
end
|
4484
4510
|
|
4485
|
-
# Contains the configuration of the S3 location of the
|
4511
|
+
# Contains the configuration of the S3 location of the input data.
|
4486
4512
|
#
|
4487
4513
|
# @!attribute [rw] s3_input_format
|
4488
4514
|
# The format of the input data.
|
@@ -4492,11 +4518,17 @@ module Aws::Bedrock
|
|
4492
4518
|
# The S3 location of the input data.
|
4493
4519
|
# @return [String]
|
4494
4520
|
#
|
4521
|
+
# @!attribute [rw] s3_bucket_owner
|
4522
|
+
# The ID of the Amazon Web Services account that owns the S3 bucket
|
4523
|
+
# containing the input data.
|
4524
|
+
# @return [String]
|
4525
|
+
#
|
4495
4526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobS3InputDataConfig AWS API Documentation
|
4496
4527
|
#
|
4497
4528
|
class ModelInvocationJobS3InputDataConfig < Struct.new(
|
4498
4529
|
:s3_input_format,
|
4499
|
-
:s3_uri
|
4530
|
+
:s3_uri,
|
4531
|
+
:s3_bucket_owner)
|
4500
4532
|
SENSITIVE = []
|
4501
4533
|
include Aws::Structure
|
4502
4534
|
end
|
@@ -4512,11 +4544,17 @@ module Aws::Bedrock
|
|
4512
4544
|
# the output data.
|
4513
4545
|
# @return [String]
|
4514
4546
|
#
|
4547
|
+
# @!attribute [rw] s3_bucket_owner
|
4548
|
+
# The ID of the Amazon Web Services account that owns the S3 bucket
|
4549
|
+
# containing the output data.
|
4550
|
+
# @return [String]
|
4551
|
+
#
|
4515
4552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobS3OutputDataConfig AWS API Documentation
|
4516
4553
|
#
|
4517
4554
|
class ModelInvocationJobS3OutputDataConfig < Struct.new(
|
4518
4555
|
:s3_uri,
|
4519
|
-
:s3_encryption_key_id
|
4556
|
+
:s3_encryption_key_id,
|
4557
|
+
:s3_bucket_owner)
|
4520
4558
|
SENSITIVE = []
|
4521
4559
|
include Aws::Structure
|
4522
4560
|
end
|
@@ -4587,6 +4625,16 @@ module Aws::Bedrock
|
|
4587
4625
|
# Details about the location of the output of the batch inference job.
|
4588
4626
|
# @return [Types::ModelInvocationJobOutputDataConfig]
|
4589
4627
|
#
|
4628
|
+
# @!attribute [rw] vpc_config
|
4629
|
+
# The configuration of the Virtual Private Cloud (VPC) for the data in
|
4630
|
+
# the batch inference job. For more information, see [Protect batch
|
4631
|
+
# inference jobs using a VPC][1].
|
4632
|
+
#
|
4633
|
+
#
|
4634
|
+
#
|
4635
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc
|
4636
|
+
# @return [Types::VpcConfig]
|
4637
|
+
#
|
4590
4638
|
# @!attribute [rw] timeout_duration_in_hours
|
4591
4639
|
# The number of hours after which the batch inference job was set to
|
4592
4640
|
# time out.
|
@@ -4611,6 +4659,7 @@ module Aws::Bedrock
|
|
4611
4659
|
:end_time,
|
4612
4660
|
:input_data_config,
|
4613
4661
|
:output_data_config,
|
4662
|
+
:vpc_config,
|
4614
4663
|
:timeout_duration_in_hours,
|
4615
4664
|
:job_expiration_time)
|
4616
4665
|
SENSITIVE = [:message]
|
@@ -5149,14 +5198,20 @@ module Aws::Bedrock
|
|
5149
5198
|
include Aws::Structure
|
5150
5199
|
end
|
5151
5200
|
|
5152
|
-
#
|
5201
|
+
# The configuration of a virtual private cloud (VPC). For more
|
5202
|
+
# information, see [Protect your data using Amazon Virtual Private Cloud
|
5203
|
+
# and Amazon Web Services PrivateLink][1].
|
5204
|
+
#
|
5205
|
+
#
|
5206
|
+
#
|
5207
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/usingVPC.html
|
5153
5208
|
#
|
5154
5209
|
# @!attribute [rw] subnet_ids
|
5155
|
-
# VPC
|
5210
|
+
# An array of IDs for each subnet in the VPC to use.
|
5156
5211
|
# @return [Array<String>]
|
5157
5212
|
#
|
5158
5213
|
# @!attribute [rw] security_group_ids
|
5159
|
-
#
|
5214
|
+
# An array of IDs for each security group in the VPC to use.
|
5160
5215
|
# @return [Array<String>]
|
5161
5216
|
#
|
5162
5217
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/VpcConfig AWS API Documentation
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -364,15 +364,21 @@ module Aws
|
|
364
364
|
input_data_config: {
|
365
365
|
s3_input_data_config: {
|
366
366
|
s3_input_format: ("JSONL")?,
|
367
|
-
s3_uri: ::String
|
367
|
+
s3_uri: ::String,
|
368
|
+
s3_bucket_owner: ::String?
|
368
369
|
}?
|
369
370
|
},
|
370
371
|
output_data_config: {
|
371
372
|
s3_output_data_config: {
|
372
373
|
s3_uri: ::String,
|
373
|
-
s3_encryption_key_id: ::String
|
374
|
+
s3_encryption_key_id: ::String?,
|
375
|
+
s3_bucket_owner: ::String?
|
374
376
|
}?
|
375
377
|
},
|
378
|
+
?vpc_config: {
|
379
|
+
subnet_ids: Array[::String],
|
380
|
+
security_group_ids: Array[::String]
|
381
|
+
},
|
376
382
|
?timeout_duration_in_hours: ::Integer,
|
377
383
|
?tags: Array[
|
378
384
|
{
|
@@ -652,6 +658,7 @@ module Aws
|
|
652
658
|
def end_time: () -> ::Time
|
653
659
|
def input_data_config: () -> Types::ModelInvocationJobInputDataConfig
|
654
660
|
def output_data_config: () -> Types::ModelInvocationJobOutputDataConfig
|
661
|
+
def vpc_config: () -> Types::VpcConfig
|
655
662
|
def timeout_duration_in_hours: () -> ::Integer
|
656
663
|
def job_expiration_time: () -> ::Time
|
657
664
|
end
|
data/sig/types.rbs
CHANGED
@@ -171,6 +171,7 @@ module Aws::Bedrock
|
|
171
171
|
attr_accessor model_id: ::String
|
172
172
|
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
|
173
173
|
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
|
174
|
+
attr_accessor vpc_config: Types::VpcConfig
|
174
175
|
attr_accessor timeout_duration_in_hours: ::Integer
|
175
176
|
attr_accessor tags: ::Array[Types::Tag]
|
176
177
|
SENSITIVE: []
|
@@ -569,6 +570,7 @@ module Aws::Bedrock
|
|
569
570
|
attr_accessor end_time: ::Time
|
570
571
|
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
|
571
572
|
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
|
573
|
+
attr_accessor vpc_config: Types::VpcConfig
|
572
574
|
attr_accessor timeout_duration_in_hours: ::Integer
|
573
575
|
attr_accessor job_expiration_time: ::Time
|
574
576
|
SENSITIVE: [:message]
|
@@ -1092,12 +1094,14 @@ module Aws::Bedrock
|
|
1092
1094
|
class ModelInvocationJobS3InputDataConfig
|
1093
1095
|
attr_accessor s3_input_format: ("JSONL")
|
1094
1096
|
attr_accessor s3_uri: ::String
|
1097
|
+
attr_accessor s3_bucket_owner: ::String
|
1095
1098
|
SENSITIVE: []
|
1096
1099
|
end
|
1097
1100
|
|
1098
1101
|
class ModelInvocationJobS3OutputDataConfig
|
1099
1102
|
attr_accessor s3_uri: ::String
|
1100
1103
|
attr_accessor s3_encryption_key_id: ::String
|
1104
|
+
attr_accessor s3_bucket_owner: ::String
|
1101
1105
|
SENSITIVE: []
|
1102
1106
|
end
|
1103
1107
|
|
@@ -1114,6 +1118,7 @@ module Aws::Bedrock
|
|
1114
1118
|
attr_accessor end_time: ::Time
|
1115
1119
|
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
|
1116
1120
|
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
|
1121
|
+
attr_accessor vpc_config: Types::VpcConfig
|
1117
1122
|
attr_accessor timeout_duration_in_hours: ::Integer
|
1118
1123
|
attr_accessor job_expiration_time: ::Time
|
1119
1124
|
SENSITIVE: [:message]
|
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.21.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-09-
|
11
|
+
date: 2024-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|