def patch_dynamodb_connection(**kwargs):
if hasattr(DynamoDBConnection, '<STR_LIT>'):<EOL><INDENT>return<EOL><DEDENT>DynamoDBConnection.__original_init__ = DynamoDBConnection.__init__<EOL>def init(self, **fkwargs):<EOL><INDENT>fkwargs.update(kwargs)<EOL>self.__original_init__(**fkwargs)<EOL><DEDENT>DynamoDBConnection.__init__ = init<EOL>
:class:`boto.dynamodb2.layer1.DynamoDBConnection` patcher.

    It partially applies the keyword arguments to the
    :class:`boto.dynamodb2.layer1.DynamoDBConnection` initializer method.
    The common usage of this function would be patching host and port
    to the local DynamoDB or remote DynamoDB as the project configuration
    changes.