def resource(service_name, **kwargs): return boto3.Session(botocore_session=session()).resource( service_name, **kwargs)
def client(service_name, **kwargs): return boto3.Session(botocore_session=session()).client( service_name, **kwargs)
def client(*args, **kwargs): return session().client(*args, **kwargs)
def resource(*args, **kwargs): return session().resource(*args, **kwargs)
def credentials(*args, **kwargs): return session().get_credentials(*args, **kwargs)