def platform_applications(options = {})
      batches = Enumerator.new do |y|
        resp = @client.list_platform_applications(options)
        resp.each_page do |page|
          batch = []
          page.data.platform_applications.each do |p|
            batch << PlatformApplication.new(
              arn: p.platform_application_arn,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      PlatformApplication::Collection.new(batches)
    end
def platform_applications(options = {})
      batches = Enumerator.new do |y|
        resp = @client.list_platform_applications(options)
        resp.each_page do |page|
          batch = []
          page.data.platform_applications.each do |p|
            batch << PlatformApplication.new(
              arn: p.platform_application_arn,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      PlatformApplication::Collection.new(batches)
    end
@example Request syntax with placeholder values

   sns.platform_applications()
 @param [Hash] options ({})
 @return [PlatformApplication::Collection]