Skip to content

Update Apns Channel

pinpoint_update_apns_channel R Documentation

Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application

Description

Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.

Usage

pinpoint_update_apns_channel(APNSChannelRequest, ApplicationId)

Arguments

APNSChannelRequest

[required] Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application.

ApplicationId

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

Value

A list with the following syntax:

list(
  APNSChannelResponse = list(
    ApplicationId = "string",
    CreationDate = "string",
    DefaultAuthenticationMethod = "string",
    Enabled = TRUE|FALSE,
    HasCredential = TRUE|FALSE,
    HasTokenKey = TRUE|FALSE,
    Id = "string",
    IsArchived = TRUE|FALSE,
    LastModifiedBy = "string",
    LastModifiedDate = "string",
    Platform = "string",
    Version = 123
  )
)

Request syntax

svc$update_apns_channel(
  APNSChannelRequest = list(
    BundleId = "string",
    Certificate = "string",
    DefaultAuthenticationMethod = "string",
    Enabled = TRUE|FALSE,
    PrivateKey = "string",
    TeamId = "string",
    TokenKey = "string",
    TokenKeyId = "string"
  ),
  ApplicationId = "string"
)