@@ -3837,11 +3837,21 @@ def next_func() -> Optional[operations.ListKeyAssignmentsResponse]:
38373837 ),
38383838 next = next_func ,
38393839 )
3840+ if utils .match_response (http_res , "400" , "application/json" ):
3841+ response_data = unmarshal_json_response (
3842+ errors .BadRequestResponseErrorData , http_res
3843+ )
3844+ raise errors .BadRequestResponseError (response_data , http_res )
38403845 if utils .match_response (http_res , "401" , "application/json" ):
38413846 response_data = unmarshal_json_response (
38423847 errors .UnauthorizedResponseErrorData , http_res
38433848 )
38443849 raise errors .UnauthorizedResponseError (response_data , http_res )
3850+ if utils .match_response (http_res , "404" , "application/json" ):
3851+ response_data = unmarshal_json_response (
3852+ errors .NotFoundResponseErrorData , http_res
3853+ )
3854+ raise errors .NotFoundResponseError (response_data , http_res )
38453855 if utils .match_response (http_res , "500" , "application/json" ):
38463856 response_data = unmarshal_json_response (
38473857 errors .InternalServerResponseErrorData , http_res
@@ -3998,11 +4008,21 @@ async def empty_result():
39984008 ),
39994009 next = next_func ,
40004010 )
4011+ if utils .match_response (http_res , "400" , "application/json" ):
4012+ response_data = unmarshal_json_response (
4013+ errors .BadRequestResponseErrorData , http_res
4014+ )
4015+ raise errors .BadRequestResponseError (response_data , http_res )
40014016 if utils .match_response (http_res , "401" , "application/json" ):
40024017 response_data = unmarshal_json_response (
40034018 errors .UnauthorizedResponseErrorData , http_res
40044019 )
40054020 raise errors .UnauthorizedResponseError (response_data , http_res )
4021+ if utils .match_response (http_res , "404" , "application/json" ):
4022+ response_data = unmarshal_json_response (
4023+ errors .NotFoundResponseErrorData , http_res
4024+ )
4025+ raise errors .NotFoundResponseError (response_data , http_res )
40064026 if utils .match_response (http_res , "500" , "application/json" ):
40074027 response_data = unmarshal_json_response (
40084028 errors .InternalServerResponseErrorData , http_res
@@ -4156,11 +4176,21 @@ def next_func() -> Optional[operations.ListMemberAssignmentsResponse]:
41564176 ),
41574177 next = next_func ,
41584178 )
4179+ if utils .match_response (http_res , "400" , "application/json" ):
4180+ response_data = unmarshal_json_response (
4181+ errors .BadRequestResponseErrorData , http_res
4182+ )
4183+ raise errors .BadRequestResponseError (response_data , http_res )
41594184 if utils .match_response (http_res , "401" , "application/json" ):
41604185 response_data = unmarshal_json_response (
41614186 errors .UnauthorizedResponseErrorData , http_res
41624187 )
41634188 raise errors .UnauthorizedResponseError (response_data , http_res )
4189+ if utils .match_response (http_res , "404" , "application/json" ):
4190+ response_data = unmarshal_json_response (
4191+ errors .NotFoundResponseErrorData , http_res
4192+ )
4193+ raise errors .NotFoundResponseError (response_data , http_res )
41644194 if utils .match_response (http_res , "500" , "application/json" ):
41654195 response_data = unmarshal_json_response (
41664196 errors .InternalServerResponseErrorData , http_res
@@ -4319,11 +4349,21 @@ async def empty_result():
43194349 ),
43204350 next = next_func ,
43214351 )
4352+ if utils .match_response (http_res , "400" , "application/json" ):
4353+ response_data = unmarshal_json_response (
4354+ errors .BadRequestResponseErrorData , http_res
4355+ )
4356+ raise errors .BadRequestResponseError (response_data , http_res )
43224357 if utils .match_response (http_res , "401" , "application/json" ):
43234358 response_data = unmarshal_json_response (
43244359 errors .UnauthorizedResponseErrorData , http_res
43254360 )
43264361 raise errors .UnauthorizedResponseError (response_data , http_res )
4362+ if utils .match_response (http_res , "404" , "application/json" ):
4363+ response_data = unmarshal_json_response (
4364+ errors .NotFoundResponseErrorData , http_res
4365+ )
4366+ raise errors .NotFoundResponseError (response_data , http_res )
43274367 if utils .match_response (http_res , "500" , "application/json" ):
43284368 response_data = unmarshal_json_response (
43294369 errors .InternalServerResponseErrorData , http_res
0 commit comments