package Ġio . kot less . terraform . provider . aws . resource . apigateway . response Ċ Ċ import Ġio . kot less . h cl . H CLE ntity Ċ import Ġio . kot less . terraform . TF File Ċ import Ġio . kot less . terraform . TF Resource Ċ Ċ /** Ċ Ġ* ĠTerraform Ġaws _ api _ gateway _ method _ response Ġresource . Ċ Ġ* Ċ Ġ* Ġ@ see Ġ< a Ġhref =" https :// www . terraform . io / docs / providers / aws / r / api _ gateway _ method _ response . html "> aws _ api _ gateway _ method _ response </ a > Ċ Ġ*/ Ċ class ĠApi Gateway Method Response ( id : ĠString ) Ġ: ĠTF Resource ( id , Ġ" aws _ api _ gateway _ method _ response ") Ġ{ ĊĠĠĠ Ġvar Ġrest _ api _ id Ġby Ġtext () ĊĠĠĠ Ġvar Ġresource _ id Ġby Ġtext () ĊĠĠĠ Ġvar Ġhttp _ method Ġby Ġtext () ĊĠĠĠ Ġvar Ġstatus _ code Ġby Ġint () ĊĊĠĠĠ Ġvar Ġresponse _ parameters Ġby Ġentity < H CLE ntity >() Ċ } Ċ Ċ fun Ġapi _ gateway _ method _ response ( id : ĠString , Ġconfigure : ĠApi Gateway Method Response . () Ġ-> ĠUnit ) Ġ= ĠApi Gateway Method Response ( id ). apply ( configure ) Ċ Ċ fun ĠTF File . api _ gateway _ method _ response ( id : ĠString , Ġconfigure : ĠApi Gateway Method Response . () Ġ-> ĠUnit ) Ġ{ ĊĠĠĠ Ġadd ( Api Gateway Method Response ( id ). apply ( configure )) Ċ } Ċ