aws-sdk-bedrockdataautomationruntime 1.15.0 → 1.17.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockdataautomationruntime/client.rb +67 -1
- data/lib/aws-sdk-bedrockdataautomationruntime/client_api.rb +47 -0
- data/lib/aws-sdk-bedrockdataautomationruntime/errors.rb +16 -0
- data/lib/aws-sdk-bedrockdataautomationruntime/types.rb +109 -0
- data/lib/aws-sdk-bedrockdataautomationruntime.rb +1 -1
- data/sig/client.rbs +30 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +33 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 749aaeeb156d600c2bb122236dee08170b866a558054bfedda3b827290359f9c
|
|
4
|
+
data.tar.gz: a876f4b305b21f8392bcb94b307312f7d09b5d11660a7f1b191b3c28fe9cbad4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24b28d524e598946f7741ed25f52a79abd3fa2c16cfa20dddcaf19f3588a53ed7c2db80a613571b3ce63e869b9edc5325364c443a035528e6fd950ae4762430e
|
|
7
|
+
data.tar.gz: 865e375224b6148bf1d9baa166b827d4f30dde4ab40781176ac9e6f99a6beb54de2ba7f2ada1448a00f27a0ac5ec579e1636f351482cc6a2b63d32a5bc318171
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.17.0 (2025-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Bedrock Data Automation Runtime Sync API
|
|
8
|
+
|
|
9
|
+
1.16.0 (2025-10-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.15.0 (2025-10-17)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.17.0
|
|
@@ -517,6 +517,72 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
517
517
|
req.send_request(options)
|
|
518
518
|
end
|
|
519
519
|
|
|
520
|
+
# Sync API: Invoke data automation.
|
|
521
|
+
#
|
|
522
|
+
# @option params [required, Types::SyncInputConfiguration] :input_configuration
|
|
523
|
+
# Input configuration.
|
|
524
|
+
#
|
|
525
|
+
# @option params [Types::DataAutomationConfiguration] :data_automation_configuration
|
|
526
|
+
# Data automation configuration.
|
|
527
|
+
#
|
|
528
|
+
# @option params [Array<Types::Blueprint>] :blueprints
|
|
529
|
+
# Blueprint list.
|
|
530
|
+
#
|
|
531
|
+
# @option params [required, String] :data_automation_profile_arn
|
|
532
|
+
# Data automation profile ARN
|
|
533
|
+
#
|
|
534
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
535
|
+
# Encryption configuration.
|
|
536
|
+
#
|
|
537
|
+
# @return [Types::InvokeDataAutomationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
538
|
+
#
|
|
539
|
+
# * {Types::InvokeDataAutomationResponse#semantic_modality #semantic_modality} => String
|
|
540
|
+
# * {Types::InvokeDataAutomationResponse#output_segments #output_segments} => Array<Types::OutputSegment>
|
|
541
|
+
#
|
|
542
|
+
# @example Request syntax with placeholder values
|
|
543
|
+
#
|
|
544
|
+
# resp = client.invoke_data_automation({
|
|
545
|
+
# input_configuration: { # required
|
|
546
|
+
# bytes: "data",
|
|
547
|
+
# s3_uri: "S3Uri",
|
|
548
|
+
# },
|
|
549
|
+
# data_automation_configuration: {
|
|
550
|
+
# data_automation_project_arn: "DataAutomationArn", # required
|
|
551
|
+
# stage: "LIVE", # accepts LIVE, DEVELOPMENT
|
|
552
|
+
# },
|
|
553
|
+
# blueprints: [
|
|
554
|
+
# {
|
|
555
|
+
# blueprint_arn: "BlueprintArn", # required
|
|
556
|
+
# version: "BlueprintVersion",
|
|
557
|
+
# stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
558
|
+
# },
|
|
559
|
+
# ],
|
|
560
|
+
# data_automation_profile_arn: "DataAutomationProfileArn", # required
|
|
561
|
+
# encryption_configuration: {
|
|
562
|
+
# kms_key_id: "KMSKeyId", # required
|
|
563
|
+
# kms_encryption_context: {
|
|
564
|
+
# "EncryptionContextKey" => "EncryptionContextValue",
|
|
565
|
+
# },
|
|
566
|
+
# },
|
|
567
|
+
# })
|
|
568
|
+
#
|
|
569
|
+
# @example Response structure
|
|
570
|
+
#
|
|
571
|
+
# resp.semantic_modality #=> String, one of "DOCUMENT", "IMAGE", "AUDIO", "VIDEO"
|
|
572
|
+
# resp.output_segments #=> Array
|
|
573
|
+
# resp.output_segments[0].custom_output_status #=> String, one of "MATCH", "NO_MATCH"
|
|
574
|
+
# resp.output_segments[0].custom_output #=> String
|
|
575
|
+
# resp.output_segments[0].standard_output #=> String
|
|
576
|
+
#
|
|
577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InvokeDataAutomation AWS API Documentation
|
|
578
|
+
#
|
|
579
|
+
# @overload invoke_data_automation(params = {})
|
|
580
|
+
# @param [Hash] params ({})
|
|
581
|
+
def invoke_data_automation(params = {}, options = {})
|
|
582
|
+
req = build_request(:invoke_data_automation, params)
|
|
583
|
+
req.send_request(options)
|
|
584
|
+
end
|
|
585
|
+
|
|
520
586
|
# Async API: Invoke data automation.
|
|
521
587
|
#
|
|
522
588
|
# @option params [String] :client_token
|
|
@@ -722,7 +788,7 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
722
788
|
tracer: tracer
|
|
723
789
|
)
|
|
724
790
|
context[:gem_name] = 'aws-sdk-bedrockdataautomationruntime'
|
|
725
|
-
context[:gem_version] = '1.
|
|
791
|
+
context[:gem_version] = '1.17.0'
|
|
726
792
|
Seahorse::Client::Request.new(handlers, context)
|
|
727
793
|
end
|
|
728
794
|
|
|
@@ -17,12 +17,14 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
18
18
|
AssetProcessingConfiguration = Shapes::StructureShape.new(name: 'AssetProcessingConfiguration')
|
|
19
19
|
AutomationJobStatus = Shapes::StringShape.new(name: 'AutomationJobStatus')
|
|
20
|
+
Blob = Shapes::BlobShape.new(name: 'Blob')
|
|
20
21
|
Blueprint = Shapes::StructureShape.new(name: 'Blueprint')
|
|
21
22
|
BlueprintArn = Shapes::StringShape.new(name: 'BlueprintArn')
|
|
22
23
|
BlueprintList = Shapes::ListShape.new(name: 'BlueprintList')
|
|
23
24
|
BlueprintStage = Shapes::StringShape.new(name: 'BlueprintStage')
|
|
24
25
|
BlueprintVersion = Shapes::StringShape.new(name: 'BlueprintVersion')
|
|
25
26
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
27
|
+
CustomOutputStatus = Shapes::StringShape.new(name: 'CustomOutputStatus')
|
|
26
28
|
DataAutomationArn = Shapes::StringShape.new(name: 'DataAutomationArn')
|
|
27
29
|
DataAutomationConfiguration = Shapes::StructureShape.new(name: 'DataAutomationConfiguration')
|
|
28
30
|
DataAutomationProfileArn = Shapes::StringShape.new(name: 'DataAutomationProfileArn')
|
|
@@ -40,16 +42,23 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
40
42
|
InvocationArn = Shapes::StringShape.new(name: 'InvocationArn')
|
|
41
43
|
InvokeDataAutomationAsyncRequest = Shapes::StructureShape.new(name: 'InvokeDataAutomationAsyncRequest')
|
|
42
44
|
InvokeDataAutomationAsyncResponse = Shapes::StructureShape.new(name: 'InvokeDataAutomationAsyncResponse')
|
|
45
|
+
InvokeDataAutomationRequest = Shapes::StructureShape.new(name: 'InvokeDataAutomationRequest')
|
|
46
|
+
InvokeDataAutomationResponse = Shapes::StructureShape.new(name: 'InvokeDataAutomationResponse')
|
|
43
47
|
KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
|
|
44
48
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
45
49
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
46
50
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
|
47
51
|
NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
|
|
48
52
|
OutputConfiguration = Shapes::StructureShape.new(name: 'OutputConfiguration')
|
|
53
|
+
OutputSegment = Shapes::StructureShape.new(name: 'OutputSegment')
|
|
54
|
+
OutputSegmentList = Shapes::ListShape.new(name: 'OutputSegmentList')
|
|
49
55
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
50
56
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
|
57
|
+
SemanticModality = Shapes::StringShape.new(name: 'SemanticModality')
|
|
51
58
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
59
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
|
52
60
|
String = Shapes::StringShape.new(name: 'String')
|
|
61
|
+
SyncInputConfiguration = Shapes::StructureShape.new(name: 'SyncInputConfiguration')
|
|
53
62
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
54
63
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
55
64
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
@@ -125,6 +134,17 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
125
134
|
InvokeDataAutomationAsyncResponse.add_member(:invocation_arn, Shapes::ShapeRef.new(shape: InvocationArn, required: true, location_name: "invocationArn"))
|
|
126
135
|
InvokeDataAutomationAsyncResponse.struct_class = Types::InvokeDataAutomationAsyncResponse
|
|
127
136
|
|
|
137
|
+
InvokeDataAutomationRequest.add_member(:input_configuration, Shapes::ShapeRef.new(shape: SyncInputConfiguration, required: true, location_name: "inputConfiguration"))
|
|
138
|
+
InvokeDataAutomationRequest.add_member(:data_automation_configuration, Shapes::ShapeRef.new(shape: DataAutomationConfiguration, location_name: "dataAutomationConfiguration"))
|
|
139
|
+
InvokeDataAutomationRequest.add_member(:blueprints, Shapes::ShapeRef.new(shape: BlueprintList, location_name: "blueprints"))
|
|
140
|
+
InvokeDataAutomationRequest.add_member(:data_automation_profile_arn, Shapes::ShapeRef.new(shape: DataAutomationProfileArn, required: true, location_name: "dataAutomationProfileArn"))
|
|
141
|
+
InvokeDataAutomationRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
|
142
|
+
InvokeDataAutomationRequest.struct_class = Types::InvokeDataAutomationRequest
|
|
143
|
+
|
|
144
|
+
InvokeDataAutomationResponse.add_member(:semantic_modality, Shapes::ShapeRef.new(shape: SemanticModality, required: true, location_name: "semanticModality"))
|
|
145
|
+
InvokeDataAutomationResponse.add_member(:output_segments, Shapes::ShapeRef.new(shape: OutputSegmentList, required: true, location_name: "outputSegments"))
|
|
146
|
+
InvokeDataAutomationResponse.struct_class = Types::InvokeDataAutomationResponse
|
|
147
|
+
|
|
128
148
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "resourceARN"))
|
|
129
149
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
130
150
|
|
|
@@ -137,12 +157,26 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
137
157
|
OutputConfiguration.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
|
138
158
|
OutputConfiguration.struct_class = Types::OutputConfiguration
|
|
139
159
|
|
|
160
|
+
OutputSegment.add_member(:custom_output_status, Shapes::ShapeRef.new(shape: CustomOutputStatus, location_name: "customOutputStatus"))
|
|
161
|
+
OutputSegment.add_member(:custom_output, Shapes::ShapeRef.new(shape: String, location_name: "customOutput"))
|
|
162
|
+
OutputSegment.add_member(:standard_output, Shapes::ShapeRef.new(shape: String, location_name: "standardOutput"))
|
|
163
|
+
OutputSegment.struct_class = Types::OutputSegment
|
|
164
|
+
|
|
165
|
+
OutputSegmentList.member = Shapes::ShapeRef.new(shape: OutputSegment)
|
|
166
|
+
|
|
140
167
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
141
168
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
142
169
|
|
|
143
170
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
144
171
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
145
172
|
|
|
173
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
174
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
|
175
|
+
|
|
176
|
+
SyncInputConfiguration.add_member(:bytes, Shapes::ShapeRef.new(shape: Blob, location_name: "bytes"))
|
|
177
|
+
SyncInputConfiguration.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "s3Uri"))
|
|
178
|
+
SyncInputConfiguration.struct_class = Types::SyncInputConfiguration
|
|
179
|
+
|
|
146
180
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
|
147
181
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
|
148
182
|
Tag.struct_class = Types::Tag
|
|
@@ -216,6 +250,19 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
216
250
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
217
251
|
end)
|
|
218
252
|
|
|
253
|
+
api.add_operation(:invoke_data_automation, Seahorse::Model::Operation.new.tap do |o|
|
|
254
|
+
o.name = "InvokeDataAutomation"
|
|
255
|
+
o.http_method = "POST"
|
|
256
|
+
o.http_request_uri = "/"
|
|
257
|
+
o.input = Shapes::ShapeRef.new(shape: InvokeDataAutomationRequest)
|
|
258
|
+
o.output = Shapes::ShapeRef.new(shape: InvokeDataAutomationResponse)
|
|
259
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
260
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
261
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
262
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
263
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
264
|
+
end)
|
|
265
|
+
|
|
219
266
|
api.add_operation(:invoke_data_automation_async, Seahorse::Model::Operation.new.tap do |o|
|
|
220
267
|
o.name = "InvokeDataAutomationAsync"
|
|
221
268
|
o.http_method = "POST"
|
|
@@ -31,6 +31,7 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
31
31
|
# * {InternalServerException}
|
|
32
32
|
# * {ResourceNotFoundException}
|
|
33
33
|
# * {ServiceQuotaExceededException}
|
|
34
|
+
# * {ServiceUnavailableException}
|
|
34
35
|
# * {ThrottlingException}
|
|
35
36
|
# * {ValidationException}
|
|
36
37
|
#
|
|
@@ -100,6 +101,21 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
100
101
|
end
|
|
101
102
|
end
|
|
102
103
|
|
|
104
|
+
class ServiceUnavailableException < ServiceError
|
|
105
|
+
|
|
106
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
107
|
+
# @param [String] message
|
|
108
|
+
# @param [Aws::BedrockDataAutomationRuntime::Types::ServiceUnavailableException] data
|
|
109
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
110
|
+
super(context, message, data)
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# @return [String]
|
|
114
|
+
def message
|
|
115
|
+
@message || @data[:message]
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
103
119
|
class ThrottlingException < ServiceError
|
|
104
120
|
|
|
105
121
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -260,6 +260,59 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
260
260
|
include Aws::Structure
|
|
261
261
|
end
|
|
262
262
|
|
|
263
|
+
# Invoke Data Automation Request
|
|
264
|
+
#
|
|
265
|
+
# @!attribute [rw] input_configuration
|
|
266
|
+
# Input configuration.
|
|
267
|
+
# @return [Types::SyncInputConfiguration]
|
|
268
|
+
#
|
|
269
|
+
# @!attribute [rw] data_automation_configuration
|
|
270
|
+
# Data automation configuration.
|
|
271
|
+
# @return [Types::DataAutomationConfiguration]
|
|
272
|
+
#
|
|
273
|
+
# @!attribute [rw] blueprints
|
|
274
|
+
# Blueprint list.
|
|
275
|
+
# @return [Array<Types::Blueprint>]
|
|
276
|
+
#
|
|
277
|
+
# @!attribute [rw] data_automation_profile_arn
|
|
278
|
+
# Data automation profile ARN
|
|
279
|
+
# @return [String]
|
|
280
|
+
#
|
|
281
|
+
# @!attribute [rw] encryption_configuration
|
|
282
|
+
# Encryption configuration.
|
|
283
|
+
# @return [Types::EncryptionConfiguration]
|
|
284
|
+
#
|
|
285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InvokeDataAutomationRequest AWS API Documentation
|
|
286
|
+
#
|
|
287
|
+
class InvokeDataAutomationRequest < Struct.new(
|
|
288
|
+
:input_configuration,
|
|
289
|
+
:data_automation_configuration,
|
|
290
|
+
:blueprints,
|
|
291
|
+
:data_automation_profile_arn,
|
|
292
|
+
:encryption_configuration)
|
|
293
|
+
SENSITIVE = []
|
|
294
|
+
include Aws::Structure
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# Invoke Data Automation Response
|
|
298
|
+
#
|
|
299
|
+
# @!attribute [rw] semantic_modality
|
|
300
|
+
# Detected semantic modality
|
|
301
|
+
# @return [String]
|
|
302
|
+
#
|
|
303
|
+
# @!attribute [rw] output_segments
|
|
304
|
+
# List of outputs for each logical sub-doc
|
|
305
|
+
# @return [Array<Types::OutputSegment>]
|
|
306
|
+
#
|
|
307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InvokeDataAutomationResponse AWS API Documentation
|
|
308
|
+
#
|
|
309
|
+
class InvokeDataAutomationResponse < Struct.new(
|
|
310
|
+
:semantic_modality,
|
|
311
|
+
:output_segments)
|
|
312
|
+
SENSITIVE = []
|
|
313
|
+
include Aws::Structure
|
|
314
|
+
end
|
|
315
|
+
|
|
263
316
|
# @!attribute [rw] resource_arn
|
|
264
317
|
# ARN of a taggable resource
|
|
265
318
|
# @return [String]
|
|
@@ -312,6 +365,30 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
312
365
|
include Aws::Structure
|
|
313
366
|
end
|
|
314
367
|
|
|
368
|
+
# Results for an output segment
|
|
369
|
+
#
|
|
370
|
+
# @!attribute [rw] custom_output_status
|
|
371
|
+
# Status of blueprint match
|
|
372
|
+
# @return [String]
|
|
373
|
+
#
|
|
374
|
+
# @!attribute [rw] custom_output
|
|
375
|
+
# Custom output response
|
|
376
|
+
# @return [String]
|
|
377
|
+
#
|
|
378
|
+
# @!attribute [rw] standard_output
|
|
379
|
+
# Standard output response
|
|
380
|
+
# @return [String]
|
|
381
|
+
#
|
|
382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/OutputSegment AWS API Documentation
|
|
383
|
+
#
|
|
384
|
+
class OutputSegment < Struct.new(
|
|
385
|
+
:custom_output_status,
|
|
386
|
+
:custom_output,
|
|
387
|
+
:standard_output)
|
|
388
|
+
SENSITIVE = []
|
|
389
|
+
include Aws::Structure
|
|
390
|
+
end
|
|
391
|
+
|
|
315
392
|
# This exception will be thrown when resource provided from customer not
|
|
316
393
|
# found.
|
|
317
394
|
#
|
|
@@ -339,6 +416,38 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
339
416
|
include Aws::Structure
|
|
340
417
|
end
|
|
341
418
|
|
|
419
|
+
# This exception will be thrown when service is temporarily unavailable.
|
|
420
|
+
#
|
|
421
|
+
# @!attribute [rw] message
|
|
422
|
+
# @return [String]
|
|
423
|
+
#
|
|
424
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/ServiceUnavailableException AWS API Documentation
|
|
425
|
+
#
|
|
426
|
+
class ServiceUnavailableException < Struct.new(
|
|
427
|
+
:message)
|
|
428
|
+
SENSITIVE = []
|
|
429
|
+
include Aws::Structure
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
# Input configuration for synchronous API
|
|
433
|
+
#
|
|
434
|
+
# @!attribute [rw] bytes
|
|
435
|
+
# Input data as bytes
|
|
436
|
+
# @return [String]
|
|
437
|
+
#
|
|
438
|
+
# @!attribute [rw] s3_uri
|
|
439
|
+
# S3 URI of the input data
|
|
440
|
+
# @return [String]
|
|
441
|
+
#
|
|
442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/SyncInputConfiguration AWS API Documentation
|
|
443
|
+
#
|
|
444
|
+
class SyncInputConfiguration < Struct.new(
|
|
445
|
+
:bytes,
|
|
446
|
+
:s3_uri)
|
|
447
|
+
SENSITIVE = []
|
|
448
|
+
include Aws::Structure
|
|
449
|
+
end
|
|
450
|
+
|
|
342
451
|
# Key value pair of a tag
|
|
343
452
|
#
|
|
344
453
|
# @!attribute [rw] key
|
|
@@ -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.17.0'
|
|
58
58
|
|
|
59
59
|
end
|
|
60
60
|
|
data/sig/client.rbs
CHANGED
|
@@ -92,6 +92,36 @@ module Aws
|
|
|
92
92
|
) -> _GetDataAutomationStatusResponseSuccess
|
|
93
93
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataAutomationStatusResponseSuccess
|
|
94
94
|
|
|
95
|
+
interface _InvokeDataAutomationResponseSuccess
|
|
96
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeDataAutomationResponse]
|
|
97
|
+
def semantic_modality: () -> ("DOCUMENT" | "IMAGE" | "AUDIO" | "VIDEO")
|
|
98
|
+
def output_segments: () -> ::Array[Types::OutputSegment]
|
|
99
|
+
end
|
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomationRuntime/Client.html#invoke_data_automation-instance_method
|
|
101
|
+
def invoke_data_automation: (
|
|
102
|
+
input_configuration: {
|
|
103
|
+
bytes: ::String?,
|
|
104
|
+
s3_uri: ::String?
|
|
105
|
+
},
|
|
106
|
+
?data_automation_configuration: {
|
|
107
|
+
data_automation_project_arn: ::String,
|
|
108
|
+
stage: ("LIVE" | "DEVELOPMENT")?
|
|
109
|
+
},
|
|
110
|
+
?blueprints: Array[
|
|
111
|
+
{
|
|
112
|
+
blueprint_arn: ::String,
|
|
113
|
+
version: ::String?,
|
|
114
|
+
stage: ("DEVELOPMENT" | "LIVE")?
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
data_automation_profile_arn: ::String,
|
|
118
|
+
?encryption_configuration: {
|
|
119
|
+
kms_key_id: ::String,
|
|
120
|
+
kms_encryption_context: Hash[::String, ::String]?
|
|
121
|
+
}
|
|
122
|
+
) -> _InvokeDataAutomationResponseSuccess
|
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeDataAutomationResponseSuccess
|
|
124
|
+
|
|
95
125
|
interface _InvokeDataAutomationAsyncResponseSuccess
|
|
96
126
|
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeDataAutomationAsyncResponse]
|
|
97
127
|
def invocation_arn: () -> ::String
|
data/sig/errors.rbs
CHANGED
|
@@ -23,6 +23,9 @@ module Aws
|
|
|
23
23
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
24
24
|
def message: () -> ::String
|
|
25
25
|
end
|
|
26
|
+
class ServiceUnavailableException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
end
|
|
26
29
|
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
27
30
|
def message: () -> ::String
|
|
28
31
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -84,6 +84,21 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
84
84
|
SENSITIVE: []
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
+
class InvokeDataAutomationRequest
|
|
88
|
+
attr_accessor input_configuration: Types::SyncInputConfiguration
|
|
89
|
+
attr_accessor data_automation_configuration: Types::DataAutomationConfiguration
|
|
90
|
+
attr_accessor blueprints: ::Array[Types::Blueprint]
|
|
91
|
+
attr_accessor data_automation_profile_arn: ::String
|
|
92
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
93
|
+
SENSITIVE: []
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
class InvokeDataAutomationResponse
|
|
97
|
+
attr_accessor semantic_modality: ("DOCUMENT" | "IMAGE" | "AUDIO" | "VIDEO")
|
|
98
|
+
attr_accessor output_segments: ::Array[Types::OutputSegment]
|
|
99
|
+
SENSITIVE: []
|
|
100
|
+
end
|
|
101
|
+
|
|
87
102
|
class ListTagsForResourceRequest
|
|
88
103
|
attr_accessor resource_arn: ::String
|
|
89
104
|
SENSITIVE: []
|
|
@@ -104,6 +119,13 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
104
119
|
SENSITIVE: []
|
|
105
120
|
end
|
|
106
121
|
|
|
122
|
+
class OutputSegment
|
|
123
|
+
attr_accessor custom_output_status: ("MATCH" | "NO_MATCH")
|
|
124
|
+
attr_accessor custom_output: ::String
|
|
125
|
+
attr_accessor standard_output: ::String
|
|
126
|
+
SENSITIVE: []
|
|
127
|
+
end
|
|
128
|
+
|
|
107
129
|
class ResourceNotFoundException
|
|
108
130
|
attr_accessor message: ::String
|
|
109
131
|
SENSITIVE: []
|
|
@@ -114,6 +136,17 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
114
136
|
SENSITIVE: []
|
|
115
137
|
end
|
|
116
138
|
|
|
139
|
+
class ServiceUnavailableException
|
|
140
|
+
attr_accessor message: ::String
|
|
141
|
+
SENSITIVE: []
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
class SyncInputConfiguration
|
|
145
|
+
attr_accessor bytes: ::String
|
|
146
|
+
attr_accessor s3_uri: ::String
|
|
147
|
+
SENSITIVE: []
|
|
148
|
+
end
|
|
149
|
+
|
|
117
150
|
class Tag
|
|
118
151
|
attr_accessor key: ::String
|
|
119
152
|
attr_accessor value: ::String
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-bedrockdataautomationruntime
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.17.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.234.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.234.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|