@@ -6,14 +6,14 @@ import {
66 isValidHostname as __isValidHostname ,
77} from "@smithy/protocol-http" ;
88import {
9- _json ,
10- collectBody ,
119 decorateServiceException as __decorateServiceException ,
1210 expectBoolean as __expectBoolean ,
1311 expectLong as __expectLong ,
1412 expectString as __expectString ,
1513 limitedParseDouble as __limitedParseDouble ,
1614 serializeFloat as __serializeFloat ,
15+ _json ,
16+ collectBody ,
1717 take ,
1818 withBaseException ,
1919} from "@smithy/smithy-client" ;
@@ -3059,7 +3059,19 @@ export const de_StartLiveTailCommand = async (
30593059 if ( output . statusCode >= 300 ) {
30603060 return de_CommandError ( output , context ) ;
30613061 }
3062- const contents = { responseStream : de_StartLiveTailResponseStream ( output . body , context ) } ;
3062+
3063+ // new event stream deser paradigm
3064+ const contents : any = {
3065+ // http bindings go here, using HttpResponse.
3066+ // REST only, excludes body binding.
3067+ } ;
3068+ contents . responseStream = await context . eventStreamMarshaller . writeResponse (
3069+ contents ,
3070+ // structure deserializer
3071+ // RPC JSON, RPC CBOR only
3072+ de_StartLiveTailResponseStream ( output . body , context )
3073+ ) ;
3074+
30633075 const response : StartLiveTailCommandOutput = {
30643076 $metadata : deserializeMetadata ( output ) ,
30653077 ...contents ,
@@ -3634,7 +3646,7 @@ const de_StartLiveTailResponseStream = (
36343646 ) ,
36353647 } ;
36363648 }
3637- return { $unknown : output } ;
3649+ return { $unknown : event as any } ;
36383650 } ) ;
36393651} ;
36403652const de_LiveTailSessionStart_event = async ( output : any , context : __SerdeContext ) : Promise < LiveTailSessionStart > => {
0 commit comments