You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::Personalize

Defined in:
(unknown)

Overview

This module provides a client for making API requests to Amazon Personalize.

Aws::Personalize::Client

The Client class provides one-to-one mapping for each API operation.

personalize = Aws::Personalize::Client.new(region: 'us-east-1')
personalize.operation_names
#=> [:create_batch_inference_job, :create_campaign, :create_dataset, :create_dataset_group, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = personalize.create_batch_inference_job(params)

See Client for more information.

Aws::Personalize::Errors

Errors returned from Amazon Personalize are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Personalize::Errors::ServiceError
  # rescues all errors returned by Amazon Personalize
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client