/*
* 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.Threading;
using System.Threading.Tasks;
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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PutEventsAsync(PutEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PutItemsAsync(PutItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PutUsersAsync(PutUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}