Skip to content

Commit c25687b

Browse files
Update API model
1 parent 71d0432 commit c25687b

File tree

12 files changed

+4828
-156
lines changed

12 files changed

+4828
-156
lines changed

tools/code-generation/smithy/api-descriptions/auto-scaling.json

Lines changed: 307 additions & 1 deletion
Large diffs are not rendered by default.

tools/code-generation/smithy/api-descriptions/backup.json

Lines changed: 604 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,12 @@
16751675
"traits": {
16761676
"smithy.api#documentation": "<p>Model performance settings for the request.</p>"
16771677
}
1678+
},
1679+
"serviceTier": {
1680+
"target": "com.amazonaws.bedrockruntime#ServiceTier",
1681+
"traits": {
1682+
"smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>"
1683+
}
16781684
}
16791685
},
16801686
"traits": {
@@ -1729,6 +1735,12 @@
17291735
"traits": {
17301736
"smithy.api#documentation": "<p>Model performance settings for the request.</p>"
17311737
}
1738+
},
1739+
"serviceTier": {
1740+
"target": "com.amazonaws.bedrockruntime#ServiceTier",
1741+
"traits": {
1742+
"smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>"
1743+
}
17321744
}
17331745
},
17341746
"traits": {
@@ -1809,6 +1821,12 @@
18091821
"traits": {
18101822
"smithy.api#documentation": "<p>Model performance configuration metadata for the conversation stream event.</p>"
18111823
}
1824+
},
1825+
"serviceTier": {
1826+
"target": "com.amazonaws.bedrockruntime#ServiceTier",
1827+
"traits": {
1828+
"smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>"
1829+
}
18121830
}
18131831
},
18141832
"traits": {
@@ -1978,6 +1996,12 @@
19781996
"traits": {
19791997
"smithy.api#documentation": "<p>Model performance settings for the request.</p>"
19801998
}
1999+
},
2000+
"serviceTier": {
2001+
"target": "com.amazonaws.bedrockruntime#ServiceTier",
2002+
"traits": {
2003+
"smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>"
2004+
}
19812005
}
19822006
},
19832007
"traits": {
@@ -2033,6 +2057,18 @@
20332057
"traits": {
20342058
"smithy.api#documentation": "<p>The system content blocks to count tokens for. System content provides instructions or context to the model about how it should behave or respond. The token count will include any system content provided.</p>"
20352059
}
2060+
},
2061+
"toolConfig": {
2062+
"target": "com.amazonaws.bedrockruntime#ToolConfiguration",
2063+
"traits": {
2064+
"smithy.api#documentation": "<p>The toolConfig of Converse input request to count tokens for. Configuration information for the tools that the model can use when generating a response.</p>"
2065+
}
2066+
},
2067+
"additionalModelRequestFields": {
2068+
"target": "smithy.api#Document",
2069+
"traits": {
2070+
"smithy.api#documentation": "<p>The additionalModelRequestFields of Converse input request to count tokens for. Use this field when you want to pass additional parameters that the model supports.</p>"
2071+
}
20362072
}
20372073
},
20382074
"traits": {
@@ -4866,6 +4902,13 @@
48664902
"smithy.api#documentation": "<p>Model performance settings for the request.</p>",
48674903
"smithy.api#httpHeader": "X-Amzn-Bedrock-PerformanceConfig-Latency"
48684904
}
4905+
},
4906+
"serviceTier": {
4907+
"target": "com.amazonaws.bedrockruntime#ServiceTierType",
4908+
"traits": {
4909+
"smithy.api#documentation": "<p>Specifies the processing tier type used for serving the request.</p>",
4910+
"smithy.api#httpHeader": "X-Amzn-Bedrock-Service-Tier"
4911+
}
48694912
}
48704913
},
48714914
"traits": {
@@ -4897,6 +4940,13 @@
48974940
"smithy.api#documentation": "<p>Model performance settings for the request.</p>",
48984941
"smithy.api#httpHeader": "X-Amzn-Bedrock-PerformanceConfig-Latency"
48994942
}
4943+
},
4944+
"serviceTier": {
4945+
"target": "com.amazonaws.bedrockruntime#ServiceTierType",
4946+
"traits": {
4947+
"smithy.api#documentation": "<p>Specifies the processing tier type used for serving the request.</p>",
4948+
"smithy.api#httpHeader": "X-Amzn-Bedrock-Service-Tier"
4949+
}
49004950
}
49014951
},
49024952
"traits": {
@@ -5188,6 +5238,13 @@
51885238
"smithy.api#documentation": "<p>Model performance settings for the request.</p>",
51895239
"smithy.api#httpHeader": "X-Amzn-Bedrock-PerformanceConfig-Latency"
51905240
}
5241+
},
5242+
"serviceTier": {
5243+
"target": "com.amazonaws.bedrockruntime#ServiceTierType",
5244+
"traits": {
5245+
"smithy.api#documentation": "<p>Specifies the processing tier type used for serving the request.</p>",
5246+
"smithy.api#httpHeader": "X-Amzn-Bedrock-Service-Tier"
5247+
}
51915248
}
51925249
},
51935250
"traits": {
@@ -5219,6 +5276,13 @@
52195276
"smithy.api#documentation": "<p>Model performance settings for the request.</p>",
52205277
"smithy.api#httpHeader": "X-Amzn-Bedrock-PerformanceConfig-Latency"
52215278
}
5279+
},
5280+
"serviceTier": {
5281+
"target": "com.amazonaws.bedrockruntime#ServiceTierType",
5282+
"traits": {
5283+
"smithy.api#documentation": "<p>Specifies the processing tier type used for serving the request.</p>",
5284+
"smithy.api#httpHeader": "X-Amzn-Bedrock-Service-Tier"
5285+
}
52225286
}
52235287
},
52245288
"traits": {
@@ -5865,6 +5929,44 @@
58655929
"smithy.api#httpError": 400
58665930
}
58675931
},
5932+
"com.amazonaws.bedrockruntime#ServiceTier": {
5933+
"type": "structure",
5934+
"members": {
5935+
"type": {
5936+
"target": "com.amazonaws.bedrockruntime#ServiceTierType",
5937+
"traits": {
5938+
"smithy.api#documentation": "<p>Specifies the processing tier type used for serving the request.</p>",
5939+
"smithy.api#required": {}
5940+
}
5941+
}
5942+
},
5943+
"traits": {
5944+
"smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>"
5945+
}
5946+
},
5947+
"com.amazonaws.bedrockruntime#ServiceTierType": {
5948+
"type": "enum",
5949+
"members": {
5950+
"PRIORITY": {
5951+
"target": "smithy.api#Unit",
5952+
"traits": {
5953+
"smithy.api#enumValue": "priority"
5954+
}
5955+
},
5956+
"DEFAULT": {
5957+
"target": "smithy.api#Unit",
5958+
"traits": {
5959+
"smithy.api#enumValue": "default"
5960+
}
5961+
},
5962+
"FLEX": {
5963+
"target": "smithy.api#Unit",
5964+
"traits": {
5965+
"smithy.api#enumValue": "flex"
5966+
}
5967+
}
5968+
}
5969+
},
58685970
"com.amazonaws.bedrockruntime#ServiceUnavailableException": {
58695971
"type": "structure",
58705972
"members": {

0 commit comments

Comments
 (0)