    # File lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb, line 27
            def get_metric_statistics(options={})
              %w{Statistics StartTime EndTime Period MetricName Namespace}.each do |required_parameter|
                raise ArgumentError, "Must provide #{required_parameter}" unless options.has_key?(required_parameter)
              end
              statistics = options.delete 'Statistics'
              options.merge!(AWS.indexed_param('Statistics.member.%d', [*statistics]))

              if dimensions = options.delete('Dimensions')
                options.merge!(AWS.indexed_param('Dimensions.member.%d.Name', dimensions.collect {|dimension| dimension['Name']}))
                options.merge!(AWS.indexed_param('Dimensions.member.%d.Value', dimensions.collect {|dimension| dimension['Value']}))
              end

              request({
                  'Action'    => 'GetMetricStatistics',
                  :parser     => Fog::Parsers::AWS::CloudWatch::GetMetricStatistics.new
                }.merge(options))
            end