aws-sdk-bedrockdataautomationruntime 1.4.0 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f5c8224575d1f2a3706d3d7aaee697c32567bac1a4d9951689ff1719c09915c
4
- data.tar.gz: bc9aca03f314bcfb5e2dd6b870cceb0f0df983dc13694d625c89fa98af8dc39c
3
+ metadata.gz: 9e22d8d6cbf961ecb5e5798671750eb4ef52fcfadbc8d55c094957092b7a4e3b
4
+ data.tar.gz: d897d74c8c93eecd219aefbcb51ad156a72d383e44f0f0dfab7cf411852cce15
5
5
  SHA512:
6
- metadata.gz: '092faa1006ed634ed7f70eb7e6c70fc55758b85890d81c3e75c26f227198eeb1c26abeab70caa5d49fd7326b750db54aecf4c9c4219830f5164edd35707c8223'
7
- data.tar.gz: e8000677be9572a622f28f0fd834021784359e5e53c3ce38110cf7857a41e96f1d4a96f0260260ee04ae317f224e2db5266eae404aefe30a4704cfe107ea941c
6
+ metadata.gz: 8775f58f5e2d86dd424ea5cbf1579699619711f7b7c8c1c515bc1915ee31643e12dd31a27b035df58db9a117258ede61a0b0375fca24a4e8c8a693b1e0a5d86c
7
+ data.tar.gz: 42a7884facb8efec870e3bedc9192f87077029f5748f0db5cb8b6012746c893cd23731a8490bc072855ed1148dc07ce630aa588fca6ce6335823ec9b289d24fb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2025-02-28)
5
+ ------------------
6
+
7
+ * Feature - Added a mandatory parameter DataAutomationProfileArn to support for cross region inference for InvokeDataAutomationAsync API. Renamed DataAutomationArn to DataAutomationProjectArn. Added APIs to support tagging.
8
+
4
9
  1.4.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -537,6 +537,12 @@ module Aws::BedrockDataAutomationRuntime
537
537
  # @option params [Array<Types::Blueprint>] :blueprints
538
538
  # Blueprint list.
539
539
  #
540
+ # @option params [required, String] :data_automation_profile_arn
541
+ # Data automation profile ARN
542
+ #
543
+ # @option params [Array<Types::Tag>] :tags
544
+ # List of tags.
545
+ #
540
546
  # @return [Types::InvokeDataAutomationAsyncResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
541
547
  #
542
548
  # * {Types::InvokeDataAutomationAsyncResponse#invocation_arn #invocation_arn} => String
@@ -552,11 +558,11 @@ module Aws::BedrockDataAutomationRuntime
552
558
  # s3_uri: "S3Uri", # required
553
559
  # },
554
560
  # data_automation_configuration: {
555
- # data_automation_arn: "DataAutomationArn", # required
561
+ # data_automation_project_arn: "DataAutomationArn", # required
556
562
  # stage: "LIVE", # accepts LIVE, DEVELOPMENT
557
563
  # },
558
564
  # encryption_configuration: {
559
- # kms_key_id: "NonEmptyString", # required
565
+ # kms_key_id: "KMSKeyId", # required
560
566
  # kms_encryption_context: {
561
567
  # "EncryptionContextKey" => "EncryptionContextValue",
562
568
  # },
@@ -573,6 +579,13 @@ module Aws::BedrockDataAutomationRuntime
573
579
  # stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
574
580
  # },
575
581
  # ],
582
+ # data_automation_profile_arn: "DataAutomationProfileArn", # required
583
+ # tags: [
584
+ # {
585
+ # key: "TagKey", # required
586
+ # value: "TagValue", # required
587
+ # },
588
+ # ],
576
589
  # })
577
590
  #
578
591
  # @example Response structure
@@ -588,6 +601,93 @@ module Aws::BedrockDataAutomationRuntime
588
601
  req.send_request(options)
589
602
  end
590
603
 
