Skip to content

Commit addbf53

Browse files
Update API model
1 parent 74f407a commit addbf53

File tree

8 files changed

+1365
-30
lines changed

8 files changed

+1365
-30
lines changed

tools/code-generation/smithy/api-descriptions/bedrock-data-automation-runtime.json

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,20 @@
712712
}
713713
}
714714
},
715+
"com.amazonaws.bedrockdataautomationruntime#AssetProcessingConfiguration": {
716+
"type": "structure",
717+
"members": {
718+
"video": {
719+
"target": "com.amazonaws.bedrockdataautomationruntime#VideoAssetProcessingConfiguration",
720+
"traits": {
721+
"smithy.api#documentation": "Video asset processing configuration"
722+
}
723+
}
724+
},
725+
"traits": {
726+
"smithy.api#documentation": "Config containing asset processing related knobs for all modalities"
727+
}
728+
},
715729
"com.amazonaws.bedrockdataautomationruntime#AutomationJobResource": {
716730
"type": "resource",
717731
"identifiers": {
@@ -1089,6 +1103,12 @@
10891103
"smithy.api#documentation": "S3 uri.",
10901104
"smithy.api#required": {}
10911105
}
1106+
},
1107+
"assetProcessingConfiguration": {
1108+
"target": "com.amazonaws.bedrockdataautomationruntime#AssetProcessingConfiguration",
1109+
"traits": {
1110+
"smithy.api#documentation": "Asset processing configuration"
1111+
}
10921112
}
10931113
},
10941114
"traits": {
@@ -1525,6 +1545,34 @@
15251545
"smithy.api#httpError": 429
15261546
}
15271547
},
1548+
"com.amazonaws.bedrockdataautomationruntime#TimestampSegment": {
1549+
"type": "structure",
1550+
"members": {
1551+
"startTimeMillis": {
1552+
"target": "smithy.api#Long",
1553+
"traits": {
1554+
"smithy.api#documentation": "Start timestamp in milliseconds",
1555+
"smithy.api#range": {
1556+
"min": 0
1557+
},
1558+
"smithy.api#required": {}
1559+
}
1560+
},
1561+
"endTimeMillis": {
1562+
"target": "smithy.api#Long",
1563+
"traits": {
1564+
"smithy.api#documentation": "End timestamp in milliseconds",
1565+
"smithy.api#range": {
1566+
"min": 300000
1567+
},
1568+
"smithy.api#required": {}
1569+
}
1570+
}
1571+
},
1572+
"traits": {
1573+
"smithy.api#documentation": "Timestamp segment"
1574+
}
1575+
},
15281576
"com.amazonaws.bedrockdataautomationruntime#UntagResource": {
15291577
"type": "operation",
15301578
"input": {
@@ -1593,6 +1641,34 @@
15931641
"smithy.api#error": "client",
15941642
"smithy.api#httpError": 400
15951643
}
1644+
},
1645+
"com.amazonaws.bedrockdataautomationruntime#VideoAssetProcessingConfiguration": {
1646+
"type": "structure",
1647+
"members": {
1648+
"segmentConfiguration": {
1649+
"target": "com.amazonaws.bedrockdataautomationruntime#VideoSegmentConfiguration",
1650+
"traits": {
1651+
"smithy.api#documentation": "Delimits the segment of the input that will be processed"
1652+
}
1653+
}
1654+
},
1655+
"traits": {
1656+
"smithy.api#documentation": "Video asset processing configuration"
1657+
}
1658+
},
1659+
"com.amazonaws.bedrockdataautomationruntime#VideoSegmentConfiguration": {
1660+
"type": "union",
1661+
"members": {
1662+
"timestampSegment": {
1663+
"target": "com.amazonaws.bedrockdataautomationruntime#TimestampSegment",
1664+
"traits": {
1665+
"smithy.api#documentation": "Timestamp segment"
1666+
}
1667+
}
1668+
},
1669+
"traits": {
1670+
"smithy.api#documentation": "Delimits the segment of the input that will be processed"
1671+
}
15961672
}
15971673
}
15981674
}

tools/code-generation/smithy/api-descriptions/bedrock-data-automation.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,6 +3022,12 @@
30223022
"traits": {
30233023
"smithy.api#enumValue": "AUDIO"
30243024
}
3025+
},
3026+
"VIDEO": {
3027+
"target": "smithy.api#Unit",
3028+
"traits": {
3029+
"smithy.api#enumValue": "VIDEO"
3030+
}
30253031
}
30263032
},
30273033
"traits": {

0 commit comments

Comments
 (0)