'Delete a key pair from your account.
:type key_name: string
:param key_name: The name of the keypair to delete
:type dry_run: bool
:param dry_run: Set to True if the operation should not actually run.'

def delete_key_pair(self, key_name, dry_run=False):

    params = {'KeyName': key_name}
    if dry_run:
        params['DryRun'] = 'true'
    return self.get_status('DeleteKeyPair', params, verb='POST')
