:doc:`ServiceResource <index>` / Sub-Resource / PlatformEndpoint

****************
PlatformEndpoint
****************



.. py:method:: SNS.ServiceResource.PlatformEndpoint(arn)

  Creates a PlatformEndpoint resource.::

    platform_endpoint = sns.PlatformEndpoint('arn')

  :type arn: string
  :param arn: The PlatformEndpoint's arn identifier. This **must** be set.
  
  :rtype: :py:class:`SNS.PlatformEndpoint`
  :returns: A PlatformEndpoint resource
  