/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the personalize-events-2018-03-22.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.PersonalizeEvents.Model;
namespace Amazon.PersonalizeEvents
{
///
/// Interface for accessing PersonalizeEvents
///
/// Amazon Personalize can consume real-time user event data, such as stream or
/// click data, and use it for model training either alone or combined with historical
/// data. For more information see Recording
/// Events.
///
public partial interface IAmazonPersonalizeEvents : IAmazonService, IDisposable
{
#region PutEvents
///
/// Records user interaction event data. For more information see Recording
/// Events.
///
/// Container for the necessary parameters to execute the PutEvents service method.
///
/// The response from the PutEvents service method, as returned by PersonalizeEvents.
///
/// Provide a valid value for the field or parameter.
///
/// REST API Reference for PutEvents Operation
PutEventsResponse PutEvents(PutEventsRequest request);
///
/// Initiates the asynchronous execution of the PutEvents operation.
///
///
/// Container for the necessary parameters to execute the PutEvents operation on AmazonPersonalizeEventsClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutEvents
/// operation.
/// REST API Reference for PutEvents Operation
IAsyncResult BeginPutEvents(PutEventsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutEvents operation.
///
///
/// The IAsyncResult returned by the call to BeginPutEvents.
///
/// Returns a PutEventsResult from PersonalizeEvents.
/// REST API Reference for PutEvents Operation
PutEventsResponse EndPutEvents(IAsyncResult asyncResult);
#endregion
#region PutItems
///
/// Adds one or more items to an Items dataset. For more information see Importing
/// Items Incrementally.
///
/// Container for the necessary parameters to execute the PutItems service method.
///
/// The response from the PutItems service method, as returned by PersonalizeEvents.
///
/// Provide a valid value for the field or parameter.
///
///
/// The specified resource is in use.
///
///
/// Could not find the specified resource.
///
/// REST API Reference for PutItems Operation
PutItemsResponse PutItems(PutItemsRequest request);
///
/// Initiates the asynchronous execution of the PutItems operation.
///
///
/// Container for the necessary parameters to execute the PutItems operation on AmazonPersonalizeEventsClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutItems
/// operation.
/// REST API Reference for PutItems Operation
IAsyncResult BeginPutItems(PutItemsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutItems operation.
///
///
/// The IAsyncResult returned by the call to BeginPutItems.
///
/// Returns a PutItemsResult from PersonalizeEvents.
/// REST API Reference for PutItems Operation
PutItemsResponse EndPutItems(IAsyncResult asyncResult);
#endregion
#region PutUsers
///
/// Adds one or more users to a Users dataset. For more information see Importing
/// Users Incrementally.
///
/// Container for the necessary parameters to execute the PutUsers service method.
///
/// The response from the PutUsers service method, as returned by PersonalizeEvents.
///
/// Provide a valid value for the field or parameter.
///
///
/// The specified resource is in use.
///
///
/// Could not find the specified resource.
///
/// REST API Reference for PutUsers Operation
PutUsersResponse PutUsers(PutUsersRequest request);
///
/// Initiates the asynchronous execution of the PutUsers operation.
///
///
/// Container for the necessary parameters to execute the PutUsers operation on AmazonPersonalizeEventsClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutUsers
/// operation.
/// REST API Reference for PutUsers Operation
IAsyncResult BeginPutUsers(PutUsersRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutUsers operation.
///
///
/// The IAsyncResult returned by the call to BeginPutUsers.
///
/// Returns a PutUsersResult from PersonalizeEvents.
/// REST API Reference for PutUsers Operation
PutUsersResponse EndPutUsers(IAsyncResult asyncResult);
#endregion
}
}