Skip to content

Commit 0f95565

Browse files
Add AssetProcessingConfiguration for video segment to InputConfiguration
1 parent fba95e8 commit 0f95565

14 files changed

+727
-23
lines changed

generator/ServiceModels/bedrock-data-automation-runtime/bedrock-data-automation-runtime-2024-06-13.api.json

Lines changed: 53 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"input":{"shape":"GetDataAutomationStatusRequest"},
2525
"output":{"shape":"GetDataAutomationStatusResponse"},
2626
"errors":[
27-
{"shape":"AccessDeniedException"},
2827
{"shape":"ValidationException"},
28+
{"shape":"AccessDeniedException"},
2929
{"shape":"InternalServerException"},
3030
{"shape":"ThrottlingException"},
3131
{"shape":"ResourceNotFoundException"}
@@ -41,8 +41,8 @@
4141
"output":{"shape":"InvokeDataAutomationAsyncResponse"},
4242
"errors":[
4343
{"shape":"ServiceQuotaExceededException"},
44-
{"shape":"AccessDeniedException"},
4544
{"shape":"ValidationException"},
45+
{"shape":"AccessDeniedException"},
4646
{"shape":"InternalServerException"},
4747
{"shape":"ThrottlingException"}
4848
],
@@ -57,11 +57,11 @@
5757
"input":{"shape":"ListTagsForResourceRequest"},
5858
"output":{"shape":"ListTagsForResourceResponse"},
5959
"errors":[
60-
{"shape":"AccessDeniedException"},
6160
{"shape":"ValidationException"},
61+
{"shape":"AccessDeniedException"},
6262
{"shape":"InternalServerException"},
63-
{"shape":"ThrottlingException"},
64-
{"shape":"ResourceNotFoundException"}
63+
{"shape":"ResourceNotFoundException"},
64+
{"shape":"ThrottlingException"}
6565
]
6666
},
6767
"TagResource":{
@@ -74,11 +74,11 @@
7474
"output":{"shape":"TagResourceResponse"},
7575
"errors":[
7676
{"shape":"ServiceQuotaExceededException"},
77-
{"shape":"AccessDeniedException"},
7877
{"shape":"ValidationException"},
78+
{"shape":"AccessDeniedException"},
7979
{"shape":"InternalServerException"},
80-
{"shape":"ThrottlingException"},
81-
{"shape":"ResourceNotFoundException"}
80+
{"shape":"ResourceNotFoundException"},
81+
{"shape":"ThrottlingException"}
8282
]
8383
},
8484
"UntagResource":{
@@ -90,11 +90,11 @@
9090
"input":{"shape":"UntagResourceRequest"},
9191
"output":{"shape":"UntagResourceResponse"},
9292
"errors":[
93-
{"shape":"AccessDeniedException"},
9493
{"shape":"ValidationException"},
94+
{"shape":"AccessDeniedException"},
9595
{"shape":"InternalServerException"},
96-
{"shape":"ThrottlingException"},
97-
{"shape":"ResourceNotFoundException"}
96+
{"shape":"ResourceNotFoundException"},
97+
{"shape":"ThrottlingException"}
9898
]
9999
}
100100
},
@@ -106,6 +106,12 @@
106106
},
107107
"exception":true
108108
},
109+
"AssetProcessingConfiguration":{
110+
"type":"structure",
111+
"members":{
112+
"video":{"shape":"VideoAssetProcessingConfiguration"}
113+
}
114+
},
109115
"AutomationJobStatus":{
110116
"type":"string",
111117
"enum":[
@@ -241,7 +247,8 @@
241247
"type":"structure",
242248
"required":["s3Uri"],
243249
"members":{
244-
"s3Uri":{"shape":"S3Uri"}
250+
"s3Uri":{"shape":"S3Uri"},
251+
"assetProcessingConfiguration":{"shape":"AssetProcessingConfiguration"}
245252
}
246253
},
247254
"InternalServerException":{
@@ -409,6 +416,27 @@
409416
},
410417
"exception":true
411418
},
419+
"TimestampSegment":{
420+
"type":"structure",
421+
"required":[
422+
"startTimeMillis",
423+
"endTimeMillis"
424+
],
425+
"members":{
426+
"startTimeMillis":{"shape":"TimestampSegmentStartTimeMillisLong"},
427+
"endTimeMillis":{"shape":"TimestampSegmentEndTimeMillisLong"}
428+
}
429+
},
430+
"TimestampSegmentEndTimeMillisLong":{
431+
"type":"long",
432+
"box":true,
433+
"min":300000
434+
},
435+
"TimestampSegmentStartTimeMillisLong":{
436+
"type":"long",
437+
"box":true,
438+
"min":0
439+
},
412440
"UntagResourceRequest":{
413441
"type":"structure",
414442
"required":[
@@ -431,6 +459,19 @@
431459
"message":{"shape":"NonBlankString"}
432460
},
433461
"exception":true
462+
},
463+
"VideoAssetProcessingConfiguration":{
464+
"type":"structure",
465+
"members":{
466+
"segmentConfiguration":{"shape":"VideoSegmentConfiguration"}
467+
}
468+
},
469+
"VideoSegmentConfiguration":{
470+
"type":"structure",
471+
"members":{
472+
"timestampSegment":{"shape":"TimestampSegment"}
473+
},
474+
"union":true
434475
}
435476
}
436477
}

