@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 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.
|
PutEventsResult |
putEvents(PutEventsRequest request)
Records user 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 PutEventsResult putEvents(PutEventsRequest request)
Records user interaction event data. For more information see Recording 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 Incrementally.
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 Incrementally.
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