aws_info_helper/scripts/s3_update_collection.py
def main(**kwargs):
    """Update info in AWS_S3 redis-helper collection"""
    if kwargs['all'] is True:
        for profile in get_profiles():
            s3 = S3(profile)
            s3.update_collection()
    else:
        s3 = S3(kwargs['profile'])
        s3.update_collection()
    if kwargs['non_interactive'] is not True:
        ih.start_ipython(s3=AWS_S3, s3_last_file=AWS_S3_LAST_FILE)
Update info in AWS_S3 redis-helper collection
Update info in AWS_S3 redis-helper collection
Update info in AWS_S3 redis - helper collection
def main(**kwargs):
    if kwargs['all'] is True:
        for profile in get_profiles():
            s3 = S3(profile)
            s3.update_collection()
    else:
        s3 = S3(kwargs['profile'])
        s3.update_collection()
    if kwargs['non_interactive'] is not True:
        ih.start_ipython(s3=AWS_S3, s3_last_file=AWS_S3_LAST_FILE)
def main ( ** kwargs ) : if kwargs [ 'all' ] is True : for profile in get_profiles ( ) : s3 = S3 ( profile ) s3 . update_collection ( ) else : s3 = S3 ( kwargs [ 'profile' ] ) s3 . update_collection ( ) if kwargs [ 'non_interactive' ] is not True : ih . start_ipython ( s3 = AWS_S3 , s3_last_file = AWS_S3_LAST_FILE )
Update info in AWS_S3 redis-helper collection
Update info in AWS_S3 redis - helper collection
"""Update info in AWS_S3 redis-helper collection"""