def by_access_package_assignment_policy_id(self,access_package_assignment_policy_id: str) -> AccessPackageAssignmentPolicyItemRequestBuilder:
        """
        Provides operations to manage the assignmentPolicies property of the microsoft.graph.accessPackage entity.
        param access_package_assignment_policy_id: The unique identifier of accessPackageAssignmentPolicy
        Returns: AccessPackageAssignmentPolicyItemRequestBuilder
        """
        if access_package_assignment_policy_id is None:
            raise TypeError("access_package_assignment_policy_id cannot be null.")
        from .item.access_package_assignment_policy_item_request_builder import AccessPackageAssignmentPolicyItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["accessPackageAssignmentPolicy%2Did"] = access_package_assignment_policy_id
        return AccessPackageAssignmentPolicyItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the assignmentPolicies property of the microsoft.graph.accessPackage entity.
        param access_package_assignment_policy_id: The unique identifier of accessPackageAssignmentPolicy
        Returns: AccessPackageAssignmentPolicyItemRequestBuilder
        
msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/assignment_policies_request_builder.py