LocalSession: A SageMaker "Session" class for Local Mode.

LocalSessionR Documentation

A SageMaker “Session“ class for Local Mode.

Description

A SageMaker “Session“ class for Local Mode.

A SageMaker “Session“ class for Local Mode.

Super class

sagemaker.core::Session -> LocalSession

Methods

Public methods

Inherited methods

Method new()

This class provides alternative Local Mode implementations for the functionality of :class:'~sagemaker.session.Session'.

Usage
LocalSession$new(
  paws_session = NULL,
  s3_endpoint_url = NULL,
  disable_local_code = FALSE
)
Arguments
paws_session

(PawsSession): The underlying AWS credentails passed to paws SDK.

s3_endpoint_url

(str): Override the default endpoint URL for Amazon S3, if set (default: None).

disable_local_code

(bool): Set “True“ to override the default AWS configuration chain to disable the “local.local_code“ setting, which may not be supported for some SDK features (default: False).


Method logs_for_job()

A no-op method meant to override the sagemaker client.

Usage
LocalSession$logs_for_job(job_name, wait = FALSE, poll = 5, log_type = "All")
Arguments
job_name

(str):

wait

(boolean): (Default value = False)

poll

(int): (Default value = 5)

log_type

(str):


Method clone()

The objects of this class are cloneable with this method.

Usage
LocalSession$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other Session: PawsSession, Session


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