lib/aws-sdk-sagemaker/resource.rb in aws-sdk-sagemaker-1.51.0 vs lib/aws-sdk-sagemaker/resource.rb in aws-sdk-sagemaker-1.52.0
- old
+ new
@@ -4,9 +4,16 @@
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE
module Aws::SageMaker
+ # This class provides a resource oriented interface for SageMaker.
+ # To create a resource object:
+ # resource = Aws::SageMaker::Resource.new(region: 'us-west-2')
+ # You can supply a client object with custom configuration that will be used for all resource operations.
+ # If you do not pass +:client+, a default client will be constructed.
+ # client = Aws::SageMaker::Client.new(region: 'us-west-2')
+ # resource = Aws::SageMaker::Resource.new(client: client)
class Resource
# @param options ({})
# @option options [Client] :client
def initialize(options = {})