Skip to main content

user_endpoints

Creates, updates, deletes, gets or lists a user_endpoints resource.

Overview

Nameuser_endpoints
TypeResource
Idaws.pinpoint.user_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
itemarrayAn array of responses, one for each endpoint that's associated with the user ID.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_user_endpointsselectapplication-id, user-id, regionRetrieves information about all the endpoints that are associated with a specific user ID.
delete_user_endpointsdeleteapplication-id, user-id, regionDeletes all the endpoints that are associated with a specific user ID.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
application-idstringThe unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
regionstringAWS region (default: us-east-1)
user-idstringThe unique identifier for the user.

SELECT examples

Retrieves information about all the endpoints that are associated with a specific user ID.

SELECT
item
FROM aws.pinpoint.user_endpoints
WHERE `application-id` = '{{ application-id }}' -- required
AND `user-id` = '{{ user-id }}' -- required
AND region = '{{ region }}' -- required
;

DELETE examples

Deletes all the endpoints that are associated with a specific user ID.

DELETE FROM aws.pinpoint.user_endpoints
WHERE `application-id` = '{{ application-id }}' --required
AND `user-id` = '{{ user-id }}' --required
AND region = '{{ region }}' --required
;