604
+ # List tags for an Amazon Bedrock Data Automation resource
605
+ #
606
+ # @option params [required, String] :resource_arn
607
+ # ARN of a taggable resource
608
+ #
609
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
610
+ #
611
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
612
+ #
613
+ # @example Request syntax with placeholder values
614
+ #
615
+ # resp = client.list_tags_for_resource({
616
+ # resource_arn: "TaggableResourceArn", # required
617
+ # })
618
+ #
619
+ # @example Response structure
620
+ #
621
+ # resp.tags #=> Array
622
+ # resp.tags[0].key #=> String
623
+ # resp.tags[0].value #=> String
624
+ #
625
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/ListTagsForResource AWS API Documentation
626
+ #
627
+ # @overload list_tags_for_resource(params = {})
628
+ # @param [Hash] params ({})
629
+ def list_tags_for_resource(params = {}, options = {})
630
+ req = build_request(:list_tags_for_resource, params)
631
+ req.send_request(options)
632
+ end
633
+
634
+ # Tag an Amazon Bedrock Data Automation resource
635
+ #
636
+ # @option params [required, String] :resource_arn
637
+ # ARN of a taggable resource
638
+ #
639
+ # @option params [required, Array<Types::Tag>] :tags
640
+ # List of tags
641
+ #
642
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
643
+ #
644
+ # @example Request syntax with placeholder values
645
+ #
646
+ # resp = client.tag_resource({
647
+ # resource_arn: "TaggableResourceArn", # required
648
+ # tags: [ # required
649
+ # {
650
+ # key: "TagKey", # required
651
+ # value: "TagValue", # required
652
+ # },
653
+ # ],
654
+ # })
655
+ #
656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/TagResource AWS API Documentation
657
+ #
658
+ # @overload tag_resource(params = {})
659
+ # @param [Hash] params ({})
660
+ def tag_resource(params = {}, options = {})
661
+ req = build_request(:tag_resource, params)
662
+ req.send_request(options)
663
+ end
664
+
665
+ # Untag an Amazon Bedrock Data Automation resource
666
+ #
667
+ # @option params [required, String] :resource_arn
668
+ # ARN of a taggable resource
669
+ #
670
+ # @option params [required, Array<String>] :tag_keys
671
+ # List of tag keys
672
+ #
673
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
674
+ #
675
+ # @example Request syntax with placeholder values
676
+ #
677
+ # resp = client.untag_resource({
678
+ # resource_arn: "TaggableResourceArn", # required
679
+ # tag_keys: ["TagKey"], # required
680
+ # })
681
+ #
682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/UntagResource AWS API Documentation
683
+ #
684
+ # @overload untag_resource(params = {})
685
+ # @param [Hash] params ({})
686
+ def untag_resource(params = {}, options = {})
687
+ req = build_request(:untag_resource, params)
688
+ req.send_request(options)
689
+ end
690
+
591
691
  # @!endgroup
592
692
 
593
693
  # @param params ({})
@@ -606,7 +706,7 @@ module Aws::BedrockDataAutomationRuntime
606
706
  tracer: tracer
607
707
  )
608
708
  context[:gem_name] = 'aws-sdk-bedrockdataautomationruntime'
609
- context[:gem_version] = '1.4.0'
709
+ context[:gem_version] = '1.5.0'
610
710
  Seahorse::Client::Request.new(handlers, context)
611
711
  end
612
712
 
@@ -24,6 +24,7 @@ module Aws::BedrockDataAutomationRuntime
24
24
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
25
25
  DataAutomationArn = Shapes::StringShape.new(name: 'DataAutomationArn')
26
26
  DataAutomationConfiguration = Shapes::StructureShape.new(name: 'DataAutomationConfiguration')
27
+ DataAutomationProfileArn = Shapes::StringShape.new(name: 'DataAutomationProfileArn')
27
28
  DataAutomationStage = Shapes::StringShape.new(name: 'DataAutomationStage')
28
29
  EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
29
30
  EncryptionContextKey = Shapes::StringShape.new(name: 'EncryptionContextKey')
