def create_platform_endpoint(options = {})
      options = options.merge(platform_application_arn: @arn)
      resp = @client.create_platform_endpoint(options)
      PlatformEndpoint.new(
        arn: resp.data.endpoint_arn,
        client: @client
      )
    end
def create_platform_endpoint(options = {})
      options = options.merge(platform_application_arn: @arn)
      resp = @client.create_platform_endpoint(options)
      PlatformEndpoint.new(
        arn: resp.data.endpoint_arn,
        client: @client
      )
    end
@!group Actions
 @example Request syntax with placeholder values

   platformendpoint = platform_application.create_platform_endpoint({
     token: "String", # required
     custom_user_data: "String",
     attributes: {
       "String" => "String",
     },
   })
 @param [Hash] options ({})
 @option options [required, String] :token
   Unique identifier created by the notification service for an app on a
   device. The specific name for Token will vary, depending on which
   notification service is being used. For example, when using APNS as
   the notification service, you need the device token. Alternatively,
   when using GCM or ADM, the device token equivalent is called the
   registration ID.
 @option options [String] :custom_user_data
   Arbitrary user data to associate with the endpoint. Amazon SNS does
   not use this data. The data must be in UTF-8 format and less than 2KB.
 @option options [Hash<String,String>] :attributes
   For a list of attributes, see [SetEndpointAttributes][1].



   [1]: https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html
 @return [PlatformEndpoint]