Interface PersonalizeEventsClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aPersonalizeEventsClient.static PersonalizeEventsClientcreate()Create aPersonalizeEventsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default PutEventsResponseputEvents(Consumer<PutEventsRequest.Builder> putEventsRequest) Records user interaction event data.default PutEventsResponseputEvents(PutEventsRequest putEventsRequest) Records user interaction event data.default PutItemsResponseputItems(Consumer<PutItemsRequest.Builder> putItemsRequest) Adds one or more items to an Items dataset.default PutItemsResponseputItems(PutItemsRequest putItemsRequest) Adds one or more items to an Items dataset.default PutUsersResponseputUsers(Consumer<PutUsersRequest.Builder> putUsersRequest) Adds one or more users to a Users dataset.default PutUsersResponseputUsers(PutUsersRequest putUsersRequest) Adds one or more users to a Users dataset.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadataMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
putEvents
default PutEventsResponse putEvents(PutEventsRequest putEventsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, PersonalizeEventsException Records user interaction event data. For more information see Recording Events.
- Parameters:
putEventsRequest-- Returns:
- Result of the PutEvents operation returned by the service.
- See Also:
-
putEvents
default PutEventsResponse putEvents(Consumer<PutEventsRequest.Builder> putEventsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, PersonalizeEventsException Records user interaction event data. For more information see Recording Events.
This is a convenience which creates an instance of the
PutEventsRequest.Builderavoiding the need to create one manually viaPutEventsRequest.builder()- Parameters:
putEventsRequest- AConsumerthat will call methods onPutEventsRequest.Builderto create a request.- Returns:
- Result of the PutEvents operation returned by the service.
- See Also:
-
putItems
default PutItemsResponse putItems(PutItemsRequest putItemsRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, PersonalizeEventsException Adds one or more items to an Items dataset. For more information see Importing Items Incrementally.
- Parameters:
putItemsRequest-- Returns:
- Result of the PutItems operation returned by the service.
- See Also:
-
putItems
default PutItemsResponse putItems(Consumer<PutItemsRequest.Builder> putItemsRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, PersonalizeEventsException Adds one or more items to an Items dataset. For more information see Importing Items Incrementally.
This is a convenience which creates an instance of the
PutItemsRequest.Builderavoiding the need to create one manually viaPutItemsRequest.builder()- Parameters:
putItemsRequest- AConsumerthat will call methods onPutItemsRequest.Builderto create a request.- Returns:
- Result of the PutItems operation returned by the service.
- See Also:
-
putUsers
default PutUsersResponse putUsers(PutUsersRequest putUsersRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, PersonalizeEventsException Adds one or more users to a Users dataset. For more information see Importing Users Incrementally.
- Parameters:
putUsersRequest-- Returns:
- Result of the PutUsers operation returned by the service.
- See Also:
-
putUsers
default PutUsersResponse putUsers(Consumer<PutUsersRequest.Builder> putUsersRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, PersonalizeEventsException Adds one or more users to a Users dataset. For more information see Importing Users Incrementally.
This is a convenience which creates an instance of the
PutUsersRequest.Builderavoiding the need to create one manually viaPutUsersRequest.builder()- Parameters:
putUsersRequest- AConsumerthat will call methods onPutUsersRequest.Builderto create a request.- Returns:
- Result of the PutUsers operation returned by the service.
- See Also:
-
create
Create aPersonalizeEventsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aPersonalizeEventsClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-