File tree 3 files changed +9
-0
lines changed
client-mediastore-data/protocols
3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2621,6 +2621,9 @@ export const deserializeAws_restJson1GetJobOutputCommand = async (
2621
2621
}
2622
2622
const data : any = output . body ;
2623
2623
contents . body = data ;
2624
+ if ( contents . status === undefined ) {
2625
+ contents . status = output . statusCode ;
2626
+ }
2624
2627
return Promise . resolve ( contents ) ;
2625
2628
} ;
2626
2629
Original file line number Diff line number Diff line change @@ -5420,6 +5420,9 @@ export const deserializeAws_restJson1InvokeCommand = async (
5420
5420
}
5421
5421
const data : any = await collectBody ( output . body , context ) ;
5422
5422
contents . Payload = data ;
5423
+ if ( contents . StatusCode === undefined ) {
5424
+ contents . StatusCode = output . statusCode ;
5425
+ }
5423
5426
return Promise . resolve ( contents ) ;
5424
5427
} ;
5425
5428
Original file line number Diff line number Diff line change @@ -389,6 +389,9 @@ export const deserializeAws_restJson1GetObjectCommand = async (
389
389
}
390
390
const data : any = output . body ;
391
391
contents . Body = data ;
392
+ if ( contents . StatusCode === undefined ) {
393
+ contents . StatusCode = output . statusCode ;
394
+ }
392
395
return Promise . resolve ( contents ) ;
393
396
} ;
394
397
You can’t perform that action at this time.
0 commit comments