def resource(*args, **kwargs):
 return _get_default_session().resource(*args, **kwargs)

def resource ( * args , ** kwargs ) : return _get_default_session ( ) . resource ( * args , ** kwargs )
create a resource service client by name using the default session .