'Configures the access rules that control access to the
domain\'s document and search endpoints. For more information,
see ` Configuring Access for an Amazon CloudSearch Domain`_.
:type domain_name: string
:param domain_name: A string that represents the name of a domain.
Domain names are unique across the domains owned by an account
within an AWS region. Domain names start with a letter or number
and can contain the following characters: a-z (lowercase), 0-9, and
- (hyphen).
:type access_policies: string
:param access_policies: The access rules you want to configure. These
rules replace any existing rules.'

def update_service_access_policies(self, domain_name, access_policies):

    params = {'DomainName': domain_name, 'AccessPolicies': access_policies}
    return self._make_request(action='UpdateServiceAccessPolicies', verb='POST', path='/', params=params)
