Skip to content

Get User Endpoints

pinpoint_get_user_endpoints R Documentation

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

Description

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

Usage

pinpoint_get_user_endpoints(ApplicationId, UserId)

Arguments

ApplicationId

[required] The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

UserId

[required] The unique identifier for the user.

Value

A list with the following syntax:

list(
  EndpointsResponse = list(
    Item = list(
      list(
        Address = "string",
        ApplicationId = "string",
        Attributes = list(
          list(
            "string"
          )
        ),
        ChannelType = "PUSH"|"GCM"|"APNS"|"APNS_SANDBOX"|"APNS_VOIP"|"APNS_VOIP_SANDBOX"|"ADM"|"SMS"|"VOICE"|"EMAIL"|"BAIDU"|"CUSTOM"|"IN_APP",
        CohortId = "string",
        CreationDate = "string",
        Demographic = list(
          AppVersion = "string",
          Locale = "string",
          Make = "string",
          Model = "string",
          ModelVersion = "string",
          Platform = "string",
          PlatformVersion = "string",
          Timezone = "string"
        ),
        EffectiveDate = "string",
        EndpointStatus = "string",
        Id = "string",
        Location = list(
          City = "string",
          Country = "string",
          Latitude = 123.0,
          Longitude = 123.0,
          PostalCode = "string",
          Region = "string"
        ),
        Metrics = list(
          123.0
        ),
        OptOut = "string",
        RequestId = "string",
        User = list(
          UserAttributes = list(
            list(
              "string"
            )
          ),
          UserId = "string"
        )
      )
    )
  )
)

Request syntax

svc$get_user_endpoints(
  ApplicationId = "string",
  UserId = "string"
)