'Updates the policies controlling access to the services in
this search domain.
:type domain_name: string
:param domain_name: A string that represents the name of a
domain. Domain names must be unique across the domains
owned by an account within an AWS region. Domain names
must start with a letter or number and can contain the
following characters: a-z (lowercase), 0-9, and -
(hyphen). Uppercase letters and underscores are not
allowed.
:type access_policies: string
:param access_policies: An IAM access policy as described in
The Access Policy Language in Using AWS Identity and
Access Management. The maximum size of an access policy
document is 100KB.
:raises: BaseException, InternalException, LimitExceededException,
ResourceNotFoundException, InvalidTypeException'

def update_service_access_policies(self, domain_name, access_policies):

    doc_path = ('update_service_access_policies_response', 'update_service_access_policies_result', 'access_policies')
    params = {'AccessPolicies': access_policies, 'DomainName': domain_name}
    return self.get_response(doc_path, 'UpdateServiceAccessPolicies', params, verb='POST')
