@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonPersonalizeEventsAsyncClient extends AmazonPersonalizeEventsClient implements AmazonPersonalizeEventsAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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 item interaction events.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, getCachedResponseMetadata, putActionInteractions, putActions, putEvents, putItems, putUsers
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCachedResponseMetadata, putActionInteractions, putActions, putEvents, putItems, putUsers
public static AmazonPersonalizeEventsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<PutActionInteractionsResult> putActionInteractionsAsync(PutActionInteractionsRequest request)
AmazonPersonalizeEventsAsync
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.
putActionInteractionsAsync
in interface AmazonPersonalizeEventsAsync
public Future<PutActionInteractionsResult> putActionInteractionsAsync(PutActionInteractionsRequest request, AsyncHandler<PutActionInteractionsRequest,PutActionInteractionsResult> asyncHandler)
AmazonPersonalizeEventsAsync
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.
putActionInteractionsAsync
in interface AmazonPersonalizeEventsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutActionsResult> putActionsAsync(PutActionsRequest request)
AmazonPersonalizeEventsAsync
Adds one or more actions to an Actions dataset. For more information see Importing actions individually.
putActionsAsync
in interface AmazonPersonalizeEventsAsync
public Future<PutActionsResult> putActionsAsync(PutActionsRequest request, AsyncHandler<PutActionsRequest,PutActionsResult> asyncHandler)
AmazonPersonalizeEventsAsync
Adds one or more actions to an Actions dataset. For more information see Importing actions individually.
putActionsAsync
in interface AmazonPersonalizeEventsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutEventsResult> putEventsAsync(PutEventsRequest request)
AmazonPersonalizeEventsAsync
Records item interaction event data. For more information see Recording item interaction events.
putEventsAsync
in interface AmazonPersonalizeEventsAsync
public Future<PutEventsResult> putEventsAsync(PutEventsRequest request, AsyncHandler<PutEventsRequest,PutEventsResult> asyncHandler)
AmazonPersonalizeEventsAsync
Records item interaction event data. For more information see Recording item interaction events.
putEventsAsync
in interface AmazonPersonalizeEventsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutItemsResult> putItemsAsync(PutItemsRequest request)
AmazonPersonalizeEventsAsync
Adds one or more items to an Items dataset. For more information see Importing items individually.
putItemsAsync
in interface AmazonPersonalizeEventsAsync
public Future<PutItemsResult> putItemsAsync(PutItemsRequest request, AsyncHandler<PutItemsRequest,PutItemsResult> asyncHandler)
AmazonPersonalizeEventsAsync
Adds one or more items to an Items dataset. For more information see Importing items individually.
putItemsAsync
in interface AmazonPersonalizeEventsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutUsersResult> putUsersAsync(PutUsersRequest request)
AmazonPersonalizeEventsAsync
Adds one or more users to a Users dataset. For more information see Importing users individually.
putUsersAsync
in interface AmazonPersonalizeEventsAsync
public Future<PutUsersResult> putUsersAsync(PutUsersRequest request, AsyncHandler<PutUsersRequest,PutUsersResult> asyncHandler)
AmazonPersonalizeEventsAsync
Adds one or more users to a Users dataset. For more information see Importing users individually.
putUsersAsync
in interface AmazonPersonalizeEventsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonPersonalizeEvents
shutdown
in class AmazonPersonalizeEventsClient