Skip to content

Commit fca10e6

Browse files
author
AWS
committed
Runtime for Amazon Bedrock Data Automation Update: Bedrock Data Automation Runtime Sync API
1 parent e21a028 commit fca10e6

File tree

3 files changed

+150
-13
lines changed

3 files changed

+150
-13
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": "Bedrock Data Automation Runtime Sync API"
6+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"pagination": {
3-
}
2+
"pagination": {}
43
}

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

Lines changed: 143 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,25 @@
3030
{"shape":"ThrottlingException"},
3131
{"shape":"ResourceNotFoundException"}
3232
],
33-
"documentation":"<p>API used to get data automation status.</p>"
33+
"documentation":"<p>API used to get data automation status.</p>",
34+
"readonly":true
35+
},
36+
"InvokeDataAutomation":{
37+
"name":"InvokeDataAutomation",
38+
"http":{
39+
"method":"POST",
40+
"requestUri":"/"
41+
},
42+
"input":{"shape":"InvokeDataAutomationRequest"},
43+
"output":{"shape":"InvokeDataAutomationResponse"},
44+
"errors":[
45+
{"shape":"ServiceUnavailableException"},
46+
{"shape":"ValidationException"},
47+
{"shape":"AccessDeniedException"},
48+
{"shape":"InternalServerException"},
49+
{"shape":"ThrottlingException"}
50+
],
51+
"documentation":"<p>Sync API: Invoke data automation.</p>"
3452
},
3553
"InvokeDataAutomationAsync":{
3654
"name":"InvokeDataAutomationAsync",
@@ -133,6 +151,7 @@
133151
"ClientError"
134152
]
135153
},
154+
"Blob":{"type":"blob"},
136155
"Blueprint":{
137156
"type":"structure",
138157
"required":["blueprintArn"],
@@ -157,7 +176,7 @@
157176
"documentation":"<p>ARN of a Blueprint</p>",
158177
"max":128,
159178
"min":0,
160-
"pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):blueprint/(bedrock-data-insights-public-[a-zA-Z0-9-_]{1,30}|bedrock-data-automation-public-[a-zA-Z0-9-_]{1,30}|[a-zA-Z0-9-]{12,36})"
179+
"pattern":"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):blueprint/(bedrock-data-insights-public-[a-zA-Z0-9-_]{1,30}|bedrock-data-automation-public-[a-zA-Z0-9-_]{1,30}|[a-zA-Z0-9-]{12,36})"
161180
},
162181
"BlueprintList":{
163182
"type":"list",
@@ -188,12 +207,20 @@
188207
"type":"boolean",
189208
"box":true
190209
},
210+
"CustomOutputStatus":{
211+
"type":"string",
212+
"documentation":"<p>Custom output status enum</p>",
213+
"enum":[
214+
"MATCH",
215+
"NO_MATCH"
216+
]
217+
},
191218
"DataAutomationArn":{
192219
"type":"string",
193220
"documentation":"<p>Data automation arn.</p>",
194221
"max":128,
195222
"min":1,
196-
"pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-project/[a-zA-Z0-9-_]+"
223+
"pattern":"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-project/[a-zA-Z0-9-_]+"
197224
},
198225
"DataAutomationConfiguration":{
199226
"type":"structure",
@@ -215,7 +242,7 @@
215242
"documentation":"<p>Data automation profile arn.</p>",
216243
"max":128,
217244
"min":1,
218-
"pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-profile/[a-zA-Z0-9-_.]+"
245+
"pattern":"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-profile/[a-zA-Z0-9-_.]+"
219246
},
220247
"DataAutomationStage":{
221248
"type":"string",
@@ -310,7 +337,7 @@
310337
"documentation":"<p>Client specified token used for idempotency checks</p>",
311338
"max":256,
312339
"min":1,
313-
"pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9])*"
340+
"pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9]){1,256}"
314341
},
315342
"InputConfiguration":{
316343
"type":"structure",
@@ -341,7 +368,7 @@
341368
"documentation":"<p>Invocation arn.</p>",
342369
"max":128,
343370
"min":1,
344-
"pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:(insights-invocation|data-automation-invocation)/[a-zA-Z0-9-_]+"
371+
"pattern":"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:data-automation-invocation/[a-zA-Z0-9-_]+"
345372
},
346373
"InvokeDataAutomationAsyncRequest":{
347374
"type":"structure",
@@ -402,6 +429,54 @@
402429
},
403430
"documentation":"<p>Invoke Data Automation Async Response</p>"
404431
},
432+
"InvokeDataAutomationRequest":{
433+
"type":"structure",
434+
"required":[
435+
"inputConfiguration",
436+
"dataAutomationProfileArn"
437+
],
438+
"members":{
439+
"inputConfiguration":{
440+
"shape":"SyncInputConfiguration",
441+
"documentation":"<p>Input configuration.</p>"
442+
},
443+
"dataAutomationConfiguration":{
444+
"shape":"DataAutomationConfiguration",
445+
"documentation":"<p>Data automation configuration.</p>"
446+
},
447+
"blueprints":{
448+
"shape":"BlueprintList",
449+
"documentation":"<p>Blueprint list.</p>"
450+
},
451+
"dataAutomationProfileArn":{
452+
"shape":"DataAutomationProfileArn",
453+
"documentation":"<p>Data automation profile ARN</p>"
454+
},
455+
"encryptionConfiguration":{
456+
"shape":"EncryptionConfiguration",
457+
"documentation":"<p>Encryption configuration.</p>"
458+
}
459+
},
460+
"documentation":"<p>Invoke Data Automation Request</p>"
461+
},
462+
"InvokeDataAutomationResponse":{
463+
"type":"structure",
464+
"required":[
465+
"semanticModality",
466+
"outputSegments"
467+
],
468+
"members":{
469+
"semanticModality":{
470+
"shape":"SemanticModality",
471+
"documentation":"<p>Detected semantic modality</p>"
472+
},
473+
"outputSegments":{
474+
"shape":"OutputSegmentList",
475+
"documentation":"<p>List of outputs for each logical sub-doc</p>"
476+
}
477+
},
478+
"documentation":"<p>Invoke Data Automation Response</p>"
479+
},
405480
"KMSKeyId":{
406481
"type":"string",
407482
"max":2048,
@@ -447,6 +522,32 @@
447522
},
448523
"documentation":"<p>Output configuration.</p>"
449524
},
525+
"OutputSegment":{
526+
"type":"structure",
527+
"members":{
528+
"customOutputStatus":{
529+
"shape":"CustomOutputStatus",
530+
"documentation":"<p>Status of blueprint match</p>"
531+
},
532+
"customOutput":{
533+
"shape":"String",
534+
"documentation":"<p>Custom output response</p>"
535+
},
536+
"standardOutput":{
537+
"shape":"String",
538+
"documentation":"<p>Standard output response</p>"
539+
}
540+
},
541+
"documentation":"<p>Results for an output segment</p>"
542+
},
543+
"OutputSegmentList":{
544+
"type":"list",
545+
"member":{
546+
"shape":"OutputSegment",
547+
"documentation":"<p>Output segment</p>"
548+
},
549+
"documentation":"<p>Output segment list</p>"
550+
},
450551
"ResourceNotFoundException":{
451552
"type":"structure",
452553
"members":{
@@ -462,6 +563,16 @@
462563
"min":1,
463564
"pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/[^\\x00-\\x1F\\x7F\\{^}%`\\]\">\\[~<#|]*)?"
464565
},
566+
"SemanticModality":{
567+
"type":"string",
568+
"documentation":"<p>Semantic modality enum</p>",
569+
"enum":[
570+
"DOCUMENT",
571+
"IMAGE",
572+
"AUDIO",
573+
"VIDEO"
574+
]
575+
},
465576
"ServiceQuotaExceededException":{
466577
"type":"structure",
467578
"members":{
@@ -470,7 +581,30 @@
470581
"documentation":"<p>This exception will be thrown when service quota is exceeded.</p>",
471582
"exception":true
472583
},
584+
"ServiceUnavailableException":{
585+
"type":"structure",
586+
"members":{
587+
"message":{"shape":"NonBlankString"}
588+
},
589+
"documentation":"<p>This exception will be thrown when service is temporarily unavailable.</p>",
590+
"exception":true,
591+
"fault":true
592+
},
473593
"String":{"type":"string"},
594+
"SyncInputConfiguration":{
595+
"type":"structure",
596+
"members":{
597+
"bytes":{
598+
"shape":"Blob",
599+
"documentation":"<p>Input data as bytes</p>"
600+
},
601+
"s3Uri":{
602+
"shape":"S3Uri",
603+
"documentation":"<p>S3 URI of the input data</p>"
604+
}
605+
},
606+
"documentation":"<p>Input configuration for synchronous API</p>"
607+
},
474608
"Tag":{
475609
"type":"structure",
476610
"required":[
@@ -517,8 +651,7 @@
517651
},
518652
"TagResourceResponse":{
519653
"type":"structure",
520-
"members":{
521-
}
654+
"members":{}
522655
},
523656
"TagValue":{
524657
"type":"string",
@@ -532,7 +665,7 @@
532665
"documentation":"<p>ARN of a taggable resource</p>",
533666
"max":1011,
534667
"min":20,
535-
"pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:data-automation-invocation/[a-zA-Z0-9-_]+"
668+
"pattern":"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:data-automation-invocation/[a-zA-Z0-9-_]+"
536669
},
537670
"ThrottlingException":{
538671
"type":"structure",
@@ -583,8 +716,7 @@
583716
},
584717
"UntagResourceResponse":{
585718
"type":"structure",
586-
"members":{
587-
}
719+
"members":{}
588720
},
589721
"ValidationException":{
590722
"type":"structure",

0 commit comments

Comments
 (0)