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)
Beispiel #3
0
def client(*args, **kwargs):
    return session().client(*args, **kwargs)
Beispiel #4
0
def resource(*args, **kwargs):
    return session().resource(*args, **kwargs)
Beispiel #5
0
def credentials(*args, **kwargs):
    return session().get_credentials(*args, **kwargs)