generator/ServiceModels/bedrock-data-automation-runtime/bedrock-data-automation-runtime-2024-06-13.docs.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
"refs": {
1515
}
1616
},
17+
"AssetProcessingConfiguration": {
18+
"base": "<p>Config containing asset processing related knobs for all modalities</p>",
19+
"refs": {
20+
"InputConfiguration$assetProcessingConfiguration": "<p>Asset processing configuration</p>"
21+
}
22+
},
1723
"AutomationJobStatus": {
1824
"base": "<p>List of status supported by automation jobs</p>",
1925
"refs": {
@@ -274,6 +280,24 @@
274280
"refs": {
275281
}
276282
},
283+
"TimestampSegment": {
284+
"base": "<p>Timestamp segment</p>",
285+
"refs": {
286+
"VideoSegmentConfiguration$timestampSegment": "<p>Timestamp segment</p>"
287+
}
288+
},
289+
"TimestampSegmentEndTimeMillisLong": {
290+
"base": null,
291+
"refs": {
292+
"TimestampSegment$endTimeMillis": "<p>End timestamp in milliseconds</p>"
293+
}
294+
},
295+
"TimestampSegmentStartTimeMillisLong": {
296+
"base": null,
297+
"refs": {
298+
"TimestampSegment$startTimeMillis": "<p>Start timestamp in milliseconds</p>"
299+
}
300+
},
277301
"UntagResourceRequest": {
278302
"base": null,
279303
"refs": {
@@ -288,6 +312,18 @@
288312
"base": "<p>This exception will be thrown when customer provided invalid parameters.</p>",
289313
"refs": {
290314
}
315+
},
316+
"VideoAssetProcessingConfiguration": {
317+
"base": "<p>Video asset processing configuration</p>",
318+
"refs": {
319+
"AssetProcessingConfiguration$video": "<p>Video asset processing configuration</p>"
320+
}
321+
},
322+
"VideoSegmentConfiguration": {
323+
"base": "<p>Delimits the segment of the input that will be processed</p>",
324+
"refs": {
325+
"VideoAssetProcessingConfiguration$segmentConfiguration": "<p>Delimits the segment of the input that will be processed</p>"
326+
}
291327
}
292328
}
293329
}

generator/ServiceModels/bedrock-data-automation-runtime/bedrock-data-automation-runtime-2024-06-13.normal.json

