You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::SageMaker
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon SageMaker Service.
Aws::SageMaker::Client
The Client class provides one-to-one mapping for each API operation.
sagemaker = Aws::SageMaker::Client.new(region: 'us-east-1')
sagemaker.operation_names
#=> [:add_tags, :associate_trial_component, :create_algorithm, :create_app, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = sagemaker.(params)
See Client for more information.
Aws::SageMaker::Errors
Errors returned from Amazon SageMaker Service are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::SageMaker::Errors::ServiceError
# rescues all errors returned by Amazon SageMaker Service
end
See Errors for more information.