FileSource: FileSource

FileSourceR Documentation

FileSource

Description

Accepts file source parameters for conversion to request dict.

Methods

Public methods


Method new()

Initialize a “FileSource“ instance and turn parameters into dict.

Usage
FileSource$new(s3_uri, content_digest = NULL, content_type = NULL)
Arguments
s3_uri

(str): The S3 URI of the metric

content_digest

(str): The digest of the metric (default: None)

content_type

(str): Specifies the type of content in S3 URI (default: None)


Method to_request_list()

Generates a request dictionary using the parameters provided to the class.

Usage
FileSource$to_request_list()

Method format()

format class

Usage
FileSource$format()

Method clone()

The objects of this class are cloneable with this method.

Usage
FileSource$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-mlcore documentation built on May 3, 2022, 10:08 a.m.