def update_account_password_policy(allow_users_to_change_password=None, hard_expiry=None, max_password_age=None, minimum_password_length=None, password_reuse_prevention=None, require_lowercase_characters=None, require_numbers=None, require_symbols=None, require_uppercase_characters=None, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  conn.update_account_password_policy(allow_users_to_change_password, hard_expiry, max_password_age, minimum_password_length, password_reuse_prevention, require_lowercase_characters, require_numbers, require_symbols, require_uppercase_characters)
  log.info('The password policy has been updated.')
  return True
 except boto.exception.BotoServerError as e:
  log.debug(e)
  msg = 'Failed to update the password policy'
  log.error(msg)
  return False

def update_account_password_policy ( allow_users_to_change_password = None , hard_expiry = None , max_password_age = None , minimum_password_length = None , password_reuse_prevention = None , require_lowercase_characters = None , require_numbers = None , require_symbols = None , require_uppercase_characters = None , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : conn . update_account_password_policy ( allow_users_to_change_password , hard_expiry , max_password_age , minimum_password_length , password_reuse_prevention , require_lowercase_characters , require_numbers , require_symbols , require_uppercase_characters ) log . info ( 'The password policy has been updated.' ) return True except boto . exception . BotoServerError as e : log . debug ( e ) msg = 'Failed to update the password policy' log . error ( msg ) return False
update the password policy for the aws account .