#NEWLINE# def connect_cloudsearch2( aws_access_key_id = None , aws_secret_access_key = None , sign_request = False , **kwargs ) : #NEWLINE# #INDENT# "\n    :type aws_access_key_id: string\n    :param aws_access_key_id: Your AWS Access Key ID\n\n    :type aws_secret_access_key: string\n    :param aws_secret_access_key: Your AWS Secret Access Key\n\n    :type sign_request: bool\n    :param sign_request: whether or not to sign search and\n        upload requests\n\n    :rtype: :class:`boto.cloudsearch2.layer2.Layer2`\n    :return: A connection to Amazon's CloudSearch2 service\n    " #NEWLINE# from boto.cloudsearch2.layer2 import Layer2 #NEWLINE# return Layer2 ( aws_access_key_id , aws_secret_access_key , sign_request = sign_request , ** kwargs )