Skip to content

Commit 0faf1e8

Browse files
author
AWS
committed
Runtime for Amazon Bedrock Data Automation Update: Added a mandatory parameter DataAutomationProfileArn to support for cross region inference for InvokeDataAutomationAsync API. Renamed DataAutomationArn to DataAutomationProjectArn. Added APIs to support tagging.
1 parent 1833749 commit 0faf1e8

File tree

2 files changed

+180
-11
lines changed

2 files changed

+180
-11
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Runtime for Amazon Bedrock Data Automation",
4+
"contributor": "",
5+
"description": "Added a mandatory parameter DataAutomationProfileArn to support for cross region inference for InvokeDataAutomationAsync API. Renamed DataAutomationArn to DataAutomationProjectArn. Added APIs to support tagging."
6+
}

services/bedrockdataautomationruntime/src/main/resources/codegen-resources/service-2.json

Lines changed: 174 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,58 @@
4949
],
5050
"documentation":"<p>Async API: Invoke data automation.</p>",
5151
"idempotent":true
52+
},
53+
"ListTagsForResource":{
54+
"name":"ListTagsForResource",
55+
"http":{
56+
"method":"POST",
57+
"requestUri":"/"
58+
},
59+
"input":{"shape":"ListTagsForResourceRequest"},
60+
"output":{"shape":"ListTagsForResourceResponse"},
61+
"errors":[
62+
{"shape":"AccessDeniedException"},
63+
{"shape":"ValidationException"},
64+
{"shape":"InternalServerException"},
65+
{"shape":"ThrottlingException"},
66+
{"shape":"ResourceNotFoundException"}
67+
],
68+
"documentation":"<p>List tags for an Amazon Bedrock Data Automation resource</p>"
69+
},
70+
"TagResource":{
71+
"name":"TagResource",
72+
"http":{
73+
"method":"POST",
74+
"requestUri":"/"
75+
},
76+
"input":{"shape":"TagResourceRequest"},
77+
"output":{"shape":"TagResourceResponse"},
78+
"errors":[
79+
{"shape":"ServiceQuotaExceededException"},
80+
{"shape":"AccessDeniedException"},
81+
{"shape":"ValidationException"},
82+
{"shape":"InternalServerException"},
83+
{"shape":"ThrottlingException"},
84+
{"shape":"ResourceNotFoundException"}
85+
],
86+
"documentation":"<p>Tag an Amazon Bedrock Data Automation resource</p>"
87+
},
88+
"UntagResource":{
89+
"name":"UntagResource",
90+
"http":{
91+
"method":"POST",
92+
"requestUri":"/"
93+
},
94+
"input":{"shape":"UntagResourceRequest"},
95+
"output":{"shape":"UntagResourceResponse"},
96+
"errors":[
97+
{"shape":"AccessDeniedException"},
98+
{"shape":"ValidationException"},
99+
{"shape":"InternalServerException"},
100+
{"shape":"ThrottlingException"},
101+
{"shape":"ResourceNotFoundException"}
102+
],
103+
"documentation":"<p>Untag an Amazon Bedrock Data Automation resource</p>"
52104
}
53105
},
54106
"shapes":{
@@ -104,6 +156,7 @@
104156
"documentation":"<p>Blueprint.</p>"
105157
},
106158
"documentation":"<p>Blueprint list.</p>",
159+
"max":40,
107160
"min":1
108161
},
109162
"BlueprintStage":{
@@ -134,11 +187,11 @@
134187
},
135188
"DataAutomationConfiguration":{
136189
"type":"structure",
137-
"required":["dataAutomationArn"],
190+
"required":["dataAutomationProjectArn"],
138191
"members":{
139-
"dataAutomationArn":{
192+
"dataAutomationProjectArn":{
140193
"shape":"DataAutomationArn",
141-
"documentation":"<p>Data automation arn.</p>"
194+
"documentation":"<p>Data automation project arn.</p>"
142195
},
143196
"stage":{
144197
"shape":"DataAutomationStage",
@@ -147,6 +200,13 @@
147200
},
148201
"documentation":"<p>Data automation configuration.</p>"
149202
},
203+
"DataAutomationProfileArn":{
204+
"type":"string",
205+
"documentation":"<p>Data automation profile arn.</p>",
206+
"max":128,
207+
"min":1,
208+
"pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-profile/[a-zA-Z0-9-_.]+"
209+
},
150210
"DataAutomationStage":{
151211
"type":"string",
152212
"documentation":"<p>Data automation stage.</p>",
@@ -160,8 +220,8 @@
160220
"required":["kmsKeyId"],
161221
"members":{
162222
"kmsKeyId":{
163-
"shape":"NonEmptyString",
164-
"documentation":"<p>KMS key id.</p>"
223+
"shape":"KMSKeyId",
224+
"documentation":"<p>Customer KMS key used for encryption</p>"
165225
},
166226
"kmsEncryptionContext":{
167227
"shape":"EncryptionContextMap",
@@ -273,7 +333,8 @@
273333
"type":"structure",
274334
"required":[
275335
"inputConfiguration",
276-
"outputConfiguration"
336+
"outputConfiguration",
337+
"dataAutomationProfileArn"
277338
],
278339
"members":{
279340
"clientToken":{
@@ -304,6 +365,14 @@
304365
"blueprints":{
305366
"shape":"BlueprintList",
306367
"documentation":"<p>Blueprint list.</p>"
368+
},
369+
"dataAutomationProfileArn":{
370+
"shape":"DataAutomationProfileArn",
371+
"documentation":"<p>Data automation profile ARN</p>"
372+
},
373+
"tags":{
374+
"shape":"TagList",
375+
"documentation":"<p>List of tags.</p>"
307376
}
308377
},
309378
"documentation":"<p>Invoke Data Automation Async Request</p>"
@@ -319,13 +388,28 @@
319388
},
320389
"documentation":"<p>Invoke Data Automation Async Response</p>"
321390
},
322-
"NonBlankString":{
391+
"KMSKeyId":{
323392
"type":"string",
324-
"pattern":"[\\s\\S]*"
393+
"max":2048,
394+
"min":1,
395+
"pattern":"[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]+"
325396
},
326-
"NonEmptyString":{
397+
"ListTagsForResourceRequest":{
398+
"type":"structure",
399+
"required":["resourceARN"],
400+
"members":{
401+
"resourceARN":{"shape":"TaggableResourceArn"}
402+
}
403+
},
404+
"ListTagsForResourceResponse":{
405+
"type":"structure",
406+
"members":{
407+
"tags":{"shape":"TagList"}
408+
}
409+
},
410+
"NonBlankString":{
327411
"type":"string",
328-
"pattern":".*\\S.*"
412+
"pattern":"[\\s\\S]*"
329413
},
330414
"NotificationConfiguration":{
331415
"type":"structure",
@@ -362,7 +446,7 @@
362446
"documentation":"<p>A path in S3</p>",
363447
"max":1024,
364448
"min":1,
365-
"pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]([^\\x00-\\x1F\\x7F\\{^}%`\\]\">\\[~<#|]*)?"
449+
"pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/[^\\x00-\\x1F\\x7F\\{^}%`\\]\">\\[~<#|]*)?"
366450
},
367451
"ServiceQuotaExceededException":{
368452
"type":"structure",
@@ -373,6 +457,69 @@
373457
"exception":true
374458
},
375459
"String":{"type":"string"},
460+
"Tag":{
461+
"type":"structure",
462+
"required":[
463+
"key",
464+
"value"
465+
],
466+
"members":{
467+
"key":{"shape":"TagKey"},
468+
"value":{"shape":"TagValue"}
469+
},
470+
"documentation":"<p>Key value pair of a tag</p>"
471+
},
472+
"TagKey":{
473+
"type":"string",
474+
"documentation":"<p>Defines the context of the tag.</p>",
475+
"max":128,
476+
"min":1,
477+
"pattern":"(?!aws:)[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*"
478+
},
479+
"TagKeyList":{
480+
"type":"list",
481+
"member":{"shape":"TagKey"},
482+
"documentation":"<p>List of tag keys</p>",
483+
"max":200,
484+
"min":0
485+
},
486+
"TagList":{
487+
"type":"list",
488+
"member":{"shape":"Tag"},
489+
"documentation":"<p>List of tags</p>",
490+
"max":200,
491+
"min":0
492+
},
493+
"TagResourceRequest":{
494+
"type":"structure",
495+
"required":[
496+
"resourceARN",
497+
"tags"
498+
],
499+
"members":{
500+
"resourceARN":{"shape":"TaggableResourceArn"},
501+
"tags":{"shape":"TagList"}
502+
}
503+
},
504+
"TagResourceResponse":{
505+
"type":"structure",
506+
"members":{
507+
}
508+
},
509+
"TagValue":{
510+
"type":"string",
511+
"documentation":"<p>Defines the value within the context. e.g. &lt;key=reason, value=training&gt;.</p>",
512+
"max":256,
513+
"min":0,
514+
"pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
515+
},
516+
"TaggableResourceArn":{
517+
"type":"string",
518+
"documentation":"<p>ARN of a taggable resource</p>",
519+
"max":1011,
520+
"min":20,
521+
"pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:data-automation-invocation/[a-zA-Z0-9-_]+"
522+
},
376523
"ThrottlingException":{
377524
"type":"structure",
378525
"members":{
@@ -381,6 +528,22 @@
381528
"documentation":"<p>This exception will be thrown when customer reached API TPS limit.</p>",
382529
"exception":true
383530
},
531+
"UntagResourceRequest":{
532+
"type":"structure",
533+
"required":[
534+
"resourceARN",
535+
"tagKeys"
536+
],
537+
"members":{
538+
"resourceARN":{"shape":"TaggableResourceArn"},
539+
"tagKeys":{"shape":"TagKeyList"}
540+
}
541+
},
542+
"UntagResourceResponse":{
543+
"type":"structure",
544+
"members":{
545+
}
546+
},
384547
"ValidationException":{
385548
"type":"structure",
386549
"members":{

0 commit comments

Comments
 (0)