download_folder: Download a folder from S3 to a local path

View source: R/utils.R

download_folderR Documentation

Download a folder from S3 to a local path

Description

Download a folder from S3 to a local path

Usage

download_folder(bucket_name, prefix, target, sagemaker_session)

Arguments

bucket_name

(str): S3 bucket name

prefix

(str): S3 prefix within the bucket that will be downloaded. Can be a single file.

target

(str): destination path where the downloaded items will be placed

sagemaker_session

(sagemaker.session.Session): a sagemaker session to interact with S3.

See Also

Other sagemaker_utils: .aws_partition(), .download_files_under_prefix(), base_from_name(), base_name_from_image(), build_dict(), common_variables, create_tar_file(), download_file(), get_config_value(), get_short_version(), name_from_base(), name_from_image(), regional_hostname(), repack_model(), retries(), sagemaker_short_timestamp(), sagemaker_timestamp(), secondary_training_status_changed(), secondary_training_status_message(), sts_regional_endpoint(), unique_name_from_base()


DyfanJones/sagemaker-r-local documentation built on June 14, 2022, 10:32 p.m.