aws-sdk-bedrockdataautomationruntime 1.16.0 → 1.18.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 +73 -1
- data/lib/aws-sdk-bedrockdataautomationruntime/client_api.rb +52 -0
- data/lib/aws-sdk-bedrockdataautomationruntime/errors.rb +16 -0
- data/lib/aws-sdk-bedrockdataautomationruntime/types.rb +125 -1
- data/lib/aws-sdk-bedrockdataautomationruntime.rb +1 -1
- data/sig/client.rbs +33 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +36 -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: c537104b96f99d31a07a30dd78192ed8a1d00ec9c055302d89f1b4577a416d70
|
|
4
|
+
data.tar.gz: 606a5412a9cc06a88edeafd1cb572cf2211b3b7b1f15be6e7814c64a93d121c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53cfd6454d264e851a1b3275085121f82ddb733a067e0113ebc12fb6f1a1a556d6ea5b284e240be334aeeb96b1880ff8ce7d318be9c03a50fe9576cfd931159c
|
|
7
|
+
data.tar.gz: 0a5aa365a1b33fcd0b610ca15e35cc99351dfb9f2f4db47e3e8b3be0d68970cd05b4cbbfc5124b0ce49bc05d083e79e2c83b87ccd99b00dabe7b16539472b3d8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.18.0 (2025-11-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adding new fields to GetDataAutomationStatus: jobSubmissionTime, jobCompletionTime, and jobDurationInSeconds
|
|
8
|
+
|
|
9
|
+
1.17.0 (2025-11-20)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Bedrock Data Automation Runtime Sync API
|
|
13
|
+
|
|
4
14
|
1.16.0 (2025-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.18.0
|
|
@@ -494,6 +494,9 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
494
494
|
# * {Types::GetDataAutomationStatusResponse#error_type #error_type} => String
|
|
495
495
|
# * {Types::GetDataAutomationStatusResponse#error_message #error_message} => String
|
|
496
496
|
# * {Types::GetDataAutomationStatusResponse#output_configuration #output_configuration} => Types::OutputConfiguration
|
|
497
|
+
# * {Types::GetDataAutomationStatusResponse#job_submission_time #job_submission_time} => Time
|
|
498
|
+
# * {Types::GetDataAutomationStatusResponse#job_completion_time #job_completion_time} => Time
|
|
499
|
+
# * {Types::GetDataAutomationStatusResponse#job_duration_in_seconds #job_duration_in_seconds} => Integer
|
|
497
500
|
#
|
|
498
501
|
# @example Request syntax with placeholder values
|
|
499
502
|
#
|
|
@@ -507,6 +510,9 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
507
510
|
# resp.error_type #=> String
|
|
508
511
|
# resp.error_message #=> String
|
|
509
512
|
# resp.output_configuration.s3_uri #=> String
|
|
513
|
+
# resp.job_submission_time #=> Time
|
|
514
|
+
# resp.job_completion_time #=> Time
|
|
515
|
+
# resp.job_duration_in_seconds #=> Integer
|
|
510
516
|
#
|
|
511
517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/GetDataAutomationStatus AWS API Documentation
|
|
512
518
|
#
|
|
@@ -517,6 +523,72 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
517
523
|
req.send_request(options)
|
|
518
524
|
end
|
|
519
525
|
|
|
526
|
+
# Sync API: Invoke data automation.
|
|
527
|
+
#
|
|
528
|
+
# @option params [required, Types::SyncInputConfiguration] :input_configuration
|
|
529
|
+
# Input configuration.
|
|
530
|
+
#
|
|
531
|
+
# @option params [Types::DataAutomationConfiguration] :data_automation_configuration
|
|
532
|
+
# Data automation configuration.
|
|
533
|
+
#
|
|
534
|
+
# @option params [Array<Types::Blueprint>] :blueprints
|
|
535
|
+
# Blueprint list.
|
|
536
|
+
#
|
|
537
|
+
# @option params [required, String] :data_automation_profile_arn
|
|
538
|
+
# Data automation profile ARN
|
|
539
|
+
#
|
|
540
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
541
|
+
# Encryption configuration.
|
|
542
|
+
#
|
|
543
|
+
# @return [Types::InvokeDataAutomationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
544
|
+
#
|
|
545
|
+
# * {Types::InvokeDataAutomationResponse#semantic_modality #semantic_modality} => String
|
|
546
|
+
# * {Types::InvokeDataAutomationResponse#output_segments #output_segments} => Array<Types::OutputSegment>
|
|
547
|
+
#
|
|
548
|
+
# @example Request syntax with placeholder values
|
|
549
|
+
#
|
|
550
|
+
# resp = client.invoke_data_automation({
|
|
551
|
+
# input_configuration: { # required
|
|
552
|
+
# bytes: "data",
|
|
553
|
+
# s3_uri: "S3Uri",
|
|
554
|
+
# },
|
|
555
|
+
# data_automation_configuration: {
|
|
556
|
+
# data_automation_project_arn: "DataAutomationArn", # required
|
|
557
|
+
# stage: "LIVE", # accepts LIVE, DEVELOPMENT
|
|
558
|
+
# },
|
|
559
|
+
# blueprints: [
|
|
560
|
+
# {
|
|
561
|
+
# blueprint_arn: "BlueprintArn", # required
|
|
562
|
+
# version: "BlueprintVersion",
|
|
563
|
+
# stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
564
|
+
# },
|
|
565
|
+
# ],
|
|
566
|
+
# data_automation_profile_arn: "DataAutomationProfileArn", # required
|
|
567
|
+
# encryption_configuration: {
|
|
568
|
+
# kms_key_id: "KMSKeyId", # required
|
|
569
|
+
# kms_encryption_context: {
|
|
570
|
+
# "EncryptionContextKey" => "EncryptionContextValue",
|
|
571
|
+
# },
|
|
572
|
+
# },
|
|
573
|
+
# })
|
|
574
|
+
#
|
|
575
|
+
# @example Response structure
|
|
576
|
+
#
|
|
577
|
+
# resp.semantic_modality #=> String, one of "DOCUMENT", "IMAGE", "AUDIO", "VIDEO"
|
|
578
|
+
# resp.output_segments #=> Array
|
|
579
|
+
# resp.output_segments[0].custom_output_status #=> String, one of "MATCH", "NO_MATCH"
|
|
580
|
+
# resp.output_segments[0].custom_output #=> String
|
|
581
|
+
# resp.output_segments[0].standard_output #=> String
|
|
582
|
+
#
|
|
583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InvokeDataAutomation AWS API Documentation
|
|
584
|
+
#
|
|
585
|
+
# @overload invoke_data_automation(params = {})
|
|
586
|
+
# @param [Hash] params ({})
|
|
587
|
+
def invoke_data_automation(params = {}, options = {})
|
|
588
|
+
req = build_request(:invoke_data_automation, params)
|
|
589
|
+
req.send_request(options)
|
|
590
|
+
end
|
|
591
|
+
|
|
520
592
|
# Async API: Invoke data automation.
|
|
521
593
|
#
|
|
522
594
|
# @option params [String] :client_token
|
|
@@ -722,7 +794,7 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
722
794
|
tracer: tracer
|
|
723
795
|
)
|
|
724
796
|
context[:gem_name] = 'aws-sdk-bedrockdataautomationruntime'
|
|
725
|
-
context[:gem_version] = '1.
|
|
797
|
+
context[:gem_version] = '1.18.0'
|
|
726
798
|
Seahorse::Client::Request.new(handlers, context)
|
|
727
799
|
end
|
|
728
800
|
|
|
@@ -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')
|
|
@@ -36,20 +38,29 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
36
38
|
GetDataAutomationStatusResponse = Shapes::StructureShape.new(name: 'GetDataAutomationStatusResponse')
|
|
37
39
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
|
38
40
|
InputConfiguration = Shapes::StructureShape.new(name: 'InputConfiguration')
|
|
41
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
39
42
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
40
43
|
InvocationArn = Shapes::StringShape.new(name: 'InvocationArn')
|
|
41
44
|
InvokeDataAutomationAsyncRequest = Shapes::StructureShape.new(name: 'InvokeDataAutomationAsyncRequest')
|
|
42
45
|
InvokeDataAutomationAsyncResponse = Shapes::StructureShape.new(name: 'InvokeDataAutomationAsyncResponse')
|
|
46
|
+
InvokeDataAutomationRequest = Shapes::StructureShape.new(name: 'InvokeDataAutomationRequest')
|
|
47
|
+
InvokeDataAutomationResponse = Shapes::StructureShape.new(name: 'InvokeDataAutomationResponse')
|
|
43
48
|
KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
|
|
44
49
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
45
50
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
46
51
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
|
47
52
|
NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
|
|
48
53
|
OutputConfiguration = Shapes::StructureShape.new(name: 'OutputConfiguration')
|
|
54
|
+
OutputSegment = Shapes::StructureShape.new(name: 'OutputSegment')
|
|
55
|
+
OutputSegmentList = Shapes::ListShape.new(name: 'OutputSegmentList')
|
|
49
56
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
50
57
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
|
58
|
+
SemanticModality = Shapes::StringShape.new(name: 'SemanticModality')
|
|
51
59
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
60
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
|
52
61
|
String = Shapes::StringShape.new(name: 'String')
|
|
62
|
+
SyncInputConfiguration = Shapes::StructureShape.new(name: 'SyncInputConfiguration')
|
|
63
|
+
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
|
53
64
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
54
65
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
55
66
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
@@ -102,6 +113,9 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
102
113
|
GetDataAutomationStatusResponse.add_member(:error_type, Shapes::ShapeRef.new(shape: String, location_name: "errorType"))
|
|
103
114
|
GetDataAutomationStatusResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
|
|
104
115
|
GetDataAutomationStatusResponse.add_member(:output_configuration, Shapes::ShapeRef.new(shape: OutputConfiguration, location_name: "outputConfiguration"))
|
|
116
|
+
GetDataAutomationStatusResponse.add_member(:job_submission_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "jobSubmissionTime"))
|
|
117
|
+
GetDataAutomationStatusResponse.add_member(:job_completion_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "jobCompletionTime"))
|
|
118
|
+
GetDataAutomationStatusResponse.add_member(:job_duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "jobDurationInSeconds"))
|
|
105
119
|
GetDataAutomationStatusResponse.struct_class = Types::GetDataAutomationStatusResponse
|
|
106
120
|
|
|
107
121
|
InputConfiguration.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
|
@@ -125,6 +139,17 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
125
139
|
InvokeDataAutomationAsyncResponse.add_member(:invocation_arn, Shapes::ShapeRef.new(shape: InvocationArn, required: true, location_name: "invocationArn"))
|
|
126
140
|
InvokeDataAutomationAsyncResponse.struct_class = Types::InvokeDataAutomationAsyncResponse
|
|
127
141
|
|
|
142
|
+
InvokeDataAutomationRequest.add_member(:input_configuration, Shapes::ShapeRef.new(shape: SyncInputConfiguration, required: true, location_name: "inputConfiguration"))
|
|
143
|
+
InvokeDataAutomationRequest.add_member(:data_automation_configuration, Shapes::ShapeRef.new(shape: DataAutomationConfiguration, location_name: "dataAutomationConfiguration"))
|
|
144
|
+
InvokeDataAutomationRequest.add_member(:blueprints, Shapes::ShapeRef.new(shape: BlueprintList, location_name: "blueprints"))
|
|
145
|
+
InvokeDataAutomationRequest.add_member(:data_automation_profile_arn, Shapes::ShapeRef.new(shape: DataAutomationProfileArn, required: true, location_name: "dataAutomationProfileArn"))
|
|
146
|
+
InvokeDataAutomationRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
|
147
|
+
InvokeDataAutomationRequest.struct_class = Types::InvokeDataAutomationRequest
|
|
148
|
+
|
|
149
|
+
InvokeDataAutomationResponse.add_member(:semantic_modality, Shapes::ShapeRef.new(shape: SemanticModality, required: true, location_name: "semanticModality"))
|
|
150
|
+
InvokeDataAutomationResponse.add_member(:output_segments, Shapes::ShapeRef.new(shape: OutputSegmentList, required: true, location_name: "outputSegments"))
|
|
151
|
+
InvokeDataAutomationResponse.struct_class = Types::InvokeDataAutomationResponse
|
|
152
|
+
|
|
128
153
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "resourceARN"))
|
|
129
154
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
130
155
|
|
|
@@ -137,12 +162,26 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
137
162
|
OutputConfiguration.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
|
138
163
|
OutputConfiguration.struct_class = Types::OutputConfiguration
|
|
139
164
|
|
|
165
|
+
OutputSegment.add_member(:custom_output_status, Shapes::ShapeRef.new(shape: CustomOutputStatus, location_name: "customOutputStatus"))
|
|
166
|
+
OutputSegment.add_member(:custom_output, Shapes::ShapeRef.new(shape: String, location_name: "customOutput"))
|
|
167
|
+
OutputSegment.add_member(:standard_output, Shapes::ShapeRef.new(shape: String, location_name: "standardOutput"))
|
|
168
|
+
OutputSegment.struct_class = Types::OutputSegment
|
|
169
|
+
|
|
170
|
+
OutputSegmentList.member = Shapes::ShapeRef.new(shape: OutputSegment)
|
|
171
|
+
|
|
140
172
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
141
173
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
142
174
|
|
|
143
175
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
144
176
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
145
177
|
|
|
178
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
179
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
|
180
|
+
|
|
181
|
+
SyncInputConfiguration.add_member(:bytes, Shapes::ShapeRef.new(shape: Blob, location_name: "bytes"))
|
|
182
|
+
SyncInputConfiguration.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "s3Uri"))
|
|
183
|
+
SyncInputConfiguration.struct_class = Types::SyncInputConfiguration
|
|
184
|
+
|
|
146
185
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
|
147
186
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
|
148
187
|
Tag.struct_class = Types::Tag
|
|
@@ -216,6 +255,19 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
216
255
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
217
256
|
end)
|
|
218
257
|
|
|
258
|
+
api.add_operation(:invoke_data_automation, Seahorse::Model::Operation.new.tap do |o|
|
|
259
|
+
o.name = "InvokeDataAutomation"
|
|
260
|
+
o.http_method = "POST"
|
|
261
|
+
o.http_request_uri = "/"
|
|
262
|
+
o.input = Shapes::ShapeRef.new(shape: InvokeDataAutomationRequest)
|
|
263
|
+
o.output = Shapes::ShapeRef.new(shape: InvokeDataAutomationResponse)
|
|
264
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
265
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
266
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
267
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
268
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
269
|
+
end)
|
|
270
|
+
|
|
219
271
|
api.add_operation(:invoke_data_automation_async, Seahorse::Model::Operation.new.tap do |o|
|
|
220
272
|
o.name = "InvokeDataAutomationAsync"
|
|
221
273
|
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
|
|
@@ -146,13 +146,28 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
146
146
|
# Output configuration.
|
|
147
147
|
# @return [Types::OutputConfiguration]
|
|
148
148
|
#
|
|
149
|
+
# @!attribute [rw] job_submission_time
|
|
150
|
+
# Job Submission time.
|
|
151
|
+
# @return [Time]
|
|
152
|
+
#
|
|
153
|
+
# @!attribute [rw] job_completion_time
|
|
154
|
+
# Job completion time.
|
|
155
|
+
# @return [Time]
|
|
156
|
+
#
|
|
157
|
+
# @!attribute [rw] job_duration_in_seconds
|
|
158
|
+
# Job duration in seconds.
|
|
159
|
+
# @return [Integer]
|
|
160
|
+
#
|
|
149
161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/GetDataAutomationStatusResponse AWS API Documentation
|
|
150
162
|
#
|
|
151
163
|
class GetDataAutomationStatusResponse < Struct.new(
|
|
152
164
|
:status,
|
|
153
165
|
:error_type,
|
|
154
166
|
:error_message,
|
|
155
|
-
:output_configuration
|
|
167
|
+
:output_configuration,
|
|
168
|
+
:job_submission_time,
|
|
169
|
+
:job_completion_time,
|
|
170
|
+
:job_duration_in_seconds)
|
|
156
171
|
SENSITIVE = []
|
|
157
172
|
include Aws::Structure
|
|
158
173
|
end
|
|
@@ -260,6 +275,59 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
260
275
|
include Aws::Structure
|
|
261
276
|
end
|
|
262
277
|
|
|
278
|
+
# Invoke Data Automation Request
|
|
279
|
+
#
|
|
280
|
+
# @!attribute [rw] input_configuration
|
|
281
|
+
# Input configuration.
|
|
282
|
+
# @return [Types::SyncInputConfiguration]
|
|
283
|
+
#
|
|
284
|
+
# @!attribute [rw] data_automation_configuration
|
|
285
|
+
# Data automation configuration.
|
|
286
|
+
# @return [Types::DataAutomationConfiguration]
|
|
287
|
+
#
|
|
288
|
+
# @!attribute [rw] blueprints
|
|
289
|
+
# Blueprint list.
|
|
290
|
+
# @return [Array<Types::Blueprint>]
|
|
291
|
+
#
|
|
292
|
+
# @!attribute [rw] data_automation_profile_arn
|
|
293
|
+
# Data automation profile ARN
|
|
294
|
+
# @return [String]
|
|
295
|
+
#
|
|
296
|
+
# @!attribute [rw] encryption_configuration
|
|
297
|
+
# Encryption configuration.
|
|
298
|
+
# @return [Types::EncryptionConfiguration]
|
|
299
|
+
#
|
|
300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InvokeDataAutomationRequest AWS API Documentation
|
|
301
|
+
#
|
|
302
|
+
class InvokeDataAutomationRequest < Struct.new(
|
|
303
|
+
:input_configuration,
|
|
304
|
+
:data_automation_configuration,
|
|
305
|
+
:blueprints,
|
|
306
|
+
:data_automation_profile_arn,
|
|
307
|
+
:encryption_configuration)
|
|
308
|
+
SENSITIVE = []
|
|
309
|
+
include Aws::Structure
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Invoke Data Automation Response
|
|
313
|
+
#
|
|
314
|
+
# @!attribute [rw] semantic_modality
|
|
315
|
+
# Detected semantic modality
|
|
316
|
+
# @return [String]
|
|
317
|
+
#
|
|
318
|
+
# @!attribute [rw] output_segments
|
|
319
|
+
# List of outputs for each logical sub-doc
|
|
320
|
+
# @return [Array<Types::OutputSegment>]
|
|
321
|
+
#
|
|
322
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InvokeDataAutomationResponse AWS API Documentation
|
|
323
|
+
#
|
|
324
|
+
class InvokeDataAutomationResponse < Struct.new(
|
|
325
|
+
:semantic_modality,
|
|
326
|
+
:output_segments)
|
|
327
|
+
SENSITIVE = []
|
|
328
|
+
include Aws::Structure
|
|
329
|
+
end
|
|
330
|
+
|
|
263
331
|
# @!attribute [rw] resource_arn
|
|
264
332
|
# ARN of a taggable resource
|
|
265
333
|
# @return [String]
|
|
@@ -312,6 +380,30 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
312
380
|
include Aws::Structure
|
|
313
381
|
end
|
|
314
382
|
|
|
383
|
+
# Results for an output segment
|
|
384
|
+
#
|
|
385
|
+
# @!attribute [rw] custom_output_status
|
|
386
|
+
# Status of blueprint match
|
|
387
|
+
# @return [String]
|
|
388
|
+
#
|
|
389
|
+
# @!attribute [rw] custom_output
|
|
390
|
+
# Custom output response
|
|
391
|
+
# @return [String]
|
|
392
|
+
#
|
|
393
|
+
# @!attribute [rw] standard_output
|
|
394
|
+
# Standard output response
|
|
395
|
+
# @return [String]
|
|
396
|
+
#
|
|
397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/OutputSegment AWS API Documentation
|
|
398
|
+
#
|
|
399
|
+
class OutputSegment < Struct.new(
|
|
400
|
+
:custom_output_status,
|
|
401
|
+
:custom_output,
|
|
402
|
+
:standard_output)
|
|
403
|
+
SENSITIVE = []
|
|
404
|
+
include Aws::Structure
|
|
405
|
+
end
|
|
406
|
+
|
|
315
407
|
# This exception will be thrown when resource provided from customer not
|
|
316
408
|
# found.
|
|
317
409
|
#
|
|
@@ -339,6 +431,38 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
339
431
|
include Aws::Structure
|
|
340
432
|
end
|
|
341
433
|
|
|
434
|
+
# This exception will be thrown when service is temporarily unavailable.
|
|
435
|
+
#
|
|
436
|
+
# @!attribute [rw] message
|
|
437
|
+
# @return [String]
|
|
438
|
+
#
|
|
439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/ServiceUnavailableException AWS API Documentation
|
|
440
|
+
#
|
|
441
|
+
class ServiceUnavailableException < Struct.new(
|
|
442
|
+
:message)
|
|
443
|
+
SENSITIVE = []
|
|
444
|
+
include Aws::Structure
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
# Input configuration for synchronous API
|
|
448
|
+
#
|
|
449
|
+
# @!attribute [rw] bytes
|
|
450
|
+
# Input data as bytes
|
|
451
|
+
# @return [String]
|
|
452
|
+
#
|
|
453
|
+
# @!attribute [rw] s3_uri
|
|
454
|
+
# S3 URI of the input data
|
|
455
|
+
# @return [String]
|
|
456
|
+
#
|
|
457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/SyncInputConfiguration AWS API Documentation
|
|
458
|
+
#
|
|
459
|
+
class SyncInputConfiguration < Struct.new(
|
|
460
|
+
:bytes,
|
|
461
|
+
:s3_uri)
|
|
462
|
+
SENSITIVE = []
|
|
463
|
+
include Aws::Structure
|
|
464
|
+
end
|
|
465
|
+
|
|
342
466
|
# Key value pair of a tag
|
|
343
467
|
#
|
|
344
468
|
# @!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.18.0'
|
|
58
58
|
|
|
59
59
|
end
|
|
60
60
|
|
data/sig/client.rbs
CHANGED
|
@@ -85,6 +85,9 @@ module Aws
|
|
|
85
85
|
def error_type: () -> ::String
|
|
86
86
|
def error_message: () -> ::String
|
|
87
87
|
def output_configuration: () -> Types::OutputConfiguration
|
|
88
|
+
def job_submission_time: () -> ::Time
|
|
89
|
+
def job_completion_time: () -> ::Time
|
|
90
|
+
def job_duration_in_seconds: () -> ::Integer
|
|
88
91
|
end
|
|
89
92
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomationRuntime/Client.html#get_data_automation_status-instance_method
|
|
90
93
|
def get_data_automation_status: (
|
|
@@ -92,6 +95,36 @@ module Aws
|
|
|
92
95
|
) -> _GetDataAutomationStatusResponseSuccess
|
|
93
96
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataAutomationStatusResponseSuccess
|
|
94
97
|
|
|
98
|
+
interface _InvokeDataAutomationResponseSuccess
|
|
99
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeDataAutomationResponse]
|
|
100
|
+
def semantic_modality: () -> ("DOCUMENT" | "IMAGE" | "AUDIO" | "VIDEO")
|
|
101
|
+
def output_segments: () -> ::Array[Types::OutputSegment]
|
|
102
|
+
end
|
|
103
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomationRuntime/Client.html#invoke_data_automation-instance_method
|
|
104
|
+
def invoke_data_automation: (
|
|
105
|
+
input_configuration: {
|
|
106
|
+
bytes: ::String?,
|
|
107
|
+
s3_uri: ::String?
|
|
108
|
+
},
|
|
109
|
+
?data_automation_configuration: {
|
|
110
|
+
data_automation_project_arn: ::String,
|
|
111
|
+
stage: ("LIVE" | "DEVELOPMENT")?
|
|
112
|
+
},
|
|
113
|
+
?blueprints: Array[
|
|
114
|
+
{
|
|
115
|
+
blueprint_arn: ::String,
|
|
116
|
+
version: ::String?,
|
|
117
|
+
stage: ("DEVELOPMENT" | "LIVE")?
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
data_automation_profile_arn: ::String,
|
|
121
|
+
?encryption_configuration: {
|
|
122
|
+
kms_key_id: ::String,
|
|
123
|
+
kms_encryption_context: Hash[::String, ::String]?
|
|
124
|
+
}
|
|
125
|
+
) -> _InvokeDataAutomationResponseSuccess
|
|
126
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeDataAutomationResponseSuccess
|
|
127
|
+
|
|
95
128
|
interface _InvokeDataAutomationAsyncResponseSuccess
|
|
96
129
|
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeDataAutomationAsyncResponse]
|
|
97
130
|
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
|
@@ -52,6 +52,9 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
52
52
|
attr_accessor error_type: ::String
|
|
53
53
|
attr_accessor error_message: ::String
|
|
54
54
|
attr_accessor output_configuration: Types::OutputConfiguration
|
|
55
|
+
attr_accessor job_submission_time: ::Time
|
|
56
|
+
attr_accessor job_completion_time: ::Time
|
|
57
|
+
attr_accessor job_duration_in_seconds: ::Integer
|
|
55
58
|
SENSITIVE: []
|
|
56
59
|
end
|
|
57
60
|
|
|
@@ -84,6 +87,21 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
84
87
|
SENSITIVE: []
|
|
85
88
|
end
|
|
86
89
|
|
|
90
|
+
class InvokeDataAutomationRequest
|
|
91
|
+
attr_accessor input_configuration: Types::SyncInputConfiguration
|
|
92
|
+
attr_accessor data_automation_configuration: Types::DataAutomationConfiguration
|
|
93
|
+
attr_accessor blueprints: ::Array[Types::Blueprint]
|
|
94
|
+
attr_accessor data_automation_profile_arn: ::String
|
|
95
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
96
|
+
SENSITIVE: []
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
class InvokeDataAutomationResponse
|
|
100
|
+
attr_accessor semantic_modality: ("DOCUMENT" | "IMAGE" | "AUDIO" | "VIDEO")
|
|
101
|
+
attr_accessor output_segments: ::Array[Types::OutputSegment]
|
|
102
|
+
SENSITIVE: []
|
|
103
|
+
end
|
|
104
|
+
|
|
87
105
|
class ListTagsForResourceRequest
|
|
88
106
|
attr_accessor resource_arn: ::String
|
|
89
107
|
SENSITIVE: []
|
|
@@ -104,6 +122,13 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
104
122
|
SENSITIVE: []
|
|
105
123
|
end
|
|
106
124
|
|
|
125
|
+
class OutputSegment
|
|
126
|
+
attr_accessor custom_output_status: ("MATCH" | "NO_MATCH")
|
|
127
|
+
attr_accessor custom_output: ::String
|
|
128
|
+
attr_accessor standard_output: ::String
|
|
129
|
+
SENSITIVE: []
|
|
130
|
+
end
|
|
131
|
+
|
|
107
132
|
class ResourceNotFoundException
|
|
108
133
|
attr_accessor message: ::String
|
|
109
134
|
SENSITIVE: []
|
|
@@ -114,6 +139,17 @@ module Aws::BedrockDataAutomationRuntime
|
|
|
114
139
|
SENSITIVE: []
|
|
115
140
|
end
|
|
116
141
|
|
|
142
|
+
class ServiceUnavailableException
|
|
143
|
+
attr_accessor message: ::String
|
|
144
|
+
SENSITIVE: []
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
class SyncInputConfiguration
|
|
148
|
+
attr_accessor bytes: ::String
|
|
149
|
+
attr_accessor s3_uri: ::String
|
|
150
|
+
SENSITIVE: []
|
|
151
|
+
end
|
|
152
|
+
|
|
117
153
|
class Tag
|
|
118
154
|
attr_accessor key: ::String
|
|
119
155
|
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.18.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.239.1
|
|
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.239.1
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|