@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonPersonalizeEventsClient extends AmazonWebServiceClient implements AmazonPersonalizeEvents
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
Modifier and Type | Method and Description |
---|---|
static AmazonPersonalizeEventsClientBuilder |
builder() |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
PutActionInteractionsResult |
putActionInteractions(PutActionInteractionsRequest request)
Records action interaction event data.
|
PutActionsResult |
putActions(PutActionsRequest request)
Adds one or more actions to an Actions dataset.
|
PutEventsResult |
putEvents(PutEventsRequest request)
Records item interaction event data.
|
PutItemsResult |
putItems(PutItemsRequest request)
Adds one or more items to an Items dataset.
|
PutUsersResult |
putUsers(PutUsersRequest request)
Adds one or more users to a Users dataset.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
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
public static AmazonPersonalizeEventsClientBuilder builder()
public PutActionInteractionsResult putActionInteractions(PutActionInteractionsRequest request)
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.
putActionInteractions
in interface AmazonPersonalizeEvents
putActionInteractionsRequest
- InvalidInputException
- Provide a valid value for the field or parameter.ResourceNotFoundException
- Could not find the specified resource.ResourceInUseException
- The specified resource is in use.public PutActionsResult putActions(PutActionsRequest request)
Adds one or more actions to an Actions dataset. For more information see Importing actions individually.
putActions
in interface AmazonPersonalizeEvents
putActionsRequest
- InvalidInputException
- Provide a valid value for the field or parameter.ResourceNotFoundException
- Could not find the specified resource.ResourceInUseException
- The specified resource is in use.public PutEventsResult putEvents(PutEventsRequest request)
Records item interaction event data. For more information see Recording item interaction events.
putEvents
in interface AmazonPersonalizeEvents
putEventsRequest
- InvalidInputException
- Provide a valid value for the field or parameter.public PutItemsResult putItems(PutItemsRequest request)
Adds one or more items to an Items dataset. For more information see Importing items individually.
putItems
in interface AmazonPersonalizeEvents
putItemsRequest
- InvalidInputException
- Provide a valid value for the field or parameter.ResourceNotFoundException
- Could not find the specified resource.ResourceInUseException
- The specified resource is in use.public PutUsersResult putUsers(PutUsersRequest request)
Adds one or more users to a Users dataset. For more information see Importing users individually.
putUsers
in interface AmazonPersonalizeEvents
putUsersRequest
- InvalidInputException
- Provide a valid value for the field or parameter.ResourceNotFoundException
- Could not find the specified resource.ResourceInUseException
- The specified resource is in use.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonPersonalizeEvents
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonPersonalizeEvents
shutdown
in class AmazonWebServiceClient