@Override
    public AssociateAccessPolicyResult associateAccessPolicy(AssociateAccessPolicyRequest request) {
        request = beforeClientExecution(request);
        return executeAssociateAccessPolicy(request);
    }
<p>
Associates an access policy and its scope to an access entry. For more information about associating access
policies, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/access-policies.html">Associating and
disassociating access policies to and from access entries</a> in the <i>Amazon EKS User Guide</i>.
</p>

@param associateAccessPolicyRequest
@return Result of the AssociateAccessPolicy operation returned by the service.
@throws ServerException
        These errors are usually caused by a server-side issue.
@throws ResourceNotFoundException
        The specified resource could not be found. You can view your available clusters with
        <code>ListClusters</code>. You can view your available managed node groups with
        <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.
@throws InvalidRequestException
        The request is invalid given the state of the cluster. Check the state of the cluster and the associated
        operations.
@throws InvalidParameterException
        The specified parameter is invalid. Review the available parameters for the API request.
@sample AmazonEKS.AssociateAccessPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateAccessPolicy" target="_top">AWS API
     Documentation</a>
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/AmazonEKSClient.java