@@ -686,18 +686,12 @@ export namespace MedicalTranscriptResultStream {
686
686
export const filterSensitiveLog = ( obj : MedicalTranscriptResultStream ) : any => {
687
687
if ( obj . TranscriptEvent !== undefined )
688
688
return { TranscriptEvent : MedicalTranscriptEvent . filterSensitiveLog ( obj . TranscriptEvent ) } ;
689
- if ( obj . BadRequestException !== undefined )
690
- return { BadRequestException : BadRequestException . filterSensitiveLog ( obj . BadRequestException ) } ;
691
- if ( obj . LimitExceededException !== undefined )
692
- return { LimitExceededException : LimitExceededException . filterSensitiveLog ( obj . LimitExceededException ) } ;
693
- if ( obj . InternalFailureException !== undefined )
694
- return { InternalFailureException : InternalFailureException . filterSensitiveLog ( obj . InternalFailureException ) } ;
695
- if ( obj . ConflictException !== undefined )
696
- return { ConflictException : ConflictException . filterSensitiveLog ( obj . ConflictException ) } ;
689
+ if ( obj . BadRequestException !== undefined ) return { BadRequestException : obj . BadRequestException } ;
690
+ if ( obj . LimitExceededException !== undefined ) return { LimitExceededException : obj . LimitExceededException } ;
691
+ if ( obj . InternalFailureException !== undefined ) return { InternalFailureException : obj . InternalFailureException } ;
692
+ if ( obj . ConflictException !== undefined ) return { ConflictException : obj . ConflictException } ;
697
693
if ( obj . ServiceUnavailableException !== undefined )
698
- return {
699
- ServiceUnavailableException : ServiceUnavailableException . filterSensitiveLog ( obj . ServiceUnavailableException ) ,
700
- } ;
694
+ return { ServiceUnavailableException : obj . ServiceUnavailableException } ;
701
695
if ( obj . $unknown !== undefined ) return { [ obj . $unknown [ 0 ] ] : "UNKNOWN" } ;
702
696
} ;
703
697
}
@@ -1299,18 +1293,12 @@ export namespace TranscriptResultStream {
1299
1293
export const filterSensitiveLog = ( obj : TranscriptResultStream ) : any => {
1300
1294
if ( obj . TranscriptEvent !== undefined )
1301
1295
return { TranscriptEvent : TranscriptEvent . filterSensitiveLog ( obj . TranscriptEvent ) } ;
1302
- if ( obj . BadRequestException !== undefined )
1303
- return { BadRequestException : BadRequestException . filterSensitiveLog ( obj . BadRequestException ) } ;
1304
- if ( obj . LimitExceededException !== undefined )
1305
- return { LimitExceededException : LimitExceededException . filterSensitiveLog ( obj . LimitExceededException ) } ;
1306
- if ( obj . InternalFailureException !== undefined )
1307
- return { InternalFailureException : InternalFailureException . filterSensitiveLog ( obj . InternalFailureException ) } ;
1308
- if ( obj . ConflictException !== undefined )
1309
- return { ConflictException : ConflictException . filterSensitiveLog ( obj . ConflictException ) } ;
1296
+ if ( obj . BadRequestException !== undefined ) return { BadRequestException : obj . BadRequestException } ;
1297
+ if ( obj . LimitExceededException !== undefined ) return { LimitExceededException : obj . LimitExceededException } ;
1298
+ if ( obj . InternalFailureException !== undefined ) return { InternalFailureException : obj . InternalFailureException } ;
1299
+ if ( obj . ConflictException !== undefined ) return { ConflictException : obj . ConflictException } ;
1310
1300
if ( obj . ServiceUnavailableException !== undefined )
1311
- return {
1312
- ServiceUnavailableException : ServiceUnavailableException . filterSensitiveLog ( obj . ServiceUnavailableException ) ,
1313
- } ;
1301
+ return { ServiceUnavailableException : obj . ServiceUnavailableException } ;
1314
1302
if ( obj . $unknown !== undefined ) return { [ obj . $unknown [ 0 ] ] : "UNKNOWN" } ;
1315
1303
} ;
1316
1304
}
0 commit comments