diff --git a/lib/aws/api/pagination_translator.rb b/lib/aws/api/pagination_translator.rb
index <HASH>..<HASH> 100644
--- a/lib/aws/api/pagination_translator.rb
+++ b/lib/aws/api/pagination_translator.rb
@@ -55,7 +55,7 @@ module Aws
       class << self
 
         def translate(api)
-          filename = api.metadata['service_class_name'].downcase
+          filename = api.metadata['endpoint_prefix']
           filename += "-#{api.version}.paginators.json"
           path = File.join(Aws::GEM_ROOT, 'apis', 'source',filename)
           if File.exists?(path)
Fixed a bug in the Api translation of pagination configuration.

Now using the correct filename prefix (the endpoint prefix)
to locate the paging config.