@@ -38,15 +39,27 @@ module Aws::BedrockDataAutomationRuntime
38
39
  InvocationArn = Shapes::StringShape.new(name: 'InvocationArn')
39
40
  InvokeDataAutomationAsyncRequest = Shapes::StructureShape.new(name: 'InvokeDataAutomationAsyncRequest')
40
41
  InvokeDataAutomationAsyncResponse = Shapes::StructureShape.new(name: 'InvokeDataAutomationAsyncResponse')
42
+ KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
43
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
44
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
41
45
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
42
- NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
43
46
  NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
44
47
  OutputConfiguration = Shapes::StructureShape.new(name: 'OutputConfiguration')
45
48
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
46
49
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
47
50
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
48
51
  String = Shapes::StringShape.new(name: 'String')
52
+ Tag = Shapes::StructureShape.new(name: 'Tag')
53
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
54
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
55
+ TagList = Shapes::ListShape.new(name: 'TagList')
56
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
57
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
58
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
59
+ TaggableResourceArn = Shapes::StringShape.new(name: 'TaggableResourceArn')
49
60
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
61
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
62
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
50
63
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
51
64
 
52
65
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
@@ -59,11 +72,11 @@ module Aws::BedrockDataAutomationRuntime
59
72
 
60
73
  BlueprintList.member = Shapes::ShapeRef.new(shape: Blueprint)
61
74
 
62
- DataAutomationConfiguration.add_member(:data_automation_arn, Shapes::ShapeRef.new(shape: DataAutomationArn, required: true, location_name: "dataAutomationArn"))
75
+ DataAutomationConfiguration.add_member(:data_automation_project_arn, Shapes::ShapeRef.new(shape: DataAutomationArn, required: true, location_name: "dataAutomationProjectArn"))
63
76
  DataAutomationConfiguration.add_member(:stage, Shapes::ShapeRef.new(shape: DataAutomationStage, location_name: "stage"))
64
77
  DataAutomationConfiguration.struct_class = Types::DataAutomationConfiguration
65
78
 
66
- EncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "kmsKeyId"))
79
+ EncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, required: true, location_name: "kmsKeyId"))
67
80
  EncryptionConfiguration.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextMap, location_name: "kmsEncryptionContext"))
68
81
  EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
69
82
 
@@ -95,11 +108,19 @@ module Aws::BedrockDataAutomationRuntime
95
108
  InvokeDataAutomationAsyncRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
96
109
  InvokeDataAutomationAsyncRequest.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "notificationConfiguration"))
97
110
  InvokeDataAutomationAsyncRequest.add_member(:blueprints, Shapes::ShapeRef.new(shape: BlueprintList, location_name: "blueprints"))
111
+ InvokeDataAutomationAsyncRequest.add_member(:data_automation_profile_arn, Shapes::ShapeRef.new(shape: DataAutomationProfileArn, required: true, location_name: "dataAutomationProfileArn"))
112
+ InvokeDataAutomationAsyncRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
98
113
  InvokeDataAutomationAsyncRequest.struct_class = Types::InvokeDataAutomationAsyncRequest
99
114
 
100
115
  InvokeDataAutomationAsyncResponse.add_member(:invocation_arn, Shapes::ShapeRef.new(shape: InvocationArn, required: true, location_name: "invocationArn"))
101
116
  InvokeDataAutomationAsyncResponse.struct_class = Types::InvokeDataAutomationAsyncResponse
102
117
 
118
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "resourceARN"))
119
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
120
+
121
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
122
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
123
+
103
124
  NotificationConfiguration.add_member(:event_bridge_configuration, Shapes::ShapeRef.new(shape: EventBridgeConfiguration, required: true, location_name: "eventBridgeConfiguration"))
104
125
  NotificationConfiguration.struct_class = Types::NotificationConfiguration
105
126
 
@@ -112,9 +133,29 @@ module Aws::BedrockDataAutomationRuntime
112
133
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
113
134
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
114
135
 
