HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/local/aws-cli/v2/current/current/dist/awscli/examples/pinpoint/get-apns-channel.rst
**To retrieve information about the status and settings of the APNs channel for an application**

The following ``get-apns-channel`` example retrieves information about the status and settings of the APNs channel for an application. ::

    aws pinpoint get-apns-channel \
        --application-id 9ab1068eb0a6461c86cce7f27ce0efd7 \
        --region us-east-1

Output::

    {
        "APNSChannelResponse": {
            "ApplicationId": "9ab1068eb0a6461c86cce7f27ce0efd7",
            "CreationDate": "2019-05-09T21:54:45.082Z",
            "DefaultAuthenticationMethod": "CERTIFICATE",
            "Enabled": true,
            "HasCredential": true,
            "HasTokenKey": false,
            "Id": "apns",
            "IsArchived": false,
            "LastModifiedDate": "2019-05-09T22:04:01.067Z",
            "Platform": "APNS",
            "Version": 2
        }
    }