Class: Aws::PersonalizeEvents::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::PersonalizeEvents::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb
Overview
An API client for PersonalizeEvents. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::PersonalizeEvents::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#put_action_interactions(params = {}) ⇒ Struct
Records action interaction event data.
-
#put_actions(params = {}) ⇒ Struct
Adds one or more actions to an Actions dataset.
-
#put_events(params = {}) ⇒ Struct
Records item interaction event data.
-
#put_items(params = {}) ⇒ Struct
Adds one or more items to an Items dataset.
-
#put_users(params = {}) ⇒ Struct
Adds one or more users to a Users dataset.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
446 447 448 |
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb', line 446 def initialize(*args) super end |
Instance Method Details
#put_action_interactions(params = {}) ⇒ Struct
Records action interaction event data. An action interaction event is an interaction between a user and an action. For example, a user taking an action, such a enrolling in a membership program or downloading your app.
For more information about recording action interactions, see Recording action interaction events. For more information about actions in an Actions dataset, see Actions dataset.
504 505 506 507 |
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb', line 504 def put_action_interactions(params = {}, = {}) req = build_request(:put_action_interactions, params) req.send_request() end |
#put_actions(params = {}) ⇒ Struct
Adds one or more actions to an Actions dataset. For more information see Importing actions individually.
541 542 543 544 |
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb', line 541 def put_actions(params = {}, = {}) req = build_request(:put_actions, params) req.send_request() end |
#put_events(params = {}) ⇒ Struct
Records item interaction event data. For more information see Recording item interaction events.
607 608 609 610 |
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb', line 607 def put_events(params = {}, = {}) req = build_request(:put_events, params) req.send_request() end |
#put_items(params = {}) ⇒ Struct
Adds one or more items to an Items dataset. For more information see Importing items individually.
644 645 646 647 |
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb', line 644 def put_items(params = {}, = {}) req = build_request(:put_items, params) req.send_request() end |
#put_users(params = {}) ⇒ Struct
Adds one or more users to a Users dataset. For more information see Importing users individually.
681 682 683 684 |
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb', line 681 def put_users(params = {}, = {}) req = build_request(:put_users, params) req.send_request() end |