ApiObject: A Python class representation of a boto API object.

ApiObjectR Documentation

A Python class representation of a boto API object.

Description

Converts boto dicts of 'UpperCamelCase' names to dicts into/from a Python object with standard python members. Clients invoke to_boto on an instance of ApiObject to transform the ApiObject into a boto representation. Clients invoke from_boto on a sub-class of ApiObject to instantiate an instance of that class from a boto representation.

Methods

Public methods


Method new()

Initialize ApiObject class

Usage
ApiObject$new(...)
Arguments
...

:


Method from_paws()

Construct an instance of this ApiObject from a boto response.

Usage
ApiObject$from_paws(paws_list, ...)
Arguments
paws_list

(list): A dictionary of a paws response.

...

: Arbitrary keyword arguments


Method to_paws()

Convert an object to a paws representation.

Usage
ApiObject$to_paws(obj)
Arguments
obj

(dict): The object to convert to paws.


Method format()

Return a string representation of this ApiObject.

Usage
ApiObject$format()

Method clone()

The objects of this class are cloneable with this method.

Usage
ApiObject$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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