    # File lib/fog/aws/requests/compute/import_key_pair.rb, line 35
            def import_key_pair(key_name, public_key_material)
              response = Excon::Response.new
              unless self.data[:key_pairs][key_name]
                response.status = 200
                data = {
                  'keyFingerprint'  => Fog::AWS::Mock.key_fingerprint,
                  'keyName'         => key_name
                }
                self.data[:key_pairs][key_name] = data
                response.body = {
                  'requestId' => Fog::AWS::Mock.request_id
                }.merge!(data)
                response
              else
                raise Fog::Compute::AWS::Error.new("InvalidKeyPair.Duplicate => The keypair '#{key_name}' already exists.")
              end
            end