Lines changed: 74 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"input":{"shape":"GetDataAutomationStatusRequest"},
2525
"output":{"shape":"GetDataAutomationStatusResponse"},
2626
"errors":[
27-
{"shape":"AccessDeniedException"},
2827
{"shape":"ValidationException"},
28+
{"shape":"AccessDeniedException"},
2929
{"shape":"InternalServerException"},
3030
{"shape":"ThrottlingException"},
3131
{"shape":"ResourceNotFoundException"}
@@ -42,8 +42,8 @@
4242
"output":{"shape":"InvokeDataAutomationAsyncResponse"},
4343
"errors":[
4444
{"shape":"ServiceQuotaExceededException"},
45-
{"shape":"AccessDeniedException"},
4645
{"shape":"ValidationException"},
46+
{"shape":"AccessDeniedException"},
4747
{"shape":"InternalServerException"},
4848
{"shape":"ThrottlingException"}
4949
],
@@ -59,11 +59,11 @@
5959
"input":{"shape":"ListTagsForResourceRequest"},
6060
"output":{"shape":"ListTagsForResourceResponse"},
6161
"errors":[
62-
{"shape":"AccessDeniedException"},
6362
{"shape":"ValidationException"},
63+
{"shape":"AccessDeniedException"},
6464
{"shape":"InternalServerException"},
65-
{"shape":"ThrottlingException"},
66-
{"shape":"ResourceNotFoundException"}
65+
{"shape":"ResourceNotFoundException"},
66+
{"shape":"ThrottlingException"}
6767
],
6868
"documentation":"<p>List tags for an Amazon Bedrock Data Automation resource</p>"
6969
},
@@ -77,11 +77,11 @@
7777
"output":{"shape":"TagResourceResponse"},
7878
"errors":[
7979
{"shape":"ServiceQuotaExceededException"},
80-
{"shape":"AccessDeniedException"},
8180
{"shape":"ValidationException"},
81+
{"shape":"AccessDeniedException"},
8282
{"shape":"InternalServerException"},
83-
{"shape":"ThrottlingException"},
84-
{"shape":"ResourceNotFoundException"}
83+
{"shape":"ResourceNotFoundException"},
84+
{"shape":"ThrottlingException"}
8585
],
8686
"documentation":"<p>Tag an Amazon Bedrock Data Automation resource</p>"
8787
},
@@ -94,11 +94,11 @@
9494
"input":{"shape":"UntagResourceRequest"},
9595
"output":{"shape":"UntagResourceResponse"},
9696
"errors":[
97-
{"shape":"AccessDeniedException"},
9897
{"shape":"ValidationException"},
98+
{"shape":"AccessDeniedException"},
9999
{"shape":"InternalServerException"},
100-
{"shape":"ThrottlingException"},
101-
{"shape":"ResourceNotFoundException"}
100+
{"shape":"ResourceNotFoundException"},
101+
{"shape":"ThrottlingException"}
102102
],
103103
"documentation":"<p>Untag an Amazon Bedrock Data Automation resource</p>"
104104
}
@@ -112,6 +112,16 @@
112112
"documentation":"<p>This exception will be thrown when customer does not have access to API.</p>",
113113
"exception":true
114114
},
115+
"AssetProcessingConfiguration":{
116+
"type":"structure",
117+
"members":{
118+
"video":{
119+
"shape":"VideoAssetProcessingConfiguration",
120+
"documentation":"<p>Video asset processing configuration</p>"
121+
}
122+
},
123+
"documentation":"<p>Config containing asset processing related knobs for all modalities</p>"
124+
},
115125
"AutomationJobStatus":{
116126
"type":"string",
117127
"documentation":"<p>List of status supported by automation jobs</p>",
@@ -309,6 +319,10 @@
309319
"s3Uri":{
310320
"shape":"S3Uri",
311321
"documentation":"<p>S3 uri.</p>"
322+
},
323+
"assetProcessingConfiguration":{
324+
"shape":"AssetProcessingConfiguration",
325+
"documentation":"<p>Asset processing configuration</p>"
312326
}
313327
},
314328
"documentation":"<p>Input configuration.</p>"
@@ -528,6 +542,34 @@
528542
"documentation":"<p>This exception will be thrown when customer reached API TPS limit.</p>",
529543
"exception":true
530544
},
545+
"TimestampSegment":{
546+
"type":"structure",
547+
"required":[
548+
"startTimeMillis",
549+
"endTimeMillis"
550+
],
551+
"members":{
552+
"startTimeMillis":{
553+
"shape":"TimestampSegmentStartTimeMillisLong",
554+
"documentation":"<p>Start timestamp in milliseconds</p>"
555+
},
556+
"endTimeMillis":{
557+
"shape":"TimestampSegmentEndTimeMillisLong",
558+
"documentation":"<p>End timestamp in milliseconds</p>"
559+
}
560+
},
561+
"documentation":"<p>Timestamp segment</p>"
562+
},
563+
"TimestampSegmentEndTimeMillisLong":{
564+
"type":"long",
565+
"box":true,
566+
"min":300000
567+
},
568+
"TimestampSegmentStartTimeMillisLong":{
569+
"type":"long",
570+
"box":true,
571+
"min":0
572+
},
531573
"UntagResourceRequest":{
532574
"type":"structure",
533575
"required":[
@@ -551,6 +593,27 @@
551593
},
552594
"documentation":"<p>This exception will be thrown when customer provided invalid parameters.</p>",
553595
"exception":true
596+
},
597+
"VideoAssetProcessingConfiguration":{
598+
"type":"structure",
599+
"members":{
600+
"segmentConfiguration":{
601+
"shape":"VideoSegmentConfiguration",
602+
"documentation":"<p>Delimits the segment of the input that will be processed</p>"
603+
}
604+
},
605+
"documentation":"<p>Video asset processing configuration</p>"
606+
},
607+
"VideoSegmentConfiguration":{
608+
"type":"structure",
609+
"members":{
610+
"timestampSegment":{
611+
"shape":"TimestampSegment",
612+
"documentation":"<p>Timestamp segment</p>"
613+
}
614+
},
615+
"documentation":"<p>Delimits the segment of the input that will be processed</p>",
616+
"union":true
554617
}
555618
},
556619
"documentation":"<p>Amazon Bedrock Data Automation Runtime</p>"

sdk/code-analysis/ServiceAnalysis/BedrockDataAutomationRuntime/Generated/PropertyValueRules.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,12 @@
9090
<max>256</max>
9191
<pattern>([\p{L}\p{Z}\p{N}_.:/=+\-@]*)</pattern>
9292
</property-value-rule>
93+
<property-value-rule>
94+
<property>Amazon.BedrockDataAutomationRuntime.Model.TimestampSegment.EndTimeMillis</property>
95+
<min>300000</min>
96+
</property-value-rule>
97+
<property-value-rule>
98+
<property>Amazon.BedrockDataAutomationRuntime.Model.TimestampSegment.StartTimeMillis</property>
99+
<min>0</min>
100+
</property-value-rule>
93101
</property-value-rules>

0 commit comments

Comments
 (0)