    # File lib/fog/bin/aws.rb, line 4
        def class_for(key)
          case key
          when :auto_scaling
            Fog::AWS::AutoScaling
          when :beanstalk
            Fog::AWS::ElasticBeanstalk
          when :cdn
            Fog::CDN::AWS
          when :cloud_formation
            Fog::AWS::CloudFormation
          when :cloud_watch
            Fog::AWS::CloudWatch
          when :compute
            Fog::Compute::AWS
          when :ddb, :dynamodb
            Fog::AWS::DynamoDB
          when :dns
            Fog::DNS::AWS
          when :elasticache
            Fog::AWS::Elasticache
          when :elb
            Fog::AWS::ELB
          when :emr
            Fog::AWS::EMR
          when :iam
            Fog::AWS::IAM
          when :sdb, :simpledb
            Fog::AWS::SimpleDB
          when :ses
            Fog::AWS::SES
          when :sqs
            Fog::AWS::SQS
          when :eu_storage, :storage
            Fog::Storage::AWS
          when :rds
            Fog::AWS::RDS
          when :sns
            Fog::AWS::SNS
          when :sts
            Fog::AWS::STS
          else
            # @todo Replace most instances of ArgumentError with NotImplementedError
            # @todo For a list of widely supported Exceptions, see:
            # => http://www.zenspider.com/Languages/Ruby/QuickRef.html#35
            raise ArgumentError, "Unsupported #{self} service: #{key}"
          end
        end