def awscli_defaults(os_type=None):
try:<EOL><INDENT>if os_type is None:<EOL><INDENT>os_type = platform.system()<EOL><DEDENT>if os_type == '<STR_LIT>':<EOL><INDENT>HOME = os.environ['<STR_LIT>']<EOL>awscli_credentials = HOME + '<STR_LIT>'<EOL>awscli_config = HOME + '<STR_LIT>'<EOL><DEDENT>elif os_type == '<STR_LIT>':<EOL><INDENT>username = os.getenv('<STR_LIT:username>')<EOL>awscli_credentials = '<STR_LIT>' + username + '<STR_LIT>'<EOL>awscli_config = '<STR_LIT>' + username + '<STR_LIT>'<EOL><DEDENT>elif os_type == '<STR_LIT>':<EOL><INDENT>logger.warning('<STR_LIT>')<EOL>HOME = os.environ['<STR_LIT>']<EOL>awscli_credentials = HOME + '<STR_LIT>'<EOL>awscli_config = HOME + '<STR_LIT>'<EOL><DEDENT>alt_credentials = os.getenv('<STR_LIT>')<EOL><DEDENT>except OSError as e:<EOL><INDENT>logger.exception(<EOL>'<STR_LIT>' %<EOL>(inspect.stack()[<NUM_LIT:0>][<NUM_LIT:3>], str(e))<EOL>)<EOL>raise e<EOL><DEDENT>return {<EOL>'<STR_LIT>': {<EOL>'<STR_LIT>': awscli_credentials,<EOL>'<STR_LIT>': awscli_config,<EOL>'<STR_LIT>': alt_credentials<EOL>}<EOL>}<EOL>
Summary:
    Parse, update local awscli config credentials
Args:
    :user (str):  USERNAME, only required when run on windows os
Returns:
    TYPE: dict object containing key, value pairs describing
    os information