@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface PersonalizeEventsClient extends AwsClient
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static PersonalizeEventsClientBuilder |
builder()
Create a builder that can be used to configure and create a
PersonalizeEventsClient. |
static PersonalizeEventsClient |
create()
Create a
PersonalizeEventsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default PutEventsResponse |
putEvents(Consumer<PutEventsRequest.Builder> putEventsRequest)
Records user interaction event data.
|
default PutEventsResponse |
putEvents(PutEventsRequest putEventsRequest)
Records user interaction event data.
|
default PutItemsResponse |
putItems(Consumer<PutItemsRequest.Builder> putItemsRequest)
Adds one or more items to an Items dataset.
|
default PutItemsResponse |
putItems(PutItemsRequest putItemsRequest)
Adds one or more items to an Items dataset.
|
default PutUsersResponse |
putUsers(Consumer<PutUsersRequest.Builder> putUsersRequest)
Adds one or more users to a Users dataset.
|
default PutUsersResponse |
putUsers(PutUsersRequest putUsersRequest)
Adds one or more users to a Users dataset.
|
default PersonalizeEventsServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default PutEventsResponse putEvents(PutEventsRequest putEventsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, PersonalizeEventsException
Records user interaction event data. For more information see Recording Events.
putEventsRequest - InvalidInputException - Provide a valid value for the field or parameter.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PersonalizeEventsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via PutEventsRequest.builder()
putEventsRequest - A Consumer that will call methods on PutEventsRequest.Builder to create a request.InvalidInputException - Provide a valid value for the field or parameter.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PersonalizeEventsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PersonalizeEventsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via PutItemsRequest.builder()
putItemsRequest - A Consumer that will call methods on PutItemsRequest.Builder to create a request.InvalidInputException - Provide a valid value for the field or parameter.ResourceNotFoundException - Could not find the specified resource.ResourceInUseException - The specified resource is in use.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PersonalizeEventsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PersonalizeEventsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via PutUsersRequest.builder()
putUsersRequest - A Consumer that will call methods on PutUsersRequest.Builder to create a request.InvalidInputException - Provide a valid value for the field or parameter.ResourceNotFoundException - Could not find the specified resource.ResourceInUseException - The specified resource is in use.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PersonalizeEventsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic PersonalizeEventsClient create()
PersonalizeEventsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static PersonalizeEventsClientBuilder builder()
PersonalizeEventsClient.static ServiceMetadata serviceMetadata()
default PersonalizeEventsServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.