S3Input | R Documentation |
Two options are provided: specifying a S3 prefix or by explicitly listing the files in manifest file and referencing the manifest file's S3 path.
sagemaker.core::ApiObject
-> S3Input
new()
Initialize S3Input.
S3Input$new( s3_uri = NULL, local_path = NULL, s3_data_type = "S3Prefix", s3_input_mode = "File", s3_data_distribution_type = "FullyReplicated", s3_compression_type = NULL )
s3_uri
(str, default=None): the path to a specific S3 object or a S3 prefix
local_path
(str, default=None): the path to a local directory. If not provided, skips data download by SageMaker platform.
s3_data_type
(str, default="S3Prefix"): Valid options are "ManifestFile" or "S3Prefix".
s3_input_mode
(str, default="File"): Valid options are "Pipe" or "File".
s3_data_distribution_type
(str, default="FullyReplicated"): Valid options are "FullyReplicated" or "ShardedByS3Key".
s3_compression_type
(str, default=None): Valid options are "None" or "Gzip"
clone()
The objects of this class are cloneable with this method.
S3Input$clone(deep = FALSE)
deep
Whether to make a deep clone.
Note: Strong consistency is not guaranteed if S3Prefix is provided here. S3 list operations are not strongly consistent. Use ManifestFile if strong consistency is required.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.