136
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
137
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
138
+ Tag.struct_class = Types::Tag
139
+
140
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
141
+
142
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
143
+
144
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "resourceARN"))
145
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
146
+ TagResourceRequest.struct_class = Types::TagResourceRequest
147
+
148
+ TagResourceResponse.struct_class = Types::TagResourceResponse
149
+
115
150
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
116
151
  ThrottlingException.struct_class = Types::ThrottlingException
117
152
 
153
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "resourceARN"))
154
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
155
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
156
+
157
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
158
+
118
159
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
119
160
  ValidationException.struct_class = Types::ValidationException
120
161
 
@@ -164,6 +205,46 @@ module Aws::BedrockDataAutomationRuntime
164
205
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
165
206
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
166
207
  end)
208
+
209
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
210
+ o.name = "ListTagsForResource"
211
+ o.http_method = "POST"
212
+ o.http_request_uri = "/"
213
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
214
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
215
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
216
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
217
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
218
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
219
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
220
+ end)
221
+
222
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
223
+ o.name = "TagResource"
224
+ o.http_method = "POST"
225
+ o.http_request_uri = "/"
226
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
227
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
228
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
229
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
230
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
231
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
232
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
233
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
234
+ end)
235
+
236
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
237
+ o.name = "UntagResource"
238
+ o.http_method = "POST"
239
+ o.http_request_uri = "/"
240
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
241
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
242
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
243
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
244
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
245
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
246
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
247
+ end)
167
248
  end
168
249
 
169
250
  end
@@ -50,8 +50,8 @@ module Aws::BedrockDataAutomationRuntime
50
50
 
51
51
  # Data automation configuration.
52
52
  #
53
- # @!attribute [rw] data_automation_arn
54
- # Data automation arn.
53
+ # @!attribute [rw] data_automation_project_arn
54
+ # Data automation project arn.
55
55
  # @return [String]
56
56
  #
57
57
  # @!attribute [rw] stage
@@ -61,7 +61,7 @@ module Aws::BedrockDataAutomationRuntime
61
61
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/DataAutomationConfiguration AWS API Documentation
62
62
  #
63
63
  class DataAutomationConfiguration < Struct.new(
64
- :data_automation_arn,
64
+ :data_automation_project_arn,
65
65
  :stage)
66
66
  SENSITIVE = []
67
67
  include Aws::Structure
@@ -70,7 +70,7 @@ module Aws::BedrockDataAutomationRuntime
70
70
  # Encryption configuration.
71
71
  #
72
72
  # @!attribute [rw] kms_key_id
73
- # KMS key id.
73
+ # Customer KMS key used for encryption
74
74
  # @return [String]
75
75
  #
76
76
  # @!attribute [rw] kms_encryption_context
@@ -203,6 +203,14 @@ module Aws::BedrockDataAutomationRuntime
203
203
  # Blueprint list.
204
204
  # @return [Array<Types::Blueprint>]
205
205
  #
206
+ # @!attribute [rw] data_automation_profile_arn
207
+ # Data automation profile ARN
208
+ # @return [String]
209
+ #
210
+ # @!attribute [rw] tags
211
+ # List of tags.
212
+ # @return [Array<Types::Tag>]
213
+ #
206
214
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InvokeDataAutomationAsyncRequest AWS API Documentation
207
215
  #
208
216
  class InvokeDataAutomationAsyncRequest < Struct.new(
@@ -212,7 +220,9 @@ module Aws::BedrockDataAutomationRuntime
212
220
  :data_automation_configuration,
213
221
  :encryption_configuration,
214
222
  :notification_configuration,
215
- :blueprints)
223
+ :blueprints,
224
+ :data_automation_profile_arn,
225
+ :tags)
216
226
  SENSITIVE = []
217
227
  include Aws::Structure
218
228
  end
@@ -231,6 +241,30 @@ module Aws::BedrockDataAutomationRuntime
231
241
  include Aws::Structure
232
242
  end
233
243
 
