aws-sdk-bedrockdataautomationruntime 1.7.0 → 1.8.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-bedrockdataautomationruntime/client.rb +11 -1
- data/lib/aws-sdk-bedrockdataautomationruntime/client_api.rb +31 -8
- data/lib/aws-sdk-bedrockdataautomationruntime/types.rb +74 -1
- data/lib/aws-sdk-bedrockdataautomationruntime.rb +1 -1
- data/sig/client.rbs +11 -1
- data/sig/types.rbs +28 -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: 58d47bb887bf21b1aaa516937d5abc2f92828b219873242caefb48e807b4341f
|
4
|
+
data.tar.gz: a89bc590165574fc6cd00b058b6efa659934ed2aba5a5e553c2b9b100af2a68a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21ca452ca20dc9f25af42f1fd7453253e1299dd58c1857b02ddaaa223d7c1d71ed7b88e9281f16d56819da08a12f0bbbcbc0ed42f3d2dcc70aeeb187c61eff43
|
7
|
+
data.tar.gz: cd7d89fc470077054e56365687480437bc2ddf0b3ee0ec7be9ce02a0bb65684945a4ebbd60179c6e8754549ab42d1a69b680c287b1785481b84ee148daf931a1
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -552,6 +552,16 @@ module Aws::BedrockDataAutomationRuntime
|
|
552
552
|
# client_token: "IdempotencyToken",
|
553
553
|
# input_configuration: { # required
|
554
554
|
# s3_uri: "S3Uri", # required
|
555
|
+
# asset_processing_configuration: {
|
556
|
+
# video: {
|
557
|
+
# segment_configuration: {
|
558
|
+
# timestamp_segment: {
|
559
|
+
# start_time_millis: 1, # required
|
560
|
+
# end_time_millis: 1, # required
|
561
|
+
# },
|
562
|
+
# },
|
563
|
+
# },
|
564
|
+
# },
|
555
565
|
# },
|
556
566
|
# output_configuration: { # required
|
557
567
|
# s3_uri: "S3Uri", # required
|
@@ -705,7 +715,7 @@ module Aws::BedrockDataAutomationRuntime
|
|
705
715
|
tracer: tracer
|
706
716
|
)
|
707
717
|
context[:gem_name] = 'aws-sdk-bedrockdataautomationruntime'
|
708
|
-
context[:gem_version] = '1.
|
718
|
+
context[:gem_version] = '1.8.0'
|
709
719
|
Seahorse::Client::Request.new(handlers, context)
|
710
720
|
end
|
711
721
|
|
@@ -15,6 +15,7 @@ module Aws::BedrockDataAutomationRuntime
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
AssetProcessingConfiguration = Shapes::StructureShape.new(name: 'AssetProcessingConfiguration')
|
18
19
|
AutomationJobStatus = Shapes::StringShape.new(name: 'AutomationJobStatus')
|
19
20
|
Blueprint = Shapes::StructureShape.new(name: 'Blueprint')
|
20
21
|
BlueprintArn = Shapes::StringShape.new(name: 'BlueprintArn')
|
@@ -58,13 +59,21 @@ module Aws::BedrockDataAutomationRuntime
|
|
58
59
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
59
60
|
TaggableResourceArn = Shapes::StringShape.new(name: 'TaggableResourceArn')
|
60
61
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
62
|
+
TimestampSegment = Shapes::StructureShape.new(name: 'TimestampSegment')
|
63
|
+
TimestampSegmentEndTimeMillisLong = Shapes::IntegerShape.new(name: 'TimestampSegmentEndTimeMillisLong')
|
64
|
+
TimestampSegmentStartTimeMillisLong = Shapes::IntegerShape.new(name: 'TimestampSegmentStartTimeMillisLong')
|
61
65
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
62
66
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
63
67
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
68
|
+
VideoAssetProcessingConfiguration = Shapes::StructureShape.new(name: 'VideoAssetProcessingConfiguration')
|
69
|
+
VideoSegmentConfiguration = Shapes::UnionShape.new(name: 'VideoSegmentConfiguration')
|
64
70
|
|
65
71
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
66
72
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
67
73
|
|
74
|
+
AssetProcessingConfiguration.add_member(:video, Shapes::ShapeRef.new(shape: VideoAssetProcessingConfiguration, location_name: "video"))
|
75
|
+
AssetProcessingConfiguration.struct_class = Types::AssetProcessingConfiguration
|
76
|
+
|
68
77
|
Blueprint.add_member(:blueprint_arn, Shapes::ShapeRef.new(shape: BlueprintArn, required: true, location_name: "blueprintArn"))
|
69
78
|
Blueprint.add_member(:version, Shapes::ShapeRef.new(shape: BlueprintVersion, location_name: "version"))
|
70
79
|
Blueprint.add_member(:stage, Shapes::ShapeRef.new(shape: BlueprintStage, location_name: "stage"))
|
@@ -96,6 +105,7 @@ module Aws::BedrockDataAutomationRuntime
|
|
96
105
|
GetDataAutomationStatusResponse.struct_class = Types::GetDataAutomationStatusResponse
|
97
106
|
|
98
107
|
InputConfiguration.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
108
|
+
InputConfiguration.add_member(:asset_processing_configuration, Shapes::ShapeRef.new(shape: AssetProcessingConfiguration, location_name: "assetProcessingConfiguration"))
|
99
109
|
InputConfiguration.struct_class = Types::InputConfiguration
|
100
110
|
|
101
111
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
@@ -150,6 +160,10 @@ module Aws::BedrockDataAutomationRuntime
|
|
150
160
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
151
161
|
ThrottlingException.struct_class = Types::ThrottlingException
|
152
162
|
|
163
|
+
TimestampSegment.add_member(:start_time_millis, Shapes::ShapeRef.new(shape: TimestampSegmentStartTimeMillisLong, required: true, location_name: "startTimeMillis"))
|
164
|
+
TimestampSegment.add_member(:end_time_millis, Shapes::ShapeRef.new(shape: TimestampSegmentEndTimeMillisLong, required: true, location_name: "endTimeMillis"))
|
165
|
+
TimestampSegment.struct_class = Types::TimestampSegment
|
166
|
+
|
153
167
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "resourceARN"))
|
154
168
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
155
169
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -159,6 +173,15 @@ module Aws::BedrockDataAutomationRuntime
|
|
159
173
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
160
174
|
ValidationException.struct_class = Types::ValidationException
|
161
175
|
|
176
|
+
VideoAssetProcessingConfiguration.add_member(:segment_configuration, Shapes::ShapeRef.new(shape: VideoSegmentConfiguration, location_name: "segmentConfiguration"))
|
177
|
+
VideoAssetProcessingConfiguration.struct_class = Types::VideoAssetProcessingConfiguration
|
178
|
+
|
179
|
+
VideoSegmentConfiguration.add_member(:timestamp_segment, Shapes::ShapeRef.new(shape: TimestampSegment, location_name: "timestampSegment"))
|
180
|
+
VideoSegmentConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
181
|
+
VideoSegmentConfiguration.add_member_subclass(:timestamp_segment, Types::VideoSegmentConfiguration::TimestampSegment)
|
182
|
+
VideoSegmentConfiguration.add_member_subclass(:unknown, Types::VideoSegmentConfiguration::Unknown)
|
183
|
+
VideoSegmentConfiguration.struct_class = Types::VideoSegmentConfiguration
|
184
|
+
|
162
185
|
|
163
186
|
# @api private
|
164
187
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -186,8 +209,8 @@ module Aws::BedrockDataAutomationRuntime
|
|
186
209
|
o.http_request_uri = "/"
|
187
210
|
o.input = Shapes::ShapeRef.new(shape: GetDataAutomationStatusRequest)
|
188
211
|
o.output = Shapes::ShapeRef.new(shape: GetDataAutomationStatusResponse)
|
189
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
190
212
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
213
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
191
214
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
192
215
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
193
216
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -200,8 +223,8 @@ module Aws::BedrockDataAutomationRuntime
|
|
200
223
|
o.input = Shapes::ShapeRef.new(shape: InvokeDataAutomationAsyncRequest)
|
201
224
|
o.output = Shapes::ShapeRef.new(shape: InvokeDataAutomationAsyncResponse)
|
202
225
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
203
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
204
226
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
227
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
205
228
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
206
229
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
207
230
|
end)
|
@@ -212,11 +235,11 @@ module Aws::BedrockDataAutomationRuntime
|
|
212
235
|
o.http_request_uri = "/"
|
213
236
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
214
237
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
215
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
216
238
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
239
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
217
240
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
218
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
219
241
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
242
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
220
243
|
end)
|
221
244
|
|
222
245
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -226,11 +249,11 @@ module Aws::BedrockDataAutomationRuntime
|
|
226
249
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
227
250
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
228
251
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
229
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
230
252
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
253
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
231
254
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
232
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
233
255
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
256
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
234
257
|
end)
|
235
258
|
|
236
259
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -239,11 +262,11 @@ module Aws::BedrockDataAutomationRuntime
|
|
239
262
|
o.http_request_uri = "/"
|
240
263
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
241
264
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
242
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
243
265
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
266
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
244
267
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
245
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
246
268
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
269
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
247
270
|
end)
|
248
271
|
end
|
249
272
|
|
@@ -24,6 +24,20 @@ module Aws::BedrockDataAutomationRuntime
|
|
24
24
|
include Aws::Structure
|
25
25
|
end
|
26
26
|
|
27
|
+
# Config containing asset processing related knobs for all modalities
|
28
|
+
#
|
29
|
+
# @!attribute [rw] video
|
30
|
+
# Video asset processing configuration
|
31
|
+
# @return [Types::VideoAssetProcessingConfiguration]
|
32
|
+
#
|
33
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/AssetProcessingConfiguration AWS API Documentation
|
34
|
+
#
|
35
|
+
class AssetProcessingConfiguration < Struct.new(
|
36
|
+
:video)
|
37
|
+
SENSITIVE = []
|
38
|
+
include Aws::Structure
|
39
|
+
end
|
40
|
+
|
27
41
|
# Structure for single blueprint entity.
|
28
42
|
#
|
29
43
|
# @!attribute [rw] blueprint_arn
|
@@ -149,10 +163,15 @@ module Aws::BedrockDataAutomationRuntime
|
|
149
163
|
# S3 uri.
|
150
164
|
# @return [String]
|
151
165
|
#
|
166
|
+
# @!attribute [rw] asset_processing_configuration
|
167
|
+
# Asset processing configuration
|
168
|
+
# @return [Types::AssetProcessingConfiguration]
|
169
|
+
#
|
152
170
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InputConfiguration AWS API Documentation
|
153
171
|
#
|
154
172
|
class InputConfiguration < Struct.new(
|
155
|
-
:s3_uri
|
173
|
+
:s3_uri,
|
174
|
+
:asset_processing_configuration)
|
156
175
|
SENSITIVE = []
|
157
176
|
include Aws::Structure
|
158
177
|
end
|
@@ -374,6 +393,25 @@ module Aws::BedrockDataAutomationRuntime
|
|
374
393
|
include Aws::Structure
|
375
394
|
end
|
376
395
|
|
396
|
+
# Timestamp segment
|
397
|
+
#
|
398
|
+
# @!attribute [rw] start_time_millis
|
399
|
+
# Start timestamp in milliseconds
|
400
|
+
# @return [Integer]
|
401
|
+
#
|
402
|
+
# @!attribute [rw] end_time_millis
|
403
|
+
# End timestamp in milliseconds
|
404
|
+
# @return [Integer]
|
405
|
+
#
|
406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/TimestampSegment AWS API Documentation
|
407
|
+
#
|
408
|
+
class TimestampSegment < Struct.new(
|
409
|
+
:start_time_millis,
|
410
|
+
:end_time_millis)
|
411
|
+
SENSITIVE = []
|
412
|
+
include Aws::Structure
|
413
|
+
end
|
414
|
+
|
377
415
|
# @!attribute [rw] resource_arn
|
378
416
|
# ARN of a taggable resource
|
379
417
|
# @return [String]
|
@@ -409,6 +447,41 @@ module Aws::BedrockDataAutomationRuntime
|
|
409
447
|
include Aws::Structure
|
410
448
|
end
|
411
449
|
|
450
|
+
# Video asset processing configuration
|
451
|
+
#
|
452
|
+
# @!attribute [rw] segment_configuration
|
453
|
+
# Delimits the segment of the input that will be processed
|
454
|
+
# @return [Types::VideoSegmentConfiguration]
|
455
|
+
#
|
456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/VideoAssetProcessingConfiguration AWS API Documentation
|
457
|
+
#
|
458
|
+
class VideoAssetProcessingConfiguration < Struct.new(
|
459
|
+
:segment_configuration)
|
460
|
+
SENSITIVE = []
|
461
|
+
include Aws::Structure
|
462
|
+
end
|
463
|
+
|
464
|
+
# Delimits the segment of the input that will be processed
|
465
|
+
#
|
466
|
+
# @note VideoSegmentConfiguration is a union - when making an API calls you must set exactly one of the members.
|
467
|
+
#
|
468
|
+
# @!attribute [rw] timestamp_segment
|
469
|
+
# Timestamp segment
|
470
|
+
# @return [Types::TimestampSegment]
|
471
|
+
#
|
472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/VideoSegmentConfiguration AWS API Documentation
|
473
|
+
#
|
474
|
+
class VideoSegmentConfiguration < Struct.new(
|
475
|
+
:timestamp_segment,
|
476
|
+
:unknown)
|
477
|
+
SENSITIVE = []
|
478
|
+
include Aws::Structure
|
479
|
+
include Aws::Structure::Union
|
480
|
+
|
481
|
+
class TimestampSegment < VideoSegmentConfiguration; end
|
482
|
+
class Unknown < VideoSegmentConfiguration; end
|
483
|
+
end
|
484
|
+
|
412
485
|
end
|
413
486
|
end
|
414
487
|
|
@@ -54,7 +54,7 @@ module Aws::BedrockDataAutomationRuntime
|
|
54
54
|
autoload :EndpointProvider, 'aws-sdk-bedrockdataautomationruntime/endpoint_provider'
|
55
55
|
autoload :Endpoints, 'aws-sdk-bedrockdataautomationruntime/endpoints'
|
56
56
|
|
57
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.8.0'
|
58
58
|
|
59
59
|
end
|
60
60
|
|
data/sig/client.rbs
CHANGED
@@ -99,7 +99,17 @@ module Aws
|
|
99
99
|
def invoke_data_automation_async: (
|
100
100
|
?client_token: ::String,
|
101
101
|
input_configuration: {
|
102
|
-
s3_uri: ::String
|
102
|
+
s3_uri: ::String,
|
103
|
+
asset_processing_configuration: {
|
104
|
+
video: {
|
105
|
+
segment_configuration: {
|
106
|
+
timestamp_segment: {
|
107
|
+
start_time_millis: ::Integer,
|
108
|
+
end_time_millis: ::Integer
|
109
|
+
}?
|
110
|
+
}?
|
111
|
+
}?
|
112
|
+
}?
|
103
113
|
},
|
104
114
|
output_configuration: {
|
105
115
|
s3_uri: ::String
|
data/sig/types.rbs
CHANGED
@@ -13,6 +13,11 @@ module Aws::BedrockDataAutomationRuntime
|
|
13
13
|
SENSITIVE: []
|
14
14
|
end
|
15
15
|
|
16
|
+
class AssetProcessingConfiguration
|
17
|
+
attr_accessor video: Types::VideoAssetProcessingConfiguration
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
16
21
|
class Blueprint
|
17
22
|
attr_accessor blueprint_arn: ::String
|
18
23
|
attr_accessor version: ::String
|
@@ -52,6 +57,7 @@ module Aws::BedrockDataAutomationRuntime
|
|
52
57
|
|
53
58
|
class InputConfiguration
|
54
59
|
attr_accessor s3_uri: ::String
|
60
|
+
attr_accessor asset_processing_configuration: Types::AssetProcessingConfiguration
|
55
61
|
SENSITIVE: []
|
56
62
|
end
|
57
63
|
|
@@ -128,6 +134,12 @@ module Aws::BedrockDataAutomationRuntime
|
|
128
134
|
SENSITIVE: []
|
129
135
|
end
|
130
136
|
|
137
|
+
class TimestampSegment
|
138
|
+
attr_accessor start_time_millis: ::Integer
|
139
|
+
attr_accessor end_time_millis: ::Integer
|
140
|
+
SENSITIVE: []
|
141
|
+
end
|
142
|
+
|
131
143
|
class UntagResourceRequest
|
132
144
|
attr_accessor resource_arn: ::String
|
133
145
|
attr_accessor tag_keys: ::Array[::String]
|
@@ -141,5 +153,21 @@ module Aws::BedrockDataAutomationRuntime
|
|
141
153
|
attr_accessor message: ::String
|
142
154
|
SENSITIVE: []
|
143
155
|
end
|
156
|
+
|
157
|
+
class VideoAssetProcessingConfiguration
|
158
|
+
attr_accessor segment_configuration: Types::VideoSegmentConfiguration
|
159
|
+
SENSITIVE: []
|
160
|
+
end
|
161
|
+
|
162
|
+
class VideoSegmentConfiguration
|
163
|
+
attr_accessor timestamp_segment: Types::TimestampSegment
|
164
|
+
attr_accessor unknown: untyped
|
165
|
+
SENSITIVE: []
|
166
|
+
|
167
|
+
class TimestampSegment < VideoSegmentConfiguration
|
168
|
+
end
|
169
|
+
class Unknown < VideoSegmentConfiguration
|
170
|
+
end
|
171
|
+
end
|
144
172
|
end
|
145
173
|
end
|