package Ġu y . ko hes ive . iac . model . aws . contexts Ċ Ċ import Ġcom . amazonaws . services . cognit oid p . AWSC ognito Identity Provider Ċ import Ġcom . amazonaws . services . cognit oid p . model .* Ċ import Ġu y . ko hes ive . iac . model . aws . I ac Context Ċ import Ġu y . ko hes ive . iac . model . aws . Ko hes ive Ident ifiable Ċ import Ġu y . ko hes ive . iac . model . aws . utils . Dsl Scope Ċ Ċ interface ĠC ognito Identity Provider Ident ifiable Ġ: ĠKo hes ive Ident ifiable Ġ{ Ċ Ċ } Ċ Ċ interface ĠC ognito Identity Provider Enabled Ġ: ĠC ognito Identity Provider Ident ifiable Ġ{ ĊĠĠĠ Ġval Ġc ognito Identity Provider Client : ĠAW SC ognito Identity Provider ĊĠĠĠ Ġval Ġc ognito Identity Provider Context : ĠC ognito Identity Provider Context ĊĠĠĠ Ġfun Ġ< T > Ġwith C ognito Identity Provider Context ( init : ĠC ognito Identity Provider Context .( AWSC ognito Identity Provider ) Ġ-> ĠT ): ĠT Ġ= Ġc ognito Identity Provider Context . init ( cognito Identity Provider Client ) Ċ } Ċ Ċ open Ġclass ĠBase C ognito Identity Provider Context ( protected Ġval Ġcontext : ĠI ac Context ) Ġ: ĠC ognito Identity Provider Enabled Ġby Ġcontext Ġ{ ĊĊĠĠĠ Ġopen Ġfun Ġcreate Group ( groupName : ĠString , Ġinit : ĠCreate Group Request . () Ġ-> ĠUnit ): ĠCreate Group Result Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġc ognito Identity Provider Client . create Group ( Create Group Request (). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġwith GroupName ( groupName ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinit () ĊĠĠĠĠĠĠĠ Ġ}) ĊĠĠĠ Ġ} ĊĊ Ċ } Ċ Ċ @ Dsl Scope Ċ class ĠC ognito Identity Provider Context ( context : ĠI ac Context ) Ġ: ĠBase C ognito Identity Provider Context ( context ) Ġ{ Ċ Ċ } Ċ