Skip to content

Commit da8784a

Browse files
Updated API models and rebuilt service gems.
1 parent e0ee8b9 commit da8784a

File tree

185 files changed

+6348
-4907
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+6348
-4907
lines changed

apis/bedrock-runtime/2023-09-30/api-2.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,24 @@
7777
{"shape":"ModelErrorException"}
7878
]
7979
},
80+
"CountTokens":{
81+
"name":"CountTokens",
82+
"http":{
83+
"method":"POST",
84+
"requestUri":"/model/{modelId}/count-tokens",
85+
"responseCode":200
86+
},
87+
"input":{"shape":"CountTokensRequest"},
88+
"output":{"shape":"CountTokensResponse"},
89+
"errors":[
90+
{"shape":"AccessDeniedException"},
91+
{"shape":"ResourceNotFoundException"},
92+
{"shape":"ThrottlingException"},
93+
{"shape":"InternalServerException"},
94+
{"shape":"ServiceUnavailableException"},
95+
{"shape":"ValidationException"}
96+
]
97+
},
8098
"GetAsyncInvoke":{
8199
"name":"GetAsyncInvoke",
82100
"http":{
@@ -698,13 +716,50 @@
698716
"promptRouter":{"shape":"PromptRouterTrace"}
699717
}
700718
},
719+
"ConverseTokensRequest":{
720+
"type":"structure",
721+
"members":{
722+
"messages":{"shape":"Messages"},
723+
"system":{"shape":"SystemContentBlocks"}
724+
}
725+
},
701726
"ConverseTrace":{
702727
"type":"structure",
703728
"members":{
704729
"guardrail":{"shape":"GuardrailTraceAssessment"},
705730
"promptRouter":{"shape":"PromptRouterTrace"}
706731
}
707732
},
733+
"CountTokensInput":{
734+
"type":"structure",
735+
"members":{
736+
"invokeModel":{"shape":"InvokeModelTokensRequest"},
737+
"converse":{"shape":"ConverseTokensRequest"}
738+
},
739+
"union":true
740+
},
741+
"CountTokensRequest":{
742+
"type":"structure",
743+
"required":[
744+
"modelId",
745+
"input"
746+
],
747+
"members":{
748+
"modelId":{
749+
"shape":"FoundationModelVersionIdentifier",
750+
"location":"uri",
751+
"locationName":"modelId"
752+
},
753+
"input":{"shape":"CountTokensInput"}
754+
}
755+
},
756+
"CountTokensResponse":{
757+
"type":"structure",
758+
"required":["inputTokens"],
759+
"members":{
760+
"inputTokens":{"shape":"Integer"}
761+
}
762+
},
708763
"Document":{
709764
"type":"structure",
710765
"members":{
@@ -838,6 +893,12 @@
838893
"type":"blob",
839894
"min":1
840895
},
896+
"FoundationModelVersionIdentifier":{
897+
"type":"string",
898+
"max":256,
899+
"min":1,
900+
"pattern":"[a-zA-Z_\\.\\-/0-9:]+"
901+
},
841902
"GetAsyncInvokeRequest":{
842903
"type":"structure",
843904
"required":["invocationArn"],
@@ -1749,6 +1810,10 @@
17491810
"max":1,
17501811
"min":0
17511812
},
1813+
"Integer":{
1814+
"type":"integer",
1815+
"box":true
1816+
},
17521817
"InternalServerException":{
17531818
"type":"structure",
17541819
"members":{
@@ -1834,6 +1899,13 @@
18341899
},
18351900
"payload":"body"
18361901
},
1902+
"InvokeModelTokensRequest":{
1903+
"type":"structure",
1904+
"required":["body"],
1905+
"members":{
1906+
"body":{"shape":"Body"}
1907+
}
1908+
},
18371909
"InvokeModelWithBidirectionalStreamInput":{
18381910
"type":"structure",
18391911
"members":{

apis/bedrock-runtime/2023-09-30/docs-2.json

Lines changed: 53 additions & 9 deletions
Large diffs are not rendered by default.

apis/billing/2023-09-07/api-2.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,7 @@
568568
},
569569
"TagResourceResponse":{
570570
"type":"structure",
571-
"members":{
572-
}
571+
"members":{}
573572
},
574573
"TagValues":{
575574
"type":"structure",
@@ -604,8 +603,7 @@
604603
},
605604
"UntagResourceResponse":{
606605
"type":"structure",
607-
"members":{
608-
}
606+
"members":{}
609607
},
610608
"UpdateBillingViewRequest":{
611609
"type":"structure",

apis/billing/2023-09-07/docs-2.json

Lines changed: 33 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@
1616
"shapes": {
1717
"AccessDeniedException": {
1818
"base": "<p>You don't have sufficient access to perform this action.</p>",
19-
"refs": {
20-
}
19+
"refs": {}
2120
},
2221
"AccountId": {
2322
"base": null,
2423
"refs": {
25-
"BillingViewElement$ownerAccountId": "<p> The list of owners of the billing view. </p>",
24+
"BillingViewElement$ownerAccountId": "<p>The account owner of the billing view. </p>",
2625
"BillingViewListElement$ownerAccountId": "<p> The list of owners of the Billing view. </p>",
2726
"ListBillingViewsRequest$ownerAccountId": "<p> The list of owners of the billing view. </p>"
2827
}
@@ -85,7 +84,7 @@
8584
"BillingViewName": {
8685
"base": null,
8786
"refs": {
88-
"BillingViewElement$name": "<p> A list of names of the billing view. </p>",
87+
"BillingViewElement$name": "<p> The account name of the billing view. </p>",
8988
"BillingViewListElement$name": "<p> A list of names of the Billing view. </p>",
9089
"CreateBillingViewRequest$name": "<p> The name of the billing view. </p>",
9190
"UpdateBillingViewRequest$name": "<p> The name of the billing view. </p>"
@@ -127,28 +126,23 @@
127126
},
128127
"ConflictException": {
129128
"base": "<p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>",
130-
"refs": {
131-
}
129+
"refs": {}
132130
},
133131
"CreateBillingViewRequest": {
134132
"base": null,
135-
"refs": {
136-
}
133+
"refs": {}
137134
},
138135
"CreateBillingViewResponse": {
139136
"base": null,
140-
"refs": {
141-
}
137+
"refs": {}
142138
},
143139
"DeleteBillingViewRequest": {
144140
"base": null,
145-
"refs": {
146-
}
141+
"refs": {}
147142
},
148143
"DeleteBillingViewResponse": {
149144
"base": null,
150-
"refs": {
151-
}
145+
"refs": {}
152146
},
153147
"Dimension": {
154148
"base": null,
@@ -176,11 +170,11 @@
176170
}
177171
},
178172
"Expression": {
179-
"base": "<p> See <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>",
173+
"base": "<p> See <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html\">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>",
180174
"refs": {
181-
"BillingViewElement$dataFilterExpression": "<p> See <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>",
182-
"CreateBillingViewRequest$dataFilterExpression": "<p> See <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>",
183-
"UpdateBillingViewRequest$dataFilterExpression": "<p>See <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>"
175+
"BillingViewElement$dataFilterExpression": "<p> See <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html\">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>",
176+
"CreateBillingViewRequest$dataFilterExpression": "<p> See <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html\">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>",
177+
"UpdateBillingViewRequest$dataFilterExpression": "<p>See <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html\">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>"
184178
}
185179
},
186180
"FieldName": {
@@ -191,58 +185,47 @@
191185
},
192186
"GetBillingViewRequest": {
193187
"base": null,
194-
"refs": {
195-
}
188+
"refs": {}
196189
},
197190
"GetBillingViewResponse": {
198191
"base": null,
199-
"refs": {
200-
}
192+
"refs": {}
201193
},
202194
"GetResourcePolicyRequest": {
203195
"base": null,
204-
"refs": {
205-
}
196+
"refs": {}
206197
},
207198
"GetResourcePolicyResponse": {
208199
"base": null,
209-
"refs": {
210-
}
200+
"refs": {}
211201
},
212202
"InternalServerException": {
213203
"base": "<p>The request processing failed because of an unknown error, exception, or failure. </p>",
214-
"refs": {
215-
}
204+
"refs": {}
216205
},
217206
"ListBillingViewsRequest": {
218207
"base": null,
219-
"refs": {
220-
}
208+
"refs": {}
221209
},
222210
"ListBillingViewsResponse": {
223211
"base": null,
224-
"refs": {
225-
}
212+
"refs": {}
226213
},
227214
"ListSourceViewsForBillingViewRequest": {
228215
"base": null,
229-
"refs": {
230-
}
216+
"refs": {}
231217
},
232218
"ListSourceViewsForBillingViewResponse": {
233219
"base": null,
234-
"refs": {
235-
}
220+
"refs": {}
236221
},
237222
"ListTagsForResourceRequest": {
238223
"base": null,
239-
"refs": {
240-
}
224+
"refs": {}
241225
},
242226
"ListTagsForResourceResponse": {
243227
"base": null,
244-
"refs": {
245-
}
228+
"refs": {}
246229
},
247230
"PageToken": {
248231
"base": null,
@@ -285,8 +268,7 @@
285268
},
286269
"ResourceNotFoundException": {
287270
"base": "<p> The specified ARN in the request doesn't exist. </p>",
288-
"refs": {
289-
}
271+
"refs": {}
290272
},
291273
"ResourceTag": {
292274
"base": "<p> The tag structure that contains a tag key and value. </p>",
@@ -337,8 +319,7 @@
337319
},
338320
"ServiceQuotaExceededException": {
339321
"base": "<p> You've reached the limit of resources you can create, or exceeded the size of an individual resource. </p>",
340-
"refs": {
341-
}
322+
"refs": {}
342323
},
343324
"TagKey": {
344325
"base": null,
@@ -348,13 +329,11 @@
348329
},
349330
"TagResourceRequest": {
350331
"base": null,
351-
"refs": {
352-
}
332+
"refs": {}
353333
},
354334
"TagResourceResponse": {
355335
"base": null,
356-
"refs": {
357-
}
336+
"refs": {}
358337
},
359338
"TagValues": {
360339
"base": "<p> The values that are available for a tag. </p>",
@@ -364,8 +343,7 @@
364343
},
365344
"ThrottlingException": {
366345
"base": "<p>The request was denied due to request throttling. </p>",
367-
"refs": {
368-
}
346+
"refs": {}
369347
},
370348
"Timestamp": {
371349
"base": null,
@@ -380,28 +358,23 @@
380358
},
381359
"UntagResourceRequest": {
382360
"base": null,
383-
"refs": {
384-
}
361+
"refs": {}
385362
},
386363
"UntagResourceResponse": {
387364
"base": null,
388-
"refs": {
389-
}
365+
"refs": {}
390366
},
391367
"UpdateBillingViewRequest": {
392368
"base": null,
393-
"refs": {
394-
}
369+
"refs": {}
395370
},
396371
"UpdateBillingViewResponse": {
397372
"base": null,
398-
"refs": {
399-
}
373+
"refs": {}
400374
},
401375
"ValidationException": {
402376
"base": "<p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>",
403-
"refs": {
404-
}
377+
"refs": {}
405378
},
406379
"ValidationExceptionField": {
407380
"base": "<p>The field's information of a request that resulted in an exception. </p>",

0 commit comments

Comments
 (0)