package Ġu y . ko hes ive . iac . model . aws . cloud trail . post processing Ċ Ċ import Ġcom . amazonaws . codegen . model . intermediate . Intermediate Model Ċ import Ġu y . ko hes ive . iac . model . aws . cloud trail . Request Map Node Ċ Ċ class ĠCreate Bucket Processor Ġ: ĠRequest Node Post Processor Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġshape Names Ġ= ĠlistOf (" Create Bucket Input ") ĊĊĠĠĠ Ġoverride Ġfun Ġprocess ( request Map Node : ĠRequest Map Node , Ġaws Model : ĠInter mediate Model ): ĠRequest Map Node Ġ= Ġrequest Map Node . members . first OrNull Ġ{ ĊĠĠĠĠĠĠĠ Ġit . member Model . c 2 j Name Ġ== Ġ" Bucket Name " ĊĠĠĠ Ġ} ?. let Ġ{ Ġbucket Name Member Ġ-> ĊĠĠĠĠĠĠĠ Ġrequest Map Node . copy ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmembers ĠĠĠĠĠĠĠĠ Ġ= Ġ( request Map Node . members Ġ- Ġbucket Name Member ). to Mutable List (), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġconstructor Args Ġ= Ġ( request Map Node . constructor Args Ġ+ Ġbucket Name Member ). to Mutable List () ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ġ?: Ġthrow ĠIllegalStateException (" Create Bucket Request Ġrequest Ġdoes Ġnot Ġcontain Ġbucket Ġname ") Ċ Ċ }