Skip to content

Commit e10c7ee

Browse files
Updated API models and rebuilt service gems.
1 parent fe91026 commit e10c7ee

File tree

106 files changed

+7291
-3160
lines changed

Some content is hidden

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

106 files changed

+7291
-3160
lines changed

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

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
"members":{
130130
"text":{"shape":"String"},
131131
"image":{"shape":"ImageBlock"},
132+
"document":{"shape":"DocumentBlock"},
132133
"toolUse":{"shape":"ToolUseBlock"},
133134
"toolResult":{"shape":"ToolResultBlock"},
134135
"guardContent":{"shape":"GuardrailConverseContentBlock"}
@@ -355,6 +356,49 @@
355356
},
356357
"document":true
357358
},
359+
"DocumentBlock":{
360+
"type":"structure",
361+
"required":[
362+
"format",
363+
"name",
364+
"source"
365+
],
366+
"members":{
367+
"format":{"shape":"DocumentFormat"},
368+
"name":{"shape":"DocumentBlockNameString"},
369+
"source":{"shape":"DocumentSource"}
370+
}
371+
},
372+
"DocumentBlockNameString":{
373+
"type":"string",
374+
"max":64,
375+
"min":1
376+
},
377+
"DocumentFormat":{
378+
"type":"string",
379+
"enum":[
380+
"pdf",
381+
"csv",
382+
"doc",
383+
"docx",
384+
"xls",
385+
"xlsx",
386+
"html",
387+
"txt",
388+
"md"
389+
]
390+
},
391+
"DocumentSource":{
392+
"type":"structure",
393+
"members":{
394+
"bytes":{"shape":"DocumentSourceBytesBlob"}
395+
},
396+
"union":true
397+
},
398+
"DocumentSourceBytesBlob":{
399+
"type":"blob",
400+
"min":1
401+
},
358402
"GuardrailAssessment":{
359403
"type":"structure",
360404
"members":{
@@ -1143,7 +1187,8 @@
11431187
"members":{
11441188
"json":{"shape":"Document"},
11451189
"text":{"shape":"String"},
1146-
"image":{"shape":"ImageBlock"}
1190+
"image":{"shape":"ImageBlock"},
1191+
"document":{"shape":"DocumentBlock"}
11471192
},
11481193
"union":true
11491194
},

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,37 @@
187187
"ToolUseBlock$input": "<p>The input to pass to the tool. </p>"
188188
}
189189
},
190+
"DocumentBlock": {
191+
"base": "<p>A document to include in a message when sending a <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> request. You can include up to 5 documents in a request. The maximum document size is 50 MB.</p>",
192+
"refs": {
193+
"ContentBlock$document": "<p>A document to include in the message.</p>",
194+
"ToolResultContentBlock$document": "<p>A tool result that is a document.</p>"
195+
}
196+
},
197+
"DocumentBlockNameString": {
198+
"base": null,
199+
"refs": {
200+
"DocumentBlock$name": "<p>A name for the document.</p>"
201+
}
202+
},
203+
"DocumentFormat": {
204+
"base": null,
205+
"refs": {
206+
"DocumentBlock$format": "<p>The format of a document, or its extension.</p>"
207+
}
208+
},
209+
"DocumentSource": {
210+
"base": "<p>Contains the content of the document included in a message when sending a <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> request or in the response.</p>",
211+
"refs": {
212+
"DocumentBlock$source": "<p>Contains the content of the document.</p>"
213+
}
214+
},
215+
"DocumentSourceBytesBlob": {
216+
"base": null,
217+
"refs": {
218+
"DocumentSource$bytes": "<p>A base64-encoded string of a UTF-8 encoded file, that is the document to include in the message.</p>"
219+
}
220+
},
190221
"GuardrailAssessment": {
191222
"base": "<p>A behavior assessment of the guardrail policies used in a call to the Converse API. </p>",
192223
"refs": {

apis/codeartifact/2018-09-22/api-2.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"endpointPrefix":"codeartifact",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"CodeArtifact",
910
"serviceId":"codeartifact",
1011
"signatureVersion":"v4",
1112
"signingName":"codeartifact",
12-
"uid":"codeartifact-2018-09-22"
13+
"uid":"codeartifact-2018-09-22",
14+
"auth":["aws.auth#sigv4"]
1315
},
1416
"operations":{
1517
"AssociateExternalConnection":{
@@ -2621,7 +2623,8 @@
26212623
"nuget",
26222624
"generic",
26232625
"ruby",
2624-
"swift"
2626+
"swift",
2627+
"cargo"
26252628
]
26262629
},
26272630
"PackageGroupAllowedRepository":{

apis/codeartifact/2018-09-22/docs-2.json

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

0 commit comments

Comments
 (0)