Skip to content

Commit 7a16c69

Browse files
author
AWS
committed
Data Automation for Amazon Bedrock Update: Renamed and added new StandardConfiguration enums. Added support to update EncryptionConfiguration in UpdateBlueprint and UpdateDataAutomation APIs. Changed HttpStatus code for DeleteBlueprint and DeleteDataAutomationProject APIs to 200 from 204. Added APIs to support tagging.
1 parent a901a0b commit 7a16c69

File tree

2 files changed

+192
-19
lines changed

2 files changed

+192
-19
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": "Data Automation for Amazon Bedrock",
4+
"contributor": "",
5+
"description": "Renamed and added new StandardConfiguration enums. Added support to update EncryptionConfiguration in UpdateBlueprint and UpdateDataAutomation APIs. Changed HttpStatus code for DeleteBlueprint and DeleteDataAutomationProject APIs to 200 from 204. Added APIs to support tagging."
6+
}

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

Lines changed: 186 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"http":{
7979
"method":"DELETE",
8080
"requestUri":"/blueprints/{blueprintArn}/",
81-
"responseCode":204
81+
"responseCode":200
8282
},
8383
"input":{"shape":"DeleteBlueprintRequest"},
8484
"output":{"shape":"DeleteBlueprintResponse"},
@@ -97,7 +97,7 @@
9797
"http":{
9898
"method":"DELETE",
9999
"requestUri":"/data-automation-projects/{projectArn}/",
100-
"responseCode":204
100+
"responseCode":200
101101
},
102102
"input":{"shape":"DeleteDataAutomationProjectRequest"},
103103
"output":{"shape":"DeleteDataAutomationProjectResponse"},
@@ -183,6 +183,61 @@
183183
],
184184
"documentation":"<p>Lists all existing Amazon Bedrock Data Automation Projects</p>"
185185
},
186+
"ListTagsForResource":{
187+
"name":"ListTagsForResource",
188+
"http":{
189+
"method":"POST",
190+
"requestUri":"/listTagsForResource",
191+
"responseCode":200
192+
},
193+
"input":{"shape":"ListTagsForResourceRequest"},
194+
"output":{"shape":"ListTagsForResourceResponse"},
195+
"errors":[
196+
{"shape":"ValidationException"},
197+
{"shape":"InternalServerException"},
198+
{"shape":"ThrottlingException"},
199+
{"shape":"AccessDeniedException"},
200+
{"shape":"ResourceNotFoundException"}
201+
],
202+
"documentation":"<p>List tags for an Amazon Bedrock Data Automation resource</p>"
203+
},
204+
"TagResource":{
205+
"name":"TagResource",
206+
"http":{
207+
"method":"POST",
208+
"requestUri":"/tagResource",
209+
"responseCode":200
210+
},
211+
"input":{"shape":"TagResourceRequest"},
212+
"output":{"shape":"TagResourceResponse"},
213+
"errors":[
214+
{"shape":"ServiceQuotaExceededException"},
215+
{"shape":"ValidationException"},
216+
{"shape":"InternalServerException"},
217+
{"shape":"ThrottlingException"},
218+
{"shape":"AccessDeniedException"},
219+
{"shape":"ResourceNotFoundException"}
220+
],
221+
"documentation":"<p>Tag an Amazon Bedrock Data Automation resource</p>"
222+
},
223+
"UntagResource":{
224+
"name":"UntagResource",
225+
"http":{
226+
"method":"POST",
227+
"requestUri":"/untagResource",
228+
"responseCode":200
229+
},
230+
"input":{"shape":"UntagResourceRequest"},
231+
"output":{"shape":"UntagResourceResponse"},
232+
"errors":[
233+
{"shape":"ValidationException"},
234+
{"shape":"InternalServerException"},
235+
{"shape":"ThrottlingException"},
236+
{"shape":"AccessDeniedException"},
237+
{"shape":"ResourceNotFoundException"}
238+
],
239+
"documentation":"<p>Untag an Amazon Bedrock Data Automation resource</p>"
240+
},
186241
"UpdateBlueprint":{
187242
"name":"UpdateBlueprint",
188243
"http":{
@@ -213,6 +268,7 @@
213268
"input":{"shape":"UpdateDataAutomationProjectRequest"},
214269
"output":{"shape":"UpdateDataAutomationProjectResponse"},
215270
"errors":[
271+
{"shape":"ServiceQuotaExceededException"},
216272
{"shape":"ConflictException"},
217273
{"shape":"ValidationException"},
218274
{"shape":"InternalServerException"},
@@ -250,8 +306,8 @@
250306
"type":"string",
251307
"enum":[
252308
"AUDIO_CONTENT_MODERATION",
253-
"CHAPTER_CONTENT_MODERATION",
254-
"TRANSCRIPT"
309+
"TRANSCRIPT",
310+
"TOPIC_CONTENT_MODERATION"
255311
]
256312
},
257313
"AudioExtractionCategoryTypes":{
@@ -280,8 +336,8 @@
280336
"type":"string",
281337
"enum":[
282338
"AUDIO_SUMMARY",
283-
"CHAPTER_SUMMARY",
284-
"IAB"
339+
"IAB",
340+
"TOPIC_SUMMARY"
285341
]
286342
},
287343
"AudioStandardGenerativeFieldTypes":{
@@ -366,7 +422,6 @@
366422
"documentation":"<p>Schema of the blueprint</p>",
367423
"max":100000,
368424
"min":1,
369-
"pattern":"[a-zA-Z0-9\\s!\"\\#\\$%'&\\(\\)\\*\\+\\,\\-\\./:;=\\?@\\[\\\\\\]\\^_`\\{\\|\\}~><]+",
370425
"sensitive":true
371426
},
372427
"BlueprintStage":{
@@ -449,7 +504,8 @@
449504
"shape":"ClientToken",
450505
"idempotencyToken":true
451506
},
452-
"encryptionConfiguration":{"shape":"EncryptionConfiguration"}
507+
"encryptionConfiguration":{"shape":"EncryptionConfiguration"},
508+
"tags":{"shape":"TagList"}
453509
},
454510
"documentation":"<p>Create Blueprint Request</p>"
455511
},
@@ -503,7 +559,8 @@
503559
"shape":"ClientToken",
504560
"idempotencyToken":true
505561
},
506-
"encryptionConfiguration":{"shape":"EncryptionConfiguration"}
562+
"encryptionConfiguration":{"shape":"EncryptionConfiguration"},
563+
"tags":{"shape":"TagList"}
507564
},
508565
"documentation":"<p>Create DataAutomationProject Request</p>"
509566
},
@@ -559,6 +616,8 @@
559616
"DataAutomationProjectDescription":{
560617
"type":"string",
561618
"documentation":"<p>Description of the DataAutomationProject</p>",
619+
"max":300,
620+
"min":0,
562621
"sensitive":true
563622
},
564623
"DataAutomationProjectFilter":{
@@ -791,6 +850,20 @@
791850
},
792851
"documentation":"<p>KMS Encryption Configuration</p>"
793852
},
853+
"EncryptionContextKey":{
854+
"type":"string",
855+
"documentation":"<p>Encryption context key.</p>",
856+
"max":2000,
857+
"min":1,
858+
"pattern":".*\\S.*"
859+
},
860+
"EncryptionContextValue":{
861+
"type":"string",
862+
"documentation":"<p>Encryption context value.</p>",
863+
"max":2000,
864+
"min":1,
865+
"pattern":".*\\S.*"
866+
},
794867
"GetBlueprintRequest":{
795868
"type":"structure",
796869
"required":["blueprintArn"],
@@ -866,7 +939,8 @@
866939
"type":"string",
867940
"enum":[
868941
"CONTENT_MODERATION",
869-
"TEXT_DETECTION"
942+
"TEXT_DETECTION",
943+
"LOGOS"
870944
]
871945
},
872946
"ImageExtractionCategoryTypes":{
@@ -927,16 +1001,17 @@
9271001
},
9281002
"KmsEncryptionContext":{
9291003
"type":"map",
930-
"key":{"shape":"String"},
931-
"value":{"shape":"String"},
1004+
"key":{"shape":"EncryptionContextKey"},
1005+
"value":{"shape":"EncryptionContextValue"},
9321006
"documentation":"<p>KMS Encryption Context</p>",
9331007
"min":1
9341008
},
9351009
"KmsKeyId":{
9361010
"type":"string",
9371011
"documentation":"<p>KMS Key Identifier</p>",
9381012
"max":2048,
939-
"min":1
1013+
"min":1,
1014+
"pattern":"[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]+"
9401015
},
9411016
"ListBlueprintsRequest":{
9421017
"type":"structure",
@@ -979,6 +1054,19 @@
9791054
},
9801055
"documentation":"<p>List DataAutomationProject Response</p>"
9811056
},
1057+
"ListTagsForResourceRequest":{
1058+
"type":"structure",
1059+
"required":["resourceARN"],
1060+
"members":{
1061+
"resourceARN":{"shape":"TaggableResourceArn"}
1062+
}
1063+
},
1064+
"ListTagsForResourceResponse":{
1065+
"type":"structure",
1066+
"members":{
1067+
"tags":{"shape":"TagList"}
1068+
}
1069+
},
9821070
"MaxResults":{
9831071
"type":"integer",
9841072
"documentation":"<p>Max Results</p>",
@@ -1062,7 +1150,67 @@
10621150
"DISABLED"
10631151
]
10641152
},
1065-
"String":{"type":"string"},
1153+
"Tag":{
1154+
"type":"structure",
1155+
"required":[
1156+
"key",
1157+
"value"
1158+
],
1159+
"members":{
1160+
"key":{"shape":"TagKey"},
1161+
"value":{"shape":"TagValue"}
1162+
},
1163+
"documentation":"<p>Key value pair of a tag</p>"
1164+
},
1165+
"TagKey":{
1166+
"type":"string",
1167+
"documentation":"<p>Defines the context of the tag.</p>",
1168+
"max":128,
1169+
"min":1
1170+
},
1171+
"TagKeyList":{
1172+
"type":"list",
1173+
"member":{"shape":"TagKey"},
1174+
"documentation":"<p>List of tag keys</p>",
1175+
"max":200,
1176+
"min":0
1177+
},
1178+
"TagList":{
1179+
"type":"list",
1180+
"member":{"shape":"Tag"},
1181+
"documentation":"<p>List of tags</p>",
1182+
"max":200,
1183+
"min":0
1184+
},
1185+
"TagResourceRequest":{
1186+
"type":"structure",
1187+
"required":[
1188+
"resourceARN",
1189+
"tags"
1190+
],
1191+
"members":{
1192+
"resourceARN":{"shape":"TaggableResourceArn"},
1193+
"tags":{"shape":"TagList"}
1194+
}
1195+
},
1196+
"TagResourceResponse":{
1197+
"type":"structure",
1198+
"members":{
1199+
}
1200+
},
1201+
"TagValue":{
1202+
"type":"string",
1203+
"documentation":"<p>Defines the value within the context. e.g. &lt;key=reason, value=training&gt;.</p>",
1204+
"max":256,
1205+
"min":0
1206+
},
1207+
"TaggableResourceArn":{
1208+
"type":"string",
1209+
"documentation":"<p>ARN of a taggable resource</p>",
1210+
"max":1011,
1211+
"min":20,
1212+
"pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-z0-9-]*:[0-9]{12}:(blueprint|data-automation-project)/[a-zA-Z0-9-]{12,36}"
1213+
},
10661214
"ThrottlingException":{
10671215
"type":"structure",
10681216
"members":{
@@ -1083,6 +1231,22 @@
10831231
"IMAGE"
10841232
]
10851233
},
1234+
"UntagResourceRequest":{
1235+
"type":"structure",
1236+
"required":[
1237+
"resourceARN",
1238+
"tagKeys"
1239+
],
1240+
"members":{
1241+
"resourceARN":{"shape":"TaggableResourceArn"},
1242+
"tagKeys":{"shape":"TagKeyList"}
1243+
}
1244+
},
1245+
"UntagResourceResponse":{
1246+
"type":"structure",
1247+
"members":{
1248+
}
1249+
},
10861250
"UpdateBlueprintRequest":{
10871251
"type":"structure",
10881252
"required":[
@@ -1097,7 +1261,8 @@
10971261
"locationName":"blueprintArn"
10981262
},
10991263
"schema":{"shape":"BlueprintSchema"},
1100-
"blueprintStage":{"shape":"BlueprintStage"}
1264+
"blueprintStage":{"shape":"BlueprintStage"},
1265+
"encryptionConfiguration":{"shape":"EncryptionConfiguration"}
11011266
},
11021267
"documentation":"<p>Update Blueprint Request</p>"
11031268
},
@@ -1126,7 +1291,8 @@
11261291
"projectDescription":{"shape":"DataAutomationProjectDescription"},
11271292
"standardOutputConfiguration":{"shape":"StandardOutputConfiguration"},
11281293
"customOutputConfiguration":{"shape":"CustomOutputConfiguration"},
1129-
"overrideConfiguration":{"shape":"OverrideConfiguration"}
1294+
"overrideConfiguration":{"shape":"OverrideConfiguration"},
1295+
"encryptionConfiguration":{"shape":"EncryptionConfiguration"}
11301296
},
11311297
"documentation":"<p>Update DataAutomationProject Request</p>"
11321298
},
@@ -1192,7 +1358,8 @@
11921358
"enum":[
11931359
"CONTENT_MODERATION",
11941360
"TEXT_DETECTION",
1195-
"TRANSCRIPT"
1361+
"TRANSCRIPT",
1362+
"LOGOS"
11961363
]
11971364
},
11981365
"VideoExtractionCategoryTypes":{
@@ -1225,8 +1392,8 @@
12251392
"type":"string",
12261393
"enum":[
12271394
"VIDEO_SUMMARY",
1228-
"SCENE_SUMMARY",
1229-
"IAB"
1395+
"IAB",
1396+
"CHAPTER_SUMMARY"
12301397
]
12311398
},
12321399
"VideoStandardGenerativeFieldTypes":{

0 commit comments

Comments
 (0)