244
+ # @!attribute [rw] resource_arn
245
+ # ARN of a taggable resource
246
+ # @return [String]
247
+ #
248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/ListTagsForResourceRequest AWS API Documentation
249
+ #
250
+ class ListTagsForResourceRequest < Struct.new(
251
+ :resource_arn)
252
+ SENSITIVE = []
253
+ include Aws::Structure
254
+ end
255
+
256
+ # @!attribute [rw] tags
257
+ # List of tags
258
+ # @return [Array<Types::Tag>]
259
+ #
260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/ListTagsForResourceResponse AWS API Documentation
261
+ #
262
+ class ListTagsForResourceResponse < Struct.new(
263
+ :tags)
264
+ SENSITIVE = []
265
+ include Aws::Structure
266
+ end
267
+
234
268
  # Notification configuration.
235
269
  #
236
270
  # @!attribute [rw] event_bridge_configuration
@@ -286,6 +320,47 @@ module Aws::BedrockDataAutomationRuntime
286
320
  include Aws::Structure
287
321
  end
288
322
 
323
+ # Key value pair of a tag
324
+ #
325
+ # @!attribute [rw] key
326
+ # Defines the context of the tag.
327
+ # @return [String]
328
+ #
329
+ # @!attribute [rw] value
330
+ # Defines the value within the context. e.g. &lt;key=reason,
331
+ # value=training&gt;.
332
+ # @return [String]
333
+ #
334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/Tag AWS API Documentation
335
+ #
336
+ class Tag < Struct.new(
337
+ :key,
338
+ :value)
339
+ SENSITIVE = []
340
+ include Aws::Structure
341
+ end
342
+
343
+ # @!attribute [rw] resource_arn
344
+ # ARN of a taggable resource
345
+ # @return [String]
346
+ #
347
+ # @!attribute [rw] tags
348
+ # List of tags
349
+ # @return [Array<Types::Tag>]
350
+ #
351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/TagResourceRequest AWS API Documentation
352
+ #
353
+ class TagResourceRequest < Struct.new(
354
+ :resource_arn,
355
+ :tags)
356
+ SENSITIVE = []
357
+ include Aws::Structure
358
+ end
359
+
360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/TagResourceResponse AWS API Documentation
361
+ #
362
+ class TagResourceResponse < Aws::EmptyStructure; end
363
+
289
364
  # This exception will be thrown when customer reached API TPS limit.
290
365
  #
291
366
  # @!attribute [rw] message
@@ -299,6 +374,27 @@ module Aws::BedrockDataAutomationRuntime
299
374
  include Aws::Structure
300
375
  end
301
376
 
377
+ # @!attribute [rw] resource_arn
378
+ # ARN of a taggable resource
379
+ # @return [String]
380
+ #
381
+ # @!attribute [rw] tag_keys
382
+ # List of tag keys
383
+ # @return [Array<String>]
384
+ #
385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/UntagResourceRequest AWS API Documentation
386
+ #
387
+ class UntagResourceRequest < Struct.new(
388
+ :resource_arn,
389
+ :tag_keys)
390
+ SENSITIVE = []
391
+ include Aws::Structure
392
+ end
393
+
394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/UntagResourceResponse AWS API Documentation
395
+ #
396
+ class UntagResourceResponse < Aws::EmptyStructure; end
397
+
302
398
  # This exception will be thrown when customer provided invalid
303
399
  # parameters.
304
400
  #
@@ -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.4.0'
57
+ GEM_VERSION = '1.5.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -105,7 +105,7 @@ module Aws
105
105
  s3_uri: ::String
106
106
  },
107
107
  ?data_automation_configuration: {
108
- data_automation_arn: ::String,
108
+ data_automation_project_arn: ::String,
109
109
  stage: ("LIVE" | "DEVELOPMENT")?
110
110
  },
111
111
  ?encryption_configuration: {
@@ -123,9 +123,51 @@ module Aws
123
123
  version: ::String?,
124
124
  stage: ("DEVELOPMENT" | "LIVE")?
125
125
  },
