Skip to content

Commit 4585a04

Browse files
authored
Update services models to their latest version (#64)
* Update services models to their latest version * Add latest bedrock-runtime model changes * make changelog entries consistent with wording
1 parent bc78957 commit 4585a04

10 files changed

Lines changed: 2228 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "api-change",
3+
"description": "InvokeGuardrailChecks API evaluates prompts and responses against safety checks (content filters, prompt attacks, sensitive info) without creating guardrail resources. It's a detect-only API, returning numeric scores so you can build adaptive logic as per your application."
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "api-change",
3+
"description": "Support Request Metadata for Invoke Model and Invoke Model with Response Stream."
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "api-change",
3+
"description": "Support system role in message."
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "api-change",
3+
"description": "Add support for MedicalScribeBinaryAudioEvent in the Medical Scribe streaming input. This new event type lets you send audio as a raw binary payload instead of a base64-encoded value"
4+
}

codegen/aws-models/bedrock-runtime.json

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

codegen/aws-models/connecthealth.json

Lines changed: 127 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,112 @@
287287
],
288288
"maxAge": 86400
289289
},
290-
"smithy.api#documentation": "<p>Health Agent for healthcare providers and patient engagement</p>",
290+
"smithy.api#documentation": "<p>Amazon Connect Health is an AI-powered healthcare service built on Amazon Connect. It provides pre-built agents that automate patient engagement workflows and support clinical documentation at the point of care.</p> <p>You can use the Amazon Connect Health API to programmatically manage domains, configure patient engagement agents, run patient insights jobs, and stream ambient documentation sessions. This API reference describes the available API operations and data types for Amazon Connect Health.</p> <p>We recommend that you use the AWS SDKs to make programmatic API calls to Amazon Connect Health.</p>",
291291
"smithy.api#title": "Connect Health",
292+
"smithy.rules#endpointBdd": {
293+
"version": "1.1",
294+
"parameters": {
295+
"UseFIPS": {
296+
"builtIn": "AWS::UseFIPS",
297+
"required": true,
298+
"default": false,
299+
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
300+
"type": "boolean"
301+
},
302+
"Endpoint": {
303+
"builtIn": "SDK::Endpoint",
304+
"required": false,
305+
"documentation": "Override the endpoint used to send this request",
306+
"type": "string"
307+
},
308+
"Region": {
309+
"builtIn": "AWS::Region",
310+
"required": false,
311+
"documentation": "The AWS region used to dispatch the request.",
312+
"type": "string"
313+
}
314+
},
315+
"conditions": [
316+
{
317+
"fn": "isSet",
318+
"argv": [
319+
{
320+
"ref": "Endpoint"
321+
}
322+
]
323+
},
324+
{
325+
"fn": "isSet",
326+
"argv": [
327+
{
328+
"ref": "Region"
329+
}
330+
]
331+
},
332+
{
333+
"fn": "aws.partition",
334+
"argv": [
335+
{
336+
"ref": "Region"
337+
}
338+
],
339+
"assign": "PartitionResult"
340+
},
341+
{
342+
"fn": "booleanEquals",
343+
"argv": [
344+
{
345+
"ref": "UseFIPS"
346+
},
347+
true
348+
]
349+
}
350+
],
351+
"results": [
352+
{
353+
"conditions": [],
354+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
355+
"type": "error"
356+
},
357+
{
358+
"conditions": [],
359+
"endpoint": {
360+
"url": {
361+
"ref": "Endpoint"
362+
},
363+
"properties": {},
364+
"headers": {}
365+
},
366+
"type": "endpoint"
367+
},
368+
{
369+
"conditions": [],
370+
"endpoint": {
371+
"url": "https://health-agent-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
372+
"properties": {},
373+
"headers": {}
374+
},
375+
"type": "endpoint"
376+
},
377+
{
378+
"conditions": [],
379+
"endpoint": {
380+
"url": "https://health-agent.{Region}.{PartitionResult#dualStackDnsSuffix}",
381+
"properties": {},
382+
"headers": {}
383+
},
384+
"type": "endpoint"
385+
},
386+
{
387+
"conditions": [],
388+
"error": "Invalid Configuration: Missing Region",
389+
"type": "error"
390+
}
391+
],
392+
"root": 2,
393+
"nodeCount": 6,
394+
"nodes": "/////wAAAAH/////AAAAAAAAAAYAAAADAAAAAQAAAAQF9eEFAAAAAgAAAAUF9eEFAAAAAwX14QMF9eEEAAAAAwX14QEF9eEC"
395+
},
292396
"smithy.rules#endpointRuleSet": {
293397
"version": "1.0",
294398
"parameters": {
@@ -2107,6 +2211,22 @@
21072211
"smithy.api#documentation": "<p>An event containing audio data for the Medical Scribe stream</p>"
21082212
}
21092213
},
2214+
"com.amazonaws.connecthealth#MedicalScribeBinaryAudioEvent": {
2215+
"type": "structure",
2216+
"members": {
2217+
"audioChunk": {
2218+
"target": "com.amazonaws.connecthealth#AudioChunk",
2219+
"traits": {
2220+
"smithy.api#documentation": "<p>The raw binary audio data chunk</p>",
2221+
"smithy.api#eventPayload": {},
2222+
"smithy.api#required": {}
2223+
}
2224+
}
2225+
},
2226+
"traits": {
2227+
"smithy.api#documentation": "<p>An event containing raw binary audio data for the Medical Scribe stream. The audio is sent as a raw binary payload rather than as a base64-encoded value.</p>"
2228+
}
2229+
},
21102230
"com.amazonaws.connecthealth#MedicalScribeChannelDefinition": {
21112231
"type": "structure",
21122232
"members": {
@@ -2186,6 +2306,12 @@
21862306
"smithy.api#documentation": "<p/>"
21872307
}
21882308
},
2309+
"binaryAudioEvent": {
2310+
"target": "com.amazonaws.connecthealth#MedicalScribeBinaryAudioEvent",
2311+
"traits": {
2312+
"smithy.api#documentation": "<p>An event containing raw binary audio data for the Medical Scribe stream. The audio is sent as a raw binary payload rather than as a base64-encoded value.</p>"
2313+
}
2314+
},
21892315
"sessionControlEvent": {
21902316
"target": "com.amazonaws.connecthealth#MedicalScribeSessionControlEvent",
21912317
"traits": {

codegen/aws-models/lex-runtime-v2.json

Lines changed: 189 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,194 @@
7575
},
7676
"smithy.api#documentation": "<p>This section contains documentation for the Amazon Lex V2 Runtime V2 API operations.</p>",
7777
"smithy.api#title": "Amazon Lex Runtime V2",
78+
"smithy.rules#endpointBdd": {
79+
"version": "1.1",
80+
"parameters": {
81+
"Region": {
82+
"builtIn": "AWS::Region",
83+
"required": false,
84+
"documentation": "The AWS region used to dispatch the request.",
85+
"type": "string"
86+
},
87+
"UseDualStack": {
88+
"builtIn": "AWS::UseDualStack",
89+
"required": true,
90+
"default": false,
91+
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
92+
"type": "boolean"
93+
},
94+
"UseFIPS": {
95+
"builtIn": "AWS::UseFIPS",
96+
"required": true,
97+
"default": false,
98+
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
99+
"type": "boolean"
100+
},
101+
"Endpoint": {
102+
"builtIn": "SDK::Endpoint",
103+
"required": false,
104+
"documentation": "Override the endpoint used to send this request",
105+
"type": "string"
106+
}
107+
},
108+
"conditions": [
109+
{
110+
"fn": "isSet",
111+
"argv": [
112+
{
113+
"ref": "Endpoint"
114+
}
115+
]
116+
},
117+
{
118+
"fn": "isSet",
119+
"argv": [
120+
{
121+
"ref": "Region"
122+
}
123+
]
124+
},
125+
{
126+
"fn": "aws.partition",
127+
"argv": [
128+
{
129+
"ref": "Region"
130+
}
131+
],
132+
"assign": "PartitionResult"
133+
},
134+
{
135+
"fn": "booleanEquals",
136+
"argv": [
137+
{
138+
"ref": "UseFIPS"
139+
},
140+
true
141+
]
142+
},
143+
{
144+
"fn": "booleanEquals",
145+
"argv": [
146+
{
147+
"ref": "UseDualStack"
148+
},
149+
true
150+
]
151+
},
152+
{
153+
"fn": "booleanEquals",
154+
"argv": [
155+
{
156+
"fn": "getAttr",
157+
"argv": [
158+
{
159+
"ref": "PartitionResult"
160+
},
161+
"supportsDualStack"
162+
]
163+
},
164+
true
165+
]
166+
},
167+
{
168+
"fn": "booleanEquals",
169+
"argv": [
170+
{
171+
"fn": "getAttr",
172+
"argv": [
173+
{
174+
"ref": "PartitionResult"
175+
},
176+
"supportsFIPS"
177+
]
178+
},
179+
true
180+
]
181+
}
182+
],
183+
"results": [
184+
{
185+
"conditions": [],
186+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
187+
"type": "error"
188+
},
189+
{
190+
"conditions": [],
191+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
192+
"type": "error"
193+
},
194+
{
195+
"conditions": [],
196+
"endpoint": {
197+
"url": {
198+
"ref": "Endpoint"
199+
},
200+
"properties": {},
201+
"headers": {}
202+
},
203+
"type": "endpoint"
204+
},
205+
{
206+
"conditions": [],
207+
"endpoint": {
208+
"url": "https://runtime-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
209+
"properties": {},
210+
"headers": {}
211+
},
212+
"type": "endpoint"
213+
},
214+
{
215+
"conditions": [],
216+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
217+
"type": "error"
218+
},
219+
{
220+
"conditions": [],
221+
"endpoint": {
222+
"url": "https://runtime-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}",
223+
"properties": {},
224+
"headers": {}
225+
},
226+
"type": "endpoint"
227+
},
228+
{
229+
"conditions": [],
230+
"error": "FIPS is enabled but this partition does not support FIPS",
231+
"type": "error"
232+
},
233+
{
234+
"conditions": [],
235+
"endpoint": {
236+
"url": "https://runtime-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}",
237+
"properties": {},
238+
"headers": {}
239+
},
240+
"type": "endpoint"
241+
},
242+
{
243+
"conditions": [],
244+
"error": "DualStack is enabled but this partition does not support DualStack",
245+
"type": "error"
246+
},
247+
{
248+
"conditions": [],
249+
"endpoint": {
250+
"url": "https://runtime-v2-lex.{Region}.{PartitionResult#dnsSuffix}",
251+
"properties": {},
252+
"headers": {}
253+
},
254+
"type": "endpoint"
255+
},
256+
{
257+
"conditions": [],
258+
"error": "Invalid Configuration: Missing Region",
259+
"type": "error"
260+
}
261+
],
262+
"root": 2,
263+
"nodeCount": 13,
264+
"nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED"
265+
},
78266
"smithy.rules#endpointRuleSet": {
79267
"version": "1.0",
80268
"parameters": {
@@ -3297,4 +3485,4 @@
32973485
}
32983486
}
32993487
}
3300-
}
3488+
}

0 commit comments

Comments
 (0)