126
+ ],
127
+ data_automation_profile_arn: ::String,
128
+ ?tags: Array[
129
+ {
130
+ key: ::String,
131
+ value: ::String
132
+ },
126
133
  ]
127
134
  ) -> _InvokeDataAutomationAsyncResponseSuccess
128
135
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeDataAutomationAsyncResponseSuccess
136
+
137
+ interface _ListTagsForResourceResponseSuccess
138
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
139
+ def tags: () -> ::Array[Types::Tag]
140
+ end
141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomationRuntime/Client.html#list_tags_for_resource-instance_method
142
+ def list_tags_for_resource: (
143
+ resource_arn: ::String
144
+ ) -> _ListTagsForResourceResponseSuccess
145
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
146
+
147
+ interface _TagResourceResponseSuccess
148
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
149
+ end
150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomationRuntime/Client.html#tag_resource-instance_method
151
+ def tag_resource: (
152
+ resource_arn: ::String,
153
+ tags: Array[
154
+ {
155
+ key: ::String,
156
+ value: ::String
157
+ },
158
+ ]
159
+ ) -> _TagResourceResponseSuccess
160
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
161
+
162
+ interface _UntagResourceResponseSuccess
163
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
164
+ end
165
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomationRuntime/Client.html#untag_resource-instance_method
166
+ def untag_resource: (
167
+ resource_arn: ::String,
168
+ tag_keys: Array[::String]
169
+ ) -> _UntagResourceResponseSuccess
170
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
129
171
  end
130
172
  end
131
173
  end
data/sig/types.rbs CHANGED
@@ -21,7 +21,7 @@ module Aws::BedrockDataAutomationRuntime
21
21
  end
22
22
 
23
23
  class DataAutomationConfiguration
24
- attr_accessor data_automation_arn: ::String
24
+ attr_accessor data_automation_project_arn: ::String
25
25
  attr_accessor stage: ("LIVE" | "DEVELOPMENT")
26
26
  SENSITIVE: []
27
27
  end
@@ -68,6 +68,8 @@ module Aws::BedrockDataAutomationRuntime
68
68
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
69
69
  attr_accessor notification_configuration: Types::NotificationConfiguration
70
70
  attr_accessor blueprints: ::Array[Types::Blueprint]
71
+ attr_accessor data_automation_profile_arn: ::String
72
+ attr_accessor tags: ::Array[Types::Tag]
71
73
  SENSITIVE: []
72
74
  end
73
75
 
@@ -76,6 +78,16 @@ module Aws::BedrockDataAutomationRuntime
76
78
  SENSITIVE: []
77
79
  end
78
80
 
81
+ class ListTagsForResourceRequest
82
+ attr_accessor resource_arn: ::String
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class ListTagsForResourceResponse
87
+ attr_accessor tags: ::Array[Types::Tag]
88
+ SENSITIVE: []
89
+ end
90
+
79
91
  class NotificationConfiguration
80
92
  attr_accessor event_bridge_configuration: Types::EventBridgeConfiguration
81
93
  SENSITIVE: []
@@ -96,11 +108,35 @@ module Aws::BedrockDataAutomationRuntime
96
108
  SENSITIVE: []
97
109
  end
98
110
 
111
+ class Tag
112
+ attr_accessor key: ::String
113
+ attr_accessor value: ::String
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class TagResourceRequest
118
+ attr_accessor resource_arn: ::String
119
+ attr_accessor tags: ::Array[Types::Tag]
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class TagResourceResponse < Aws::EmptyStructure
124
+ end
125
+
99
126
  class ThrottlingException
100
127
  attr_accessor message: ::String
101
128
  SENSITIVE: []
102
129
  end
103
130
 
131
+ class UntagResourceRequest
132
+ attr_accessor resource_arn: ::String
133
+ attr_accessor tag_keys: ::Array[::String]
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class UntagResourceResponse < Aws::EmptyStructure
138
+ end
139
+
104
140
  class ValidationException
105
141
  attr_accessor message: ::String
106
142
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockdataautomationruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.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: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core